pscale: Quickly round to the 20 point psychology marking scale. will...

View source: R/pscale.R

pscaleR Documentation

Quickly round to the 20 point psychology marking scale. will round to nearest point on scale. if mid-point, will round up.

Description

Quickly round to the 20 point psychology marking scale. will round to nearest point on scale. if mid-point, will round up.

Usage

pscale(x, lgrade = FALSE)

Arguments

x

numeric vector

lgrade

logical specifying whether letter grades are desired (default = FALSE)

Examples

pscale(c(46.5,34,76.6))
[1] 48 32 78

uoepsy/junk documentation built on April 3, 2025, 1:22 p.m.