changeset 71:f3d11014be12 draft

Uploaded
author greg
date Tue, 14 Nov 2017 13:20:15 -0500
parents ca0caef8d8e8
children 3c5a149d4255
files insect_phenology_model.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/insect_phenology_model.R	Tue Nov 14 13:12:46 2017 -0500
+++ b/insect_phenology_model.R	Tue Nov 14 13:20:15 2017 -0500
@@ -42,7 +42,7 @@
         daylight_length_vector[i] <- 24 - (24 / pi * acos((sin(p * pi / 180) + sin(latitude * pi / 180) * sin(phi)) / (cos(latitude * pi / 180) * cos(phi))))
     }
     # Append daylight_length_vector as a new column to temperature_data_matrix.
-    cbind(temperature_data_matrix, newColumn=daylight_length_vector)
+    cbind(temperature_data_matrix, daylight_length_vector)
     # Return the altered temperature_data_matrix.
     temperature_data_matrix
 }