check_p: Internal functions to check the consistency of probabilities.

View source: R/check_p.R

check_pR Documentation

Internal functions to check the consistency of probabilities.

Description

Internal functions to check the consistency of probabilities.

Usage

check_p(p)

## Default S3 method:
check_p(p)

## S3 method for class ''NULL''
check_p(p)

## S3 method for class 'numeric'
check_p(p)

## S3 method for class 'ffp'
check_p(p)

## S3 method for class 'matrix'
check_p(p)

## S3 method for class 'xts'
check_p(p)

## S3 method for class 'data.frame'
check_p(p)

## S3 method for class 'tbl'
check_p(p)

Arguments

p

A vector, a matrix, a xts or a tibble object.

Value

A matrix object with 1 column.

Examples

#

Reckziegel/CMA documentation built on July 13, 2022, 10:31 p.m.