as_char_mat: construct character matrix

View source: R/as_char_mat.R

as_char_matR Documentation

construct character matrix

Description

constructor for character matrices for stratigraphic transformations & taphonomic effects

Usage

as_char_mat(mat, pos = NULL)

Arguments

mat

matrix containing the characters, where rows correspond to taxa and columns correspond to the characters. Must have column names with taxon names

pos

named vector, with names matching the taxon names of the matrix. Provides the position (time/height) of the taxa in the character matrix

Value

a object of S3 class char_mat, describing a character matrix with associated positions (times/heights) where the taxa were found


StratPal documentation built on Dec. 6, 2025, 5:08 p.m.