Description Usage Arguments Value Examples
Function to limit the values of a column or columns of a data frame
1 |
df |
The data frame whose values are to be limited |
limits |
The limits to be imposed on the column/columns of the data frame |
The data frame after being limited
1 2 | a <- data.frame(Year = 1900:1980, Potatos = round(runif(81)*100))
limit_df(a, c(0, 50), 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.