Message-ID: <1342470369002-4636695.post@n4.nabble.com>
Date: 2012-07-16T20:26:09Z
From: chester123
Subject: about dpik
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.