hey there! The object 'cit' contains:
cit
##################################################### # Johansen-Procedure Unit Root / Cointegration Test # ##################################################### The value of the test statistic is: 5.3484 9.0681 10.6433 --------------- I want R to save the value 5.3484 in a new object. I am used to use the command x=cit[a] where a stands for the place where R has saved the value. However, the johansen procedure works with S4 objects with which subsetting does not seem to work. Any ideas how I could get R save a certain value of the output into a new object? Thousand thanks, Philipp -- View this message in context: http://r.789695.n4.nabble.com/object-of-type-S4-is-not-subsettable-tp4529063p4529063.html Sent from the R help mailing list archive at Nabble.com.