new_mean: Recurrence Relationship for Mean

Description Usage Arguments Details Value Author(s) See Also

Description

This functions updates the mean using old mean and new value

Usage

1
new_mean(mu, x, n)

Arguments

mu

a numeric value of old mean

x

a numeric value for the new value to be added to the old mean

n

a numeric value for the number of data including the new data

Details

This function updates the mean using recurrence relationship between old mean and the new value.

Value

a numeric value of the updated mean

Author(s)

Thevaa Chandereng

See Also

mean


thevaa/bmiproj documentation built on May 31, 2019, 9:51 a.m.