screen_ad_int: Screen to detect invalid interactive artifact distribution...

View source: R/filters.R

screen_ad_intR Documentation

Screen to detect invalid interactive artifact distribution objects

Description

Screen to detect invalid interactive artifact distribution objects

Usage

screen_ad_int(x, obj_name = "x")

Arguments

x

Object to test for congruence with expected properties of interactive artifact distribution objects.

obj_name

Object name for x.

Value

Does not return a value; will trigger a warning if ad_obj_tsa is not a valid artifact distribution.

Examples

## Not run: 
ad_obj_int <- create_ad_int(rxxa = c(.9, .8), wt_rxxa = c(50, 150),
                            rxxi = c(.8, .7), wt_rxxi = c(50, 150),
                            ux = c(.9, .8), wt_ux = c(50, 150),
                            ut = c(.8, .7), wt_ut = c(50, 150))

ad_obj_tsa <- create_ad_tsa(rxxa = c(.9, .8), n_rxxa = c(50, 150),
                            rxxi = c(.8, .7), n_rxxi = c(50, 150),
                            ux = c(.9, .8), ni_ux = c(50, 150),
                            ut = c(.8, .7), ni_ut = c(50, 150))

screen_ad_int(x = ad_obj_int)
screen_ad_int(x = ad_obj_tsa)
screen_ad_int(x = data.frame(Value = 1, Weight = 1))

## End(Not run)

psychmeta documentation built on Aug. 26, 2022, 5:14 p.m.