View source: R/compute_functionals_of_model.R
compute_marg_PR_nested_reg | R Documentation |
Jcause
classes for each person (people may have different weights.)The array version of this function (compute_marg_PR_nested_reg_array) is used in plot_etiology_regression
compute_marg_PR_nested_reg(ThetaBS, PsiBS, pEti_mat, subwt_mat, case, template)
ThetaBS |
True positive rates for |
PsiBS |
False positive rates; dimension same as above |
pEti_mat |
a matrix of etiology pies for |
subwt_mat |
a matrix of subclass weights for cases and controls. |
case |
a N-vector of |
template |
a binary matrix with |
a matrix of values between 0
and 1
(need not to have row sums of ones);
of dimension (number of subjects, dimension of the bronze-standard measurement slice).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.