Displaying 2 results from an estimated 2 matches for "monthlyst1".
Did you mean:
  monthlyst2
  
2010 Jan 07
1
Drop a part of an array\list\vector?
...:20        TRUE :20        TRUE :62        TRUE :45
    RCF          ReleaseST1      ReleaseST2      ReleaseBLA
 Mode :logical   Mode :logical   Mode :logical   Mode :logical
 FALSE:186       FALSE:167       FALSE:157       FALSE:228
 TRUE :84        TRUE :103       TRUE :113       TRUE :42
 MonthlyST1      MonthlyST2      MonthlyBLA      Small.Bank.Acquisitions
 Mode :logical   Mode :logical   Mode :logical   Min.   :0.0000
 FALSE:107       FALSE:105       FALSE:147       1st Qu.:0.0000
 TRUE :163       TRUE :165       TRUE :123       Median :0.0000...
2009 Jul 15
2
storing lm() results and other objects in a list
...e in a loop
sample code:
############ BEGIN SAMPLE ##############
# You can see the need for a loop already
linearModel1=lm(modelSource ~ .,mcReg)
linearModel2=step(linearModel1)
linearModel3=lm(modelSource ~ .-1,mcReg)
linearModel4=step(linearModel3)
#custom
linearModel5=lm(modelSource ~ . -ACF-MonthlyST1-MonthlyST2-MonthlyBLA,mcReg)
LinearModel1.res <- residuals(linearModel1)
LinearModel2.res <- residuals(linearModel2)
LinearModel3.res <- residuals(linearModel3)
LinearModel4.res <- residuals(linearModel4)
LinearModel5.res <- residuals(linearModel5)
#hmmm bolt on linearModel[x] as l...