screen_ad_int | R Documentation |
Screen to detect invalid interactive artifact distribution objects
screen_ad_int(x, obj_name = "x")
x |
Object to test for congruence with expected properties of interactive artifact distribution objects. |
obj_name |
Object name for x. |
Does not return a value; will trigger a warning if ad_obj_tsa is not a valid artifact distribution.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.