[R] R Help

amna khan amnakhan493 at gmail.com
Sat Nov 11 20:11:46 CET 2006


Respected Sir
I request you to please fill the following read.table function and
read.csvfor my understanding by assuming my data attached with this
maiL, because I
am fail to run these functions using manual guidlines.

read.table(file, header = FALSE, sep = "", quote = "\"'",
           dec = ".", row.names, col.names,
           as.is = !stringsAsFactors,
           na.strings = "NA", colClasses = NA, nrows = -1,
           skip = 0, check.names = TRUE, fill = !blank.lines.skip,
           strip.white = FALSE, blank.lines.skip = TRUE,
           comment.char = "#", allowEscapes = FALSE, flush = FALSE,
           stringsAsFactors = default.stringsAsFactors())

read.csv(file, header = TRUE, sep = ",", quote="\"", dec=".",
         fill = TRUE, comment.char="", ...)

read.delim(file, header = TRUE, sep = "\t", quote="\"", dec=".",
           fill = TRUE, comment.char="", ...)

I shall be really thankful to  you.
REGARDS

-- 
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
amnakhan493 at gmail.com
amna_989 at hotmail.com
amna_989 at yahoo.com
-------------- next part --------------
Years	lrmax	n1	n2	n3	n4	arranged
1980	207.6	25	24	23	22	29.4
1981	92.7	24	23	22	21	49.4
1982	67.5	23	22	21	20	55.1
1983	93.8	22	21	20	19	58
1984	60.6	21	20	19	18	59
1985	117.4	20	19	18	17	59.1
1986	65.3	19	18	17	16	60.6
1987	59.1	18	17	16	15	65.3
1988	76.9	17	16	15	14	67.5
1989	123.1	16	15	14	13	69.6
1990	83.1	15	14	13	12	75.7
1991	75.7	14	13	12	11	76.8
1992	69.6	13	12	11	10	76.9
1993	55.1	12	11	10	9	83.1
1994	49.4	11	10	9	8	84.2
1995	76.8	10	9	8	7	87
1996	189.7	9	8	7	6	88.2
1997	151.1	8	7	6	5	92.7
1998	59	7	6	5	4	93.8
1999	88.2	6	5	4	3	110
2000	110	5	4	3	2	117.4
2001	87	4	3	2	1	123.1
2002	29.4	3	2	1	0	136.8
2003	84.2	2	1	0	0	151.1
2004	58	1	0	0	0	189.7
2005	136.8	0	0	0	0	207.6
		


More information about the R-help mailing list