PDL::Factor - PDL subclass for keeping categorical data
use PDL::Factor (); # extract levels from input my $blood_types = PDL::Factor->new( [ qw(B A AB A B A B O AB O) ] ); # explicitly specify levels my $blood_types2 = PDL::Factor->new( [ qw(B A AB A B A B O AB O) ], levels => [ qw(A B AB O) ] );
levels => $array_ref
$c = $a->glue($dim, $b, ...);
Glue two or more PDLs together along an arbitrary dimension. For now it only supports 1D PDL::Factor piddles, and
$dim has to be
Zakariyya Mughal <firstname.lastname@example.org>
Stephan Loyd <email@example.com>
This software is copyright (c) 2014, 2019 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.