rmdata: rmdata from a tree object

Description Methods

Description

This is the recommended way of removing data from the data and subnode.data slots of 'phylo4d_ext' and 'brownie' objects. Although this method is defined for both 'brownie' and 'phylo4d_ext' classes, there is not much difference between them.

Methods

signature(x = "brownie", index = "character", subindex = "missing")

Enter the column name of the data column to be removed (see colnames(tdata(x)) for valid options). subindex is set to the value of index. This function will attempt to remove that column from both regular and subnodes.

signature(x = "brownie", index = "numeric", subindex = "ANY")

Enter the column index of the data column to be removed. When subindex is ANY, it is ignored (except in the cases below) and set to the value of index

signature(x = "brownie", index = "numeric", subindex = "missing")

Enter the column index of the data column to be removed (seq(ncol(tdata(x))) are valid options). subindex is set to the value of index. This function will attempt to remove that column from both regular and subnodes, regardless of whether their column names match up.

signature(x = "brownie", index = "numeric", subindex = "numeric")

Used internally: remove the data column (index) and the subnode data column (subindex) from their respective slots

signature(x = "list", index = "ANY", subindex = "missing")

Applys rmdata to each object in a list

signature(x = "phylo4d", index = "character", subindex = "missing")

Enter the column name of the data column to be removed. No need to specify a subindex

signature(x = "phylo4d_ext", index = "character", subindex = "missing")

Enter the column name of the data column to be removed (see colnames(tdata(x)) for valid options). subindex is set to the value of index. This function will attempt to remove that column from both regular and subnodes.

signature(x = "phylo4d_ext", index = "numeric", subindex = "missing")

Enter the column index of the data column to be removed (seq(ncol(tdata(x))) are valid options). subindex is set to the value of index. This function will attempt to remove that column from both regular and subnodes, regardless of whether their column names match up.

signature(x = "phylo4d_ext", index = "numeric", subindex = "numeric")

Used internally: remove the data column (index) and the subnode data column (subindex) from their respective slots

signature(x = "phylo4d", index = "numeric", subindex = "missing")

Enter the column index of the data column to be removed. No need to specify a subindex


phyext documentation built on May 2, 2019, 5:19 p.m.

Related to rmdata in phyext...