Detect if a one- or two-sample problem is specified
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).