colround: Round defined columns

Description Usage Arguments Value Examples

View source: R/colround.R

Description

colround round defined columns.

Usage

1
colround(x, start, end = ncol(x), digits)

Arguments

x

a dataframe

start

number of start column

end

number of last column (default=last)

digits

number of round digits

Value

Return a dataframe with transformed columns.

Examples

1
2
v=data.frame(c(3.255,5.826,4.567,2.462))
v=colround(v,1,digits=1)

metools documentation built on July 2, 2020, 2:28 a.m.

Related to colround in metools...