as_FD.list: Interpret response given as list for FDboost

View source: R/FD-class.R

as_FD.listR Documentation

Interpret response given as list for FDboost

Description

Interpret response given as list for FDboost

Usage

## S3 method for class 'list'
as_FD(x, formula, ...)

Arguments

x

either a list with an entry per response unit containing the response data or a list with one element containing the response data indicated by the left-hand side of the formula.

formula

a formula indicating the element inside of x to be converted. If its left-hand side is NULL, x will be considered in FDboost format. If the response name is not contained in the list, the list will be considered the response object itself.

...

additional arguments to be passed to or from methods.

Details

This interpreter applies mfInterpret_for_FDboost to all entries of the response data list, stacks them to a large data.frame and adds an id variable called 'id'.

Value

a data.frame in 'irregular' FDboost format

See Also

FDboost


Almond-S/manifoldboost documentation built on June 23, 2022, 11:06 a.m.