Learn R Programming

⚠️There's a newer version (4.4.55) of this package.Take me there.

asremlPlus (version 2.0-0)

Augments the Use of 'Asreml' in Fitting Mixed Models

Description

Assists in automating the testing of terms in mixed models when 'asreml' is used to fit the models. The content falls into the following natural groupings: (i) Data, (ii) Object manipulation functions, (iii) Model modification functions, (iv) Model testing functions, (v) Model diagnostics functions, (vi) Prediction production and presentation functions, (vii) Response transformation functions, and (viii) Miscellaneous functions. A history of the fitting of a sequence of models is kept in a data frame. Procedures are available for choosing models that conform to the hierarchy or marginality principle and for displaying predictions for significant terms in tables and graphs. The package 'asreml' provides a computationally efficient algorithm for fitting mixed models using Residual Maximum Likelihood. It can be purchased from 'VSNi' (http://www.vsni.co.uk/) as 'asreml-R', who will supply a zip file for local installation/updating.

Copy Link

Version

Install

install.packages('asremlPlus')

Monthly Downloads

818

Version

2.0-0

License

GPL (>= 2)

Maintainer

Chris Brien

Last Published

June 24th, 2015

Functions in asremlPlus (2.0-0)

num.recode

Recodes the unique values of a vector using the values in a new vector.
addrm.terms.asrtests

Adds or removes the specified set terms from either the fixed or random model and records the change in a data.frame.
testswapran.asrtests

Tests, using a REMLRT, whether the difference between current random model and one in which oldterms are dropped and newterms are added is significant.
testrcov.asrtests

Fits a new rcov formula using asreml and tests whether the change is significant.
Wheat.dat

Data for an experiment to investigate 25 varieties of wheat
permute.square

Permutes the rows and columns of a square matrix.
rmboundary.asrtests

Removes any boundary or singular variance components from the fit stored in asreml.obj and records their removal in a data.frame.
asrtests

Forms an object of S3-class asrtests that stores a fitted asreml object, a pseudo-anova table for the fixed and a history of changes and hypthesis testing used in obtaining the model.
pred.present.asreml

This function forms the predictions for each significant term and presents them in tables and/or graphs.
asremlPlus-deprecated

Deprecated Functions in Package asremlPlus
predictionplot.asreml

This function plots the predictions for a term, possibly with error bars.
predictiondiffs.asreml

Uses information in a supplied alldiffs object to forms all pairwise differences between a set of predictions, the p-values for a test of whether the differences are significantly different from zero, and the minimum, mean and maximum LSD values, provided they are not present in the suppplied alldiffs object.
choose.model.asrtests

Determines the set of significant terms taking into account the hierarchy or marginality relations.
angular

Applies the angular transformation to proportions.
plotvariofaces.asreml

plot empirical variogram faces, including envelopes, from supplied residuals as described by Stefanova, Smith & Cullis (2009)
sig.devn.reparam.asrtests

This function reparamterizes each random (deviations) term involving devn.fac to a fixed term and ensures that the same term, with trend.num replacing devn.fac, is included if any other term with trend.num is included in terms.
variofaces.asreml

plot empirical variogram faces, including envelopes, as described by Stefanova, Smith & Cullis (2009)
asremlPlus-package

Augments the use of asreml-R in fitting mixed models
alldiffs

Forms an object of S3-class alldiffs that stores the predictions for a model fitted using asreml, along with supplied statistics for all pairwise differences.
testranfix.asrtests

Tests for a single fixed or random term in model fitted using asreml
print.asrtests

predictparallel.asreml

Uses an asreml object and a wald.tab to form the predictions and associated statistics for a term. It stores the results in an object of class alldifffs and may print the results. It can be used when a numeric vector and a factor that has parallel values both occur in the model and need to be taken into account.
newfit.asreml

refits an asreml model with modified model formula using either a call to update.asreml or a direct call to asreml.
angular.mod

Applies the modified angular transformation to a vector of counts.
reml.lrt.asreml

Performs REML likelihood ratio test.
print.alldiffs

Prints the values in an alldiffs object in a nice format.
recalc.wald.tab.asrtests

Recalculates the denDF, F.inc and P values for a table of Wald test statistics obtained using wald.asreml
power.transform

Perform a combination of a linear and power transformation on a variable whose name is given as a character string in var.name. The transformed variable is stored in the data.frame data.
permute.to.zero.lowertri

Permutes a square matrix until all the lower triangular elements are zero.
simulate.asreml

Produce sets of simulated data from a multivariate normal distribtion and save quantites related to the simulated data
setvarianceterms.asreml

allows the seting of constraints and initial values for terms in the random and rcov arguments of an asreml call, with the resulting call being evaluated.
info.crit.asreml

Computes AIC and BIC for a model.