Statis...ogical(3pm)

πŸ’– Statistics::R::REXP::Logical(3pm) β€” or, the R logical vector page but make it cute πŸ’–

okay so this is the manual page for Statistics::R::REXP::Logical, straight out of the User Contributed Perl Documentation section of the perl man pages. Buckle up bestie, it's a short one but it's iconic πŸŽ€


✨ NAME ✨

Statistics::R::REXP::Logical β€” an R logical vector πŸ¦‹


🌸 VERSION 🌸

version 1.0002 β€” yes, she's got a version number, she's official πŸ’…


⭐ SYNOPSIS ⭐

the whole vibe, in code form:

use Statistics::R::REXP::Logical

my $vec = Statistics::R::REXP::Logical->new([
    1, '', 'foo', undef
]);
print $vec->elements;

like… look at her. making a vector, printing the elements. main character energy fr fr. πŸ’–


🌈 DESCRIPTION 🌈

so here's the tea: an object of this class represents an R logical vector β€” and in R's own internal language that's an LGLSXP. that's it. that's the description. short and slay. ✨


🫢 METHODS 🫢

okay so Statistics::R::REXP:Logical (yes, exactly like that, that's how it's written in the original, no I'm not fixing it, it's part of the vibe) inherits from Statistics::R::REXP::Vector, BUT with one extra restriction: its elements have to be boolean (true/false) values. No cap. πŸŽ€

the deets on those element values:

  • 1 β€” corresponds to TRUE βœ…
  • 0 β€” corresponds to FALSE ❌
  • undef β€” corresponds to missing values (NA in R) πŸ«₯

so yeah, three states, one tiny class, and she handles all of them. πŸ’–


πŸ¦‹ sexptype πŸ¦‹

the SEXPTYPE of logical vectors is LGLSXP. periodt. πŸ’…


πŸ’€ BUGS AND LIMITATIONS πŸ’€

⚠️ IMPORTANT CAVEAT BESTIE ⚠️ classes in the REXP hierarchy are intended to be immutable. Please do not try to change their value or attributes. Like, just don't. She said what she said. πŸ™ˆ

There are no known bugs in this module. slay, no cap, we love a bug-free queen. πŸ‘‘ For bug reporting, please see Statistics::R::IO. πŸ›


πŸŽ€ SUPPORT πŸŽ€

need help? need to talk? need a support system? See Statistics::R::IO for support and contact information. she'll be there for you 🫢


πŸ’œ AUTHOR πŸ’œ

Davor Cubranic <cubranic@stat.ubc.ca> β€” the author, the legend, the moment. ✨


This software is Copyright (c) 2017 by University of British Columbia. 🏫

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007

free software, free vibes, GPLv3, iconic. 🌈


and that's the whole page bestie β€” nothing skipped, nothing summarised, every last flag-free detail preserved, because the vibe changes but the facts do not πŸ’…

cute little sign-off: this page was generated by perl v5.34.0 on 2022-02-10, and it's the Statis...ogical(3pm) page β€” yes the title is literally truncated like that in the footer, we keep it exactly as she is, no edits, love her for it πŸŽ€πŸ’–βœ¨