similar to: creating new variable

Displaying 20 results from an estimated 10000 matches similar to: "creating new variable"

2012 Sep 15
5
create new variable with ifelse? (reproducible example)
Dear R users, I have a reproducible data and try to create new variable "clo" is 1 if know variable is equal to "very well" or "fairly well" and getalong is 4 or 5 otherwise it is 0. rep_data<- read.table(header=TRUE, text=" id1 id2 know getalong 100000016_a1 100000016_a2 very well 4 100000035_a1 100000035_a2 fairly
2012 May 22
2
getting a Likert plot from a data frame
I'm creating a stacked bar chart using the likert command in the HH package. My data are in a data frame, with two numeric variables and a categorical variable, I can't get likert to use the column containing the categorical variable as a my y axis label. Here is a quick example: library(HH) #my data are:
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
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
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?
2013 Dec 20
4
error con install_github() del paquete devtools
Si. Pero no funciona. En ordenador curro si funciona y tb tiene linux. Seguiré investigando has probado con: install_github('paquete",username='usuario')? 2013/12/20 Jose Luis Cañadas Reche <canadasreche@gmail.com>: > Hola a todos. > > Estoy intentando instalar el paquete likert utilizando devtools y obtengo el > siguiente error > > library(devtools) >
2012 Nov 10
1
colineraity among categorical variables (multinom)
Dear all users, I"d like to ask you how to make decision about colinearity among categorical independent variables when the model is multinomial logistic regression. Any help is appreciated, Niklas [[alternative HTML version deleted]]
2013 Feb 25
1
frequency table-visualization for complex categorical variables
Dear R users, I have three questions measuring close relationships. The questions are same and the respondents put the answer in order. I'd like to examine the pattern of answers and visualize it. For example q1 (A,B,C,D,E) and q2 and q3 are the same. If the respondents selects A B C (so BCA or BAC or CBA or CAB), I'd like to construct frequency table for ABC and other combinations for
2013 Dec 21
2
error con install_github() del paquete devtools
Gracias Oscar. Funciona perfectamente. Ya investigaré más adelante porque no funciona install_github Saludos y feliza navidad.. El 20/12/13 23:05, Oscar Perpiñan escribió: > tmp <- paste0(tempdir(), '/likert.zip') > download.file('https://github.com/jbryer/likert/archive/master.zip', > destfile=tmp, method='wget') > unzip(tmp,
2004 May 07
1
scores from multinomial logistic regression
Dear all, I'm interested in extracting the score from multinomial logistic regression models fit using multinom, to assess the stregth of assocation of the parameter with the response (akin to the score from clogit/cox regression). currently I'm using R 1.8.1. Is there a function that will extract the score from a multinom object or how i can get back to it? or from using glm? I
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
2012 Nov 13
2
How to visualize relation between two sets of rel. frequencies?
I am looking at a data set containing two variables (x,y), each of which represents relative frequencies (rounded): data.frame(x = c(0.1,0.6,0.2,0.1), y = c(0.5,0.2,0.2,0.1)) x y 1 0.1 0.5 2 0.6 0.2 3 0.2 0.2 4 0.1 0.1 each of the rows reflects a "relation" between x and y, for example in row 4: 10% of the observations in x account for 10% of the observations in y. I
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
2014 Jun 16
2
[LLVMdev] Regression in 3.4's register allocator?
Yep, quite right, Evan. Any regalloc differences due to that patch are purely coincidence; -Jim > On Jun 16, 2014, at 10:13 AM, Evan Cheng <evan.cheng at apple.com> wrote: > > Hi Niklas, > > The attached patch has nothing to do with register allocation. r206094 changes how cpu auto-detection is done. I believe it's now the responsibility of the tools (e.g. llc) to
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
2014 May 14
2
[LLVMdev] Regression in 3.4's register allocator?
I can confirm that this regression has been fixed in trunk. Should I report this as a bug in 3.4? On Thu, Apr 24, 2014 at 10:17 PM, Quentin Colombet <qcolombet at apple.com>wrote: > Hi Niklas, > > This works for me with trunk r207129. > > We did fix some register allocation issues recently, don’t know which > change fixes the issue though. > > Thanks, > -Quentin
2023 May 03
1
[External] Error in percentage stacked barplot
Dear Richard,? Thank you very much for your reply. I went through the code and it worked. I was also able to change the colours.? I was wondering if I can change the legend position; instead of being in the bottom to be on the left side.? I tried the following but without any success strip = FALSE strip.right = TRUE likert(t(hellisheidi), ReferenceZero=.5, xlab="X-lab",
2011 Feb 04
2
All DomU failing SSLv3 handshake (curl, apt-get, wget, etc.) but OK on Dom0
Hi, First of all I''ve googled this subject a lot (several hours) but right now I''m simply stuck. All my 4 DomU fails SSL handshake: > niklas@stats:~$ curl -vI https://graph.facebook.com > * About to connect() to graph.facebook.com port 443 (#0) > * Trying 69.63.181.58... connected > * Connected to graph.facebook.com (69.63.181.58) port 443 (#0) > * successfully
2014 Jun 01
4
[LLVMdev] Regression in 3.4's register allocator?
I think we have located the revision which fixes this regression: r206094 (or commit 6bb00df in llvm-mirror on GitHub). I have attached a patch which can be applied to the current release_34 branch (tested against the release_34 branch in llvm-mirror). With this patch the attached reg-alloc-test.ll file doesn't fail with the "LLVM ERROR: ran out of registers during register