Learn R Programming

thinkr (version 0.16)

set_col_type: set a given coltype to each column in a data.frame

Description

set a given coltype to each column in a data.frame

Usage

set_col_type(dataset, col_type)

Value

a data.frame

Arguments

dataset

a data.frame

col_type

a character vector containing the class to apply