plot.profile.cauphyfit | R Documentation |
profile.cauphyfit
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, ...)
x |
an object of class |
n_col |
the number of columns on which to display the plot. Can be left blank. |
... |
further arguments to be passed to |
None.
profile.cauphyfit
, fitCauchy
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.