Learn R Programming

fastStat (version 1.4)

round<-: Change the Digital for Double

Description

Change the Digital for Double

Usage

round(x) <- value

Arguments

x

a double number

value

digital number

Value

double number

Examples

Run this code
# NOT RUN {
x = 3.123
#usual method
x = round(x, 3)
#now
round(x) = 3
# }

Run the code above in your browser using DataLab