[R] Beginners Question: Make nlm work
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Thu Aug 26 21:28:56 CEST 2004
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