Skip to content

Commit

Permalink
Merge pull request #6085 from Rdatatable/fix6079
Browse files Browse the repository at this point in the history
link measure from the list of valid measure.vars values
  • Loading branch information
tdhock authored Apr 12, 2024
2 parents b5e1bc7 + 90abe53 commit 61d0f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/melt.data.table.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ non-measure columns will be assigned to it. If integer, must be positive; see De
\item{ When missing, \code{measure.vars} will become all columns outside \code{id.vars}. }
\item{ Vector can be \code{integer} (implying column numbers) or \code{character} (column names). }
\item{ \code{list} is a generalization of the vector version -- each element of the list (which should be \code{integer} or \code{character} as above) will become a \code{melt}ed column. }
\item{ Pattern-based column matching can be achieved with the regular expression-based \code{\link{patterns}} syntax; multiple patterns will produce multiple columns. }
\item{ Pattern-based column matching can be achieved with the regular expression-based \code{\link{patterns}} (regex without capture groups; matching column names are used in the \code{variable.name} output column), or \code{\link{measure}} (regex with capture groups; each capture group becomes an output column). }
}
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}. }
Expand Down

0 comments on commit 61d0f34

Please sign in to comment.