Displaying 1 result from an estimated 1 matches for "xvary".
Did you mean:
vary
2009 Feb 03
1
How to show variables used in lm function call?
...s, but when R displays the call for a model, I cannot tell
which variables
it is using because it shows the arguments instead of the real variables
passed to the function.
(e.g
Call:
lm(formula = dyn(dep ~ lag(dep, -1) + indep)) ---> not what I want to see
lm(formula = dyn(Y ~ lag(Y, -1) + XVARY)) -----> this is what I want to
see
(see simplified version of the code and output below)
Thanks in advance for any help!!
options (scipen=999, digits=7)
library(Hmisc)
library(DAAG)
library(car)
library(MASS)
library(nlme)
library(dyn)
library(zoo)
tdata <- ts(read.table("C:...