check_corr_thresh: check that corr_thresh is either NULL or a number between 0...

View source: R/checks.R

check_corr_threshR Documentation

check that corr_thresh is either NULL or a number between 0 and 1

Description

check that corr_thresh is either NULL or a number between 0 and 1

Usage

check_corr_thresh(corr_thresh)

Arguments

corr_thresh

correlation threshold

Author(s)

Zena Lapp, zenalapp@umich.edu

Examples

## Not run: 
check_corr_thresh(1)
check_corr_thresh(0.8)
check_corr_thresh(2019)
check_corr_thresh(NULL)

## End(Not run)

SchlossLab/mikropml documentation built on Aug. 24, 2023, 9:51 p.m.