plot | R Documentation |
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.
## S3 method for class 'ARpCRM'
plot(x, ...)
## S3 method for class 'ARtpCRM'
plot(x, ...)
x |
An object inheriting from class |
... |
Additional arguments. |
A ggplot object.
Fernanda L. Schumacher, Katherine L. Valeriano, Victor H. Lachos, Christian E. Galarza, and Larissa A. Matos
ggplot
, ARCensReg
, ARtCensReg
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.