fill.ranges: Fills in missing values in the ranges of taxa

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Given a matrix or object of type strat.column with missing values (coded as NA), fill.ranges replaces the missing values that are between first and last occurrences of each taxon (column) with zeros.

Usage

1
fill.ranges(x, out = 'internals', ...)

Arguments

x

an object of class strat.column or a numerical matrix

out

'internals' returns an index to the counts that are internal to ranges, 'min' replaces these internals with the minimum non-zero counts in each taxon, 'pa' returns a presence/absence matrix with ranges filled

...

not currently used.

Details

Any missing values (NAs) are converted to zeros before filling ranges.

Value

fill ranges returns the type of output that it was given as input to x: either a strat.column or a numeric matrix.

Author(s)

Walton Green

See Also

plot.strat.column, stratigraph

Examples

1
##Need an example of data with missing values

stratigraph documentation built on May 30, 2017, 12:31 a.m.