PCMListMembers: A vector of access-code strings to all members of a named...

View source: R/PCM.R

PCMListMembersR Documentation

A vector of access-code strings to all members of a named list

Description

A vector of access-code strings to all members of a named list

Usage

PCMListMembers(
  l,
  recursive = TRUE,
  format = c("$", "$'", "$\"", "$`", "[['", "[[\"", "[[`")
)

Arguments

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 c("$", "$'", '$"', '$`', "[['", '[["', '[[`') of which the first one is taken as default.

Value

a vector of character strings denoting each named member of the list.

Examples

PCMListMembers(PCMBaseTestObjects$model_MixedGaussian_ab)
PCMListMembers(PCMBaseTestObjects$model_MixedGaussian_ab, format = '$`')
PCMListMembers(PCMBaseTestObjects$tree.ab, format = '$`')

venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.