search for: mymax

Displaying 4 results from an estimated 4 matches for "mymax".

Did you mean: ymax
2012 Sep 10
3
Plot not too dense line plot
Dear all, I am including in a plot 6 different lines (?lines) with 6 different line types. The problem is that I have so dense information that the line types are not visible any more.   In the code below myLength<-length(currentSet) plot(seq(from=1,to=myMax,length.out=myLength),currentSet, type="l",xlim=c(1,myMax),axes=F,...) the myLength is 100.000+ elements. I would like to ask you how I can print each line including only 500 points. I have searched already and there is no parameter for that in plot or in lines. Probably I need to alt...
2007 Feb 01
3
Help with efficient double sum of max (X_i, Y_i) (X & Y vectors)
Greetings. For R gurus this may be a no brainer, but I could not find pointers to efficient computation of this beast in past help files. Background - I wish to implement a Cramer-von Mises type test statistic which involves double sums of max(X_i,Y_j) where X and Y are vectors of differing length. I am currently using ifelse pointwise in a vector, but have a nagging suspicion that there is a
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
...#### # Feed with (file, maxnumbers) # # where file is the sound file # # to be played and maxnumbers is # # the maximum amount of digits to # # allow in the answer # #################################### sub get_data { my @mydata = @_; my $myfile = $mydata[0]; my $mymax = $mydata[1]; if ($DEBUG == 1 ) { print DEBUGOUT "Getting data \n"; } print "GET DATA $myfile 15000 $mymax \n"; my $result = <STDIN>; &checkresult($result); $result =~ /result=(-?\d+)/; return $1; } ########### init_agi ############...
2002 Jan 28
4
Functions on matrix row level
Hi together, I have some data in a matrix structure - say 1000 rows with 10 columns. And I like to do some calculations (like max, avg or min) on row level. The only solution I found so fare was using a loop like for (i in 1:1000) { max[i] <- max(matrix[I,]) } It looks like that this is not very fast. Does an other way exists? Kind regards Ulrich