Learn R Programming

cauphy (version 1.0.3)

plot.profile.cauphyfit: Plot for class profile.cauphyfit

Description

This function takes an object of class profile.cauphyfit, and plots the profile likelihood for each parameter.

Usage

# S3 method for profile.cauphyfit
plot(x, n_col, ...)

Value

None.

Arguments

x

an object of class profile.cauphyfit

n_col

the number of columns on which to display the plot. Can be left blank.

...

further arguments to be passed to plot.

See Also

profile.cauphyfit, fitCauchy.

Examples

Run this code
phy <- ape::rphylo(5, 0.1, 0)
dat <- rTraitCauchy(n = 1, phy = phy, model = "cauchy", parameters = list(root.value = 0, disp = 1))
fit <- fitCauchy(phy, dat, model = "cauchy", method = "fixed.root")
pr <- profile(fit)
plot(pr)

Run the code above in your browser using DataLab