On Sep 8, 2011, at 6:38 PM, Andra Isan wrote:
Hi All,
I am plotting different lines in my graph and the problem I have is
that if the first plot has smaller y value than the second plot, I
will not be able to see the the top part of the graph. I do the
following:plot(p1, avg="vertical", l
Hi All,
I am plotting different lines in my graph and the problem I have is that if the
first plot has smaller y value than the second plot, I will not be able to see
the the top part of the graph. I do the following:plot(p1, avg="vertical",
lwd=3, col="red", main ="all graphs")plot(p2, avg="ve
Andrew McCulloch wrote:
> I use R to draw my graphs. I have 100 points on a simple xy-plot. The
> points are distinguished by a third variable which is categorical with 10
> levels. I have been plotting x against y and using gray scales to
> distinguish the level of the categorical variable for ea
Why can't you simply draw a 3 - D plot. The third variable being categorical
can expressed as a bar.
Regards,
Indrajit
From: Andrew McCulloch
To: r-help@r-project.org
Sent: Monday, August 1, 2011 3:14 PM
Subject: [R] Plotting question
Hi,
I use R to dr
Well stated, Duncan, and I plead guilty, though I did try to weasel
out with caveats.
Perhaps I may plead down to a lesser sentence or probation by saying
that I was offering what I still believe to be appropriate advice for
a general strategy for handling this sort of plotting issue; but that
as
On 11-08-01 11:48 AM, Bert Gunter wrote:
IMHO:
On Mon, Aug 1, 2011 at 7:51 AM, Duncan Murdoch wrote:
On 11-08-01 5:44 AM, Andrew McCulloch wrote:
Hi,
I use R to draw my graphs. I have 100 points on a simple xy-plot. The
points are
distinguished by a third variable which is categorical with
IMHO:
On Mon, Aug 1, 2011 at 7:51 AM, Duncan Murdoch wrote:
> On 11-08-01 5:44 AM, Andrew McCulloch wrote:
>>
>> Hi,
>>
>> I use R to draw my graphs. I have 100 points on a simple xy-plot. The
>> points are
>> distinguished by a third variable which is categorical with 10 levels. I
>> have
>> bee
plot(1:10, pch=letters[1:10])
On Mon, Aug 1, 2011 at 4:44 AM, Andrew McCulloch wrote:
> Hi,
>
> I use R to draw my graphs. I have 100 points on a simple xy-plot. The
> points are
> distinguished by a third variable which is categorical with 10 levels. I
> have
> been plotting x against y and usin
On 11-08-01 5:44 AM, Andrew McCulloch wrote:
Hi,
I use R to draw my graphs. I have 100 points on a simple xy-plot. The points are
distinguished by a third variable which is categorical with 10 levels. I have
been plotting x against y and using gray scales to distinguish the level of the
categori
Hi,
I use R to draw my graphs. I have 100 points on a simple xy-plot. The points
are
distinguished by a third variable which is categorical with 10 levels. I have
been plotting x against y and using gray scales to distinguish the level of the
categorical variable for each point. It looks ok to
Hello,
I would like to produce a series of graphs comparing the probability
distributions for 8 factors against a continuous metric.
The kind of graph I'm hoping to produce would look like the density
comparison graphs (library sm) using the function sm.density.compare.
However, instead of calcu
Your data has commas in the numbers causing them to be read in as factors:
> x <- read.table(textConnection(" ID Cn read_count
+ 1 MJ-2000-79 10,000 6876
+ 2 MJ-2000-80 10,000 23440
+ 3 MJ-2000-87 10,000 18787
+ 4 MJ-2000-100 8000 4775
+ 5 MJ-2000-81
Hi I have a data set that needs to be plotted (see below)
When I plot it using the simple plot(read_count ~ Cn), I get box plots for
the read_count numbers plotted according to Cn. The Cn's on the x-axis are
ordered: 1, 100, 1000, 40, 400, 4000...
How do I plot so that Cn is plotted on the x-ax
K F Pearce wrote:
Hello everyone,
(This is my second question posted today on the R list).
and you have still not read the posting guide?
It asks you to "provide commented, minimal, self-contained, reproducible
code" which also means that you need to tell which packages you are using.
I
Hello everyone,
(This is my second question posted today on the R list).
I am carrying out a competing risks analysis using the cuminc function...this
takes the form:
cuminc(ftime,fstatus,group)
In my study, fstatus has 3 different causes of failure (1,2,3) there are also
censored cases (0).
Use reshape in the base of R or melt/cast in the reshape package.
Using the former:
Lines <- "ID Year V1
1 19801
1 19812
1 19826
1 19834
2 19805
2 19815
2 19825
2 19836"
# DF <- read.table("myfile.dat", header = TRUE)
DF <- read.table(textConnect
On Mar 14, 2009, at 5:46 PM, David Winsemius wrote:
On Mar 14, 2009, at 5:14 PM, David Kaplan wrote:
Greetings all,
I have two questions. I have a data set that is arranged in the
example below. I wish to obtain a plot of the performance of each
ID over Year on v1. It's not clear how
On Mar 14, 2009, at 5:14 PM, David Kaplan wrote:
Greetings all,
I have two questions. I have a data set that is arranged in the
example below. I wish to obtain a plot of the performance of each
ID over Year on v1. It's not clear how I set this up?
ID Year V1 1 19801 1 1981
check out the interaction.plot. This *may* be what you are looking
for.
?interaction.plot
On Mar 15, 8:14 am, David Kaplan wrote:
> Greetings all,
>
> I have two questions. I have a data set that is arranged in the example
> below. I wish to obtain a plot of the performance of each ID over Ye
Greetings all,
I have two questions. I have a data set that is arranged in the example
below. I wish to obtain a plot of the performance of each ID over Year
on v1. It's not clear how I set this up?
ID Year V1
1 19801
1 19812
1 19826
1 19834
2 19805
2
Lauri Nikkinen wrote:
> R users,
>
> I have a problem with function strwidth in 2.7.1. I'm trying to set
> the plot margins in a way that horizontal
> column labels will fit to the graph. tmp.t is a list of data.frame
> objects. This code works well in 2.6.0.
>
>
I don't think this has to do wit
Sorry, I found that there is a new bmp() device and when I lower the
resolution parameter e.g. to 72, everything works fine.
Best
Lauri
2008/6/30, Lauri Nikkinen <[EMAIL PROTECTED]>:
> R users,
>
> I have a problem with function strwidth in 2.7.1. I'm trying to set
> the plot margins in a way tha
R users,
I have a problem with function strwidth in 2.7.1. I'm trying to set
the plot margins in a way that horizontal
column labels will fit to the graph. tmp.t is a list of data.frame
objects. This code works well in 2.6.0.
...snip..
library(gplots)
for (i in names(tmp.t)) {
bmp(filen
Hello,
I would like to plot specific SNPs with their exact locations on a
chromosome. Based on my genotyping results I would like to separate
these SNPs in three different categories: 1, 2 and 3 and use different
colours to represent these categories. The script below generates the
sample data. I
Try
par(mar=c(3,4,2,2), mfrow=c(5,2))
On 10/12/07, Leeds, Mark (IED) <[EMAIL PROTECTED]> wrote:
> I am constructing plots ( regular not lattice ) and my initial command
> is
>
> par(mar=c(3,4,2,2), mfcol=c(5,2))
>
> and then I create 10 plots on the page. It looks great but the plots on
> the pa
Have you looked at layout() ?
Hadley
On 10/12/07, Leeds, Mark (IED) <[EMAIL PROTECTED]> wrote:
> I am constructing plots ( regular not lattice ) and my initial command
> is
>
> par(mar=c(3,4,2,2), mfcol=c(5,2))
>
> and then I create 10 plots on the page. It looks great but the plots on
> the page
I am constructing plots ( regular not lattice ) and my initial command
is
par(mar=c(3,4,2,2), mfcol=c(5,2))
and then I create 10 plots on the page. It looks great but the plots on
the page go in the order
16
27
38
49
510
Where the numbers denote decile breakdowns.
Is there
27 matches
Mail list logo