De: r-sig-ecology-bounces at r-project.org [r-sig-ecology-bounces at r-project.org] en nom de Sarah Goslee [sarah.goslee at gmail.com]
Enviat el: dilluns, 9 / juliol / 2012 16:11
Per a: K?tia Emidio
Cc: r-sig-ecology at r-project.org"
Tema: Re: [R-sig-eco] creating a pixel image
Hi,
I'm not quite clear on what you want; see below.
On Sun, Jul 8, 2012 at 6:37 PM, K?tia Emidio <kat.emidio at gmail.com> wrote:
> Hi,
> Someone could help me in create a pixel image using the SPATSTAT Package?
spatstat doesn't deal with pixel images (raster?) but instead with
point pattern objects. If that's what you want, ?ppp will get you
started.
> Attached there is a sample from my data. The column names are (x and y
> coordinates, and elevation (alt_m).
> Thanks
You don't provide either enough data or enough information for me to
be able to know whether your data are gridded or not. If so, this will
work for creating a SpatialGridDataFrame:
library(sp)
coordinates(mydata) <- ~X+Y
But I'm not sure if that's what you want: what are you trying to do,
and what do your data represent?
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
_______________________________________________
R-sig-ecology mailing list
R-sig-ecology at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
Aquest correu electr?nic i els annexos poden contenir informaci? confidencial o protegida legalment i est? adre?at exclusivament a la persona o entitat destinat?ria. Si no sou el destinatari final o la persona encarregada de rebre?l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electr?nic per error, us preguem que n?informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gr?cies per la vostra col?laboraci?.
Este correo electr?nico y sus anexos pueden contener informaci?n confidencial o legalmente protegida y est? exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no est? autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electr?nico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboraci?n.
This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration.