Skip to content
Back to formatted view

Raw Message

Message-ID: <3E8A87A1.1090604@statistik.uni-dortmund.de>
Date: 2003-04-02T06:48:01Z
From: Uwe Ligges
Subject: read.table
In-Reply-To: <27933486.17A39E2F.0C4E5449@aol.com>

Oldradio69 at aol.com wrote:
> Group members,
> 
> I am using read.table() to read in ASCII data into a data
> frame.  The file has multiple columns that are not the
> same length.  The function gives me errors, or I get 'NA'
> characters in the blank fields.  I want to read these values
> in to, e.g., perform a two-sample t-test.

So a data.frame isn't the appropiate structure for your data.
You might want to convert it to another structure and remove the 
appended NAs, or consider to read the data in using scan() and friends. 
See the R Data Import/Export Manual for details.

Uwe Ligges