gpluck_make_score_ranges: Make Score Ranges

View source: R/pdf.R

gpluck_make_score_rangesR Documentation

Make Score Ranges

Description

This function takes a text table of score ranges for each percentile, and returns an object that matches the input but with the ability to get score ranges for any given test type

Usage

gpluck_make_score_ranges(
  table,
  score,
  percentile,
  range,
  subdomain = NULL,
  test_type = c("npsych_test", "rating_scale", "performance_validity",
    "symptom_validity", "basc3"),
  ...
)

Arguments

table

The table containing the lower bound and upper bound score columns

score

Optional lower bound or upper bound score column name. If omitted, use Score

percentile

Option percentiles column name. if omitted, use Percentile

range

Score performance range. if omitted, use Range

subdomain

Which subdomain.

test_type

A vector of test types to consider. Default: c("npsych_test", "rating_scale", "validity_indicator", "basc3")

...

Other arguments passed on to dplyr::filter

Details

This function takes a text table of score ranges for each percentile, and returns an object that matches the input but with the ability to get score ranges for any given test type

Value

An object that matches the input but with the ability to get score ranges for any given test type


jtrampush/npsych.data documentation built on Feb. 25, 2025, 12:30 a.m.