ag.MinMax.ds: Generates a matrix with a minimum and maximum value, for two...

Description Usage Arguments Details Value Author(s) Examples

Description

This function used by another function to plot a heatmap graph.

Usage

1
  ag.MinMax.ds(xvect, yvect)

Arguments

xvect

a numerical vector

yvect

a numerical vector

Details

the minumum and maximum values are potentially disclosive particularly in the presence of 'outliers'. However although this function generates the two extreme values of a vector, it is not not disclosive because the minimum and maximum that are return are, each, multiplied by a very small random value from a uniform distribution. That way the 'exact' minimum and maximum are not returned but at the same them the limits are not sensibly altered.

Value

a matrix

Author(s)

Isaeva, J. and Gaye A.

Examples

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

# login and assign the required variables to R
myvar <- list("LAB_TSC")
opals <- ag.ds.login(logins=logindata,assign=TRUE,variables=myvar)

# generate the 'blured' minimum and maximum of the variable 'LAB_TSC'
datashield.aggregate(opals, quote(ag.densitygrid.ds(D$LAB_TSC)))

## End(Not run)

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