[R] extracting values

John Kane jrkrideau at inbox.com
Tue Sep 18 13:42:36 CEST 2012


Hi, 

Since most of us are unlikely to have a copy of the book available perhaps you could supply the following informaion'
What packages are you using besides the basic R installation
What is the code
What is the data > The best way to supply sample data is to use the dput() function to output a formatted data set that you can copy and paste into your email.

John Kane
Kingston ON Canada


> -----Original Message-----
> From: kari0020 at uni.flinders.edu.au
> Sent: Tue, 18 Sep 2012 01:18:12 +0000
> To: r-help at r-project.org
> Subject: [R] extracting values
> 
> Hi all,
> 
> I 'm doing the exercise given in the 'SDM with R' (Robert J. Hijmans and
> Jane Elith), chapter 4.2, regarding extracting values . I tried to do the
> same using my own data as well. Each cases i received the following error
> message ;
> 
> "Error in .xyValues(x, as.matrix(y), ...) : xy should have 2 columns
> only.
> 
> Found these dimensions:
> 
> Can some body explain me how to get rid of that? Thanks in advance.
> 
> champika
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!




More information about the R-help mailing list