melted_to_mat: Convert melted data.frame (or tibble) to matrix

Description Usage Arguments Value

View source: R/build_spec_tools.R

Description

internal helper function for testing

Usage

1
melted_to_mat(df, var1, var2, indexvar)

Arguments

df

the data.frame

var1

character, Which variable in df has the new column names

var2

character, Which variable in df has the new values

indexvar

character, which variable in df has the new rownames

Value

a matrix


b-coli/ICITools documentation built on Dec. 27, 2021, 7:40 a.m.