Statis...EXP::S4(3pm)

πŸ’– Statistics::R::REXP::S4 β€” an R closure πŸ’–

okay bestie, so this is the Perl docs for Statistics::R::REXP::S4, which is part of Statistics::R::IO. And the version? version 1.0002. periodt. ✨


🌸 SYNOPSIS 🌸

like, here's the whole vibe in one go:

use Statistics::R::REXP::S4;

my $s4 = Statistics::R::REXP::S4->new(class => ['some name'], package = '.GlobalEnv');
print $s4->class;

that's it. that's the moment. 🫢


✨ DESCRIPTION ✨

so an object of this class represents an R S4 object, and the SEXPTYPE for it is "S4SXP". it's giving very official, very classy. πŸ‘‘


πŸ’… METHODS πŸ’…

Statistics::R::REXP::S4 inherits from Statistics::R::REXP. family tree moment, we love to see it. 🧚

πŸŽ€ ACCESSORS πŸŽ€

  • class β€” the name of the object's class. literally what it says on the tin. ✨
  • package β€” the name of the package where the object's class is defined, or ".GlobalEnv" if it's defined in the global environment. iykyk. 🌍
  • slots β€” a hash reference to the object's slots. πŸ’–
  • sexptype β€” the SEXPTYPE of symbols is "S4SXP". yes, symbols. that's the fact, no cap. πŸ¦‹
  • to_pl β€” the Perl value of an S4 instance is a hash with the elements "class", "slots", and "package". three little elements, main character energy fr fr. πŸ’œ

😭 BUGS AND LIMITATIONS 😭

Classes in the "REXP" hierarchy are intended to be immutable. please, bestie, do not try to change their value or attributes. hands off the merch. πŸ™ˆ

there are no known bugs in this module. for bug reporting, go check out Statistics::R::IO. slay. πŸ’…


🫢 SUPPORT 🫢

support and contact info lives over at Statistics::R::IO. go say hi. 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Davor Cubranic <cubranic@stat.ubc.ca> β€” iconic, honestly. ⭐


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

it's free software, licensed under:

The GNU General Public License, Version 3, June 2007

and that's a wrap! πŸŽ€ this was perl v5.34.0, dated 2022-02-10, brought to you by the fine folks writing Statis...EXP::S4(3pm). go forth and be S4, bestie. πŸ’–βœ¨πŸ¦‹