Learn R Programming

PerformanceAnalytics (version 1.1.0)

zerofill: zerofill

Description

Fill NA's with zeros in a time series to allow analysis when the matrix must be complete.

Usage

zerofill(x)

Arguments

x
time series to zero fill

Details

Note that this function has risks, use carefully. Complete data is preferred. Barring that, filling a small percentage of results in a the middle of a large set are unlikely to cause problems. Barring that, realize that this will skew your results.