search for: rlin3

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

Did you mean: lin3
2005 Oct 14
2
Help with lattice, regressions and respective lines
...m + tem2, data=Dfs1) summary(rlin1) Dfs2=subset(Df, (bra=='s' & em=='po'), select=c(bra, em, tem, r, y)) Dfs2 rlin2=lm(y ~ tem, data=Dfs2) summary(rlin2) Dfs3=subset(Df, (bra=='s' & em=='ce'), select=c(bra, em, tem, tem2, r, y)) Dfs3 rlin3=lm(y ~ tem + tem2, data=Dfs3) summary(rlin3) detach(Df) # I would like to plot with lattice 'y ~ tem | em', # with the panels ('po', 'pov' and 'ce'), # and the its respective regressions lines: # a) linear for panel 'po' or better, without line; # b) quad...