mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
diff for freq, fix for mo_shortname
This commit is contained in:
1 parent
a6aa9e95fb
commit
92c9cc2608
12 files changed
+79
-26
No files matched your search
+4
-1
@@ -4,6 +4,7 @@
|
||||
\alias{freq}
|
||||
\alias{frequency_tbl}
|
||||
\alias{top_freq}
|
||||
\alias{diff.frequency_tbl}
|
||||
\alias{print.frequency_tbl}
|
||||
\title{Frequency table}
|
||||
\usage{
|
||||
@@ -17,6 +18,8 @@ freq(x, ..., sort.count = TRUE, nmax = getOption("max.print.freq"),
|
||||
|
||||
top_freq(f, n)
|
||||
|
||||
\method{diff}{frequency_tbl}(x, y, ...)
|
||||
|
||||
\method{print}{frequency_tbl}(x, nmax = getOption("max.print.freq",
|
||||
default = 15), ...)
|
||||
}
|
||||
@@ -143,7 +146,7 @@ identical(septic_patients \%>\%
|
||||
sort(septic_patients$age)) # TRUE
|
||||
|
||||
# it also supports `table` objects:
|
||||
table(septic_patients$sex,
|
||||
table(septic_patients$gender,
|
||||
septic_patients$age) \%>\%
|
||||
freq(sep = " **sep** ")
|
||||
|
||||
|
||||
Reference in new issue
Block a user