### ----------------------------------------------------------------------- ### Autor: Paul Fink, et. al. (Stand: SoSe 2017) ### ----------------------------------------------------------------------- ## ----x11-oeffnen--------------------------------------------------------- ## x11() ## ----x11-curve----------------------------------------------------------- ## curve(from = -3, to = 3, dnorm(x), main = "Dichte N(0,1)-Vtlg.") ## ----x11-schliessen------------------------------------------------------ ## dev.off() ## ----pdf-oeffnen--------------------------------------------------------- ## pdf(file = "dichteN01.pdf") ## ----pdf-curve----------------------------------------------------------- ## curve(from = -3, to = 3, dnorm(x), main = "Dichte N(0,1)-Vtlg.") ## ----pdf-schliessen------------------------------------------------------ ## dev.off() ## ----plot-1-------------------------------------------------------------- plot(pressure) ## ----plot-2-------------------------------------------------------------- plot(pressure$temperature, pressure$pressure) ## ----plot-3-------------------------------------------------------------- plot(pressure ~ temperature, data = pressure) ## ----plot-4-------------------------------------------------------------- plot(weight ~ feed, data = chickwts)