Description Usage Arguments Value Author(s) Examples
This is a function that will take the proportions of an element of one vector comparing to the similar element of another vector.
1 | proportion(Vec1, Vec2)
|
Vec1 |
a numeric vector |
Vec2 |
a numeric vector |
The proportion of the values given by the user.
Ashish Jain, Matt Stuart, Haiyang Zhang
1 2 | proportion(c(1:10),c(11:20))
proportion(c(1:100),c(101:200))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.