ag.range.ds: returns the minimum and maximum of a numeric vector

Description Usage Arguments Value Author(s) Examples

Description

this function is similar to R function range but instead to not return the real minimum and maximum, the computed values are multiplied by a very small random number.

Usage

1
  ag.range.ds(xvect)

Arguments

xvect

a numerical

Value

a numeric vector which contains the minimum and the maximum

Author(s)

Gaye, A.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# load the login data
data(logindata)

# login and assign specific variable(s)
myvar <- list("LAB_HDL")
opals <- ag.ds.login(logins=logindata,assign=TRUE,variables=myvar)

# get the range of the variable 'LAB_HDL'
datashield.aggregate(opals, quote(range.ds(D$LAB_HDL)))

## End(Not run)

datashield/ag.dev.sv documentation built on May 14, 2019, 7:46 p.m.