Hi Courtney,
I haven't seen any answers to your question, and perhaps it is because
others, like I, were unable to open the file you attached. The
uninformative labels you are getting may be the names of values or the
character value of factors. Is there a sample data set from the
original file that you read in?
Jim
On Fri, Jul 29, 2016 at 4:52 AM, Courtney Benjamin <cbenjami at
btboces.org> wrote:> Hello R Experts,
>
> I am using the Survey Package in R to do some initial descriptive stats for
my dissertation. With the outputs for both the svymean and the barplot, I would
like the value labels to be displayed for the variable-it would make the
descriptive statistics much easier to interpret. Instead of the output labels
of: F1RTRCC1, F1RTRCC2-I would like to see the value labels of
"academic" and "occupational" to be displayed.
>
> How do I go about making this happen? I am including a minimal reproducible
example with a small subset of my actual data:
>
>
https://drive.google.com/file/d/0B5fHCR5TGRjaZ29wNzR0cF9YRXc/view?usp=sharing
>
>
> Any help is greatly appreciated. My only experience thus far is with SPSS
and I have a feeling that the reason the variable value labels are not appearing
is due to either the way I read the dataset into R: elsq1ch<-read.table
(file="els-Q1-04-21-16.dat", header = TRUE, sep = "\t",
quote = "\"", dec =".") or I am not specifying some
detail that is required to manually assign labels to the values of the
variables.?
>
>
> Courtney Benjamin
>
> Broome-Tioga BOCES
>
> Automotive Technology II Teacher
>
> Located at Gault Toyota
>
> Doctoral Candidate-Educational Theory & Practice
>
> State University of New York at Binghamton
>
> cbenjami at btboces.org<mailto:cbenjami at btboces.org>
>
> 607-763-8633
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.