Changes between Version 14 and Version 15 of udg/ecoms/RPackage/examples/drift


Ignore:
Timestamp:
May 13, 2016 2:58:49 PM (6 years ago)
Author:
juaco
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/RPackage/examples/drift

    v14 v15  
    6363{{{#!text/R
    6464# The library sp needs to be installed to do this example:
    65 require(sp)
     65if (!require(sp)) install.packages(sp)
    6666# Matrix of anomalies between lead month and reference
    6767aux.mat <- sapply(1:length(cfs.list), function(i) {apply(cfs.list[[i]]$Data, MARGIN = c(3,2), FUN = mean, na.rm = TRUE) - ref.field})