biased_trans_matrix: Generate Biased Transition Matrix

Description Usage Arguments Value Note

View source: R/matrix.R

Description

Takes in a data.frame of categorical data and returns a weighted transition matrix which characterizes the edge weights of a directed graph representation of the inter-feature value couplings

Usage

1

Arguments

data

a data.frame containing mosly categorical data

all_data

a boolean (default: FALSE) on whether to return additional node and edge data (see Note)

Value

a biased transition matrix of dim [k,k] where k is the number of unique feature values

Note

If all_data is 'TRUE', A list with three members will be returned:


beansrowning/cbRw documentation built on Oct. 2, 2020, 12:08 a.m.