mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 11:11:54 +02:00
freq fix
This commit is contained in:
@ -11,13 +11,13 @@
|
||||
frequency_tbl(x, ..., sort.count = TRUE,
|
||||
nmax = getOption("max.print.freq"), na.rm = TRUE, row.names = TRUE,
|
||||
markdown = !interactive(), digits = 2, quote = FALSE,
|
||||
header = !markdown, title = NULL, na = "<NA>", droplevels = TRUE,
|
||||
header = TRUE, title = NULL, na = "<NA>", droplevels = TRUE,
|
||||
sep = " ", decimal.mark = getOption("OutDec"),
|
||||
big.mark = ifelse(decimal.mark != ",", ",", "."))
|
||||
|
||||
freq(x, ..., sort.count = TRUE, nmax = getOption("max.print.freq"),
|
||||
na.rm = TRUE, row.names = TRUE, markdown = !interactive(),
|
||||
digits = 2, quote = FALSE, header = !markdown, title = NULL,
|
||||
digits = 2, quote = FALSE, header = TRUE, title = NULL,
|
||||
na = "<NA>", droplevels = TRUE, sep = " ",
|
||||
decimal.mark = getOption("OutDec"), big.mark = ifelse(decimal.mark !=
|
||||
",", ",", "."))
|
||||
@ -27,7 +27,7 @@ top_freq(f, n)
|
||||
header(f, property = NULL)
|
||||
|
||||
\method{print}{frequency_tbl}(x, nmax = getOption("max.print.freq",
|
||||
default = 15), markdown = !interactive(), header = !markdown,
|
||||
default = 15), markdown = !interactive(), header = TRUE,
|
||||
decimal.mark = getOption("OutDec"), big.mark = ifelse(decimal.mark !=
|
||||
",", ",", "."), ...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user