nlsList.selfStart(nlme)
nlsList.selfStart()所属R语言包:nlme
nlsList Fit from a selfStart Function
从自起动功能nlsList飞度
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The response variable and primary covariate in formula(data) are used together with model to construct the nonlinear model formula. This is used in the nls calls and, because a selfStarting model function can calculate initial estimates for its parameters from the data, no starting estimates need to be provided.
响应变量和主协formula(data)用model共同构建的非线性模型公式。这是用来在nls电话,因为selfStarting模型功能可以从数据参数计算的初步估计,没有开始估计需要提供。
用法----------Usage----------
## S3 method for class 'selfStart'
nlsList(model, data, start, control, level, subset, na.action, pool)
参数----------Arguments----------
参数:model
a selfStart model function, which calculates initial estimates for the model parameters from data.
selfStart模型函数,计算模型参数的初步估计,从data。
参数:data
a data frame in which to interpret the variables in model. Because no grouping factor can be specified in model, data must inherit from class groupedData.
在解释变量model的数据框。因为没有分组因素可以指定model,data必须继承自类groupedData。
参数:start
an optional named list with initial values for the parameters to be estimated in model. It is passed as the start argument to each nls call and is required when the nonlinear function in model does not inherit from class selfStart.
一个可选的命名名单在model要估计的参数的初始值。它作为start参数被传递到每个nls调用,并须model非线性函数时类selfStart不继承。
参数:control
a list of control values passed as the control argument to nls. Defaults to an empty list.
作为control参数nls通过控制值的列表。默认为一个空列表。
参数:level
an optional integer specifying the level of grouping to be used when multiple nested levels of grouping are present.
一个可选的整数,指定要使用多个嵌套级别的分组分组的水平都存在。
参数:subset
an optional expression indicating the subset of the rows of data that should be used in the fit. This can be a logical vector, or a numeric vector indicating which observation numbers are to be included, or a character vector of the row names to be included. All observations are included by default.
一个可选的表达式表示data,应适合使用的行的子集。这可以是一个逻辑向量,或一个数字的向量,被列入观察数字或字符向量的行名被列入。所有的意见,包括默认情况下。
参数:na.action
a function that indicates what should happen when the data contain NAs. The default action (na.fail) causes nlsList to print an error message and terminate if there are any incomplete observations.
一个函数,它表示数据时,包含NA的,应该发生什么。默认动作(na.fail)导致nlsList打印一个错误消息并终止,如果有任何不完整的意见。
参数:pool
an optional logical value that is preserved as an attribute of the returned value. This will be used as the default for pool in calculations of standard deviations or standard errors for summaries.
一个可选的逻辑值作为返回值的属性保存。这将作为默认使用pool计算标准偏差或标准错误的总结。
值----------Value----------
a list of nls objects with as many components as the number of groups defined by the grouping factor. A NULL value is assigned to the components corresponding to clusters for which the nls algorithm failed to converge. Generic functions such as coef, fixed.effects, lme, pairs, plot, predict, random.effects, summary, and update have methods that can be applied to an nlsList object.
nls对象与定义分组因素的群体数量很多的组件列表。一个NULL值被分配到相应的组件到群集nls算法没有收敛。通用功能,如coef,fixed.effects,lme,pairs,plot,predict,random.effects,summary ,update有方法可应用于nlsList对象。
参见----------See Also----------
selfStart, groupedData, nls, nlsList, nlme.nlsList, nlsList.formula
selfStart,groupedData,nls,nlsList,nlme.nlsList,nlsList.formula
举例----------Examples----------
fm1 <- nlsList(SSasympOff, CO2)
summary(fm1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|