apply.NetCDF: Apply a function to specified dimensions of an 'NetCDF'...

Description Usage Arguments Details

View source: R/apply.NetCDF.R

Description

This function works as apply but also applies functions only to time steps with the same season/month, so that seasonal analysis can be easily performed.

Usage

1
apply.NetCDF(x, dims, fun, ...)

Arguments

x

input array of class 'NetCDF'

dims

dimensions that are retained in the output (see apply)

fun

function to be applied

...

additional arguments to fun

Details

Although apply.NetCDF suggest to be a generic function that can be applied on objects of class 'NetCDF' with apply(x, ..), this is deliberately not the case. apply is not a generic function and therefore you will have to call apply.NetCDF specifically to call this function.


jonasbhend/geoutils documentation built on May 19, 2019, 7:27 p.m.