Description Usage Arguments Examples
Plot two Environmental variables relationship
1 2 | plotVarRel(varX, varY, startDate = NULL, endDate = NULL,
trend = FALSE, wsUrl = "www.opensilex.org/openSilexAPI/rest/", token)
|
varX |
uri of the variable to plot in X axis, from the |
varY |
uri of the variable to plot in Y axis, from the |
startDate |
date from which to plot |
endDate |
date to which to plot |
trend |
logical, draw the trend of the scatterplot |
wsUrl |
url of the webservice |
token |
a token from |
1 2 3 4 5 6 7 8 9 | initializeClientConnection(apiID="ws_private", url = "www.opensilex.org/openSilexAPI/rest/")
aToken <- getToken("guest@opensilex.org","guest")
token <- aToken$data
vars <- variableList(token = token)
vars
plotVarRel( vars$value[1],
vars$value[2],
token = token,
trend = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.