Description Usage Arguments Value
Marginalizes a multivariate pdf
1 | pdf_marginalize(df_pdf_mv, colName_var, colName_pdf, normalize = T)
|
df_pdf_mv |
the dataframe containing the multivariate pdf, with variable values and pdf values |
colName_var |
the variable for which to calculate the marginalized pdf |
colName_pdf |
the column containing the actual pdf value |
normalize |
boolean indicating whether to normalize the marginal pdf |
a dataframe correponding to the marginalized pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.