test_folds_BS: DEPRECATED!

View source: R/5_DEPRECATED.R

test_folds_BSR Documentation

DEPRECATED!

Description

DEPRECATED! Use cvo_test_bs instead.
Test if data in folds is stratified and blocked. This function run tests, that help to evaluate if data in folds is (a) stratified and (b) blocked.

Usage

test_folds_BS(
  obj,
  data = NULL,
  stratify_by = NULL,
  block_by = NULL,
  nColShow = 10
)

foldTests(obj, ...)

Arguments

obj

A list with validation/test set indices in folds. Note: If indices are from training set, the result will be incorrect.

data

A data frame, for wich obj was created.

stratify_by

A name of variable used for stratification.

block_by

A name of variable used for blocking.

nColShow

Number of blocking variable cross-tabulation's columns to be shown. Default is 10.

Value

Print tables that help to evaluate if data is (a) stratified, (b) blocked.


GegznaV/spHelper documentation built on April 16, 2023, 1:42 p.m.