feature_to_t_values: Calculate test statistics for predictive accuracy of a...

Description Usage Arguments Value

View source: R/functionsFeatureEvaluation.R View source: R/feature_evaluation.R

Description

Calculate test statistics for predictive accuracy of a feature.

Calculate test statistics for predictive accuracy of a feature.

Usage

1
2
3
4
5
feature_to_t_values(dtable, dependents, feature, controls = NULL,
  family = binomial(link = "logit"))

feature_to_t_values(dtable, dependents, feature, controls = NULL,
  family = binomial(link = "logit"))

Arguments

dtable

A data.table object with dependents and features.

dependents

A vector denoting the names of the dependent variable(s).

feature

A vector denoting the name of the feature colomn.

controls

A character vector denoting the name of the control variables; if specified, tests statistics provide information on the incremental relevance of a feature given the controls.

dtable

A data.table object with dependents and features.

dependents

A vector denoting the names of the dependent variable(s).

feature

A vector denoting the name of the feature colomn.

controls

A character vector denoting the name of the control variables; if specified, tests statistics provide information on the incremental relevance of a feature given the controls.

Value

a modified data.table object with strings instead of factors.

a modified data.table object with strings instead of factors.


davidmacro/frog2features documentation built on Oct. 27, 2021, 12:17 a.m.