Skip to contents

Convenience wrapper that calls piml_profile_fit() separately on each pedon in a long-format data frame, returning a list of fits keyed by id. This is the baseline against which a future pooled (covariate-conditioned) PIML model will be compared.

Usage

piml_profile_fit_group(data, id, depth, value, ...)

Arguments

data

Data frame in long form with one row per horizon.

id

Character, name of the column identifying each pedon.

depth

Character, name of the column with horizon mid-depths.

value

Character, name of the column with observed values.

...

Forwarded to piml_profile_fit().

Value

A named list of edaphos_piml_profile fits.