Statis...P::Null(3pm)

πŸ’– Statis...P::Null(3pm) πŸ’–

okay bestie, welcome to the manual page for Statistics::R::REXP::Null β€” yes that's the actual title up top there, the man page name got cutely truncated to Statis...P::Null(3pm) which is honestly giving "my name is too long for this terminal" energy 😭 anyway. this is the R null object and she is so chill. no cap.


✨ VERSION ✨

this is version 1.0002 πŸŽ€


🌸 SYNOPSIS 🌸

look at her go:

use Statistics::R::REXP;

my $null = Statistics::R::REXP::Null->new();
say $rexp->is_null;
print $rexp->to_pl;

literally that's it. that's the whole vibe. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so an object of this class represents the null R object, which goes by the SEXPTYPE name NILSXP (iykyk).

and here's the thing β€” the null object has no value and no attributes. none. zero. empty. and if you try to set them?? exception. immediately. she does not play. do not try it. 🚫


🫢 METHODS 🫢

Statistics::R::REXP::Null inherits from Statistics::R::REXP and adds no methods of its own. she's a nepo baby but like, in a sweet way β€” she just takes what she's given. πŸ’œ

πŸ’« ACCESSORS πŸ’«

  • sexptype β€” the SEXPTYPE of null objects is NILSXP. that's the whole answer, bestie.
  • to_pl β€” the Perl value of NULL is undef. that's the conversion. that's it.
  • attributes β€” null objects have no attributes, so the attributes accessor always returns undef. every single time. it's consistent, we love that for her. ✨

😭 BUGS AND LIMITATIONS 😭

okay serious moment, listen up:

classes in the REXP hierarchy are intended to be immutable. please do not try to change their value or attributes. just don't. leave her alone. πŸ™ˆ

there are no known bugs in this module πŸŽ‰ (slay). please see Statistics::R::IO for bug reporting.


🌈 SUPPORT 🌈

see Statistics::R::IO for support and contact information. that's where the help lives. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Davor Cubranic <cubranic@stat.ubc.ca> β€” icon, 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

and that's a wrap, bestie!! πŸ¦‹βœ¨ this page was rendered by perl v5.34.0 on 2022-02-10, and honestly? she ate. periodt. πŸ’…πŸŒΈπŸ’–