ChoR.processResult: [INTERNAL] Process the result of a java Chordalysis...

Description Usage Arguments Details Value

View source: R/choR.R

Description

Convert the result in a 'chordalysis object'.

Usage

1
ChoR.processResult(x, modelStr)

Arguments

x

The dataframe used to loadData; column names are the name of the attributes.

modelStr

The result of a java Chordalysis algorithm

Details

Process the result of a call to the java Chordalysis algorithm. The result is a String of the forme "~0*1*2+...+3*4*5". The numbers (+1 for indice correction) are replaced with the corresponding column name in x, and the string is split in a list of cliques, a cliques being a list of name. For example, "~ 0*1*2 + 3*4*5" gives the two cliques [[ [[0,1,2]], [[3,4,5]] ]]

Value

A Chordalysis object. Use ChoR.as.* functions to access the result.


ChoR documentation built on May 2, 2019, 1:53 p.m.