Description Usage Arguments Details Value Slots Methods (by generic) Author(s) Examples
Principal Balance Analysis
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | pba(x, how = "sbp.fromPBA", ...)
## S4 method for signature 'pba'
show(object)
## S4 method for signature 'pba'
predict(object, y)
## S4 method for signature 'pba,missing'
plot(x, y, group, pb1 = 1, pb2 = 2,
size.text = 18)
## S4 method for signature 'pba,matrix'
plot(x, y, group, pb1 = 1, pb2 = 2,
size.text = 18)
## S4 method for signature 'pba,data.frame'
plot(x, y, group, pb1 = 1, pb2 = 2,
size.text = 18)
|
how |
A character string. The method used to construct the SBP.
The default computes principal balances via |
... |
Arguments passed to |
object, x |
A |
y |
A matrix on which to deploy the |
group |
A character vector. Group labels used to color points. |
pb1, pb2 |
An integer. Sets principal balances to plot. |
size.text |
An integer. Sets legend text size. |
The pba
function performs a principal balance analysis
using the hierarchical clustering of components method described
by Pawlowsky-Glahn et al. in "Principal balances"
from the CoDaWork 2011 proceedings.
This resultant object contains the original data, the serial
binary partition, the principal balances, and the fractional
variances per balance. Use predict
to deploy the
pba
model on new data.
Returns a pba
object.
data
A matrix. The original data.
sbp
A matrix. The SBP matrix.
pba
A matrix. The balances.
totvar
A numeric vector. The total variance per balance.
subvar
A numeric vector. The fractional variance per balance.
show:
Method to show pba
object.
predict:
Method to deploy pba
object.
plot:
Method to plot pba
object.
Thom Quinn
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.