If you read it in as a dataframe, then you can use 'split' to create the
subsets by PolyNam and then use 'lapply' to the result of 'split' to plot
it:
lapply(split(yourDF, yourDF$PolyNam), function(.poly){
plot(.poly$Date, .poly$Total)
})
On Fri, Mar 30, 2012 at 5:16 AM, TwistedSkies wrote:
Hi Guys,
I am trying to create 20 indivudual line graphs that will be updated on a
weekly bases. I have managed to read in my data from SQL and defined my
loop. I am having difficulty in plotting the data and I think it may have
something to do with the way my data has been read in and maybe I nee
Thank you!
LT
On 7/7/11 3:46 PM, "Joshua Wiley" wrote:
Hi lt2,
I would use the ggplot2 or lattice package. It strikes me as more
effort to do in traditional graphics. Anyway, here are some examples.
Lattice is a very nice package, but I am not quite as familiar with
it, so my examples
Hi lt2,
I would use the ggplot2 or lattice package. It strikes me as more
effort to do in traditional graphics. Anyway, here are some examples.
Lattice is a very nice package, but I am not quite as familiar with
it, so my examples for it are not representative of its full power.
Cheers,
Josh
HI everyone, I'm just starting to get into graphing with R and I need to
generate one graph that illustrates the pattern of gene expression for
various patients. My data is in .csv format and is as follows and i'm
showing below a portion of the data.
Pt Coordinate Log2Ratio
1 34046
5 matches
Mail list logo