Displaying 3 results from an estimated 3 matches for "pmedian".
Did you mean:
median
2008 Apr 27
1
parallel max, min, and median of dataframe columns
...median points yet)
I can plot them individually with
> segments(1, max(data_frame[,1]), 1, pmin(data_frame[,1]))
> points(1, median(fly_ash[,1]))
but that's a bit tedious. Is there a better way of vectorising these
columns such that they will work with pmax? Is there something like a
pmedian?
Regards,
Hazel Jenkins
2007 Feb 13
2
Computing stats on common parts of multiple dataframes
Folks,
I have three dataframes storing some information about
two currency pairs, as follows:
R> a
EUR-USD NOK-SEK
1.23 1.33
1.22 1.43
1.26 1.42
1.24 1.50
1.21 1.36
1.26 1.60
1.29 1.44
1.25 1.36
1.27 1.39
1.23 1.48
1.22 1.26
1.24 1.29
1.27 1.57
1.21 1.55
1.23 1.35
1.25 1.41
1.25 1.30
1.23 1.11
1.28 1.37
1.27 1.23
R> b
EUR-USD NOK-SEK
1.23 1.22
1.21 1.36
1.28 1.61
1.23 1.34
1.21 1.22
2011 Mar 15
4
Element by element mean of a list of matrices
Hi All,
is there any effiective and dense/compact method to calculate the mean of a list of - of course coincident - matrices on an element by element basis? The resulting matrix' [i, j]-th element is the mean of the list's matrices' [i, j]-th elements respectively...
Iterating by for statement is quite straightforward, but I am seeking for a more elegant solution, and my attempt with