R - Logical Type

Card Puncher Data Processing

R - Logical Type

About

A vector containing logical values

Example

> v <- c(TRUE,FALSE)
> class(v)
[1] "logical"





Discover More
Card Puncher Data Processing
R - (Datatype|Type|Storage Mode) of an object (typeof, mode)

In the C code underlying R, all objects are pointers to a structure with typedef SEXPREC; the different R data types are represented in C by SEXPTYPE, which determines how the information in the various...



Share this page:
Follow us:
Task Runner