After having read through some literature on R, I am happy with collecting
it, and visualizing numbers. Unfortunately I do find it hard to compare and
visualize string data. The data is from a LimeSurvey with lots of YES/NO or
multi-choice questions (check-boxes)
Among the check-boxes there a couple of options with the data are (Ikke
valgt=NOT CHECKED, Ja= CHECKED):
> data$perf_none
[1] Ikke valgt Ikke valgt Ikke valgt Ikke valgt Ikke valgt Ikke valgt
[7] Ikke valgt Ikke valgt Ikke valgt Ikke valgt Ikke valgt Ja
[13] Ja Ikke valgt Ikke valgt Ikke valgt Ikke valgt Ikke valgt
> data$perf_pct
[1] Ikke valgt Ikke valgt Ikke valgt Ja Ja Ja
[7] Ikke valgt Ikke valgt Ja Ja Ja Ikke valgt
[13] Ikke valgt Ikke valgt Ja Ikke valgt Ikke valgt Ja
A yes/no question as below.
> data$suppl
[1] <NA> Ja Ja <NA> Nei Ja <NA> Ja <NA> <NA> Nei <NA> Nei Ja Nei
[16] Ja Ja Ja Ja <NA> Ja Nei Nei Nei Ja Nei Ja <NA> <NA> Ja
I can run command like plot(data$perf_none) and that is about it.
It gets a bit tricky when the literature refers to examples where all data
is numeric and not text like here.
Could anyone point me in a direction for more helpful investigations like
searching correlations.
I would also like to be able to visualize the data from such non-numeric
vectors.
The question is general but examples and hints would be appreciated.
ok
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
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.