[R] Beginners Question: Make nlm work
Johannes Graumann
graumann at its.caltech.edu
Thu Aug 26 22:00:15 CEST 2004
Thanks.
Joh
On 26 Aug 2004 21:28:56 +0200
Peter Dalgaard <p.dalgaard at biostat.ku.dk> wrote:
> Johannes Graumann <graumann at its.caltech.edu> writes:
>
> > > coef(fit)[1]
> > a
> > 4.216479
> >
> > How now to extract just '4.216479'?
>
> That's what you have, it's just that is has a names attribute. Doesn't
> usually matter, but you can feed it to as.vector() if you want to get
> rid of it.
>
>
> --
> O__ ---- Peter Dalgaard Blegdamsvej 3
> c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
> (*) \(*) -- University of Copenhagen Denmark Ph: (+45)
> 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45)
> 35327907
>
More information about the R-help
mailing list