Hi list, I am applying Universal Kriging (a.k.a. Regression-kriging, etc), and whether I use a factor variable as covariate (to feed the linear regression model by lm() call), I get this error:
Error in function (classes, fdef, mtable) : unable to find an inherited method for function "krige", for signature "call", "SpatialPointsDataFrame" The same is for krige.cv. I managed to run UK by manually adding to my Spatial object explicitly the dummy 0/1 variables for each category used in the formula of the regression model; but I wonder if I am doing something wrong or actually the krige method does not support factor covariates. Thank you, Piero Campalani -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Universal-Kriging-with-factor-covariate-tp6009230p6009230.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo