Displaying 1 result from an estimated 1 matches for "exam5".
Did you mean:
exams
2007 May 28
1
'trim' must be numeric of length one?
Hi everybody,
When I followed a practice example, I got an error as follows:
########################################################################
#######################################
> cc<-read.table('example5_2.dat',header=TRUE)
> cc
EXAM1 EXAM2 EXAM3 EXAM4 EXAM5
1 45 34 23 35 50
2 23 36 66 66 34
3 67 59 72 80 69
4 56 43 31 34 40
5 74 66 57 32 66
> mean(cc)
EXAM1 EXAM2 EXAM3 EXAM4 EXAM5
53.0 47.6 49.8 49.4 51.8
> attach(cc)
> mean(EXAM1,EXAM2,EXAM3,EXAM4,EXAM5)
Error...