Description Usage Arguments Value Note
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
1 | biased_trans_matrix(data, all_data = FALSE)
|
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) |
a biased transition matrix of dim [k,k] where k is the number of unique feature values
If all_data is 'TRUE', A list with three members will be returned:
nodes a tibble containing all relevant information for each node, or feature value
edges a tibble containing all relevant information for each edge, or feature value coupling
Wb the biased transition matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.