Skip to content

Commit 1c771e5

Browse files
authored
two more links to ?measure (#6508)
1 parent d7e95d1 commit 1c771e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

man/melt.data.table.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ non-measure columns will be assigned to it. If integer, must be positive; see De
3131
}
3232
3333
For convenience/clarity in the case of multiple \code{melt}ed columns, resulting column names can be supplied as names to the elements \code{measure.vars} (in the \code{list} and \code{patterns} usages). See also \code{Examples}. }
34-
\item{variable.name}{name (default \code{'variable'}) of output column containing information about which input column(s) were melted. If \code{measure.vars} is an integer/character vector, then each entry of this column contains the name of a melted column from \code{data}. If \code{measure.vars} is a list of integer/character vectors, then each entry of this column contains an integer indicating an index/position in each of those vectors. If \code{measure.vars} has attribute \code{variable_table} then it must be a data table with nrow = length of \code{measure.vars} vector(s), each row describing the corresponding measured variables(s), (typically created via \code{measure}) and its columns will be output instead of the \code{variable.name} column.}
34+
\item{variable.name}{name (default \code{'variable'}) of output column containing information about which input column(s) were melted. If \code{measure.vars} is an integer/character vector, then each entry of this column contains the name of a melted column from \code{data}. If \code{measure.vars} is a list of integer/character vectors, then each entry of this column contains an integer indicating an index/position in each of those vectors. If \code{measure.vars} has attribute \code{variable_table} then it must be a data table with nrow = length of \code{measure.vars} vector(s), each row describing the corresponding measured variables(s), (typically created via \code{\link{measure}}) and its columns will be output instead of the \code{variable.name} column.}
3535
\item{value.name}{name for the molten data values column(s). The default name is \code{'value'}. Multiple names can be provided here for the case when \code{measure.vars} is a \code{list}, though note well that the names provided in \code{measure.vars} take precedence. }
3636
\item{na.rm}{If \code{TRUE}, \code{NA} values will be removed from the molten
3737
data.}
@@ -66,8 +66,8 @@ into multiple columns in a single function call efficiently.
6666
If a vector in the list contains missing values, or is shorter than the
6767
max length of the list elements, then the output will include runs of
6868
missing values at the specified position, or at the end.
69-
The function
70-
\code{\link{patterns}} can be used to provide regular expression patterns. When
69+
The functions
70+
\code{\link{patterns}} and \code{\link{measure}} can be used to provide regular expression patterns. When
7171
used along with \code{melt}, if \code{cols} argument is not provided, the
7272
patterns will be matched against \code{names(data)}, for convenience.
7373

0 commit comments

Comments
 (0)