.fonte {rbioacc}R Documentation

A simple implementation of to pivot_longer of tidyr

Description

A simple implementation of to pivot_longer of tidyr

Usage

.fonte(df, names_to, values_to)

Arguments

df

A data frame to pivot.

names_to

A string specifying the name of the column to create from the data stored in the column names of df.

values_to

A string specifying the name of the column to create from the data stored in cell values.

Value

The data frame with a "lengthens" shape: more rows, less columns


[Package rbioacc version 1.2.1 Index]