getprop | R Documentation |
getprop extracts the proportion of values in invect either below lim1, between lim1 and lim2, or above lim2. If lim2 has the value 0.0 and lim1 > 0 then the proportion below lim2 is extracted. If lim1 = 0.0 and lim2 > 0, then the proportion > lim2 is extracted. If both lim1 and lim2 > 0 then the proportion between the two is extracted.
getprop(invect, lim1 = 0, lim2 = 0)
invect |
the collection of values to be subdivided |
lim1 |
the lower limit of values |
lim2 |
the upper limit of values |
a scalar containing the proportion of records
## Not run:
x <- 1:100
getprop(x,20)
getprop(x,20,50)
getprop(x,lim2=80)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.