Learn R Programming

BayesianFROC (version 1.0.0)

is_length_zero: Is argument of length zero ?

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 Oct 6

Usage

is_length_zero(integer_object)

Arguments

integer_object

An object of class integer

Value

A logical

Examples

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

is_length_zero(a)

is_length_zero(1)

a <- list()

is_length_zero(a)

is_length_zero(TRUE)


# }

Run the code above in your browser using DataLab