p.diff {pamfe}R Documentation

Transform model matrix in a pam by first differences

Description

This is an internal function of package pamfe. It enables the first-difference transformation of model matrices in a pam. Not normally called directly.

Usage

p.diff(x, cond)

Arguments

x

Model matrix of class pdata.frame.

cond

Individual dimension of model matrix of class pdata.frame.

Value

A model matrix after building first differences.

Author(s)

Peter Puetz ppuetz@uni-goettingen.de


[Package pamfe version 0.2 Index]