Package: hypr 0.2.8

hypr: Hypothesis Matrix Translation

Translation between experimental null hypotheses, hypothesis matrices, and contrast matrices as used in linear regression models. The package is based on the method described in Schad et al. (2019) <doi:10.1016/j.jml.2019.104038> and Rabe et al. (2020) <doi:10.21105/joss.02134>.

Authors:Maximilian M. Rabe [aut, cre], Shravan Vasishth [aut], Sven Hohenstein [aut], Reinhold Kliegl [aut], Daniel J. Schad [aut]

hypr_0.2.8.tar.gz
hypr_0.2.8.zip(r-4.5)hypr_0.2.8.zip(r-4.4)hypr_0.2.8.zip(r-4.3)
hypr_0.2.8.tgz(r-4.5-any)hypr_0.2.8.tgz(r-4.4-any)hypr_0.2.8.tgz(r-4.3-any)
hypr_0.2.8.tar.gz(r-4.5-noble)hypr_0.2.8.tar.gz(r-4.4-noble)
hypr_0.2.8.tgz(r-4.4-emscripten)hypr_0.2.8.tgz(r-4.3-emscripten)
hypr.pdf |hypr.html
hypr/json (API)

# Install 'hypr' in R:
install.packages('hypr', repos = c('https://mmrabe.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mmrabe/hypr/issues

On CRAN:

Conda:

6.80 score 17 stars 1 packages 82 scripts 640 downloads 36 exports 6 dependencies

Last updated 1 years agofrom:5573df5a51. Checks:5 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 03 2025
R-4.5-winNOTEMar 03 2025
R-4.5-macNOTEMar 03 2025
R-4.5-linuxNOTEMar 03 2025
R-4.4-winOKMar 03 2025
R-4.4-macOKMar 03 2025
R-4.3-winOKMar 03 2025
R-4.3-macOKMar 03 2025

Exports:add_interceptall_centeredcentered_contrastscmatcmat<-cmat2eqscmat2hmatcontr.hypothesiscontr.hypothesis<-contrasts<-eqs2cmateqs2hmatfiller_contrastsfiller_namesformulaformula<-ginv2has_intercepthmathmat<-hmat2cmathmat2eqshypris_centeredis_interceptlevelsnlevelsremove_interceptshowtarget_namesthmatthmat<-which_centeredwhich_fillerwhich_interceptwhich_target

Dependencies:clilatticemagrittrMASSMatrixpracma

Introduction to hypr

Rendered fromhypr-intro.Rmdusingknitr::rmarkdownon Mar 03 2025.

Last update: 2019-11-20
Started: 2019-10-09

Using hypr for linear regression

Rendered fromhypr-regression.Rmdusingknitr::rmarkdownon Mar 03 2025.

Last update: 2020-02-28
Started: 2019-10-09

Using hypr to understand contrasts

Rendered fromhypr-contrasts.Rmdusingknitr::rmarkdownon Mar 03 2025.

Last update: 2019-10-10
Started: 2019-10-09

Readme and manuals

Help Manual

Help pageTopics
Combining hypr objects by addition or interaction&,hypr,hypr-method *,hypr,hypr-method +,hypr,hypr-method /,hypr,hypr-method
Intercept checksadd_intercept has_intercept is_intercept remove_intercept which_intercept
Contrast centeringall_centered centered_contrasts is_centered which_centered
Retrieve or set contrast matrixcmat cmat<- contr.hypothesis contr.hypothesis<- contrasts<-,factor,ANY,hypr-method contrasts<-,factor,ANY,hypr_cmat-method
Shorthand versions for simple hypothesis translationcmat2eqs cmat2hmat conversions eqs2cmat eqs2hmat hmat2cmat hmat2eqs
Generate filler contrastsfiller_contrasts filler_names target_names which_filler which_target
Manipulate the formulas of an S4 objectformula<-
Enhanced generalized inverse functionginv2
Retrieve and set hypothesis matrixhmat hmat<- thmat thmat<-
Create a hypr objecthypr
S4 class “hypr” and its methodsas.call,hypr-method formula,hypr-method formula<-,hypr-method hypr-class levels,hypr-method levels<-,hypr-method names,hypr-method names<-,hypr-method nlevels,hypr-method show,hypr-method