mod.matrix {pamfe}R Documentation

Transform model matrix in a pam

Description

This is an internal function of package pamfe based on the model.matrix.pFormula function from package plm. It enables the specified transformation of the model matrix in a pam, currently only a first-difference transformation is supported. Not normally called directly.

Usage

mod.matrix(object, data, model = c("within", "fd"), ...)

Arguments

object

An object of class pFormula.

data

A pdata.frame.

model

Estimation method of fixed effects panel data model. Currently only first differences ("fd") are supported.

...

Further arguments.

Value

A model matrix after the specified transformation.

Author(s)

Peter Puetz ppuetz@uni-goettingen.de


[Package pamfe version 0.2 Index]