Displaying 1 result from an estimated 1 matches for "sm_densiti".
Did you mean:
sm_density
2012 Mar 25
0
sm.density kernel estimation for points
Hi!
I have two dimensional dataset which has and I need to decide if a point
lies in some "confidence level". If a point has low confidence/density
it can be anomaly which I need to find.
For example:
#load library
library(sm)
#get some data
x.locs = c(74, 74.5, 75, 77,74.5)
y.locs = c(64, 63.5, 63, 61,61.5)
points = cbind(x.locs, y.locs)
#plot it
plot(points)
#get points density