PCMListMembers.Rd
A vector of access-code strings to all members of a named list
PCMListMembers( l, recursive = TRUE, format = c("$", "$'", "$\"", "$`", "[['", "[[\"", "[[`") )
l | a named list object. |
---|---|
recursive | logical indicating if list members should be gone through recursively. TRUE by default. |
format | a character string indicating the format for accessing a member.
Acceptable values are |
a vector of character strings denoting each named member of the list.
PCMListMembers(PCMBaseTestObjects$model_MixedGaussian_ab)#> [1] "$X0" "$a" "$a$H" "$a$Theta" "$a$Sigma_x" #> [6] "$a$Sigmae_x" "$b" "$b$H" "$b$Theta" "$b$Sigma_x" #> [11] "$b$Sigmae_x"PCMListMembers(PCMBaseTestObjects$model_MixedGaussian_ab, format = '$`')#> [1] "$`X0`" "$`a`" "$`a`$`H`" "$`a`$`Theta`" #> [5] "$`a`$`Sigma_x`" "$`a`$`Sigmae_x`" "$`b`" "$`b`$`H`" #> [9] "$`b`$`Theta`" "$`b`$`Sigma_x`" "$`b`$`Sigmae_x`"PCMListMembers(PCMBaseTestObjects$tree.ab, format = '$`')#> [1] "$`edge`" "$`tip.label`" "$`edge.length`" "$`Nnode`" #> [5] "$`node.label`" "$`edge.part`" "$`part.regime`"