| repsd_pval {repsd} | R Documentation |
Calculating p-values for repsd
Description
Calculating p-values for repsd
Usage
repsd_pval(
alpha = 0.05,
null_dist = null_repsd(),
items_repsd = repsd()$repsd_each_item,
responses = timmsData,
focalColumn = 21,
verbose = TRUE
)
Arguments
alpha |
numeric. The alpha level to calculate significance. |
null_dist |
A |
items_repsd |
A numeric vector of the repsd values for each item. |
responses |
The |
focalColumn |
The column number for the focal column. Removed from the final data. |
verbose |
Logical. Do you want to print the results to console ( |
Details
Calculates the p-values for repsd for the data set.
It can be used as a wrapper function by providing
the null_repsd() function and the repsd_each_item
output of the repsd() function (each with proper
arguments) as the arguments to null_dist and
items_repsd, respectively.
Value
If the colorDF package is installed and accessible, a colorDF
with the significant items highlighted. Otherwise, a data.frame. Both have
columns with the items names, the repsd value, the p.value, and the
sig (0 = false, 1 = true) for each item.