|
statcpp
C++17 Header-Only Statistics Library
|
Contingency table (cross-tabulation) result. More...
#include <categorical.hpp>
Public Attributes | |
| std::vector< std::vector< std::size_t > > | table |
| Observed frequencies. | |
| std::vector< std::size_t > | row_totals |
| Row totals. | |
| std::vector< std::size_t > | col_totals |
| Column totals. | |
| std::size_t | total |
| Grand total. | |
| std::size_t | n_rows |
| Number of rows. | |
| std::size_t | n_cols |
| Number of columns. | |
Contingency table (cross-tabulation) result.
Definition at line 23 of file categorical.hpp.
| std::vector<std::size_t> statcpp::contingency_table_result::col_totals |
Column totals.
Definition at line 26 of file categorical.hpp.
| std::size_t statcpp::contingency_table_result::n_cols |
Number of columns.
Definition at line 29 of file categorical.hpp.
| std::size_t statcpp::contingency_table_result::n_rows |
Number of rows.
Definition at line 28 of file categorical.hpp.
| std::vector<std::size_t> statcpp::contingency_table_result::row_totals |
Row totals.
Definition at line 25 of file categorical.hpp.
| std::vector<std::vector<std::size_t> > statcpp::contingency_table_result::table |
Observed frequencies.
Definition at line 24 of file categorical.hpp.
| std::size_t statcpp::contingency_table_result::total |
Grand total.
Definition at line 27 of file categorical.hpp.