club()
is used to classify obervations using binary procrustes
rotation.
club(
f,
data,
imprecision,
nreps,
normalise_cols,
reorder_obs,
display_progress
)
an object of class "clubprofit" is a list containing the folllowing components:
a character vector of predicted classifications.
a character vector indicating whether each classification is "correct", "incorrect", or "ambiguous".
the percentage of correct classifications.
the chance of randomly reordered data producing a PCC >= the observed PCC.
a vector of PCCs generated from randomly reordered
data used to calculate cval
.
the matched call.
a formula.
a data.frame.
a number indicting the margin of imprecision allowed in classification.
the number of replicates to use in the randomisation test.
a boolean indicating whether to normalise matrix columns.
a string indicating the method for reordering observations to calculate c-values.
a boolean indictaing whether a progress bar should be displayed.
mod <- club(rate ~ dose, data = caffeine)
Run the code above in your browser using DataLab