Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hello, I am just transitioning from SPSS to R. I used the haven library to import some of my spss data files to R. However, when I run procedures such as frequencies or crosstabs, value labels for categorical variables such...
Thanks for all your assistance Attached please is the Rdata scratch I have been using ----------------------------------------------------- > head(Scratch, n=13) # A tibble: 13 x 6 ID marital sex race paeduc speduc <dbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl...
Thanks Jim: So one option is to go through the data, select all the categorical variables I want and re-define them as factor variables ? As in the following example for gender? mydata$sex<- factor(mydata$sex, levels = c(1...
Thanks so much for all your assistance. I admit R's learning curve is a bit steep, but I am eager to learn ... and hopefully teach with it. with regard to my problem, I can now see two options: either...
Thanks for all. Here is output from dput. I used a different dataset containing categorical variables since the previous one is on a different computer. In the following dataset, my interest is in getting frequencies and barplots for the two...
Thanks again - I realized after posting that sjlabelled is indirectly referencing haven's read_sav function. For a moment I thought you were referring to the read.spss under the older foreign package. But then realized that read_sav and...
Can't find what you're looking for? Try searching with Google .