Description Usage Arguments Details Value Author(s) See Also Examples
Auxiliary function for "naive_bayes"
and "*_naive_bayes"
objects for easy browsing tables.
1 |
object |
object of class inheriting from: |
which |
tables to be showed (all by default). This can be any valid indexing vector or vector containing names of variables. |
Default print method for "naive_bayes"
and "*_naive_bayes"
objects shows at most five first tables. This auxiliary function tables
returns by default all tables and allows easy subsetting via indexing variables.
list with tables.
Michal Majka, michalmajka@hotmail.com
naive_bayes
, bernoulli_naive_bayes
, multinomial_naive_bayes
, poisson_naive_bayes
, gaussian_naive_bayes
, tables
, get_cond_dist
1 2 3 4 5 6 7 |
$Sepal.Length
Sepal.Length setosa versicolor virginica
mean 5.0060000 5.9360000 6.5880000
sd 0.3524897 0.5161711 0.6358796
$Sepal.Length
Sepal.Length setosa versicolor virginica
mean 5.0060000 5.9360000 6.5880000
sd 0.3524897 0.5161711 0.6358796
$Sepal.Width
Sepal.Width setosa versicolor virginica
mean 3.4280000 2.7700000 2.9740000
sd 0.3790644 0.3137983 0.3224966
$Sepal.Length
Sepal.Length setosa versicolor virginica
mean 5.0060000 5.9360000 6.5880000
sd 0.3524897 0.5161711 0.6358796
$Sepal.Width
Sepal.Width setosa versicolor virginica
mean 3.4280000 2.7700000 2.9740000
sd 0.3790644 0.3137983 0.3224966
$Sepal.Length
Sepal.Length setosa versicolor virginica
mean 5.0060000 5.9360000 6.5880000
sd 0.3524897 0.5161711 0.6358796
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.