Use the dput() function to share a subset of your data with the list
(attachments are not supported).
For example, submit this command
dput(for_jhon[1:20, ])
and post the result to the list along with your question.
Jean
On Tue, Jul 19, 2016 at 1:24 PM, John Wasige
Most attachments get stripped off, so your data did not make it through.
But try:
matplot(for_jhon$ID, for_jhon[,2:73], type='l')
On Tue, Jul 19, 2016 at 12:24 PM, John Wasige wrote:
> Dear all,
>
> This is to kindly request for your help. I would like to plot my data.
>
​Dear all,
This is to kindly request for your help. I would like to plot my data.
The R script below gives some plot that is not clear. How can I get a clear
multiple-line plot. The data is attached herewith.
##R Script
for_jhon = read.csv("C:/LVM_share/for_ jhon.csv", header=TRUE, sep=";")
Hello everybody!
I have again another newbie-question. I was trying to plot three curves
within one single
plot: Crime development (relative frequencies) according to the hours of tv
consume per week (high/low/all together).
Here are the data:
par(mfrow=c(1,1))
# Data input
I think this is what you are getting at. Hope this helps.
#index data to determine what low and high levels of tvHrs are (I said
anything over 15 hours is considered 'high')
index=which(tvHrs 15)
#Plot the first plot, which is the 'high', only using values from crimeDvp
that are in 'index'
...@gmail.com
Sent: Thu, 16 Feb 2012 17:18:32 +0100
To: r-help@r-project.org
Subject: [R] Multiple line-plot
Hello everybody!
I have again another newbie-question. I was trying to plot three curves
within one single
plot: Crime development (relative frequencies) according to the hours
6 matches
Mail list logo