View source: R/Other_Functions.R
Counts number of bad yeras based on a given threshold
1 | CountBadYears(YEAR, Z_U_RATE, Threshold = 1)
|
YEAR |
the YEAR column from the data |
Z_U_RATE |
zScore of employment data–would work for other columns too |
Threshold |
The number of standard deviations necessary for a year to count as bad. Defaults to 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.