long: Convert Data Frame to Data Points Format

View source: R/long.R

longR Documentation

Convert Data Frame to Data Points Format

Description

as.data.points returns a melted data frame in tibble format. The last two columns are always a named variable and value. variable is a character type and would be a column header in a tidy dataframe. The preceding columns are all categories that you can select from.

Usage

long(df, category_cols)

Arguments

df

The source dataset

category.cols

The columns used to filter the dataset

Details

Makes it easier to look at datasets by putting a statistical table into a common format


MattjCamp/datapointsr documentation built on Sept. 14, 2023, 12:43 p.m.