assume_var_classes {eHDPrep} R Documentation

## Assume variable classes in data

### Description

Classes/data types of data variables are assumed with this function and exported to a .csv file for amendment. Any incorrect classes can then be corrected and imported using import_var_classes.

### Usage

assume_var_classes(data, out_file = NULL)


### Arguments

 data data frame out_file file where variables and their assumed classes are stored for user verification.

### Value

Writes a .csv file containing the variables and their assumed data types / classes.

import_var_classes
# example below assumes incorrectly for several variables