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 documentation built on Aug. 22, 2022, 5:05 p.m.