Changes between Version 7 and Version 8 of udg/ecoms/RPackage/examples/pointSelection
- Timestamp:
- Jul 11, 2014 8:12:52 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
udg/ecoms/RPackage/examples/pointSelection
v7 v8 4 4 5 5 {{{ 6 #!text/R 6 7 > point.cfs <- loadECOMS(dataset = "CFSv2_seasonal_16", var = "tas", members = 1:10, lonLim = -3.7, latLim = 40.4, season = 6:8, years = 2001, leadMonth = 2, time = "DD") 7 8 [2014-06-17 15:51:15] Defining homogeneization parameters for variable "tas" … … 18 19 19 20 {{{ 21 #!text/R 20 22 > str(point.cfs$Data) 21 23 num [1:92, 1:10] 16.3 17.7 18.6 19.7 20.2 ... … … 26 28 27 29 {{{ 30 #!text/R 28 31 > quartiles <- apply(point.cfs$Data, MARGIN = 1, FUN = quantile, probs = c(.25,.75)) 29 32 > ens.mean <- rowMeans(point.cfs$Data) … … 40 43 41 44 {{{ 45 #!text/R 42 46 > point.wfdei <- loadECOMS(dataset = "WFDEI", var = "tas", lonLim = -3.7, latLim = 40.4, season = 6:8, years = 2001, time = "DD") 43 47 [2014-06-17 16:05:55] Defining homogeneization parameters for variable "tas" … … 52 56 53 57 {{{ 58 #!text/R 54 59 > lines(dates, point.wfdei$Data, col = "red", lwd = 1.5) 55 60 }}}