plot {ARCensReg} | R Documentation |
Plot an ARpCRM or ARtpCRM object
Description
It displays convergence graphs for the parameters estimates (for the case with at least one censored observation). The dashed line indicates the iteration of the SAEM algorithm that simulations start being smoothed.
Usage
## S3 method for class 'ARpCRM'
plot(x, ...)
## S3 method for class 'ARtpCRM'
plot(x, ...)
Arguments
x |
An object inheriting from class |
... |
Additional arguments. |
Value
A ggplot object.
Author(s)
Fernanda L. Schumacher, Katherine L. Valeriano, Victor H. Lachos, Christian E. Galarza, and Larissa A. Matos
See Also
Examples
n = 50; x = rep(1, n)
dat = rARCens(n=n, beta=2, phi=.5, sig2=.3, x=x, cens='left', pcens=.1)
fit = ARCensReg(dat$data$cc, dat$data$lcl, dat$data$ucl, dat$data$y, x,
M=5, pc=.12, tol=0.001, show_se=FALSE)
plot(fit)
[Package ARCensReg version 3.0.1 Index]