Learn R Programming

useful (version 1.2.0)

ForceDataFrame: ForceDataFrame

Description

Force matrix and arrays to data.frame

Usage

ForceDataFrame(data)

Arguments

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

Value

  • a data.frame of the data

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