Displaying 20 results from an estimated 700 matches similar to: "getting a Likert plot from a data frame"
2012 Apr 12
2
pyramid.plot in plotrix, axis labelling
Hi, I've been looking at ways to make pyramid plots in R. I like the pyramid.plot method in plotrix as it seems the simplest to use and building them in ggplot looks a bit more code intensive than I'd like, being as I'm new to R. This package does pretty much what I need it to do, however I can't seem to scale the x axis labels. The other labels scale fine with labelcex.
I
2005 Mar 21
1
rpart memory problem
Hi everyone,
I have a problem using rpart (R 2.0.1 under Unix)
Indeed, I have a large matrix (9271x7), my response variable is numeric and all
my predictor variables are categorical (from 3 to 8 levels).
Here is an example :
> mydata[1:5,]
distance group3 group4 group5 group6 group7 group8
pos_1 0.141836040224967 a c e a g g
pos_501
2017 Aug 24
2
likert Package
R- Help Forum
Working with the "likert" package and I can't figure out why my "bar" graphs
are backwards (see attached). The percentages are place correctly but the
bars are backwards.
#Sample code
# libraries
library(likert)
# create data
band <- c("Band 3","Band 3","Band 3","Band 3","Band 3","Band
2007 Oct 30
2
flexible processing
Hello,
unfortunately, I don't know a better subject. I would like to be very flexible
in how to process my data.
Assume the following dataset:
par1 <- seq(0,1,length.out = 100)
par2 <- seq(1,100)
fac1 <- factor(rep(c("group1", "group2"), each = 50))
fac2 <- factor(rep(c("group3", "group4", "group5", "group6"), each =
2011 Jun 26
2
how to simulate Likert-type data using R
Dear R members
Could someone tell me how to simulate Likert-type data using the rnorm
function.
Let's say, 200*15 random numbers in a variable that goes from 1 to 4 in
steps of
1 (i.e., 1, 2, 3, 4) belonging to a normal distribution?
random.data <— matrix(rnorm(200 * 15), nrow = 200, ncol = 15)
random.data
The result cannot be reached.
could one help me revise the syntax?
2017 Aug 23
2
likert Package
R- Help Forum
Working with the "likert" package and find that my "bar" graphs are
backwards (see attached)
> summary(results)
Item low neutral high mean sd
4 Q4 5 15 80 2.75 0.5501196
5 Q5 20 40 40 2.20 0.7677719
1 Q1 65 30 5 1.40 0.5982430
3 Q3 5 90 5 2.00 0.3244428
2 Q2 90 10 0 1.10 0.3077935
2012 Jun 02
1
Compare data between two groups/countries on 5-point Likert scale questionnare?
Hi everyone, I'm stuck on my dissertation which is due next week. I'm a
business major student and my project is a comparative research on corporate
social responsibility (CSR) between Chinese and German firms. According to
my literature review, it's quite obvious that German firms have much better
CSR initiatives and strategies than the Chinese ones and I wanted to test
whether it was
2010 Nov 11
1
exploratory analysis of large categorical datasets
Dear List,
I am looking to perform exploratory analyses of two (relatively) large
datasets of categorical data. The first one is a binary 80x100 matrix, in
the form:
matrix(sample(c(0,1),25,replace=TRUE), nrow = 5, ncol=5, dimnames = list(c(
"group1", "group2","group3", "group4","group5"), c("V.1", "V.2", "V.3",
2010 Apr 19
6
comparing attitudes of 2 groups / likert scales?
Hi,
I have just found this forum, and it looks like a great place to get some
help (I hope)
For my dissertation, which is due way too soon, I am doing a survey,
comparing attitudes of 2 independent groups, with 5 scale likert questions.
Basically I want to show if they have similar or different attitudes. I am
testing 4 hypotheses, and have in total about 20 questions.
I have to say my
2010 Jun 03
2
Comparing a 4-point and 5-point Likert scale
Help with survey data:
Hello R colleagues,
I hope this is an appropriate place to direct this question. It
relates specifically to the comparability of a 5-point likert to a 4-
point likert scale.
One question in my dataset asks "How much should be done to reduce the
gap between rich and poor"
Much more, somewhat more, about the same, somewhat less and much less.
The second
2011 Aug 23
1
likert scale analysis with R
Dear colleagues,
I would like to run a cluster analysis on a number of variables. They are Likert Scale (0 to 10), but they also have a "Don't know' option at the end of the scale. Apparently, with the 'Don't Know' option in place, they cannot be considered to be linear or ordinal. How can these variables be analysed using R? One option would be to use poLC and treat
2010 Jul 06
2
Help With ANOVA
Hi I needed some help with ANOVA
I have a problem with My ANOVA
analysis. I have a dataset with a known ANOVA p-value, however I can
not seem to re-create it in R.
I have created a list (zzzanova) which contains
1)Intensity Values
2)Group Number (6 Different Groups)
3)Sample Number (54 different samples)
this is created by the script in Appendix 1
I then conduct ANOVA with the command
>
2010 Jul 06
3
Help With ANOVA (corrected please ignore last email)
Sorry i had a misprint in the appendix code in the last email
Hi I needed some help with ANOVA
I have a problem with My ANOVA
analysis. I have a dataset with a known ANOVA p-value, however I can
not seem to re-create it in R.
I have created a list (zzzanova) which contains
1)Intensity Values
2)Group Number (6 Different Groups)
3)Sample Number (54 different samples)
this is created by the
2007 Aug 04
2
Invert Likert-Scale Values
Hi!
I am using R to process some community survey data. Several item responses are recorded via a 7-point Likert-Scale. As I have coded the responses, 1 represents high agreement, and 7 high disagreement. This of course impacts the coefficients in a linear regression (of example agreement to self-perception measures on housing satisfaction). For some purposes, in order to make the coefficients
2011 Oct 30
1
Normality tests on groups of rows in a data frame, grouped based on content in other columns
Dear R users,
I have a data frame in the form below, on which I would like to make normality tests on the values in the ExpressionLevel column.
> head(df)
ID Plant Tissue Gene ExpressionLevel
1 1 p1 t1 g1 366.53
2 2 p1 t1 g2 0.57
3 3 p1 t1 g3 11.81
4 4 p1 t2 g1 498.43
5 5 p1 t2 g2 2.14
6 6 p1 t2 g3 7.85
I
2010 Sep 29
1
Understanding linear contrasts in Anova using R
#I am trying to understand how R fits models for contrasts in a
#simple one-way anova. This is an example, I am not stupid enough to want
#to simultaneously apply all of these contrasts to real data. With a few
#exceptions, the tests that I would compute by hand (or by other software)
#will give the same t or F statistics. It is the contrast estimates that
R produces
#that I can't seem to
2007 Feb 14
2
Solaris 10 and "store dos attributes"
I'm having trouble with files being marked read-only in Windows because the
Solaris file owner does not have write-permissions on the file; group-write is
allowed:
-r--rw---- 1 user group 32 Feb 13 14:19 testfile.txt
I thought that setting "store dos attributes = yes" for this share would allow
the "read only" setting to be stored in extended attributes, but it
2018 Mar 06
0
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Hi
For first question, maybe I am completely wrong but
cor(swiss[,-1], swiss[,1])
should give you what you want in one step.
Second question
Without an example it is hard to say but maybe aggregate is the way forward.
> aggregate(iris[,1:4], list(iris$Species), function (x) c(mean=mean(x), sd=sd(x)))
Group.1 Sepal.Length.mean Sepal.Length.sd Sepal.Width.mean Sepal.Width.sd
1
2012 Nov 09
2
Simple Likert count data visualization
Hello,
Before I start to construct something inferior myself I would like to know if such a plot function is already out there.
I have count data of a small survey with a few questions which use a scale from "Strongly disagree" to "Strongly agree" and similar things. What I would like to have for a slide is a plot which shows for each question a line over this scale and the
2013 Dec 20
3
error con install_github() del paquete devtools
Hola a todos.
Estoy intentando instalar el paquete likert utilizando devtools y
obtengo el siguiente error
library(devtools)
install_github('likert','jbryer')
Installing github repo(s) likert/master from jbryer
Downloading likert.zip from
https://github.com/jbryer/likert/archive/master.zip
Error en function (type, msg, asError = TRUE) : <not set>
Me pasa también con