fix printing of measurements

pull/17/head
Norwin 7 years ago
parent 628825c7f4
commit 84dfc3226a
Signed by: norwin
GPG Key ID: 24BC059DE24C43A3

@ -8,6 +8,7 @@ S3method(osem_measurements,sensebox)
S3method(osem_phenomena,sensebox)
S3method(plot,osem_measurements)
S3method(plot,sensebox)
S3method(print,osem_measurements)
S3method(print,sensebox)
S3method(summary,sensebox)
export(filter.osem_measurements)

@ -7,6 +7,11 @@ plot.osem_measurements = function (x, ...) {
invisible(x)
}
#' @export
print.osem_measurements = function (x, ...) {
print.data.frame(x, ...)
}
#' Converts a foreign object to an osem_measurements data.frame.
#' @param x A data.frame to attach the class to
#' @export

Loading…
Cancel
Save