iterator.todf: Flatten feature data returned by iterator functions into a...

Description Usage Arguments Details

View source: R/iterator.R

Description

Itertor functions like iterator.iterateMeters return lists of lists of derived features indexed by meterIds. This function flattens the scalar values in these lists into data.frame, with one row per meterId and columns for every named feature found.

Usage

1

Arguments

lofl

The list of lists for feature values that should be flattened into a single data frame, with one row per meterId.

Details

This function ignores non-scalars, so diagnostic data and other complex data structures can be returned by feature algorithms without interfering with the task of creating clean vectors of features for each meter. The columns of the returned data.frame are a super set of all the features returned for every MeterDataClass with computed features. Missing features are given values of NA.


ConvergenceDA/visdom documentation built on May 6, 2019, 12:51 p.m.