is_two_sample: Detect if a one- or two-sample problem is specified

View source: R/utils.R

is_two_sampleR Documentation

Detect if a one- or two-sample problem is specified

Description

Detect if a one- or two-sample problem is specified

Usage

is_two_sample(Y, q)

Arguments

Y

A vector, matrix, data frame or NULL

q

A function or NULL.

Value

TRUE for a two-sample problem (i.e., Y non-null and q = NULL) and FALSE for a one-sample problem (i.e., Y = NULL and q non-null).


kldest documentation built on May 29, 2024, 3 a.m.