Hello,
>
> I have a large matrix (SNPs) that I want to cycle over with logistic
> regression with interaction terms. I have made a loop but I am struggling
> to identify to the formula the name of the column in a way which is
> meaningful to the formula. It errors becasue it is not evaluated propo
Your method of constructing a formula is funny: is there a term called
"interaction" or do you mean an interaction in the statistical sense?
Once you do that, I'd think the easiest way to proceed is to use
as.formula() to construct your formula programmatically and then to
pass that to glm(). Somet
Hi,
I have a large matrix (SNPs) that I want to cycle over with logistic
regression with interaction terms. I have made a loop but I am struggling
to identify to the formula the name of the column in a way which is
meaningful to the formula. It errors becasue it is not evaluated proporly.
(below
3 matches
Mail list logo