cohort: Cohort Tag

Description Usage Arguments Examples

View source: R/common_functions.R

Description

Defines a student's cohort given the student's grade and current school year.

If you do not provide a school year the default is the current (spring) year. e.g If today's date is Jan 10, 2017, the default year will be 2017, however if the current date is Sep 10, 2017, the year will default to 2018.

Usage

1
cohort(grade, school_year = "")

Arguments

grade

Enrolled grade of the student (0 - 12)

school_year

School year either in 20XX-YY or 20XX (spring) format.

Examples

1
2
3
library(RUncommon)
cohort(10)
cohort(10, 2008)

eringrand/RUncommon documentation built on Sept. 22, 2020, 10:49 p.m.