createCategorisedVar: Create categories from continuous data
Description
This function will create categories based on the ranges provided in the
instructions
Usage
createCategorisedVar(data, newVarName, instructions)
Arguments
- data
is data returned by the importExcelData or readExcelData
functions
- newVarName
the name of the new variable. Must be empty in data
- instructions
category names and bounds