old_sat_math_to_new_sat_math_section: Recode old SAT math section to new SAT math section (200-800...

Description Usage Arguments Value Examples

Description

Function to recode old SAT math section to new SAT math section (200-800 scale). Missing and unmatched values are coded as missing.

Usage

1

Arguments

x

numeric vector of old SAT math section values

Value

integer vector of new SAT math section values (200-800 scale)

Examples

1
2
3
4
5
6
7
8
9
require(dplyr)

old_sat_vals <- round(sample(200:800, 10), -1)
new_sat_vals <- old_sat_math_to_new_sat_math_section(old_sat_vals)
old_new_vals <- data.frame(old_sat_vals, new_sat_vals)
print(old_new_vals)

old_new_vals %>%
    mutate(new_sat_vals_piped = old_sat_math_to_new_sat_math_section(old_sat_vals))

capturelabs/satconcordance documentation built on May 28, 2019, 7:11 a.m.