Re: [R] how to convert list to language object

2010-10-07 Thread Henrique Dallazuanna
obj <- c(~garch(1,1), ~arma(1,1)) typeof(obj[[1]]) Use doble '[' indeed of '[' On Thu, Oct 7, 2010 at 10:50 AM, lord12 wrote: > > If I have a list: > > list = c(~garch(1,1), ~arma(1,1)) and I run > typeof(list[1]), the output is a list object. But I want each element in > the > list to be a lan

[R] how to convert list to language object

2010-10-07 Thread lord12
If I have a list: list = c(~garch(1,1), ~arma(1,1)) and I run typeof(list[1]), the output is a list object. But I want each element in the list to be a language object. How do I transform these list objects to language objects? -- View this message in context: http://r.789695.n4.nabble.com/how