Statis...racter(3pm)

πŸ’– Statistics::R::REXP::Character πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation (the 3pm section, iykyk) and it's all about Statistics::R::REXP::Character β€” an R character vector. slay. let's get into it πŸ¦‹


✨ VERSION ✨

This is version 1.0002 πŸ’…


🌸 SYNOPSIS 🌸

here's the vibe, literally copy-paste core:

use Statistics::R::REXP::Character

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

not me showing you the whole thing so you can just run it 🫢


πŸ‘‘ DESCRIPTION πŸ‘‘

so an object of this class is basically the main character representation of an R character vector β€” in R speak that's a STRSXP ✨


πŸ’œ METHODS πŸ’œ

Statistics::R::REXP:Character inherits from Statistics::R::REXP::Vector, and it adds one lil restriction on top: its elements have to be scalar values. Elements that aren't scalars (i.e., numbers or strings) get the value undef, and same goes for elements with the R value NA. no cap, that's the rule πŸ’€

🌈 sexptype

the SEXPTYPE of character vectors is STRSXP. periodt. πŸ‘‘


😭 BUGS AND LIMITATIONS 😭

Classes in the REXP hierarchy are intended to be immutable. Please do not try to change their value or attributes. like, don't. it's giving chaos and we're not about that πŸ™ˆ

There are no known bugs in this module. Please see Statistics::R::IO for bug reporting πŸ›


πŸŽ€ SUPPORT πŸŽ€

See Statistics::R::IO for support and contact information. they got you fr fr πŸ’–


🌟 AUTHOR 🌟

Davor Cubranic <cubranic@stat.ubc.ca> β€” iconic, we stan 🫢


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 the whole page bestie!! this one was generated with perl v5.34.0, dated 2022-02-10, and yes the header/footer were both out here lookin' like Statis...racter(3pm) because even manpage titles need a lil mystery ✨ go forth and build your character vectors, you got this πŸ’…πŸŒˆ