micropem | R Documentation |
An R6 class to represent MicroPEM output information.
micropem
R6Class
object.
Object of R6Class
.
settings
Data.frame (dplyr "tbl_df"
) with settings of the micropem device and other information such as download time.
calibration
List of calibration information.
filename
Filename from which the object was built.
measures
Data.frame (dplyr "tbl_df"
) with all time-varying measures, possibly:
Time and date of each measurement, as a POSIXt object. Depending on the different logs of the time-varying variables there is not a measure for all variables associated to each timepoint.
Measures of nephelometer in microgram/meter cube (numeric).
Measures of temperature in centigrade (numeric).
Measures of relative humidity that are a proportion and as such do not have an unit (numeric).
Measures of battery in Volt (numeric).
Measures of orifice pressure in inches of water (numeric).
Measures of inlet pressure in inches of water (numeric).
Measures of flow in liters per minute (numeric).
x-axis accelerometer in m/s2 (numeric).
y-axis accelerometer in m/s2 (numeric).
z-axis accelerometer in m/s2 (numeric).
vector sum m/s2 (numeric).
Shutdown reason (factor).
original
Boolean. Is this an original micropem object (TRUE) or was it e.g. filtered or cleaned (FALSE).
Method for getting a quick plot of all time-varying measurements.
Either type ="plain"
or type ="interactive"
, see examples.
The method returns a plot of the ggplot
-class. One can add a title via the title
argument.
Method for getting a summary table (dplyr "tbl_df"
) of all time-varying numeric measurements.
Method for printing both the summary table of all time-varying numeric measurements and all settings from the settings
field.
data("micropemChai") # Plot method, type = "plain" by default. micropemChai$plot() # Example with type = "interactive", for RStudio viewer, # RMardown html documents and Shiny apps. ## Not run: library("rbokeh") p <- micropemChai$plot(type = "interactive") p # Summary method micropemChai$summary() # Print method micropemChai$print() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.