Skip to contents

Replaces the analyses in _analyses.yml, keeping the explanatory comments at the top of the file.

Usage

write_analyses(path = ".", analyses)

Arguments

path

Project root.

analyses

A list of analyses (as returned by read_analyses(), or lists with at least name, variable, measure and compare or group). Each is checked.

Value

The analyses, invisibly.