Learn R Programming

autoharp (version 0.0.13)

get_node_types: Generic for Getting Node Types

Description

The generic method definition for getting node types from a TreeHarp object.

Usage

get_node_types(x, ...)

# S4 method for TreeHarp get_node_types(x, ...)

Value

A data frame containing the node types for a TreeHarp object. If the slot is empty, NA is returned.

Arguments

x

An object of class TreeHarp.

...

Unused arguments, for now.

Methods (by class)

  • get_node_types(TreeHarp): A getter.

    Allows user to extract the node types of a treeharp object.