search for: ebnumstn

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

2008 Aug 21
2
data.frame() creates list?
I obviously don't know what I'm doing. I want to create "ByEBNum" as a data frame, but it comes out as a list. How do I make it a data frame? > EBNumStn <- c(673.65, 800, 1000, 1000, 800, 700, 600, 500, 400, 200, 50, 50 ) > ByEBNum <- data.frame(c(1:12),EBNumStn) > typeof(EBNumStn) [1] "double" > typeof(c(1:12)) [1] "integer" > typeof(ByEBNum) [1] "list" > ByEBNum c.1.12. EBNumS...
2008 Aug 18
1
Survey Design / Rake questions
...;, "Woodman", "Valley College", "Laurel Canyon", "North Hollywood") > EBOnNewTots <- c( 1000, 600, 1200, 500, 1000, 500, 200, 250, 1000, 300, 100, 50, 73.65 ) > EBNumStn <- c(673.65, 800, 1000, 1000, 800, 700, 600, 500, 400, 200, 50, 50 ) > ByEBOn <- data.frame(OnLabels,EBOnNewTots) > ByEBNum <- data.frame(c(1:12),EBNumStn) > RakedEBSurvey <- rake(EBDesign, list(~ByEBOn, ~ByEBNum), list(EBOnNewTots, EBNumStn ) ) Error in model.frame...