[R] Error: unexpected string constant
paogeomat
paola.isaacs at gmail.com
Fri Jan 7 21:17:07 CET 2011
I want to analize some points location using the ppp, but i have this
problem:
Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T)
> summary(Datos)
id y x
Min. : 1.0 Min. :1013581 Min. :1177842
1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658
Median :1641.5 Median :1014455 Median :1179670
Mean :1641.8 Mean :1014465 Mean :1179652
3rd Qu.:2462.8 3rd Qu.:1014473 3rd Qu.:1179680
Max. :3283.0 Max. :1015575 Max. :1180213
> danta=ppp(Datos$x,Datos$y,c(min(Datos$x)1177842,max(Datos$x)1180213),c(min(Datos$y)1013581,max(Datos$y)1015575))
Error: inesperado constante numérica en
"danta=ppp(Datos$x,Datos$y,c(min(Datos$x)1177842"
> danta=ppp(Datos$x,Datos$y,c(min(Datos$x)"1177842",max(Datos$x)"1180213"),c(min(Datos$y)"1013581",max(Datos$y)"1015575"))
Error: inesperado string constante en
"danta=ppp(Datos$x,Datos$y,c(min(Datos$x)"1177842""
--
View this message in context: http://r.789695.n4.nabble.com/Error-unexpected-string-constant-tp3193987p3193987.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list