GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Data::Frame::Util(3) User Contributed Perl Documentation Data::Frame::Util(3)

Data::Frame::Util - Utility functions

version 0.006004

This module provides some utility functions used by the Data::Frame project.

    my $df = dataframe(...);

Creates a Data::Frame object.

    my $logical = factor(...);

Creates a PDL::Factor object.

    my $logical = logical(...);

Creates a PDL::Logical object.

    my $bad = BAD($n);

A convenient function for generating all-BAD piddles of the given length.

This is an alias of the "BAD" function.

    my $rslt_piddle = ifelse($test, $yes, $no)

This function tries to do the same as R's "ifelse" function. That is, it returns a piddle of the same length as $test, and is filled with elements selected from $yes or $no depending on whether the corresponding element in $test is true or false.

$test, $yes, $no should ideally be piddles or coerce-able to piddles.

    my $bool = is_discrete(ColumnLike $x);

Returns true if $x is discrete, that is, an object of below types,

  • PDL::Factor
  • PDL::SV

  • Zakariyya Mughal <zmughal@cpan.org>
  • Stephan Loyd <sloyd@cpan.org>

This software is copyright (c) 2014, 2019-2022 by Zakariyya Mughal, Stephan Loyd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-12-20 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.