thoni, Peter (IMK)
Gesendet: vendredi, 23 juin 2017 07:39
An: Céline Lüscher
Cc: r-help@r-project.org
Betreff: Re: [R] Help: ifelse selection for x,y coordinates
Hi Celine,
what about removing the unwanted after you made the x and y
x<-x[x>0] # or x<-x[x>0&>0], ditto for y, x[x
me(list(x,y))
+ names(xy)<-c("x","y")
+ return(xy)
+ }
kk(x.Koordinate, y.Koordinate, data=data)
x y
1
2
3
4
5
6 205550
7 205550 604100
8
9 205600 604150
10 205600 604100
Best regards,
C.
Gesendet von Mail für Windows 10
Von: Jim Lemon
Gesendet: vendredi,
in 2017 05:28
An: Céline Lüscher
Cc: r-help@r-project.org
Betreff: Re: [R] Help: ifelse selection for x,y coordinates
Hi Celine,
Perhaps if you modify your return value like this:
xy<-as.data.frame(list(x,y))
names(xy)<-c("x","y")
return(xy)
Jim
On Thu, Jun 22,
Hi Celine,
Perhaps if you modify your return value like this:
xy<-as.data.frame(list(x,y))
names(xy)<-c("x","y")
return(xy)
Jim
On Thu, Jun 22, 2017 at 6:48 PM, Céline Lüscher wrote:
> Hi everyone,
> My database has 3 columns : the x coordinates, the y coordinates and
Hi everyone,
My database has 3 columns : the x coordinates, the y coordinates and the value
of G for every individual (20 in total). I would like to have the x,y
coordinates of individuals, Under these conditions : the distance to the
reference coordinates must be under or equal to 50 meters +
5 matches
Mail list logo