search for: diogena

Displaying 3 results from an estimated 3 matches for "diogena".

Did you mean: diogenas
2010 Dec 02
6
Filter data
...data sets which includes only cases after year 1995. I've tried this command: poli2<-poli[poli$year > 1994,] , however it generated this: Error in poli[poli$year > 1994, ] : incorrect number of dimensions. Any ideas how i can overcome this? Thank in advance for your help, ----- Diogenas -- View this message in context: http://r.789695.n4.nabble.com/Filter-data-tp3070069p3070069.html Sent from the R help mailing list archive at Nabble.com.
2011 Mar 09
3
Sapply for descriptive statistics
I try to calculate descriptive statistics for one of the variables in the data frame, however command sapply calculates these statistics for every value of the variable separately. How to make it calculate range (as well as other statistics) for all column? Here are commands and results: > as1$trust [1] 5.957510 5.888664 6.168135 6.419472 5.668796 6.026923 6.456721 7.017946 5.294411
2011 Mar 31
1
Effects - plot the marginal effect
Hello, I try to plot the marginal effect by using package "effects" (example of the graph i want to get is in the attached picture). All variables are continuous. Here is regression function, results and error effect function gives: > mreg01 = lm(a90$enep1 ~ a90$enpres + a90$proximity1 + (a90$enpres * a90$proximity1), data=a90)> summary(mreg01) Call: lm(formula = a90$enep1 ~