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
ndieckma at darkwing.uoregon.edu
Problem reading in external data and assigning data.frames within R
4 messages · Nathan Dieckmann, ecatchpole, Peter Dalgaard +1 more
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
ndieckma at darkwing.uoregon.edu
______________________________________________ R-help at 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
Nathan Dieckmann <ndieckma at uoregon.edu> 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 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
1 day later
(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
ndieckma at darkwing.uoregon.edu
______________________________________________ R-help at 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 spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408-280-7915