getpl: Extract parts of a 'parental list'.

Description Usage Arguments Value See Also Examples

Description

Operator that acts on objects of class parental.list to extract parts of the list

Usage

1
2
  ## S3 method for class 'parental.list'
x[i]

Arguments

x

Object from which to extract element(s)

i

Indicies specifying elements to extract

Value

An object of class parental.list, consisting the parts of x indicated by i

See Also

parental.list, c.parental.list

Examples

1
2
3
4
5
6
p1 <- parental(c(), c(1), c(1, 2, 4), c(3))
p2 <- parental(c(2), c(), c(4), c(2, 3))
x <- parental.list(p1, p2)
x[1]
x[[1]]
x[2]

rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.