Learn R Programming

psychmeta (version 2.6.5)

.create_ad_int: Create a tabular array of artifact information summarizing values and weights of values in an interactive artifact distribution

Description

This is an internal function that constructs a data frame of artifact estimates (in the Value column) and corresponding weights (in the Weight column), consolidated according to the specified number of digits used in rounding.

Usage

.create_ad_int(art_vec, wt_vec = rep(1, length(art_vec)), decimals = Inf)

Value

Data frame with two columns: One containing artifact values and the other containing weights associated with artifact values.

Arguments

art_vec

Vector of artifact values (i.e., u ratios, reliability coefficients, square-root reliabilities).

wt_vec

Vector for weights to assign to individual artifact values.

decimals

Number of decimals to which artifact values should be rounded and consolidated.

Examples

Run this code
# .create_ad_int(art_vec = c(.8, .8, .9), wt_vec = c(100, 200, 100), decimals = 2)

Run the code above in your browser using DataLab