gen_index: Calculate 'generalizability index' to describe how similar or...

Description Usage Arguments Value

View source: R/gen_index.R

Description

Calculate 'generalizability index' to describe how similar or different trial is from population

Usage

1
gen_index(dat1B, dat2B)

Arguments

dat1B

vector of probabilities of trial participation among individuals in the trial

dat2B

vector of probabilities of trial participation among individuals in the population

Value

the generalizability index, a value between 0 and 1, where scores greater than 1 indicate greater similarity (see Tipton paper for description)


benjamin-ackerman/generalizeR documentation built on Oct. 7, 2020, 4:38 a.m.