Displaying 2 results from an estimated 2 matches for "surveydat".
Did you mean:
surveydata
2007 Aug 07
1
bayesm - question about 'rscaleUsage function'
...l results from this. As I understand it, this code is designed to generate a matrix after processing and store it somewhere?????
Here is the code.....
I get this part of the code, it all makes sense.
##
if(nchar(Sys.getenv("LONG_TEST")) != 0) {R=1000} else {R=5}
{
data(customerSat)
surveydat = list(k=10,x=as.matrix(customerSat))
Mcmc1 = list(R=R)
set.seed(66)
out=rscaleUsage(Data=surveydat,Mcmc=Mcmc1)
summary(out$mudraw)
}
My question is how do I retrieve the results from this in a matrix format????
I want to extract the matrix in its complete form and save this as a file for further...
2008 Aug 18
1
Survey Design / Rake questions
...y call to svydesign correct? I'm
not sure I understand just what a "survey design" is. Where can I read
up on this? What's a good reference for such things as "PSUs", "cluster
sampling", and so on. I've tried the following code, which fails:
> SurveyData <- read.spss("C:/Data/R/orange_delivery.sav",
use.value.labels=TRUE, max.value.labels=Inf, to.data.frame=TRUE)
>
#=======================================================================
========
> temp <- sub(' +$', '', SurveyData$direction_)
> SurveyDa...