Skip to content

Commit

Permalink
fixed documentation notes
Browse files Browse the repository at this point in the history
  • Loading branch information
aviezerl committed Nov 29, 2023
1 parent f5df51e commit 6890763
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 12 deletions.
3 changes: 2 additions & 1 deletion R/extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ emr_dist <- function(..., include.lowest = FALSE, right = TRUE, stime = NULL, et
#' @section iterator:
#'
#' There are a few types of iterators:
#' \itemize{
#' \describe{
#' \item{Track iterator: }{Track iterator returns the points (including the reference) from the specified track. Track name is specified as a string. If `keepref=FALSE` the reference of each point is set to `-1` \cr
#' Example: \cr \cr
#' # Returns the level of glucose one hour after the insulin shot was made \cr
Expand Down Expand Up @@ -260,6 +260,7 @@ emr_dist <- function(..., include.lowest = FALSE, right = TRUE, stime = NULL, et
#' \item{Implicit Iterator: }{The iterator is set implicitly if its value remains `NULL` (which is the default). In that case the track expression is analyzed and searched for track names. If all the track variables or virtual track variables point to the same track, this track is used as a source for a track iterator. If more then one track appears in the track expression, an error message is printed out notifying ambiguity.}
#' }
#'
#'
#' Revealing Current Iterator Time:
#' During the evaluation of a track expression one can access a specially defined variable named `EMR_TIME` (Python: `TIME`). This variable contains a vector (`numpy.ndarray` in Python) of current iterator times. The length of the vector matches the length of the track variable (which is a vector too). \cr
#' Note that some values in `EMR_TIME` might be set 0. Skip those intervals and the values of the track variables at the corresponding indices. \cr
Expand Down
2 changes: 1 addition & 1 deletion R/filter.R
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
#' Generate a default name for a naryn filter
#'
#' Given filter parameters, generate a name with the following format:
#' "f_{src}.kr{keepref}.vals_{val}.ts_{time.shift}.exp_{expiration}.op_{operator}"
#' "f_(src).kr(keepref).vals_(val).ts_(time.shift).exp_(expiration).op_(operator)"
#' Where for 'val' and 'time.shift' the values are separated by an
#' underscore.
#'
Expand Down
2 changes: 1 addition & 1 deletion R/vtrack.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
#' Generate a default name for a virtual track
#'
#' Given virtual track parameters, generate a name with the following format:
#' "vt_{src}.func_{func}.params_{params}.kr{keepref}.ts_{time.shift}.id_{id.map}.filter_{filter}"
#' "vt_(src).func_(func).params_(params).kr(keepref).ts_(time.shift).id_(id.map).filter_(filter)"
#' Where for 'params', 'time.shift', and 'id.map', the values are separated by an
#' underscore.
#'
Expand Down
3 changes: 2 additions & 1 deletion man/emr_cor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/emr_dist.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/emr_extract.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/emr_filter.name.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/emr_quantiles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/emr_screen.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/emr_summary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/emr_track.create.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/emr_vtrack.name.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6890763

Please sign in to comment.