Dear r users, I wanted to perform contour figure from response surface model result. I typed this:
> model = rsm (Index ~ SO(NV, SKLON, pH), bonita) > summary(model) > par(mfrow = c(2, 3)) > contour (model, ~NV+SKLON+pH) However, I got the error answer as follows: Error in lmobj$data[, nm] : object of type 'environment' is not subsettable Has someone any suggestions to solve this? Thanks to all, Michal _________________________________________________________ Michal Bosela National Forest Centre - Forest Research Institute Zvolen Department of Forest Inventory and Management T.G. Masaryka 22 960 92 Zvolen Slovak Republic Tel.:+421 045 5314 306 Mail: bos...@nlcsk.org NARODNE LESNICKE CENTRUM http://www.nlcsk.org [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.