plotObservations: Plot Observations per Pipe

View source: R/plot.R

plotObservationsR Documentation

Plot Observations per Pipe

Description

Plot Observations per Pipe

Usage

plotObservations(survey, to_pdf = TRUE, matrix_dim = c(7, 1))

Arguments

survey

list with elements inspections and observations as e.g. returned by kwb.en13508.2:::readEuCodedFile

to_pdf

if TRUE (default) the output goes into a temporary PDF file

matrix_dim

vector of two specifying the number of rows and columns, respectivly of the matrix in which to arrange the single plots.

Examples

# Install packages if not yet installed
## Not run: 
install.packages("ggplot2")
devtools::install_github("guiastrennec/ggplus")

## End(Not run)

# Get example data that are contained in the package
survey <- kwb.en13508.2:::getExampleData()

# Create one plot per inspection in "survey"
kwb.en13508.2::plotObservations(survey, to_pdf = FALSE)


KWB-R/kwb.en13508.2 documentation built on April 3, 2024, 9:47 a.m.