register_courses: Read and store the input data frame into a data frame of...

Description Usage Arguments Value Examples

View source: R/frgtracker.R

Description

For each of the course, the weights of all assessments should sum up to 1. The weights of individual assessment should be between 0 and 1.

Usage

1

Arguments

df

A tidy data frame containing course information, with course id, all of the available assessments and corresponding weights.

Value

None

Examples

1
2
3
4
5
6
course_df <- data.frame(
course_id = c(rep(511, 6)),
assessment_id = c("lab1","lab2","lab3","lab4","quiz1","quiz2"),
weight = c(rep(.15, 4), rep(.2, 2)))

register_courses(course_df)

UBC-MDS/rgtracker documentation built on March 30, 2021, 12:03 p.m.