set_valid_col: set_valid_col

Description Usage Arguments Details Value

View source: R/utilities.r

Description

set overall validity property of treestruct/branchstruct members

Usage

1

Arguments

obj

TreeStruct or BranchStruct object

Details

Removes 'valid' column if it already exists, so we don't include it in determining whether a treestruct is valid, and then looks for all columns with "valid" in their name. Performs a logical 'and' on those columns in a new column, 'valid'.

Value

TreeStruct or BranchStruct object


ashenkin/treestruct documentation built on Oct. 14, 2021, 1:54 a.m.