stacomiR (version 0.6.1)

report_env-class: 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

Arguments

Slots

horodatedebut

ref_horodate-class

horodatefin

ref_horodate-class

stationMesure

ref_env-class

data

data.frame

Author

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

Run this code
stacomi(
	database_expected=FALSE)
if (FALSE) {
	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)
  
}	

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

Run the code above in your browser using DataLab