old_sat_math_to_new_sat_math_test: Recode old SAT math section to new SAT math test (10-40...

Description Usage Arguments Value Examples

View source: R/old_sat_math_to_new_sat_math_test.R

Description

Function to recode old SAT math section to new SAT math test (10-40 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 test values (10-40 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_test(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_test(old_sat_vals))

capturelabs/satconcordance documentation built on Dec. 21, 2017, 5:56 a.m.