From bb785aec9db55680b80e1a26d525ea9370ce7abc Mon Sep 17 00:00:00 2001 From: sanchezi <isabelle.sanchez@inrae.fr> Date: Mon, 30 May 2022 16:47:44 +0200 Subject: [PATCH] MaJ issue #5: amelioration explication dateNum dans les data --- R/data.R | 16 ++++++++++++---- man/lambs.Rd | 4 +++- man/merinos1.Rd | 4 +++- man/merinos2.Rd | 4 +++- man/spring1.Rd | 4 +++- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/R/data.R b/R/data.R index 9c114a1..5c486ef 100644 --- a/R/data.R +++ b/R/data.R @@ -7,7 +7,9 @@ #' \item{Date}{Date of weighing yyyy-mm-dd} #' \item{IDE}{id of the animal} #' \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} -#' \item{dateNum}{Day expressed in numeric (portion of a day)} +#' \item{dateNum}{a rescaled date - fraction of the whole observational time +#' for one individual. +#' \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} #' } "spring1" @@ -20,7 +22,9 @@ #' \item{Date}{Date of weighing yyyy-mm-dd} #' \item{IDE}{id of the animal} #' \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} -#' \item{dateNum}{Day expressed in numeric (portion of a day)} +#' \item{dateNum}{a rescaled date - fraction of the whole observational time +#' for one individual. +#' \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} #' } "merinos1" @@ -34,7 +38,9 @@ #' \item{Date}{Date of weighing yyyy-mm-dd} #' \item{IDE}{id of the animal} #' \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} -#' \item{dateNum}{Day expressed in numeric (portion of a day)} +#' \item{dateNum}{a rescaled date - fraction of the whole observational time +#' for one individual. +#' \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} #' } "merinos2" @@ -47,6 +53,8 @@ #' \item{Date}{Date of weighing yyyy-mm-dd} #' \item{IDE}{id of the animal} #' \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} -#' \item{dateNum}{Day expressed in numeric (portion of a day)} +#' \item{dateNum}{a rescaled date - fraction of the whole observational time +#' for one individual. +#' \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} #' } "lambs" diff --git a/man/lambs.Rd b/man/lambs.Rd index 020dc97..47c8129 100644 --- a/man/lambs.Rd +++ b/man/lambs.Rd @@ -11,7 +11,9 @@ a data.frame \item{Date}{Date of weighing yyyy-mm-dd} \item{IDE}{id of the animal} \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} - \item{dateNum}{Day expressed in numeric (portion of a day)} + \item{dateNum}{a rescaled date - fraction of the whole observational time + for one individual. + \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} } } \usage{ diff --git a/man/merinos1.Rd b/man/merinos1.Rd index 8469c9a..1895435 100644 --- a/man/merinos1.Rd +++ b/man/merinos1.Rd @@ -11,7 +11,9 @@ a data.frame \item{Date}{Date of weighing yyyy-mm-dd} \item{IDE}{id of the animal} \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} - \item{dateNum}{Day expressed in numeric (portion of a day)} + \item{dateNum}{a rescaled date - fraction of the whole observational time + for one individual. + \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} } } \usage{ diff --git a/man/merinos2.Rd b/man/merinos2.Rd index 72d687f..d10c320 100644 --- a/man/merinos2.Rd +++ b/man/merinos2.Rd @@ -12,7 +12,9 @@ a data.frame \item{Date}{Date of weighing yyyy-mm-dd} \item{IDE}{id of the animal} \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} - \item{dateNum}{Day expressed in numeric (portion of a day)} + \item{dateNum}{a rescaled date - fraction of the whole observational time + for one individual. + \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} } } \usage{ diff --git a/man/spring1.Rd b/man/spring1.Rd index c3aebf2..185c8ab 100644 --- a/man/spring1.Rd +++ b/man/spring1.Rd @@ -11,7 +11,9 @@ a data.frame \item{Date}{Date of weighing yyyy-mm-dd} \item{IDE}{id of the animal} \item{Day}{Date of weighing with day and time yyyy-mm-dd hh:mm:ss} - \item{dateNum}{Day expressed in numeric (portion of a day)} + \item{dateNum}{a rescaled date - fraction of the whole observational time + for one individual. + \eqn{dateNum=(Heure - min(Heure))/86400 + (Date - min(Date))/86400}} } } \usage{ -- GitLab