Learn R Programming

algebraic.dist (version 0.9.1)

is_lognormal: Test whether an object is a lognormal.

Description

Test whether an object is a lognormal.

Usage

is_lognormal(x)

Value

TRUE if x inherits from "lognormal", FALSE otherwise.

Arguments

x

The object to test.

Examples

Run this code
is_lognormal(lognormal(0, 1))
is_lognormal(normal(0, 1))

Run the code above in your browser using DataLab