On Thu, Dec 15, 2011 at 10:54, Sarah Goslee wrote:
>
> print(get(x)[["Pr"]]) maybe. Do the get(), then do the subsetting.
>
>
>>>
>>> It's often neater and more efficient to store your anova objects in a
>>> list, though.
>>
>> anything since it's still a set of character strings. Could you
>> el
On Thu, Dec 15, 2011 at 09:51, Sarah Goslee wrote:
> But "anova.ag.m2529.az" is a character string that happens to be the
> *name* of an anova object, but R has no way to know that unless you
> specifically tell it that your character string is an object by using
> get().
>
> Something like print
Given this interactive session:
> an<-ls(pat="anova.ag.m2529")
> an
[1] "anova.ag.m2529.az" "anova.ag.m2529.can" "anova.ag.m2529.fl"
> print(anova.ag.m2529.az)
Analysis of Variance Table
Response: year
Df Sum Sq Mean Sq F value Pr(>F)
time 1 14.823 14.8235
All,
Given the following commands:
> ag.m35<-read.table("m35.txt",header=TRUE,sep=",")
> ag.m35.lp<-subset(ag.m35, race=="lp")
> aov.m35.lp=aov(year~time,data=ag.m35.lp)
> anova.m35.lp=anova(aov.m35.lp)
> anova.m35.lp
Analysis of Variance Table
Response: year
Df Sum Sq Mean Sq F value
2011/12/12 Uwe Ligges :
> On 12.12.2011 17:44, Tony Stocker wrote:
Sorry for the double post but the first message was held for so long
that I figured there was a problem with the email address I was using
so I unsubscribed that one and resubscribed the other one.
>>
>> Hello,
>
Hello,
I am dealing with data stored in a database as a 'time' object. I
export the data from the database to a text file and utilize the
'time_to_sec()' function of the database to convert the human readable
time (HH:MM:SS) to seconds so that I can use R to do analysis and
create charts of the d
Hello,
I am dealing with data stored in a database as a 'time' object. I
export the data from the database to a text file and utilize the
'time_to_sec()' function of the database to convert the human readable
time (HH:MM:SS) to seconds so that I can use R to do analysis and
create charts of the d
7 matches
Mail list logo