Learn R Programming

rsml (version 1.3)

nNode: Get the number of nodes in a root

Description

Get the number of nodes in a root

Usage

nNode(obj)

Arguments

obj
of class root

Value

the number of nodes in the root

Examples

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

Run the code above in your browser using DataLab