impute_spring: Impute prior spring RIT from current fall

View source: R/impute_spring.R

impute_springR Documentation

Impute prior spring RIT from current fall

Description

Models require 5 predictors TestRITScore.x, Goal1RitScore.x, Goal2RitScore.x, Goal3RitScore.x, Goal4RitScore.x, TestDurationMinutes.x, PercentCorrect.x, and Grade, as well as a subject indicator.

Usage

impute_spring(input, subject = "reading", na_replacement = -1)

Arguments

input

data passed on as newdata to predict. requirese the following predictors: TestRITScore.x, Goal1RitScore.x, Goal2RitScore.x, Goal3RitScore.x, Goal4RitScore.x, TestDurationMinutes.x, PercentCorrect.x, and Grade

subject

character vector indicating "reading" or "math"

na_replacment

numerical value used to replace NAs in data data.

Examples

data(fallmap)

test_data <- fallap %>% filter(MeasurementScale=="Reading")

impute_spring(test_data, subject="reading")

chrishaid/mapspringr documentation built on June 11, 2025, 7:54 a.m.