Learn R Programming

useful (version 1.2.6)

ForceDataFrame: ForceDataFrame

Description

Force matrix and arrays to data.frame

Usage

ForceDataFrame(data)

Value

a data.frame of the data

Arguments

data

matrix, data.frame, array, list, etc. . .

Author

Jared P. Lander

Details

This is a helper function for build.x and build.y to convert arrays and matrices--which are not accepted in model.frame--into data.frames