Function to bin data based on a vector of bin separators, e.g. for use in VPC
1 |
x |
data |
bins |
numeric vector specifying bin separators |
idv |
variable in the data specifies the independent variable (e.g. "time") |
labeled |
whether a labeled factor instead of integers should be returned |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.