ag.ds.contourplot: Creates a contour plot

Description Usage Arguments Value Author(s) Examples

Description

Generates a contour plot of the given data values.

Usage

1
2
  ag.ds.contourplot(opals, xvect, yvect, type = "combine",
    numints = 20)

Arguments

opals

character strings that represent the URL of the servers where the study datasets are stored.

xvect

a numerical vector

yvect

a numerical vector

type

a character which represents the type of graph to display. If type is set to 'combine', a combined contour plot displayed and if type is set to 'split', each conntour is plotted separately.

numints

a number of intervals for a density grid object

Value

a contour plot

Author(s)

Burton, P., Isaeva, J. and Gaye, A.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{
# load the file that contains the login details
data(logindata)

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

# Example1: generate a combined contourplot
ag.ds.contourplot(opals, quote(D$LAB_TSC), quote(D$LAB_HDL), type="combine")

# Example2: generate a contourplot where each study is plotted seaparately
ag.ds.contourplot(opals, quote(D$LAB_TSC), quote(D$LAB_HDL), type="split")

# Example3: generate a contourplot with a less dense drid
ag.ds.contourplot(opals, quote(D$LAB_TSC), quote(D$LAB_HDL), type="split", numints=15)
}

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