Skip to content
Back to formatted view

Raw Message

Message-ID: <1361371492@web.de>
Date: 2005-04-01T18:27:19Z
From: Hartmut Weinrebe
Subject: Error in colMeans ... what's wrong with my data?

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