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

Thoughts?
-- 
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.

______________________________________________
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.

Reply via email to