search for: waterus

Displaying 2 results from an estimated 2 matches for "waterus".

Did you mean: waters
2003 May 08
2
Forward Stepwise regression with stepAIC and step
...em to get the R functions step or stepAIC to perform forward or stepwise regression as I expect. I have enclosed the example data in a dataframe at the end of this mail. Note rubbish is and rnorm(17) variable which I have deliberately added to the data to test the stepwise procedure. I have used wateruse.lm<-lm(waterusage~.,data=wateruse) # Fit full model wateruse.lm.back<-stepAIC(wateruse.lm,trace=FALSE) in which rubbish is removed (calling wateruse.lm.back$anova gives Step Df Deviance Resid. Df Resid. Dev AIC 1 NA NA 11 743720.8 193.6655 2 -...
2013 May 11
1
(no subject)
Hello, I am attempting to use the "classInt" package in conjunction with "rworldmap" package in R to construct a chloropleth. I want to use the fixedBreaks argument to specify given breaks. My data look like this: > head(Maji) Country waterused CC 1 Afghanistan 36 AFG 2 Albania 4 ALB 3 Algeria 52 DZA 4 Angola 0 AGO 5 Antigua 10 ATG 6 Argentina 4 ARG and when I attempt, > classInt <- class...