search for: demo_names

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

2017 Dec 14
1
Aggregation across two variables in data.table
...ied 3 30-40K Rented 7.648642 6: 35 Associate degree Separated 2 10-15K Rented 7.496411 My objective is to calculate the average of Theta across all pairs of two demographics. For 1 demographic this is straightforward: Demo_names <- c("Age", "Education", "Marital", "Familysize", "Income", "Housing") means1 <- as.list(rep(0, length(Demo_names))) for (i in 1:length(Demo_names)) { Demo_tmp <- Demo_names[i] means1[[i]] <- data_tmp[,list(mean(Theta)),by=Demo...
2006 Aug 07
0
Doubts after generating with scaffold
Hi you all, after creating an app I used the script scaffold to generate the whole thing. After this, I have several doubts about the code generated: - ?def index?: This method calls the method ?list?. However, to display the template ?list.rhtml?, it also calls the ?render :action=>?list? ?. Why? I mean, if we have previously called the method ?list?, this method would also render the