add_situation_col: Add situation as column

View source: R/cat_situations.R

add_situation_colR Documentation

Add situation as column

Description

Adds the situation as a column of the data.frame, i.e. the name of the list element also becomes a column of the element.

Usage

add_situation_col(dot_args, obs, obs_sd = NULL)

Arguments

dot_args

A list (each element= version) of a list (each element= situation) of simulations data.frames

obs

A list (each element= situation) of observations data.frames (named by situation)

obs_sd

A list (each element= situation) of data.frames for the standard deviation of the observations (named by situation)

Value

A list of three elements: the updated dot_args, obs and obs_sd.


SticsRPacks/CroPloteR documentation built on May 8, 2024, 5:20 a.m.