g.plot: function to generate a plot for quality check purposes

Description Usage Arguments Value Author(s) Examples

Description

Function takes meta-data as generated by g.getmeta and g.impute to create a visual representation of imputed time periods

Usage

1
g.plot(IMP, M, I, durplot)

Arguments

IMP

output from g.impute

M

output from g.getmeta

I

output from g.inspectfile

durplot

number of days to plot

Value

function only produces a plot, no values

Author(s)

Vincent T van Hees <vincentvanhees@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
  #inspect file:
  I = g.inspectfile(datafile)
  
  #autocalibration:
  C = g.calibrate(datafile) 
  
  #get meta-data:
  M = g.getmeta(datafile)

## End(Not run)
data(data.getmeta)
data(data.inspectfile)

#impute meta-data:
IMP = g.impute(M = data.getmeta, I = data.inspectfile, strategy = 1,
hrs.del.start = 0, hrs.del.end = 0, maxdur = 0)

#plot data
g.plot(IMP, M = data.getmeta, I = data.inspectfile, durplot=4)

ucl-cls/mcs-acc documentation built on May 3, 2019, 2:22 p.m.