Hi, there I am new on R. I want to plot a graph like this.
The curves are created by these equations : (log(0.4)-(0.37273*log(x)-1.79389))/0.17941, (log(0.5)-(0.37273*log(x)-1.79389))/0.17941, (log(0.6)-(0.37273*log(x)-1.79389))/0.17941, etc. The equations are similar, the only difference is the first log(XXX). I already manually draw the graph by repeating plot() for each equation. But I think there must be a way to just assign a simple variable like x<-c(0.4,0.5,0.6,0.7), and then plot all the curves automatically. I tried to use data frame to make a set of equations, but failed. Could somebody help me? Thank you very much!
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.