Hi Bert,
Sorry for the sub-par post.. again. I've revamped my OP, I hope it's
sufficient now.
Thank you.
-
Isaac
Research Assistant
Quantitative Finance Faculty, UTS
--
View this message in context:
http://r.789695.n4.nabble.com/as-formula-with-either-lapply-or-for-loop-tp4252877p425
(To me, anyway) Incoherent. Reproducible code needed.
-- Bert
On Mon, Jan 2, 2012 at 1:59 AM, iliketurtles wrote:
> Sorry if there's an easy answer to this problem, but here goes..
> *
> INTRODUCTION & CONTEXT*
>
> I'm creating a function where the number of entries in the lm(y~...)
> varies
Sorry if there's an easy answer to this problem, but here goes..
*
INTRODUCTION & CONTEXT*
I'm creating a function where the number of entries in the lm(y~...)
varies. i.e. depending on the function input I want lm(y~x1+x2+x3),
sometimes I'll want lm(y~x1) only, et cetera.
I've completed this
Okay it's working perfectly now. I restarted R and it worked on my first 5
goes.
Can anybody shed light on how this kind of thing can happen?
-
Isaac
Research Assistant
Quantitative Finance Faculty, UTS
--
View this message in context:
http://r.789695.n4.nabble.com/Very-strange-functio
Hi, R newb here. I've coded a function that inputs N dimensional array(s) [or
class=numeric if it's dim=1] of coefficients and tstats, where
dim(coef_matrix)=dim(tstat_matrix), it will then output a same dimension
matrix of coefficients pasted to tstats in brackets pasted to significance
stars.
If
5 matches
Mail list logo