name8list: returns the same list but with names

Description Usage Arguments Details Value Examples

View source: R/rbsa1.code.r

Description

Explores the branches of a list, returning the same valued list but introducing systematic names when some of the components are not named. This is a way to comply one of the two properties of a rbsa-list (see rbsa7list9).

Usage

1
2
 
  name8list(lili,monitor=rbsa0$monitor$v) 

Arguments

lili

The list structure to be possibly named.

monitor

List of constants indicating the monitoring choices, see the rbsa0$monitor$v provided object as an example.

Details

The new names are obtained with form3names.

Value

The resulting named list.

Examples

1
2
3
4
5
6
 
  uu <- list(list(1:3,4:6), 
  B=matrix(letters[1:20],nrow=5,dimnames=list(1:5,c("on","tw","th","fo"))), 
  list(a=1:3,b=letters,list(array(1:8,c(2,2,2))))); 
  str(uu); 
  str(name8list(uu)); 

rbsa documentation built on May 31, 2017, 4:29 a.m.