a data frame whose columns consist of covariates that will be incorporated in the partition model.
Those with class of "character" or "factor" will be treated as categorical covaraites. All others
will be treated as continuous covariates. If NULL, then a PPM partition is produced.
similarity
Type of similarity function that is employed for covariates. Options are
1 - Auxilliary similarity,
2 - Double dipper similarity
3 - variance similarity
simparm
Type of similarty model employed for continuous covariates. Options are
1 - N-N(m0, s20, v) (v variance of ''likelihood'', m0 and s20 ''prior'' parameters),
2 - N-NIG(m0,k0, k0, v0, s20) (m0 and k0 center and scale of Gaussian, n0 and s20 shape and scale of IG )
M
Precision parameter. Default is 1.
m0
Continuous similarity function value (see above)
s20
Continuous similarity function value (see above)
v
Continuous similarity function value (see above)
k0
Continuous similarity function value (see above)
v0
Continuous similarity function value (see above)
alpha
Penalty value when using the variance similarity
Value
The function returns randomly generated partition
Details
Use polya urn scheme to sample from the PPM or the PPMx