is.PGP_Model: Check if an object is a PGP_Model

Description Usage Arguments Examples

View source: R/PGPModel.R

Description

Checks if the class of an object is 'PGP_Model'

Usage

1

Arguments

x

Object to be checked.

Examples

1
2
3
4
5
6
7
8
9
PGPM <- PGP_Model(2, 1000, 1, 2, dispersion = 2)
PGPM
is.valid.PGP_Model(PGPM)
is.valid.PGP_Model(PGPM, comment = TRUE)

PGPM$alpha_tail <- -2
is.PGP_Model(PGPM)
is.valid.PGP_Model(PGPM)
is.valid.PGP_Model(PGPM, comment = TRUE)

Pareto documentation built on March 3, 2021, 5:07 p.m.