[R] Error in colMeans ... what's wrong with my data?
Hartmut Weinrebe
hardy at akaflieg.uni-karlsruhe.de
Fri Apr 1 20:27:19 CEST 2005
Having searched and searched I still haven't found what's the problem with my data (I've attached the relevant file).
Every time I tried to use the CANCOR-Function I got error messages.
So I turned to check my two sets of variables separately by using the "colMeans"-Function. With one set no problem .. but with the other.
My input :
> struktur <- read.delim("struktur.csv", header=TRUE, sep = ";")
>colMeans(struktur)
And the resulting error:
Error in colMeans(x, n, prod(dn), na.rm) :
`x' must be numeric
Can anyone give me a hint concerning the mistake I made?
Many thanks in advance
hardy
--
Hartmut Weinrebe
Wilhelmstr. 73 - 76137 Karlsruhe - 0721/386486
Akaflieg - hardy at akaflieg.uni-karlsruhe.de
Kaiserstr. 12 - 76128 Karlsruhe - 0721/608-2044
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
More information about the R-help
mailing list