R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Lemon
Sent: Monday, December 05, 2016 3:02 PM
To: Maria Lathouri
Cc: R-help Mailing List
Subject: Re: [R] scatter plot of numerical variables against different sample
ids
Hi Maria,
Perhaps something like this:
mldf<-read.table(text=
Hi Maria,
Perhaps something like this:
mldf<-read.table(text="Sample Cu Zn Mn
M1 1 5 10
M2 2.5 11 8
M3 1.15 11 12
M4 2 4 30
M5 8 15 35",
header=TRUE)
matplot(mldf,type="b",pch=c("C","Z","M"))
Jim
On Mon, Dec 5, 2016 at 11:25 PM, Maria Lathouri via R-help
wrote:
> Dear al
Hi Maria,
What happens is that R plots with boxplots (explaining the horizontal
lines, i.e. boxes with n=1) when the x-variable is a factor.
What you can do is transform your Sample column into numeric and then
plot it, with some adjustment of axis labels.
For example:
datf <- data.frame(Samp
Dear all
I know that my question is very simple but although I tried to find an answer
online, I couldn't and I am stuck.
I have a dataset of three numerical variables measured in different samples ID.
Something like this:
Sample Cu Zn MnM1 1 5
4 matches
Mail list logo