gen.report {cleanTS}R Documentation

Generate a report.

Description

gen.report() generates a report of the entire process, the changes made to the original data and details about the impurities found in the data.

Usage

gen.report(obj)

Arguments

obj

A cleanTS object.

Value

Does not return any value.

Examples

# Convert sunspots.month to dataframe
data <- timetk::tk_tbl(sunspot.month)

# Randomly insert missing values to simulate missing value imputation
set.seed(10)
ind <- sample(nrow(data), 100)
data$value[ind] <- NA

# Perform cleaning
cts <- cleanTS(data, date_format = "my", time = "index", value = "value")

gen.report(cts)


[Package cleanTS version 0.1.1 Index]