Skip to content

Typo in vignette on reshaping #6855

@unseldth

Description

@unseldth

I am currently working through the vignette on efficient reshaping and I think I came across one point, that is a bit unclear to me (or maybe wrong):
In section 3 (Enhanced (new) functionality), you say “We pass a list of columns to measure.vars”, but then your code passes a list to “measure” as “measure = list(colA, colB)”. To me, there is a difference between the measure() function, and the measure.vars argument of the melt function. I think, the code still works and the result is identical (probably, because the argument “measure” is automatically interpreted as “measure.vars”), but for clarity, I would change the melt function call to have the arguement “measure.vars = list(colA, colB)”, instead of “melt”, or am I misinterpreting something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions