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

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

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.

Value

None.

Examples

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)