search for: tcgonad

Displaying 1 result from an estimated 1 matches for "tcgonad".

Did you mean: gonad
2006 May 24
1
Regression line limited by the range of values
...to use "segments", and draw one line from min(x),min(y) to max(x),max(y) but with real data with a bunch of "na.rm" and "na.action"s this becomes very long and bulky. For a regression with two data swarms and two trend lines it becomes this long mess: <>plot(TCgonad[Period=="1"], ABelly[Period=="1"],xlim=c(0,20),ylim=c(130,160), col=?blue?) points(TCgonad[Period=="2"], ABelly[Period=="2"],col=?red?) segments( min(TCgonad[Period=="1"],na.rm=T), min(fitted(lm(ABelly[Period=="1"]~TCgonad[Period==&quot...