repairNonNumeric: Repair Non-numeric Values

View source: R/repair.R

repairNonNumericR Documentation

Repair Non-numeric Values

Description

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

Usage

repairNonNumeric(x, types)

Arguments

x

matrix to be rounded

types

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

Examples

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


SPOT documentation built on June 26, 2022, 1:06 a.m.