diff --git a/R/to_labelled.R b/R/to_labelled.R index 702386b..fd6c921 100644 --- a/R/to_labelled.R +++ b/R/to_labelled.R @@ -206,8 +206,8 @@ memisc_to_labelled <- function(x) { #' codes #' @details #' If you convert a labelled vector into a factor with prefix, i.e. by using -#' [`to_factor(levels = "prefixed")`[to_factor()], `to_labelled.factor()` is able -#' to reconvert it to a labelled vector with same values and labels. +#' [`to_factor(levels = "prefixed")`][to_factor()], `to_labelled.factor()` is +#' able to reconvert it to a labelled vector with same values and labels. #' @export #' @examples #' # Converting factors to labelled vectors diff --git a/man/to_labelled.Rd b/man/to_labelled.Rd index c9177e3..fbc8f8e 100644 --- a/man/to_labelled.Rd +++ b/man/to_labelled.Rd @@ -70,8 +70,8 @@ So far, missing values defined in \strong{Stata} are always imported as \code{NA \code{\link[foreign:read.dta]{foreign::read.dta()}} and could not be retrieved by \code{foreign_to_labelled()}. If you convert a labelled vector into a factor with prefix, i.e. by using -[\code{to_factor(levels = "prefixed")}\code{\link[=to_factor]{to_factor()}}, \code{to_labelled.factor()} is able -to reconvert it to a labelled vector with same values and labels. +\code{\link[=to_factor]{to_factor(levels = "prefixed")}}, \code{to_labelled.factor()} is +able to reconvert it to a labelled vector with same values and labels. } \examples{ \dontrun{