random_plan {DIETCOST}R 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


[Package DIETCOST version 1.0.0.0 Index]