repairNonNumeric: Repair Non-numeric Values

Description Usage Arguments Examples

View source: R/repair.R

Description

Round non-numeric columns of a matrix, specified by a vector of data given data types.

Usage

1
repairNonNumeric(x, types)

Arguments

x

matrix to be rounded

types

data types of the respective columns, numeric columns are specified by "numeric".

Examples

1
2
3
x <- matrix(10*runif(12),4,3)
types <- c("numeric","factor","factor")
repairNonNumeric(x,types)

bartzbeielstein/SPOT documentation built on June 13, 2020, 5:58 p.m.