Learn R Programming

TreeSearch (version 0.2.2)

PrepareDataProfile: Prepare data for Profile Parsimony

Description

Prepare data for Profile Parsimony

Usage

PrepareDataProfile(dataset, precision = 1e+06, warn = TRUE)

PrepareDataIW(dataset)

Arguments

dataset

dataset of class phyDat

precision

number of random trees to generate when calculating Profile curves. With 22 tokens (taxa): - Increasing precision from 4e+05 to 4e+06 reduces error by a mean of 0.005 bits for each step after the first (max = 0.11 bits, sd=0.017 bits) - Increasing precision from 1e+06 to 4e+06 reduces error by a mean of 0.0003 bits for each step after the first (max = 0.046 bits, sd=0.01 bits)

warn

Boolean (TRUE/FALSE): display warnings when concavity functions are generated by approximation.

Value

An object of class phyDat with additional attributes: info.amounts: details the information represented by each character when subject to N additional steps. split.sizes: The size of the splits implied by each character bootstrap: The character vector c('info.amounts', 'split.sizes'), indicating attributes to sample when bootstrapping the dataset 9e.g. in Ratchet searches).

Functions

  • PrepareDataIW: Prepare data for implied weighting