search for: wind_speed_data

Displaying 1 result from an estimated 1 matches for "wind_speed_data".

2006 Mar 16
1
filling a matrix with data
...output it in a matrix format. I can make the matrix, and I have the data, but I can't get the matrix to include the data... I'm not very experienced at using R, so please forgive the crudeness of these codes... # For the matrix wind_dir_data<-matrix( NA, 17, 365 , byrow = FALSE ) wind_speed_data<-matrix( NA, 17, 365, byrow = FALSE ) # to put the data into the matrix wind_dir_data[level, ]<-wind_dir_corrected wind_speed_data[level, ]<-rwind #This is the response from R: "Error in "[<-"(`*tmp*`, level, , value = c(-0.889991788193583, -1.45999177545309, :...