plotp: Plot estimates for the parameter that accounts for possible...

View source: R/indel-functions.R

plotpR Documentation

Plot estimates for the parameter that accounts for possible missing data

Description

Plotting command for use on an object of class "indelmiss".

Usage

plotp(x, model, ci = TRUE, cil = 95, ...)

Arguments

x

An object of class "indelmiss".

model

One of "M2" or "M4".

ci

TRUE plots confidence intervals around the estimates.

cil

Confidence interval level.

...

Any further commands to plot.

Value

Plot estimates for the parameter that accounts for possible missing data. Called by plot.indelmiss.

Author(s)

Utkarsh J. Dang and G. Brian Golding

utkarshdang@cunet.carleton.ca

See Also

See also plot.indelmiss.

Examples

indel <- indelrates(datasource = "simulation", seed = 1, taxa = 5,
             mu = 1, nu = 5, phyl = 5000,  pmiss = 0, toi = 1, 
             bgtype="ancestornodes", bg = c(7, 9), 
             zerocorrection = TRUE, rootprob = "stationary", 
             modelnames = c("M1", "M2", "M3", "M4"),
             optmethod = "nlminb")
print(indel)
plotp(indel, model="M4") 

indelmiss documentation built on Sept. 15, 2023, 5:16 p.m.