Dear All,
I would like a subroutine that will allow me to easily put columns of a tab
delimited file into their own arrays.
I've been calling the following repeatedly for each column:
my @array1 = getcolvals($filehandle, 0);
my @array2 = getcolvals($filehandle, 1); ...etc.
sub getcolvals {
On Thu, Feb 4, 2010 at 2:24 AM, John W. Krahn jwkr...@shaw.ca wrote:
Eric Mooshagian wrote:
Dear All,
Hello,
Hi John, Thanks for the notes.
I have a few subroutines that I use to first build an index for several
arrays and then, for example, take the mean for the index values. When
Dear All,
I have a few subroutines that I use to first build an index for
several arrays and then, for example, take the mean for the index
values. When I build the index I can exclude particular values in an
array as follows:
my $index = defindex(
exclude = [0,\...@accuracy],
Correction, I meant ||, not ...
exclude = (responsetime = 200) || (responsetime = 1200) where
responsetime refers to an array.
Thanks,
Eric
Begin forwarded message:
From: Eric Mooshagian ericmooshag...@gmail.com
Date: February 3, 2010 10:45:37 PM EST
To: beginners@perl.org
Subject
On Dec 4, 2009, at 8:32 AM, Shlomi Fish wrote:
On Friday 04 Dec 2009 06:10:16 Eric Mooshagian wrote:
Dear All,
This is my first post.
I present some subroutines that 1) create an index for one or more
arrays and then 2) get summary statistics based on the index. I
have 2
issues
Dear All,
This is my first post.
I present some subroutines that 1) create an index for one or more
arrays and then 2) get summary statistics based on the index. I have 2
issues:
1. I would like to be able to create the index conditional on the
values of another array, e.g.,