llply_ensemble: Performs llply, then reorders output and returns as a vector

Description Usage Arguments

Description

llply_ensemble applies a function to an ensemble object and then organizes the output to match the data frame the ensemble object was created from. The output can be merged to the original data frame with cbind. Or by directly saving it as a new column in the dataframe.

Usage

1
  llply_ensemble(ens, FUN, ...)

Arguments

ens

A mg_ensemble object

FUN

A function to be applied to the model objectss in the ensemble object

arguments

to be passed to FUN


garrettgman/modelglyphs documentation built on May 16, 2019, 5:39 p.m.