#' odczytuje rok z liczby miesięcy wyrażonej liczbą
#' @param okres liczba miesięcy wyrażona liczbą
#' @return numeric rok
#' @seealso data2okres
#' @export
okres2rok = function(okres){
return(as.integer((okres - 1L) / 12))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.