convert_table_to_matrix: Convert a dataframe to a matrix

Description Usage Arguments Value

View source: R/chord_chart.R

Description

Convert a dataframe to a matrix

Usage

1
convert_table_to_matrix(df, column_var, cell)

Arguments

df

A data frame with three columns: a row variable, a column variable, and a value variable.

column_var

The name of the variable to use for columns.

cell

The name of the variable to use for filling the matrix.

Value

a square matrix


pbsag/outviz documentation built on Dec. 7, 2019, 5:50 a.m.