Given a distribution, this function calculates the population mean for each term in a formula.
popmean(formula, distribution, density = "f")formula, each term of which will have its mean calculated.
data.table, characterizing the distribution of
the variables entering into formula.
string, name of the variable data
characterizing the density.
vector, the means for each term in formula.