| add.fam.scores | R Documentation |
Sum all the given scores and return a single vector with cumulative "score", "for" and "against" vals. For use in instances where one wishes to combine scores from multiple families.
add.fam.scores(score.vec)
score.vec |
A vector will all of the per family score outputs. |
A vector with the summed scores of all inputs.
score.fam1 <- c("score" = 1.0, "score.for" = 2.0, "score.against" = 1.0)
score.fam2 <- c("score" = 1.0, "score.for" = 3.0, "score.against" = 2.0)
out <- add.fam.scores(c(score.fam1, score.fam2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.