| Previous changeset 75:392980f72514 (2017-11-14) Next changeset 77:aea954380d99 (2017-11-14) |
|
Commit message:
Uploaded |
|
modified:
insect_phenology_model.R |
| b |
| diff -r 392980f72514 -r 8ca2b154e5cb insect_phenology_model.R --- a/insect_phenology_model.R Tue Nov 14 14:21:25 2017 -0500 +++ b/insect_phenology_model.R Tue Nov 14 14:33:46 2017 -0500 |
| b |
| @@ -29,7 +29,7 @@ parse_input_data = function(input_file, num_rows, num_columns) { # Read in the input temperature datafile into a data frame. temperature_data_frame <- read.csv(file=input_file, header=T, strip.white=TRUE, sep=",") - if (num_rows == 6) { + if (num_columns == 6) { # The input data has the following 6 columns: # LATITUDE, LONGITUDE, DATE, DOY, TMIN, TMAX # Add a column containing the daylight length for each day. |