R語言
update-methods
位於 stats4
包(package)。 說明
更新"mle"
對象。
用法
## S4 method for signature 'mle'
update(object, ..., evaluate = TRUE)
參數
object |
現有的配合。 |
... |
調用的其他參數或具有更改值的參數。使用 |
evaluate |
如果 true 評估新的調用,否則返回該調用。 |
方法
signature(object = "ANY")
-
通用函數:參見
update
。 signature(object = "mle")
-
更新一下合身。
例子
x <- 0:10
y <- c(26, 17, 13, 12, 20, 5, 9, 8, 5, 4, 8)
ll <- function(ymax = 15, xhalf = 6)
-sum(stats::dpois(y, lambda = ymax/(1+x/xhalf), log = TRUE))
fit <- mle(ll)
## note the recorded call contains ..1, a problem with S4 dispatch
update(fit, fixed = list(xhalf = 3))
相關用法
- R profile-methods stats4 包中的函數配置文件方法
- R plot-methods stats4 包中函數繪圖的方法
- R mle 最大似然估計
- R stlmethods STL 對象的方法
- R medpolish 矩陣的中值波蘭(穩健雙向分解)
- R naprint 調整缺失值
- R summary.nls 總結非線性最小二乘模型擬合
- R summary.manova 多元方差分析的匯總方法
- R formula 模型公式
- R nls.control 控製 nls 中的迭代
- R aggregate 計算數據子集的匯總統計
- R deriv 簡單表達式的符號和算法導數
- R kruskal.test Kruskal-Wallis 秩和檢驗
- R quade.test 四方測試
- R decompose 移動平均線的經典季節性分解
- R plot.stepfun 繪製階躍函數
- R alias 查找模型中的別名(依賴項)
- R qqnorm 分位數-分位數圖
- R eff.aovlist 多層方差分析的計算效率
- R pairwise.t.test 成對 t 檢驗
- R loglin 擬合對數線性模型
- R predict.smooth.spline 通過平滑樣條擬合進行預測
- R bartlett.test 方差齊性的 Bartlett 檢驗
- R influence.measures 回歸刪除診斷
- R loess.control 設置黃土參數
注:本文由純淨天空篩選整理自R-devel大神的英文原創作品 Methods for Function update in Package stats4。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。