Biology, images, analysis, design...
Use/Abuse Principles How To Related
"It has long been an axiom of mine that the little things are infinitely the most important" (Sherlock Holmes)

Search this site



Just a note

  • The weighted.mean command is equivalent to sum(y * f) / sum(f)

  • In the results, [1] indicates this result is the first item of a list - even though, in this case, the list only contains one item.

    Notice that the weighted mean of prev (0.211) is quite different from the simple arithmetic mean of prev (0.538). This is because values in variable f varied quite considerably.