Learn R Programming

filtro (version 0.2.0)

arrange_score: Arrange score

Description

Arrange score

Value

A tibble of score results.

Arguments

x

A score class object (e.g., score_cor_pearson).

...

Further arguments passed to or from other methods.

target

A numeric value specifying the target value. The default of NULL indicates that there is no target value.

Examples

Run this code

library(dplyr)

ames_subset <- modeldata::ames |>
  dplyr::select(
    Sale_Price,
    MS_SubClass,
    MS_Zoning,
    Lot_Frontage,
    Lot_Area,
    Street
  )
ames_subset <- ames_subset |>
  dplyr::mutate(Sale_Price = log10(Sale_Price))

ames_aov_pval_res <-
  score_aov_pval |>
  fit(Sale_Price ~ ., data = ames_subset)
ames_aov_pval_res@results

# Arrange score
ames_aov_pval_res |> arrange_score()

Run the code above in your browser using DataLab