Re: [R] How to get the datapoints of an density estimation with locfit?

About this list Date view Thread view Subject view Author view Attachment view

From: M?der J?rg (maeder@atmos.umnw.ethz.ch)
Date: Sat 30 Mar 2002 - 22:06:22 EST


Message-id: <17797.217.162.243.153.1017479182.squirrel@albeniz.ethz.ch>

Hello,

i'm not sure but try
results <- locfit(....)
after that you can have a look at the saved things with
names(results)

gruess

joerg

> Hello!!!
>
> 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
> "[un]subscribe"
> (in the "body", not the subject !) To:
> r-help-request@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:10 EST