PCMListMembers {PCMBase}R 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 = '$`')

[Package PCMBase version 1.2.14 Index]