The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

pridit

R-CMD-check

An R package that implements the PRIDIT (Principal Component Analysis applied to RIDITs) analysis system as described in Brockett et al. (2002).

Installation

install.packages("pridit")

From GitHub (development version):

# Install devtools if you haven't already
install.packages("devtools")

# Install the PRIDIT package
devtools::install_github("rlieberthal/PRIDIT")

Description

This package provides three main functions for calculating and analyzing Ridit scores and PRIDIT scores:

Quick Start

library(pridit)

# Load your data (first column should be IDs)
data <- data.frame(
  ID = c("A", "B", "C", "D", "E"),
  var1 = c(0.9, 0.85, 0.89, 1.0, 0.89),
  var2 = c(0.99, 0.92, 0.90, 1.0, 0.93),
  var3 = c(1.0, 0.99, 0.98, 1.0, 0.99)
)

# Step 1: Calculate ridit scores
ridit_scores <- ridit(data)

# Step 2: Calculate PRIDIT weights
weights <- PRIDITweight(ridit_scores)

# Step 3: Calculate final PRIDIT scores
final_scores <- PRIDITscore(ridit_scores, data$ID, weights)

print(final_scores)

Data Format

Your input data should be structured as: - First column: Unique identifiers (IDs) - Remaining columns: Numerical variables to be analyzed - All variables should be numeric (convert factors/categories to numeric values like 0,1 or 1,2,3,4,5)

Output

The final PRIDIT scores range from -1 to 1, where: - The sign indicates class identity - The magnitude indicates the intensity of that identity

References

License

This project is licensed under the Apache License 2.0.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.