reshape_toLong: Convert Wide Data to Long

reshape_toLongR Documentation

Convert Wide Data to Long

Description

It is easy to convert wide data to long in this function. Be careful, id must be unique. prefix, suffix and var.names can be used together.

Usage

reshape_toLong(data, prefix = NULL, suffix = NULL, var.names = NULL)

Arguments

data

wide data

prefix

prefix of value variables

suffix

suffix of value variables

var.names

names of value variables, do.value will be created as the name of value column

Value

long data


do documentation built on Sept. 12, 2024, 6:27 a.m.