| to_x_from_list {diffuStats} | R Documentation |
Convert any list format to the convenient one
to_x_from_list(scores, x)
scores |
list to reformat |
x |
character, desired format |
scores in desired format
data(graph_toy)
x_v <- diffuStats:::to_x_from_list(
diffuStats:::to_list(graph_toy$input_vec), "vector")
x_m <- diffuStats:::to_x_from_list(
diffuStats:::to_list(graph_toy$input_vec), "matrix")