Learn R Programming

BayesianFROC (version 1.0.0)

is_logical_0: is.logical(0)

Description

When object is created by the codes x <- integer(); y <- list(); z <- logical(), and if the values is not substituted, then this function return TRUE. This function determine whether the value is assigned or not according to the object size.

2020 Sept 25

Usage

is_logical_0(integer_object)

Arguments

integer_object

An object of class integer

Value

A logical

Examples

Run this code
# NOT RUN {
a <- integer()

is_logical_0(a)

is_logical_0(1)

a <- integer()

is_logical_0(a)

is_logical_0(TRUE)


# }

Run the code above in your browser using DataLab