pmodel.response {plm} | R Documentation |
pmodel.response has several methods to conveniently extract the response of several objects.
pmodel.response(object, ...) ## S3 method for class 'data.frame' pmodel.response(object, model = c("pooling","within","Between", "between","mean","random","fd"), effect = c("individual","time","twoways"), lhs = NULL, theta = NULL, ...) ## S3 method for class 'pFormula' pmodel.response(object, data, model = c("pooling","within","Between", "between","mean","random","fd"), effect = c("individual","time","twoways"), lhs = NULL, theta = NULL, ...) ## S3 method for class 'plm' pmodel.response(object, ...)
object |
an object of class |
data |
a |
effect |
the effects introduced in the model, one of
|
model |
one of |
theta |
the parameter for the transformation if |
lhs |
, |
... |
further arguments. |
The model response is extracted (from a data.frame
, a pFormula
or a plm
object, and the transformation
specified by effect
and model
is applied to it.
A numeric vector.
Yves Croissant