View source: R/getPhaseParameter.R
getPhaseParameter | R Documentation |
Obtain and Plot Estimates From RACVM Partition
getPhaseParameter(variable, phaselist)
variable |
one of: |
phaselist |
output of |
getVariable
takes a phase list and generates a table indicating the start time, end time, estimate, low and high 95% C.I. and selected model for a given parameter.
plotVariable
getPhaseParameter
returns a data.frame with start time, end time, estimate, low and high 95% C.I. and selected model for a given parameter, with each row corresponding to an enumerated partition phase.
library(smoove) library(magrittr) data(simSweep) simCP.table <- simSweep %>% findCandidateChangePoints(clusterwidth = 4, verbose = FALSE) %>% getCPtable(modelset = c("UCVM", "ACVM"), criterion = "AIC") simPhaselist <- estimatePhases(simCP.table) getPhaseParameter("omega",simPhaselist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.