element.eval: Evaluating Element Fit

View source: R/strand.R

element.evalR Documentation

Evaluating Element Fit

Description

Performs a goodness-of-fit test on individual row and column elements using deviance, using a quadratic-logistic model to fit row and column occurrences. In the case of perfect separation of 0/1 values, an NA value is assigned. Results are reported as p values for each row and column.

Usage

element.eval(obj)

Arguments

obj

A seriated binary matrix.

Value

A list containing results in frames for row and column elements:

  • RowFit a data frame containing

    • id Row element

    • p.val p values of the row elements

  • ColFit a data frame containing

    • id Column element

    • p.val p values of the column elements

Examples

data("quattrofontanili")
element.eval(quattrofontanili)


lakhesis documentation built on June 22, 2024, 10:27 a.m.