Description Usage Arguments Details Value Examples
Get or set precisions of columns on a data frame
1 2 |
col |
a column in a data frame |
value |
a two-element numeric vector, or |
In EDP, numeric columns in a population have optional "precisions," which are
two-element numeric values. Either the first or second must be 1. The other
must be a positive integer (which may also be one). For example, c(100,
1)
means the column is measured in units of hundreds, and c(1, 4)
means the column is measured in units of 0.25.
These functions get and set the precision on a data frame column you will
build a population from; you can also get the precision of a column from
select
or simulate
.
a two-element numeric vector
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.