ChoR.processResult {ChoR}R Documentation

[INTERNAL] Process the result of a java Chordalysis algorithm.

Description

Convert the result in a 'chordalysis object'.

Usage

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.


[Package ChoR version 0.0-4 Index]