[Stacomir-commits] r318 - pkg/stacomir/inst/examples
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Mar 18 21:36:00 CET 2017
Author: briand
Date: 2017-03-18 21:36:00 +0100 (Sat, 18 Mar 2017)
New Revision: 318
Added:
pkg/stacomir/inst/examples/bilanConditionEnv_example.R
Log:
creating example for bilanConditionEnv
Added: pkg/stacomir/inst/examples/bilanConditionEnv_example.R
===================================================================
--- pkg/stacomir/inst/examples/bilanConditionEnv_example.R (rev 0)
+++ pkg/stacomir/inst/examples/bilanConditionEnv_example.R 2017-03-18 20:36:00 UTC (rev 318)
@@ -0,0 +1,22 @@
+require(stacomiR)
+# launching stacomi without selecting the scheme or interface
+stacomi(gr_interface=FALSE,
+ login_window=FALSE,
+ database_expected=FALSE)
+# the following script will load the Arzal dataset if connected to iav schema
+\dontrun{
+ bil_CE<-new("BilanConditionEnv")
+ bil_CE<-choice_c(bil_CE,
+ stationMesure=c("temp_gabion","coef_maree"),
+ datedebut="2008-01-01",
+ datefin="2008-12-31",
+ silent=FALSE)
+
+ bil_CE<-connect(bil_CE)
+
+}
+
+data("bil_CE")
+bil_CE<-calcule(b_carlot,silent=TRUE)
+
+plot(bil_CE,plot.type="1",silent=TRUE)
More information about the Stacomir-commits
mailing list