period_variable | R Documentation |
get period variables with same return value
period_variable(
x,
period,
range = c(0, period),
range.inclusion = c("left", "both", "right", "neither"),
simplify = F
)
x |
a vector of variables in one period |
period |
the period |
range |
the range in which variables (usually with the same values with x) will be returned |
range.inclusion |
left or right inclusion for |
simplify |
return list or not, see |
a vector
period_variable(pi, 2*pi, c(-pi, 5*pi))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.