Displaying 2 results from an estimated 2 matches for "byebnum".
Did you mean:
bbnum
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...
2008 Aug 18
1
Survey Design / Rake questions
...000, 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.default(margin, data = design$variables) :
invalid type (list) for variable 'ByEBOn'
>
Robert Farley
Metro
1 Gateway...