[R] Example in "Applied Spatial Analysis with R" giving error

markdx mrkdennehy at gmail.com
Sun Jan 2 01:43:02 CET 2011

Example from page 29, Chapter 2.3 from "Applied Spatial Analysis with R"

I am new to R...just trying to replicate the example from the book.

> m <- matrix(c(0,0,1,1), ncol = 2, dimnames = list(NULL, + c ("min",
> "max")))
Error in +c("min", "max") : invalid argument to unary operator

View this message in context: http://r.789695.n4.nabble.com/Example-in-Applied-Spatial-Analysis-with-R-giving-error-tp3170586p3170586.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list