Description Usage Arguments Value Author(s) Examples
Generates a contour plot of the given data values.
1 2 | ag.ds.contourplot(opals, xvect, yvect, type = "combine",
numints = 20)
|
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 |
numints |
a number of intervals for a density grid object |
a contour plot
Burton, P., Isaeva, J. and Gaye, A.
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.