Hi,

I have obstacles in changing list to variable,

if I have

name=names(x)
name --> contain "Sales1", "Sales2"

and then I want to call:

model$stability$name

The list name above will refer to Sales1 and Sales2

How can I do that? thanks 

_________________________________________________________________


ry-edit.aspx
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to