ezFrame: Wrapper for data.frame suitable for data processing rather...

View source: R/00defaults.R

ezFrameR Documentation

Wrapper for data.frame suitable for data processing rather than stastistical modelling

Description

The original data.frame() is suitable for statistical modelling with factors etc. Our version is designed to be more suitable for data processing, i.e. we * do keep column names the way they are; we do not require that they represent valid variable names * by default we do not convert strings to factors There exist, similarities with data_frame in Hadleys package. The difference is that we encourage to use rownames while he discourages this.

Usage

ezFrame(
  ...,
  row.names = NULL,
  check.rows = TRUE,
  check.names = FALSE,
  stringsAsFactors = FALSE
)

Arguments

...

additional arguments to be passed to data.frame().

Value

Returns a data.frame.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

ezFrame(first=1:3, second=5, "with space"="text", row.names=letters[1:3])

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.