search for: ccru

Displaying 2 results from an estimated 2 matches for "ccru".

Did you mean: cru
2003 Sep 23
1
AW: Rank and extract data from a series
...then take a mean: >2 and 5 = 3.5 >Thanks in advance. >James Brown X <- c(1, 4.5, 2.3, 1, 7.3) X1 <- sort(X, decreasing=TRUE)[1:2] X2 <- match(X1, X) mean(X2) Hope this helps Thomas ___________________________________________ James Brown Cambridge Coastal Research Unit (CCRU) Department of Geography University of Cambridge Downing Place Cambridge CB2 3EN, UK Telephone: +44 (0)1223 339776 Mobile: 07929 817546 Fax: +44 (0)1223 355674 E-mail: jdb33 at cam.ac.uk E-mail: james_510 at hotmail.com http://www.geog.cam.ac.uk/ccru/CCRU.html ___________________________________...
2003 Sep 23
0
Rank and extract data from a series
...(unsorted) > time series: > > 4.5 = row 2 > 7.3 = row 5 > > then take a mean: > > 2 and 5 = 3.5 > > Thanks in advance. > > James Brown > > ___________________________________________ > > James Brown > > Cambridge Coastal Research Unit (CCRU) > Department of Geography > University of Cambridge > Downing Place > Cambridge > CB2 3EN, UK > > Telephone: +44 (0)1223 339776 > Mobile: 07929 817546 > Fax: +44 (0)1223 355674 > > E-mail: jdb33 at cam.ac.uk > E-mail: james_510 at hotmail.com > > http:/...