evaluate_marginal_rules: Evaluate mixture rules found during the rpart decision tree...

View source: R/evaluate_marginal_rules.R

evaluate_marginal_rulesR Documentation

Evaluate mixture rules found during the rpart decision tree process

Description

Evaluate mixture rules found during the rpart decision tree process

Usage

evaluate_marginal_rules(data, marg_decisions, no_marg_rules, mix_comps)

Arguments

data

Input data

marg_decisions

List of rules determined for each mixture component

no_marg_rules

TRUE/FALSE if no marginal rules were found across the folds

mix_comps

Vector of characters denoting mixture components

Value

A list with marginal rules evaluated which includes:

  • data: The fold raw data with the sum of evaluated rule binary vectors for each mixture component added.

  • marg_rule_df: A binary matrix where each marginal rule has been evaluated to a binary vector.


blind-contours/CVtreeMLE documentation built on June 22, 2024, 8:53 p.m.