plot.clikcorr {clikcorr}R Documentation

Graphical function for visualizing bivariate profile likelihood.

Description

Produces a plot of the profile log likelihood function.

Usage

## S3 method for class 'clikcorr'
plot(x, type = "l", lwd = 2, col = "red", ...)

Arguments

x

a "clikcorr" object.

type

line type.

lwd

line weight.

col

line color.

...

not used.

Details

produces a plot of the profile log likelihood function.

Author(s)

Yanming Li, Kerby Shedden, Brenda W. Gillespie and John A. Gillespie.

References

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.

Examples


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)

[Package clikcorr version 1.0 Index]