Please add an option to modify "point" sizes proportionally to a given variable.
For example with ggplot I can do it with
ggplot(mydata,aes(x=numb, y=cars))+geom_point(aes(size=mysize))+geom_line(aes(group=id, color="blue"), show.legend = FALSE) but it's very slow.
I've tried with lattice:
xyplot(cars~numb , type="b", col="black", col.line="blue", data=mydata, pch=16, cex= mydata$mysize*3, lwd=1 , groups= mydata$id)
But it doesn't seem to produce an equivalent result
Please add an option to modify "point" sizes proportionally to a given variable.
For example with ggplot I can do it with
ggplot(mydata,aes(x=numb, y=cars))+geom_point(aes(size=mysize))+geom_line(aes(group=id, color="blue"), show.legend = FALSE)
but it's very slow.I've tried with lattice:
xyplot(cars~numb , type="b", col="black", col.line="blue", data=mydata, pch=16, cex= mydata$mysize*3, lwd=1 , groups= mydata$id)
But it doesn't seem to produce an equivalent resulthttps://stackoverflow.com/questions/44674741/how-to-change-point-size-in-lattice