random_plan: Random deletion

View source: R/random_plan.R

random_planR Documentation

Random deletion

Description

Randomly deletes a food.

Usage

random_plan(df, column, condition)

Arguments

df

Dataframe.

column

Column from which decision about removal of values will be made.

condition

Condition that, if is true, will enable radom removal.

Value

Random meal plan


DIETCOST documentation built on June 8, 2025, 1:51 p.m.