old_sat_reading_to_new_sat_reading: Recode old SAT critical reading test to new SAT reading...

Description Usage Arguments Value Examples

View source: R/old_sat_reading_to_new_sat_reading.R

Description

Function to recode old SAT critical reading test to new SAT reading section. Missing and unmatched values are coded as missing.

Usage

1

Arguments

x

numeric vector of old SAT critical reading test values

Value

integer vector of new SAT reading section values

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_reading_to_new_sat_reading(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_reading_to_new_sat_reading(old_sat_vals))

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