Learn R Programming

rsml (version 1.3)

nChild: Get the number of children in a root

Description

Get the number of children in a root

Usage

nChild(obj)

Arguments

obj
of class root

Value

the number of child root in the current root

Examples

Run this code
data(lupin)
r <- lupin$roots[[1]]
nChild(r)

Run the code above in your browser using DataLab