| pTab {robCompositions} | R Documentation |
Calculates the propability table using different methods
pTab(x, method = "dirichlet", alpha = 1/length(as.numeric(x)))
x |
an object of class table |
method |
default is ‘dirichlet’. Other available methods:
‘classical’ that is function |
alpha |
constant used for method ‘dirichlet’ |
The probablity table
Matthias Templ
Juan Jose Egozcuea, Vera Pawlowsky-Glahn, Matthias Templ, Karel Hron (2015) Independence in Contingency Tables Using Simplicial Geometry. Communications in Statistics - Theory and Methods, Vol. 44 (18), 3978–3996. DOI:10.1080/03610926.2013.824980
data(precipitation) pTab(precipitation) pTab(precipitation, method = "dirichlet")