score_aov {filtro} | R Documentation |
Create a score object for ANOVA F-test F-statistics and p-values
Description
Construct a score object containing metadata for univariate feature scoring using the
ANOVA F-test.
Output a score object containing associated metadata such as range
, fallback_value
,
score_type
("fstat"
or "pval"
), direction
, and other relevant attributes.
Usage
score_aov(
range = c(0, Inf),
fallback_value = Inf,
score_type = "fstat",
direction = "maximize"
)
Arguments
range |
A numeric vector of length two, specifying the minimum and maximum possible values, respectively. |
fallback_value |
A numeric scalar used as a fallback value. Typical values include:
For F-statistics, the |
score_type |
A character string indicating the type of scoring metric to compute. Available options include:
|
direction |
A character string indicating the optimization direction. One of:
For F-statistics, the |
Value
A score object containing associated metadata such as range
, fallback_value
,
score_type
("fstat"
or "pval"
), direction
, and other relevant attributes.
Examples
# Create a score object
score_aov()
# Change score type
score_obj <- score_aov()
score_obj$score_type <- "pval"