is.supported: Test if numeric values fall within a defined support

is.supportedR Documentation

Test if numeric values fall within a defined support

Description

Test if numeric values fall within a defined support

Usage

is.supported(support, x, by.variable = F)

Arguments

support

An object of class Support

x

If the support is univariate, a numeric vector. If the support is multivariate, a matrix with one column for each variable and one row for each point to test or a numeric vector with one value for each variable in the support

by.variable

If this is a Multivariate_Support, if by.variable is TRUE, calculates support for each variable independently

Value

If the support is univariate or if by.variable==FALSE or if only a vector is passed to x, returns a logical vector, with one value for each value of x, corresponding to whether that value of x falls within the defined support. If the support is multivariate and by.variable==TRUE and a matrix with more than one row was passed to x, returns a matrix with one column for each variable and one row for each point


tfojo1/distributions documentation built on July 27, 2024, 3:29 p.m.