convDat: convDat Funktion

Description Usage Arguments Value Examples

View source: R/ConvDat.R

Description

Converts all columns of a data frame with type X to type Y.

Usage

1
convDat(inputDF, searchType, targetType)

Arguments

inputDF

A data.frame

searchType

Type of the columns which have to be converted.

targetType

Type to which the columns with type "searchType" will be converted

Value

a data.frame with column types converted

Examples

1
## Not run: convDat(iris, is.factor, as.character)

selvs1/rpaket documentation built on April 25, 2020, 12:56 a.m.