Displaying 2 results from an estimated 2 matches for "suntim".
Did you mean:
suntime
2012 Jun 22
4
Questions about doing analysis based on time
...ogramming knowledge, so when I search for answers to my
questions, I struggle with making sense of a lot of the pages.
I have a spreadsheet that I've read into R using read.csv. I've also
attached it. It looks like this (except there are 1600+ entries):
> Sunday
SunDate SunTime SunScore
1 5/9/2010 0:00 0:00 127
2 6/12/2011 0:00 0:00 125
3 6/15/2008 0:04 0:04 98
4 8/3/2008 0:07 0:07 118
5 7/24/2011 0:07 0:07 122
6 5/25/2008 0:09 0:09 104
7 5/20/2012 0:11 0:11 124
8 10/18/2009...
2012 May 11
1
arguments must have same length
> score<-read.csv("http://users.stat.umn.edu/~chen2285/hw/ACT.csv")
> interaction.plot(sex,rep(1,861),score,fun=mean,legend=F,main="profile of
> sex")
Error: tapply(response, list(x.factor, trace.factor), fun) :
arguments must have same length
> length(sex)
[1] 861
> length(type)
[1] 861
> length(score)
[1] 3
How can I alter the length of the variable