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

View source: R/replace_pattern.R

set_col_typeR Documentation

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)

Arguments

dataset

a data.frame

col_type

a character vector containing the class to apply

Value

a data.frame


ThinkR-open/thinkr documentation built on Aug. 25, 2022, 2:45 p.m.