Skip to contents

This function removes the unconsumed food item records from the data file.

Usage

remove_unconsumed(data, consCol = "consYN", consVal = "YES")

Arguments

data

dataframe . The data file as a dataframe.

consCol

character . The name of the column that indicates whether the food item was consumed or not.

Note

the read_in_data() function should be used first to import and format the required data.