Rev 15514 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: formula.nls.Rd,v 1.5 2001/08/16 09:24:26 ripley Exp $\name{formula.nls}\alias{formula.nls}\title{Extract Model Formula from nls Object}\usage{\method{formula}{nls}(x, ...)}\arguments{\item{x}{an object inheriting from class \code{nls}, representinga nonlinear least squares fit.}\item{\dots}{further arguments passed to or from other methods.}}\description{Returns the model used to fit \code{object}.}\value{a formula representing the model used to obtain \code{object}.}\author{Jose Pinheiro and Douglas Bates}\seealso{\code{\link{nls}}, \code{\link{formula}}}\examples{data(Orange)fm1 <- nls(circumference ~ A/(1+exp((B-age)/C)), Orange,start = list(A=160, B=700, C = 350))formula(fm1)}\keyword{models}