report_env-class: class report_env simple output of one or several...

report_env-classR Documentation

class report_env simple output of one or several environmental conditions...

Description

Annual overview of environmental conditions. This class enables to draw some plot, but will mostly used to build joined graphs crossing the information from report_mig_mult-class and report_mig_env-class

Slots

horodatedebut

ref_horodate-class

horodatefin

ref_horodate-class

stationMesure

ref_env-class

data

data.frame

Author(s)

cedric.briand@eptb-vilaine.fr

See Also

Other report Objects: report_annual-class, report_dc-class, report_df-class, report_ge_weight-class, report_mig-class, report_mig_char-class, report_mig_env-class, report_mig_interannual-class, report_mig_mult-class, report_sample_char-class, report_sea_age-class, report_silver_eel-class, report_species-class

Examples

stacomi(
	database_expected=FALSE)
## Not run: 
	if (interactive()){
		if (!exists("user")){
			user <- readline(prompt="Enter user: ")
			password <- readline(prompt="Enter password: ")	
		}	
	}
	options(					
			stacomiR.dbname = "bd_contmig_nat",
			stacomiR.host ="localhost",
			stacomiR.port = "5432",
			stacomiR.user = user,
			stacomiR.user = password						
	)	
  r_env<-new("report_env")
  r_env<-choice_c(r_env,
	  stationMesure=c("temp_gabion","coef_maree"),
	  datedebut="2008-01-01",
	  datefin="2008-12-31",
	  silent=FALSE)	
  r_env<-connect(r_env)
  

## End(Not run)	

data("r_env")
plot(r_env,silent=TRUE)

stacomiR documentation built on May 29, 2024, 10:41 a.m.