mirror of
https://github.com/sensebox/opensensmapr
synced 2025-02-20 11:53:57 +01:00
fix printing of measurements
This commit is contained in:
parent
628825c7f4
commit
84dfc3226a
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue