changeTypeOfColumns.2: Change the data type of the columns in data frame (version 2)

Description Usage Arguments

View source: R/changeTypeOfColumns.2.R

Description

Modify the data type of specified columns. Can coerce the column to the type specified by user.

Usage

1
changeTypeOfColumns.2(df, rangeOfColumns, type)

Arguments

df

A data frame for which we wish to change the data type of the columns

rangeOfColumns

A list of vectors of integers specifyung which columns to coerce. Must be non-redundant.

type

One of 'numeric', 'character', 'factor', 'integer'


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.