p_vec_returner {genpwr}R Documentation

Function to output probability vector used in calculation of MLE's for linear outcome with logistic environment interaction

Description

Returns probability vector used in calculation of MLE's for linear outcome with logistic environment interaction

Usage

p_vec_returner(MAF, P_e)

Arguments

MAF

Minor allele frequency

P_e

Population prevalence of logistic environmental factor

Value

A probability vector to be used in MLE calculation for linear outcome with logistic environment interaction

Examples

p_vec_returner(MAF = 0.1, P_e = 0.2)


[Package genpwr version 1.0.4 Index]