rowdiffs: Pairwise differences of rows of a matrix

View source: R/wald.R

rowdiffsR Documentation

Pairwise differences of rows of a matrix

Description

Returns all pairwise difference of rows of a matrix with rownames formed with the corresponding rownames of the original matrix. The main application is to estimate differences between treatment levels given a linear hypothesis matrix, L, in which each row estimates a function of model parameter given a level of a categorical variable. rowdiffs provides an analog to differentiation (see Lfx) for categorical variables.

Usage

rowdiffs(L)

Arguments

L

a matrix


gmonette/spida2 documentation built on Aug. 11, 2024, 7:52 p.m.