Description Usage Arguments Value Examples
View source: R/bs_freq_table_cont.R
Frequency table for continuous data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
y |
(numeric) A numeric vector with data. |
nbins |
(integer) Number of bins. |
bin_width |
(number) Bin width. |
xmin |
(number) Lower position of the lowest bin. Not bigger than |
xmax |
(number) Upper position of the highest bin. Not smaller than |
max_bin_decimals |
(integer) Maximum number of significant decimal digits to display in bin names. |
percent_decimals |
(integer) Number of decimal numbers in percentages. |
right |
(logical) Flag that indicates if the intervals should be closed on the right and open on the left (default) or vice versa. |
x |
object to print |
... |
further arguments to methods |
caption |
(string) caption |
justify |
(string) Column justification |
style |
(string) the name of style for table. |
Object of classes bs_freq_table_cont
, data.frame
.
1 2 3 4 5 6 7 8 | library(biostat)
library(pander)
bs_freq_table_cont(iris$Sepal.Length, nbins = 5)
bs_freq_table_cont(iris$Sepal.Length, bin_width = 1, xmin = 4)
bs_freq_table_cont(iris$Sepal.Length, nbins = 5) %>% pander()
# [!!!BLOGAI]:
# bs_freq_table_cont(iris$Sepal.Length, bin_width = 5, xmax = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.