changeTypeOfColumns: Change the data type of the columns in data frame

Description Usage Arguments

View source: R/changeTypeOfColumns.R

Description

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

Usage

1
changeTypeOfColumns(df, rangeOfColumns, type)

Arguments

df

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

rangeOfColumns

A vector of natural numbers specifyung which columns to coerce.

type

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


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