Hi Ben (and everyone),
Ah, yes, you're right - using the suggestion that you specified, that error
message disappeared! So, if I understand, this would take all of the grid cells
within those specified longitude and latitude ranges (i.e. that entire area)?
That said, when I try plotting this us
Hi,
The example you give is different than the one listed in the error message. In
your example you bind two 14-element vectors into a matrix of two columns.
cbind(103:116, 3:16)
But in the error you show the first vector is only 8 elements long...
cbind(103:110, 3:16)
When R encounters an a
It appears that you might have mistakenly typed cbind(103:110, 3:16)
instead of cbind(103:116, 3:16). Regardless, the warning is telling you
that the vectors were of unequal lengths and there was some recycling. You
can learn about recycling rule from searching "recycling rule in R" and
also from
Hi there,
I am trying to specify a range of longitudes and latitudes. I tried this using
the following:
lonlat <- cbind(103:116, 3:16) #This would specify a range of longitudes and
latitudes
However, I receive the following warning message:
Warning message:
In cbind(103:110, 3:16) :
number