Learn R Programming

EGM (version 0.2.0)

lapply.windowed: Apply a function to each element of a windowed object

Description

Apply a function to each element of a windowed object

Usage

lapply.windowed(X, FUN, ...)

Value

A list of the results of applying FUN to each element of X, or a new windowed object if all results are egm objects

Arguments

X

A windowed object

FUN

A function to apply to each element

...

Additional arguments passed to FUN