convert_VLE {ouladFormat} | R Documentation |
Converts the data format of the Virtual Learning Environment (VLE) data set from total view counts to binary, standardised or logarithmic view count data.
convert_VLE(
data,
conversion = c("binary", "standardise1", "standardise2", "logarithmic")
)
data |
VLE data set to be converted. The VLE data set should consist of student_id as the first column followed by total view counts per time period/activity in each of the remaining columns. |
conversion |
type of conversion to implement, either |
Two tibbles are returned: 1) original_data, and 2) converted_data.
A tibble of the original data inputted into the function.
A tibble where all columns, except the first column, have been changed from total view counts to either binary, standardised, globally standardised or logarithmic view count data.
dataset_VLE_time()
or dataset_VLE_activity()
for obtaining the VLE data set needed for the input data.
VLE_data = dataset_VLE_activity(example_data = TRUE)$resource_data
convert_VLE(VLE_data, conversion = "standardise1")
VLE_data = dataset_VLE_time(example_data = TRUE)$weekly_data
convert_VLE(VLE_data, conversion = "logarithmic")