gnlsControl
位於 nlme
包(package)。 說明
函數調用中提供的值替換默認值,並返回包含所有可能參數的列表。返回的列表用作gnls
函數的control
參數。
用法
gnlsControl(maxIter = 50, nlsMaxIter = 7, msMaxIter = 50, minScale = 0.001,
tolerance = 1e-6, nlsTol = 0.001, msTol = 1e-7,
returnObject = FALSE, msVerbose = FALSE,
apVar = TRUE, .relStep =,
opt = c("nlminb", "optim"), optimMethod = "BFGS",
minAbsParApVar = 0.05, sigma = NULL)
參數
maxIter |
|
nlsMaxIter |
|
msMaxIter |
|
minScale |
縮小默認步長大小以嘗試減少 |
tolerance |
|
nlsTol |
|
msTol |
使用 |
returnObject |
一個邏輯值,指示當達到最大迭代次數而算法沒有收斂時,是否應使用 |
msVerbose |
作為 |
apVar |
一個邏輯值,指示是否應計算方差-協方差參數的近似協方差矩陣。默認為 |
.relStep |
數值導數計算的相對步驟。默認值為 |
opt |
|
optimMethod |
字符 - 與 |
minAbsParApVar |
數值 - 近似方差計算中的最小絕對參數值。默認為 |
sigma |
可選用正數來固定殘差。如果默認情況下 |
值
包含每個可能參數的組件的列表。
例子
# decrease the maximum number of iterations and request tracing
gnlsControl(msMaxIter = 20, msVerbose = TRUE)
作者
José Pinheiro and Douglas Bates bates@stat.wisc.edu; the
sigma
option: Siem Heisterkamp and Bert van Willigen.
也可以看看
相關用法
- R gnlsStruct 廣義非線性最小二乘結構
- R gnls 使用廣義最小二乘法擬合非線性模型
- R getGroupsFormula 提取分組公式
- R getGroups.lme 提取 lme 對象組
- R gapply 按組應用函數
- R getVarCov 提取方差-協方差矩陣
- R getGroups.data.frame 從 DataFrame 中提取組
- R getGroups.gls 提取 gls 對象組
- R getCovariate.varFunc 提取 varFunc 協變量
- R getCovariateFormula 提取協變量公式
- R gsummary 分組總結
- R gls 使用廣義最小二乘法擬合線性模型
- R getResponse 從對象中提取響應變量
- R getData.lme 提取 lme 對象數據
- R getData.lmList 提取 lmList 對象數據
- R getCovariate 從對象中提取協變量
- R groupedData 構造一個 groupedData 對象
- R getResponseFormula 提取指定響應變量的公式
- R getGroups.corStruct 提取結構組
- R getData 從對象中提取數據
- R getCovariate.corStruct 提取 corStruct 對象協變量
- R getGroups.lmList 提取 lmList 對象組
- R getData.gls 提取 gls 對象數據
- R glsStruct 廣義最小二乘結構
- R getGroups 從對象中提取分組因子
注:本文由純淨天空篩選整理自R-devel大神的英文原創作品 Control Values for gnls Fit。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。