Discussion:
smooth lines in my sctter plot
Elifuraha Elisha
2018-06-21 18:38:59 UTC
Permalink
Hi,
I am a real new user of R
I have learnt how to make scatter plots in nlme,
and I am trying to predict diameter growth as with the following codes,

The question is it possible to make points with lines that will show
species behaviour in the plot?

plot(sub1sp$d.x,sub1sp$id,main="diameter increment")
points(mset$d.x,predict(mm1,level=0),col="red")
points(mset$d.x,mset$id,pch=".",cex=4,col=mset$sp)

Thanks if my question is understood.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility

To post: email ***@googlegroups.com
To unsubscribe: email ggplot2+***@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Adriano Fantini
2018-06-22 05:36:10 UTC
Permalink
You are using base graphics (the functions plot, points, lines...). This
mailing list is for the users of the package ggplot2, an alternative way to
plot data in R. I suggest you look for and follow some tutorial before
getting heads first into this.

Have fun with R.
Adriano Fantini


Il giorno ven 22 giu 2018 alle ore 00:45 Elifuraha Elisha <
Post by Elifuraha Elisha
Hi,
I am a real new user of R
I have learnt how to make scatter plots in nlme,
and I am trying to predict diameter growth as with the following codes,
The question is it possible to make points with lines that will show
species behaviour in the plot?
plot(sub1sp$d.x,sub1sp$id,main="diameter increment")
points(mset$d.x,predict(mm1,level=0),col="red")
points(mset$d.x,mset$id,pch=".",cex=4,col=mset$sp)
Thanks if my question is understood.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
https://github.com/hadley/devtools/wiki/Reproducibility
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility

To post: email ***@googlegroups.com
To unsubscribe: email ggplot2+***@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...