Displaying 3 results from an estimated 3 matches for "vara1".
Did you mean:
var1
2003 Oct 16
0
AW: summary with names
As I read this, my answers to the other guys don't seem to be
delievered to the list, although I sent them nearly 4 hours
ago. I fear, I only sent them to the posters and not to the
list ... I try to correct this! Sorry!
Axel Benz schrieb:
> Which name do you want?
> varA1
This one resp. the corresponding one in this way (varA2 etc.).
> or
> fb.12.unt[varA1]
> or even then value of varA1????
This question tells me, that you know more than me ;-). Who
wonders ...? There are 98 values for varA1. Did I use wrong
terms, that 98 values are surprisingly?
>...
2003 Oct 16
4
summary with names
...e question but I
didn't find an answer in the Docus, the FAQ and maillist archive.
I want a summary for about 250 variables and realise it
the following way (I know, that I shouldn't use iterations
that way in R; but at the moment it's the easiest way for me):
for(i in fb.12.unt[varA1:varZ9]){print (summary(i, na.rm=t))}
It works fine, but I don't know which summary corresponds to
which variable, because the variable names are not printed.
Can somebody give me a hint?
TIA
Regards,
Christoph
--
Christoph Bier, Dipl.Oecotroph., Email: bier at wiz.uni-kassel.de
Universit...
2011 Aug 03
1
Coefficient names when using lm() with contrasts
...t;dog")
> treat3=matrix(-1/3,ncol=2,nrow=3); for (i in 1:2) {treat3[i+1,i]=2/3}
> contrasts(dt$VarA)=treat3
> levels(dt$VarA)
[1] "dog" "cat" "rat"
> results=lm(formula=VarC~VarA+VarB, data=dt)
> names(results$coef)
[1] "(Intercept)" "VarA1" "VarA2" "VarB"
[[alternative HTML version deleted]]