Learn R Programming

clubpro

An R package for classification using binary procrustes rotation based on Grice (2011).

Installation

clubpro can be installed from CRAN:

install.packages("clubpro")

Install the development version of clubpro from GitHub with:

# install.packages("remotes")
remotes::install_github("timbeechey/clubpro")

Background

clubpro is an implementation of a subset of the methods described in Grice (2011).

Using clubpro

See the introductory guide for a brief demonstration of how to conduct a classification analysis using clubpro.

References

Grice, J. W. (2011). Observation oriented modeling: Analysis of cause in the behavioral sciences. Academic Press.

Copy Link

Version

Install

install.packages('clubpro')

Monthly Downloads

466

Version

0.6.1

License

GPL (>= 3)

Maintainer

Timothy Beechey

Last Published

April 16th, 2024

Functions in clubpro (0.6.1)

n_incorrect

Number of incorrect classifications.
n_correct

Number of correct classifications.
plot.clubpropredictions

Plot predictions.
plot.clubprofit

Plot classification accuracy.
plot.clubprorand

Plot PCC replicates.
predict.clubprofit

Predicted category for each observation.
plot.clubprocsi

Plot classification strength indices.
plot.clubprothreshold

Plot PCC as a function of binary category boundary location.
summary.clubprofit

Generate a summary of results from a fitted clubpro model.
n_ambiguous

Number of ambiguous classifications.
summary.clubprocomparison

Generate a summary of a comparison of clubprofit models.
median_csi

Median classification strength index.
individual_results

Individual level classification results.
club

Classify observations.
as.data.frame.clubprorand

Convert the output of pcc_replicates() to a data.frame.
cval

Chance value.
accuracy

Classification accuracy for each observation.
caffeine

Caffeine data
csi

Classification strength indices.
compare

Compare models.
as.data.frame.clubprocsi

Convert the output of csi() to a data.frame.
plot.clubprocomparison

Plot model comparison.
plot.clubproaccuracy

Plot accuracy.
pcc

Percentage of correct classifications.
pcc_replicates

PCC replicates.
jellyfish

Jellyfish dimension data
threshold

Classification strength indices.