View source: R/print_and_plot_results.R
plot.BMRMMsummary | R Documentation |
Visualization of a specified field of a BMRMMsummary
object.
## S3 method for class 'BMRMMsummary'
plot(x, type, xlab = NULL, ylab = NULL, main = NULL, col = NULL, ...)
x |
an object of class |
type |
a string indicating the plot(s) to draw. Must be named after a field of |
xlab |
x-axis label. Default is NULL. |
ylab |
y-axis label. Default is NULL. |
main |
main title. Default is NULL. |
col |
color of the plot. Default is NULL. |
... |
further arguments for the plot function. |
None
summary.BMRMM()
results <- BMRMM(foxp2sm, num.cov = 2, simsize = 50,
cov.labels = list(c("F", "W"), c("U", "L", "A")),
duration.distr = list('mixgamma',shape=rep(1,3),rate=rep(1,3)))
fit.summary <- summary(results)
plot(fit.summary, 'trans.probs.mean')
plot(fit.summary, 'dur.mix.probs')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.