leaf_par {tealeaves}R Documentation

S3 class leaf_par

Description

Constructor function for leaf_par class. This function ensures that leaf parameter inputs are properly formatted.

Usage

leaf_par(.x)

Arguments

.x

A list to be constructed into leaf_par. If units are not provided, they will be set without conversion. If units are provided, they will be checked and converted to units that tealeaves uses.


[Package tealeaves version 1.0.6 Index]