You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
opensensmapR/R/measurement_utils.R

9 lines
225 B
R

#' @export
plot.osem_measurements = function (x, ...) {
oldpar = par()
par(mar = c(2,4,1,1))
plot(value~createdAt, x, col = factor(x$sensorId), xlab = NA, ylab = x$unit[1], ...)
par(mar = oldpar$mar)
invisible(x)
}