View source: R/identify_periods.R
identify_periods | R Documentation |
IDENTIFY PERIODS OF INTEREST
identify_periods(data, var, newvar, threshold = "minmax", as_factor = FALSE)
data |
Data frame |
var |
Variable to be identified |
newvar |
New variable name |
threshold |
Method for thresholding. Either "minmax", "mediansd" or a number. |
as_factor |
Whether an output should be returned as factor |
Thresholded data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.