calculate_p | R Documentation |
Calculating p function
calculate_p(xbeta, ff, epsilon, outcome)
xbeta |
my fitted betas matrix multiplied by covariate |
ff |
my estimated f's |
epsilon |
probability of observing a gene when it should be absent; probability between 0 and 1 |
outcome |
length-n vector; this is the vector of a target gene's presence/absence; should be coded as 0 or 1 |
a vector of probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.