ctsem (version 3.0.4)

ctStanParnames: ctStanParnames

Description

Gets internal stan parameter names of a ctStanFit object based on specified substrings.

Usage

ctStanParnames(x, substrings = c("pop_", "popsd"))

Arguments

x

ctStanFit object

substrings

vector of character strings, parameter names of the stan model containing any of these strings will be returned. Useful strings may be 'pop_' for population means, 'popsd' for population standard deviations, or specific combinations such as 'pop_DRIFT' for the population means of temporal dynamics parameters

Value

vector of character strings.

Examples

Run this code
# NOT RUN {
ctStanParnames(ctstantestfit,substrings=c('pop_','popsd'))
# }

Run the code above in your browser using DataLab