Learn R Programming

nc (version 2025.3.24)

measure_single: measure single

Description

Compute a measure.vars vector (indicating a single output column) with variable_table attribute to pass to melt.data.table.

Usage

measure_single(subject.names, 
    match.dt, no.match, 
    value.name = NULL)

Arguments

subject.names

character vector of data frame column names.

match.dt

data table of matches.

no.match

logical vector.

value.name

string.

Author

Toby Hocking <toby.hocking@r-project.org> [aut, cre]