mirror of
https://github.com/msberends/AMR.git
synced 2025-12-15 08:30:23 +01:00
(v2.1.1.9155) new mic_p50() and mic_p90() - updated AMR intro
This commit is contained in:
@@ -1390,6 +1390,9 @@ as_original_data_class <- function(df, old_class = NULL, extra_class = NULL) {
|
||||
fn <- function(x) base::as.data.frame(df, stringsAsFactors = FALSE)
|
||||
}
|
||||
out <- fn(df)
|
||||
# don't keep row names
|
||||
rownames(out) <- NULL
|
||||
# add additional class if needed
|
||||
if (!is.null(extra_class)) {
|
||||
class(out) <- c(extra_class, class(out))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user