Re: [R] Problem reading in external data and assigning data.frames within R

2005-10-05 Thread Spencer Graves
(xnew -- edit(data.frame()).

is equivalent to:

(xnew -(- edit(data.frame())).

make sense?
spencer graves

Nathan Dieckmann wrote:

   Hey there,
 
 I apologize if this is an irritatingly simple question ... I'm a
 new user.  I can't understand why R flips the sign of all data values
 when reading in external text files (tab delimited or csv) with the
 read.delim or read.csv functions.  The signs of data values also seem
 to be flipped after assigning a new data.frame from within R (xnew --
 edit(data.frame()).  What am I doing wrong?
 
Any help would be greatly appreciated.  Thanks in advance.
 
  -- Nate
 
 -
 Nathan Dieckmann
 Department of Psychology
 University of Oregon
 Eugene, OR 97403
 (541) 346-4963
 [EMAIL PROTECTED]
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

[EMAIL PROTECTED]
www.pdf.com http://www.pdf.com
Tel:  408-938-4420
Fax: 408-280-7915

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Problem reading in external data and assigning data.frames within R

2005-10-04 Thread ecatchpole
Try

xnew - edit(data.frame())

Ted.


On 04/10/05 16:29,  Nathan Dieckmann wrote,:
   Hey there,
 
 I apologize if this is an irritatingly simple question ... I'm a
 new user.  I can't understand why R flips the sign of all data values
 when reading in external text files (tab delimited or csv) with the
 read.delim or read.csv functions.  The signs of data values also seem
 to be flipped after assigning a new data.frame from within R (xnew --
 edit(data.frame()).  What am I doing wrong?
 
Any help would be greatly appreciated.  Thanks in advance.
 
  -- Nate
 
 -
 Nathan Dieckmann
 Department of Psychology
 University of Oregon
 Eugene, OR 97403
 (541) 346-4963
 [EMAIL PROTECTED]
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


-- 
Dr E.A. Catchpole
Visiting Fellow
Univ of New South Wales at ADFA, Canberra, Australia
and University of Kent, Canterbury, England
- www.ma.adfa.edu.au/~eac
- fax: +61 2 6268 8786  
- ph:  +61 2 6268 8895

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Problem reading in external data and assigning data.frames within R

2005-10-04 Thread Peter Dalgaard
Nathan Dieckmann [EMAIL PROTECTED] writes:

   Hey there,
 
 I apologize if this is an irritatingly simple question ... I'm a
 new user.  I can't understand why R flips the sign of all data values
 when reading in external text files (tab delimited or csv) with the
 read.delim or read.csv functions.  The signs of data values also seem
 to be flipped after assigning a new data.frame from within R (xnew --

If you think the assignment operator is --, then that could well be
the cause

 edit(data.frame()).  What am I doing wrong?
 
Any help would be greatly appreciated.  Thanks in advance.
 
  -- Nate


-- 
   O__   Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html