Skip to content

R package with a generic S3 vector class for categorical data, allowing alternative levels and multiple response selection.

License

Notifications You must be signed in to change notification settings

mabafaba/categorical

Repository files navigation

AppVeyor build status CRAN status

categorical

The goal of categorical is to provide S3 vector types for categorical survey data.

Installation

This is under development, but you can try:

devtools::install_github('mabafaba/categorical')

Once on CRAN, you can install the released version of categorical from CRAN with:

install.packages("categorical")

Categorical Vectors

features

Categorical Vectors are a basic vector type with the following features:

  • they have a fixed set of allowed values called 'levels' (similar to levels in factors)
  • they can store alternative values for each level (for example labels, ranks, ...)
  • each record in the vector can have more than one level 'selected' to allow storing multipe response data.
  • they are desigend for easy creation of subclasses ("internal" alternative values and a class argument)

About

R package with a generic S3 vector class for categorical data, allowing alternative levels and multiple response selection.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages