[R] about dpik

chester123 chester123 at live.cn
Mon Jul 16 22:26:09 CEST 2012


Thank you for your reply.

I know the x in dpik() means the vector. But I don't know how to import into
c() with a huge metadata (>1000).

Following is my some try, and the h is: [1] 0.001180569, which seems to be
feasible.

x<-c(-0.00109349389485645,-0.00145304131152137,0.00023685387037116,0.00579094886320110,0.00032117330426379,0.00363758302533228,-0.00113344327121731,0.00104726223729409)
library(KernSmooth)
h<-dpik(x,scalest="minim",level=2L,kernel="normal",canonical=FALSE,gridsize=401L,range.x=range(x),truncate=TRUE)
h

But the point is how to import more than 1000 numbers into the c() to
vectorize them?

Thanks

Regards


--
View this message in context: http://r.789695.n4.nabble.com/about-dpik-tp4636695.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list