Skip to contents

Construct a MashPrior bundling a full-data data-driven prior with optional per-fold (cross-validated) priors.

Usage

MashPrior(fullFit = NULL, cvFits = NULL)

Arguments

fullFit

Full-data data-driven prior payload (the mashPipeline() list(U, w) output), or NULL for a CV-only bundle.

cvFits

NULL, or a list with perFoldFits (a non-empty list of per-fold prior payloads) and optionally samplePartition (data.frame(Sample, Fold)).

Value

A MashPrior object.