get_bounds: Get bounds of specified limits criteria for different ranks.

View source: R/eval_credit.R

get_boundsR Documentation

Get bounds of specified limits criteria for different ranks.

Description

Get bounds of specified limits criteria for different ranks.

Usage

get_bounds(ls.st, band.lwr, band.upr)

Arguments

ls.st

character vector. students ranks names c("pass", "mid","good", "elite")

band.lwr

integer vector. the length must be same as band.upr

band.upr

integer vector. the length must be same as band.upr

Value

tibble

Examples

st_rank <- c("pass", "mid","good", "elite","mid","pass")
lwr_base <- c(75,80,90,96)
upr_base <- c(79,89,95,98)
tbl_bounds <- get_bounds(ls.st = st_rank,
                         band.lwr = lwr_base,
                         band.upr = upr_base)

huhuaping/xmerit documentation built on Nov. 10, 2023, 4:34 a.m.