tidy_pmf_profiles: Function to reshape PMF factor profiles into tidy data.

View source: R/read_pmf_factor_profiles.R

tidy_pmf_profilesR Documentation

Function to reshape PMF factor profiles into tidy data.

Description

Function to reshape PMF factor profiles into tidy data.

Usage

tidy_pmf_profiles(df, factor_to_integer = FALSE)

str_factor_to_integer(x)

Arguments

df

Tibble/data frame from read_pmf_factor_profiles.

factor_to_integer

Should the factor variable be made an integer?

x

A string in the format "factor_*" to be made an integer.

Value

Tibble.

Author(s)

Stuart K. Grange


skgrange/pmfr documentation built on June 30, 2022, 12:28 a.m.