Perform an analysis on a nested data matrix
nested_analysis(
.data,
.fun,
...,
.output_column = "model",
.reserved_names = NULL,
.env = parent.frame()
)
A data frame with a list column of data frames, possibly created using nested_data.
A model function
Passed to fun
A column name in which the output of .fun should be stored.
Names that should not be allowed as columns in any data frame within this object
Passed to as_function
.data with an additional list column of fun output
nd <- nested_data(
alta_lake_geochem,
qualifiers = c(age, depth, zone),
key = param,
value = value,
trans = scale
)
na <- nested_analysis(nd, vegan::rda, X = data)
plot(na)