Statis...nteger(3pm)

✨ NAME ✨

Statistics::R::REXP::Integer β€” an R integer vector πŸŽ€ (this is the User Contributed Perl Documentation section btw, iykyk)


πŸ’œ VERSION πŸ’œ

version 1.0002


πŸ¦‹ SYNOPSIS πŸ¦‹

use Statistics::R::REXP::Integer

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

okay bestie, look how easy that is 🫢


🌸 DESCRIPTION 🌸

An object of this class represents an R integer vector, aka "INTSXP". That's the whole vibe. It's giving "vector but make it integers". ✨


πŸ‘‘ METHODS πŸ‘‘

Statistics::R::REXP:Integer inherits from Statistics::R::REXP::Vector, and it adds one little rule on top: its elements get truncated to integer values. So like, no decimals allowed, they're getting snipped. πŸ’…

And the elements that are not numbers? Their value is undef. Same deal for elements whose R value is "NA" β€” also undef. No cap. πŸ«₯

⭐ sexptype ⭐

The SEXPTYPE of integer vectors is "INTSXP". That's it, that's the whole section, iconic. 🌈


😭 BUGS AND LIMITATIONS 😭

Classes in the "REXP" hierarchy are intended to be immutable. Periodt. Please do not try to change their value or attributes β€” just don't, okay? πŸ™ˆ

There are no known bugs in this module. For bug reporting, please see Statistics::R::IO. πŸ’–


πŸŽ€ SUPPORT πŸŽ€

See Statistics::R::IO for support and contact information. They got you. 🫢


🧚 AUTHOR 🧚

Davor Cubranic <cubranic@stat.ubc.ca> β€” the main character who wrote this. πŸ‘‘


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

and that's a wrap, bestie πŸ’œ this was perl v5.34.0, dated 2022-02-10, and you just read the Statis...nteger(3pm) page fr fr. go forth and slay your integer vectors ✨πŸ’