Skip to content
Prev 300209 / 398503 Next

About dpik function

On 15/07/2012 19:57, chester123 wrote:
So why use package KernSmooth and not the methods in R itself?
So what is 'x'?  We don't know (your code is not reproducible), but it 
sure looks like a factor.  And from the help:

        x: vector containing the sample on which the kernel density
           estimate is to be constructed.

A factor is not a vector (in this sense).
PLEASE do as you were asked.