diff --git a/R/methods-epi_df.R b/R/methods-epi_df.R index 84a75e46..6e19f753 100644 --- a/R/methods-epi_df.R +++ b/R/methods-epi_df.R @@ -256,9 +256,9 @@ group_modify.epi_df <- function(.data, .f, ..., .keep = FALSE) { dplyr::dplyr_reconstruct(NextMethod(), .data) } -#' Complete epi_df +#' "Complete" an `epi_df`, adding missing rows and/or replacing `NA`s #' -#' A `tidyr::complete()` analogue for `epi_df`` objects. This function +#' A `tidyr::complete()` analogue for `epi_df` objects. This function #' can be used, for example, to add rows for missing combinations #' of `geo_value` and `time_value`, filling other columns with `NA`s. #' See the examples for usage details. diff --git a/man/complete.epi_df.Rd b/man/complete.epi_df.Rd index 71dbcb38..38c9a6fe 100644 --- a/man/complete.epi_df.Rd +++ b/man/complete.epi_df.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/methods-epi_df.R \name{complete.epi_df} \alias{complete.epi_df} -\title{Complete epi_df} +\title{"Complete" an \code{epi_df}, adding missing rows and/or replacing \code{NA}s} \usage{ \method{complete}{epi_df}(data, ..., fill = list(), explicit = TRUE) } @@ -16,7 +16,9 @@ \item{explicit}{see \code{\link[tidyr:complete]{tidyr::complete}}} } \description{ -A \code{tidyr::complete()} analogue for \verb{epi_df`` objects. This function can be used, for example, to add rows for missing combinations of }geo_value\code{and}time_value\verb{, filling other columns with }NA`s. +A \code{tidyr::complete()} analogue for \code{epi_df} objects. This function +can be used, for example, to add rows for missing combinations +of \code{geo_value} and \code{time_value}, filling other columns with \code{NA}s. See the examples for usage details. } \examples{