coerceDataFrame: Coerce 'data.frame' columns to the specified classes.

Description Usage Arguments Value

View source: R/util.R

Description

Coerce data.frame columns to the specified classes.

Usage

1
coerceDataFrame(x, classes)

Arguments

x

A data.frame.

classes

Classes to which columns of data.frame are to be coerced. This should be a character vector containing class names, with the same number of elements as there are columns in the data.frame.

Value

Coerced data.frame.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.