Skip to content

subs and the name of column

2 messages · Alfredo Alessandrini, Robert J. Hijmans

#
Hi,

I've tried with the names of the column but don't work:
cluster   intercept coefficient
1       1 -0.04436168    1.286019
2       2 -0.04415990    1.283883
3       3 -0.04414168    1.286019
4       4 -0.04375406    1.280874
5       5 -0.04400495    1.281942
6       6 -0.04390901    1.282816
[,1] [,2] [,3]
[1,]    1    2    3
[2,]    4    5    6
[1] "cluster"     "intercept"   "coefficient"
Error in `[.data.frame`(y, , c(by, which)) : undefined columns selected
class       : RasterLayer 
dimensions  : 2, 3, 6  (nrow, ncol, ncell)
resolution  : 0.2678571, 0.2678571  (x, y)
extent      : 99.48661, 100.2902, 2.191965, 2.727679  (xmin, xmax, ymin,
ymax)
coord. ref. : +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
+towgs84=0,0,0 
values      : in memory
min value   : 1.280874 
max value   : 1.286019 


Thanks,

Alfredo


--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/subs-and-the-name-of-column-tp6594997p6786840.html
Sent from the R-sig-geo mailing list archive at Nabble.com.