[R] How to get the datapoints of an density estimation with locfit?
maeder at atmos.umnw.ethz.ch
Sat Mar 30 12:06:22 CET 2002
i'm not sure but try
results <- locfit(....)
after that you can have a look at the saved things with
> I'm just a beginner of R.
> I work with locfit to get the density from an numeric vector. It looks
> good when I plot the graph, but I need the output data of locfit. For
> example I need somthing like that (only integer values for the input):
> numeric vector (input of locfit) density (output of locfit)
> 1 0.05....
> 2 0.04..
> 3 0.01
> Thank you for your help and your time.
> Ralf Kloessinger
> r-help mailing list -- Read
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
> (in the "body", not the subject !) To:
> r-help-request at stat.math.ethz.ch
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help