Skip to content

Commit ccef071

Browse files
authored
Missing backslash in \code{} markup (#7114)
* Add missing backslash to \code{} blocks * Specify the \link target only once
1 parent 1b3998e commit ccef071

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

man/fctr.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
\alias{factor}
44
\title{Create a factor retaining original ordering}
55
\description{
6-
Creates a code{\link[base:factor]{factor}}.
6+
Creates a \code{\link[base]{factor}}.
77

88
By default, the output will have its levels in the original order, i.e., \code{levels = unique(x)}, as opposed to \code{factor}'s default where \code{levels = sort(unique(x))}.
99
}
@@ -13,7 +13,7 @@ fctr(x, levels=unique(x), ..., sort=FALSE, rev=FALSE)
1313
\arguments{
1414
\item{x}{ Object to be turned into a factor. }
1515
\item{levels}{ Levels for the new factor; \code{unique(x)} by default. }
16-
\item{\dots}{ Other arguments passed to code{\link[base:factor]{factor}}. }
16+
\item{\dots}{ Other arguments passed to \code{\link[base]{factor}}. }
1717
\item{sort}{ Logical, default \code{FALSE}. Should \code{levels} be sorted? }
1818
\item{rev}{ Logical, default \code{FALSE}. Should \code{levels} be reversed? Applied \emph{after} \code{sort}. }
1919
}

0 commit comments

Comments
 (0)