Learn R Programming

reshape2 (version 1.4.4)

guess_value: Guess name of value column

Description

Strategy:

  1. Is value or (all) column present? If so, use that

  2. Otherwise, guess that last column is the value column

Usage

guess_value(df)

Arguments

df

data frame to guess value column from