LMWiRe: Linear Models for Wide Responses

LMWiReR Documentation

Linear Models for Wide Responses

Description

This package has for objectives to provide a method to make Linear Models for Wide Responses data. This method handles unbalanced design. At this development stage, the package can only perform one or two-way ANOVA of class I. More possibilities should be included in the future. The principal functions of the package are:

lmwModelMatrix

Creates a model matrix from the design and the model formula using sum coding

lmwEffectMatrices

Estimates the GLM and derives the effect matrix for each model effect

lmwBootstrapTests

Tests the significance of the effects using a parametric bootstrap

lmwPcaEffects

Performs a PCA on the effect matrices and adapts the results according to the method chosen between ASCA, APCA or ASCA-E

The functions allowing the visualisation of the results are:

lmwLoading1dPlot or lmwLoading2dPlot

Plots the loadings as a line plot (1D) or in 2D as a scatterplot

lmwScorePlot

Plots scores of an effect for two components at a time

lmwScoreScatterPlotM

Plots the scores of several effects simultaneously through a scores plot matrix

lmwEffectPlot

Plots the ASCA scores of an effect for one Principal Component at a time and allows the scores to be decomposed by the levels of the factors found in the effect being studied.

lmwContributions

Produces plots and tables listing the contribution of the different effects to the total variance as well as the contribution of the Principal Components calculated on each model matrix

lmwScreePlot

Produces bar plots of the variance percentage explained by each Principal Component fo a given effect

Details

Package: LMWiRe
Type: Package
License: GPL-2

See the vignette for an example.

Author(s)

Sébastien Franceschini

References

Rousseau, R. (2011). Statistical contribution to the analysis of metabonomics data in 1H NMR spectroscopy (Doctoral dissertation, PhD thesis. Institut de statistique, biostatistique et sciences actuarielles, Université catholique de Louvain, Belgium).

Thiel M.,Feraud B. and Govaerts B. (2017) ASCA+ and APCA+: Extensions of ASCA and APCA in the analysis of unbalanced multifactorial designs, Journal of Chemometrics

Guisset S.,Martin M. and Govaerts B. (2019) Comparison of PARAFASCA, AComDim, and AMOPLS approaches in the multivariate GLM modelling of multi-factorial designs, Chemometrics and Intelligent Laboratory Systems


bgovaerts/LMWiRe documentation built on Sept. 17, 2022, 12:32 a.m.