plot,report_df,missing-method | R Documentation |
A barplot of the operation time per month
Barchat giving the time per type of operation
Rectangle plots drawn along a line
Plots per day drawn over the period to show the operation of a df, days in x, hours in y
## S4 method for signature 'report_df,missing'
plot(
x,
plot.type = 1,
silent = FALSE,
main = NULL,
color_type_oper = c(`Fonc normal` = "#1B9E77", `Arr ponctuel` = "#E6AB02", `Arr maint`
= "#9E0142", Dysfonc = "#E41A1C", `Non connu` = "#999999"),
color_etat = c(`TRUE` = "chartreuse3", `FALSE` = "orangered3")
)
x |
An object of class report_df-class. |
plot.type |
1 to 4. |
silent |
Stops displaying the messages. |
main |
The title of the graph, if NULL a default title will be plotted with the number of the DF. |
color_type_oper |
Named vector of color for the graph, must match type operation default to c( "Fonc normal" = "#1B9E77","Arr ponctuel" = "#E6AB02", "Arr maint" = "#9E0142", "Dysfonc" = "#E41A1C","Non connu" = "#999999"). |
color_etat |
Named vector state value (must match the names "TRUE", "FALSE"). |
Nothing but prints the different plots.
The program cuts periods which overlap between two month. The splitting of different periods into month is
assigned to the envir_stacomi
environment.
Cedric Briand cedric.briand@eptb-vilaine.fr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.