plot.clikcorr {clikcorr} | R Documentation |
Produces a plot of the profile log likelihood function.
## S3 method for class 'clikcorr'
plot(x, type = "l", lwd = 2, col = "red", ...)
x |
a |
type |
line type. |
lwd |
line weight. |
col |
line color. |
... |
not used. |
produces a plot of the profile log likelihood function.
Yanming Li, Kerby Shedden, Brenda W. Gillespie and John A. Gillespie.
Yanming Li, Kerby Shedden, Brenda W. Gillespie and John A. Gillespie (2016). Calculating Profile Likelihood Estimates of the Correlation Coefficient in the Presence of Left, Right or Interval Censoring and Missing Data.
data(ND)
logND <- log(ND)
logND1 <- logND[51:90,]
obj <- clikcorr(logND1, "t1_OCDD", "t2_OCDD", "t1_HxCDF_234678", "t2_HxCDF_234678")
plot(obj, type="o")
## Not run:
obj <- clikcorr(logND, "t1_OCDD", "t2_OCDD", "t1_HxCDF_234678", "t2_HxCDF_234678")
plot(obj, type="o", col="blue", lwd=1)
## End(Not run)