build_analyses_plan: Generate a Drake Plan for Analyses

Description Usage Arguments Value

View source: R/plan_analyses.R

Description

Given M methods to be applied to N datasets, make a drake plan that contains an analysis targets corresponding to each M x N combination, as well as M results targets corresponding to a list of the analysis outputs for each of the M methods.

Usage

1

Arguments

methods

a drake plan listing the methods to be applied (it is expected that each method is a function that takes in a dataset object)

datasets

a drake plan listing the datasets to be analyzed

...

arguments to be passed to drake::drake_plan

Value

a drake plan (i.e. a tibble) specifying the targets and commands for all the analyses and the collected results (grouping the outputs from each method into a single list)


weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.