impCV: Cross-validation for spatio-temporal imputation

Description Usage Arguments Value Examples

Description

Cross-validation for spatio-temporal imputation

Usage

1
impCV(data, FUN = Cut, date.info = TRUE, cfold = 10, rfold = 10, ...)

Arguments

data

a data matrix with missing values

FUN

the imputation function to be evaluated by cross-validation

date.info

logical, if date information is provided in the data.

cfold

fold size on the columns

rfold

fold size on the rows.

...

other arguments

Value

the cross-validated RMSE

Examples

1
2
3
data(hqmr.data)
# the real cross-validation will take some time to finish
# impCV(hqmr.data)

cutoffR documentation built on May 2, 2019, 6:12 a.m.