Description Usage Arguments Value Author(s) Examples
To get (back) to the overview of all steps and functions use this link: a.a.main
Support function for z.a.util.gen.summary
Takes two numeric vectors and calculates the relative size of the numbers at the same positions.
1 | z.b.util.diff(vec1, vec2)
|
vec1 |
A numeric vector. |
vec2 |
A numeric vector of the same size as |
A character vector containing the relative sizes. Special cases for 0
elements in the vector.
Vitali Friesen
1 2 | z.b.util.diff(c(8,0,10,0),c(4,3,15,0))
# [1] "50%" "only in 2nd" "150%" "Both 0"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.