p2c2m.complete(path = "/home/user/Desktop/", xml.file = "beast.xml", descr.stats = "LCWT,NDC", beast.vers = "1.8", single.allele = c("O"), num.reps = 1, use.sorted = FALSE, use.mpi = FALSE, save.metadata = FALSE, verbose = FALSE, dbg = FALSE)"/home/user/Desktop/"
(the default), then the desktop itself is considered the input
directory."beast.xml"."COAL" and "LCWT" (both Rannala & Yang 2013),
"GSI" (Cummings et al. 2008), "NDC" (Maddison 1997).
The default is "LCWT,NDC"."1.7"
and "1.8". The default is "1.8".c("O").1 (i.e., no replication).FALSE. This argument is only EXPERIMENTAL and
should not be selected by regular users.FALSE.FALSE.FALSE.TRUE, then only the first 5 percent of
input trees are analyzed and information useful for debugging is
printed to the screen. Argument dbg = TRUE must be set in
combination with argument verbose = TRUE. The default is
FALSE. This argument is intended for developers and should
not be selected by regular users.## Example of the minimal data requirements to run P2C2M
# The absolute path to the input directory is set
inPath <- system.file("extdata", "sim.E.003.small/", package="P2C2M")
# The name of the xml-file generated by BEAUTi and located in
# "inPath" is set
inFile <- "sim.E.003.small.xml"
# Posterior predictive simulations with a setting of 2 simulation
# replicates are preformed
sim.E.003.small <- p2c2m.complete(inPath, inFile, num.reps=2, save.metadata=TRUE)
Run the code above in your browser using DataLab