Message-ID: <366C79650BD.00000F67jrkrideau@inbox.com>
Date: 2012-09-18T11:42:36Z
From: John Kane
Subject: extracting values
In-Reply-To: <6BE01C2A2779524CA4D2DCC242CF5F961055EB17@SIXPRD0111MB395.apcprd01.prod.exchangelabs.com>
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!