-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intradaily Variability #19
base: main
Are you sure you want to change the base?
Conversation
R/npcra_iv.R
Outdated
x <- data[[col]] | ||
timestamp <- data[[tsibble::index(data)]] | ||
|
||
if (minutes_interval <= 0 | minutes_interval > 1440) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Utilize a forma "longa" dos operadores lógicos para condicionantes não vetoriais:
if (minutes_interval <= 0 || minutes_interval > 1440) {
https://stat.ethz.ch/R-manual/R-devel/library/base/html/Logic.html
R/npcra_iv.R
Outdated
"\nminutes_interval = ", minutes_interval) | ||
} | ||
|
||
if(minutes_interval == 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ajuste o código de acordo com o guia de estilo do tidyverse.
R/npcra_iv.R
Outdated
#' no way to define a standard for the data and, therefore, will have | ||
#' a high variability. | ||
#' | ||
#'From the IV stipulated by Witting et al, other estimates based on the IV were |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adicionar espaço entre #'
e texto.
Related to issue #3