of Anthropology
Texas AM University
College Station, TX 77840-4352
- Original Message -
From: darnold dwarnol...@suddenlink.net
To: r-help@r-project.org
Sent: Thursday, July 12, 2012 7:53:33 PM
Subject: Re: [R] Adjusting format of boxplot
Added your code:
flies - read.table(example12_1.dat,header
:33 PM
Subject: Re: [R] Adjusting format of boxplot
Added your code:
flies - read.table(example12_1.dat,header=TRUE,sep=\t)
flies$group - factor(flies$group,5:1)
levels(flies$group) - paste0(Group ,5:1)
boxplot(long ~ group,
data = flies,
pars = list(las=1, ylim=c(10,110), xaxt=n, bty=n
Station, TX 77840-4352
- Original Message -
From: darnold dwarnol...@suddenlink.net
To: r-help@r-project.org
Sent: Thursday, July 12, 2012 7:53:33 PM
Subject: Re: [R] Adjusting format of boxplot
Added your code:
flies - read.table(example12_1.dat,**header=TRUE,sep=\t)
flies$group
Hi,
I managed to use the attached data set and figure out the following:
flies - read.table(example12_1.dat,header=TRUE,sep=\t)
boxplot(long ~ group,
data = flies,
horizontal = TRUE,
col = red)
I'm very new to R and would like some help with the following:
1. Change the
Looks like data was not attached. Here is is.
longgroup
40 1
37 1
44 1
47 1
47 1
47 1
68 1
47 1
54 1
61 1
71 1
75 1
89 1
58 1
59 1
62 1
79 1
96 1
58 1
62 1
70 1
72 1
74 1
96
, July 12, 2012 5:01:19 PM
Subject: Re: [R] Adjusting format of boxplot
Looks like data was not attached. Here is is.
long group
40 1
37 1
44 1
47 1
47 1
47 1
68 1
47 1
54 1
61 1
71 1
75 1
89 1
58 1
59 1
62 1
79 1
96 1
58 1
62 1
70 1
72 1
74 1
96 1
75 1
46 2
42 2
65 2
Added your code:
flies - read.table(example12_1.dat,header=TRUE,sep=\t)
flies$group - factor(flies$group,5:1)
levels(flies$group) - paste0(Group ,5:1)
boxplot(long ~ group,
data = flies,
pars = list(las=1, ylim=c(10,110), xaxt=n, bty=n),
horizontal = TRUE,
col
Station, TX 77840-4352
- Original Message -
From: darnold dwarnol...@suddenlink.net
To: r-help@r-project.org
Sent: Thursday, July 12, 2012 7:53:33 PM
Subject: Re: [R] Adjusting format of boxplot
Added your code:
flies - read.table(example12_1.dat,header=TRUE,sep=\t)
flies$group
-
David L Carlson
Associate Professor of Anthropology
Texas AM University
College Station, TX 77840-4352
- Original Message -
From: darnold dwarnol...@suddenlink.net
To: r-help@r-project.org
Sent: Thursday, July 12, 2012 7:53:33 PM
Subject: Re: [R] Adjusting
77840-4352
- Original Message -
From: darnold dwarnol...@suddenlink.net
To: r-help@r-project.org
Sent: Thursday, July 12, 2012 7:53:33 PM
Subject: Re: [R] Adjusting format of boxplot
Added your code:
flies - read.table(example12_1.dat,header=TRUE,sep=\t)
flies$group - factor(flies$group
10 matches
Mail list logo