Displaying 20 results from an estimated 400 matches similar to: "Grouping and stacking bar plot for categorical variables"
2010 May 27
2
help calculating variable based on factor level of another
Dear colleagues,
I want to calculate the value of x2 based on the value of x1. x1 is a
factor with three separate levels. I want to make sure that missing
values remain as NA in X2, but non-missing values take on a value of
either 0 or 1 dependending on the value in x1.
This is the code I'm working with...Can any one help?
I've seen some other requests on a topic like this, but not
2010 Apr 14
3
Problem with recode -Error in parse(text = range[[1]][1]) : unexpected end of input in " c(0"
Dear colleagues,
in the help archive there was a previous person who encountered a
problem with the "recode" command in the car library. I'm not sure if
that was solved, there was no posting to that effect, but I'm having
the same problem.
I'm trying to recode a numeric variable with values from 0-100 into a
binary variable with values (0,1).
The following command:
2010 Jun 29
3
generate irregular series of dates
Dear colleagues, particularly academic ones,
So I'm creating a Microsoft Word template for myself so that every
time I teach a new course, I don't have to enter in the dates manually
for each class session.
I'd like to use an R script that can generate an irregular series of
dates starting from one date (semester begin) to another (semester
end) using an irregular interval in
2010 May 12
2
Finding different hues for a mosaic plot compatible with grayscale printing
I'm working with the following code below to generate a
how do I set the h,c, and l values such that the significant, positive
residuals appear different on a grayscale printer from significant
grayscale residuals. The challenge as I see it is that one can only
distinguish the positive and negative residuals with the hue/. Varying
the chroma and the luminance only affect the
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
2010 Jun 28
2
Stacked Histogram, multiple lines for dates of news stories?
Dear colleagues,
I have extracted the dates of several news stories from a newspaper
data base to chart coverage trends of an issue over time. They are in
a data frame that looks just like one generated by the reproducible
code below.
I can already generate a histogram of the dates with various intervals
(months, quarters, weeks years) using hist.Date. However, there are
two other
2010 Mar 24
1
R Full Screen
Hello all,
I'm new user with R and just completed a five day course on the
program. Somehow, a few basic questions remain unanswered. I'm working
on a Mac Os X system and have my laptop connected to a large, flat-
screen monitor. I can't make any of the Quartz windows fill the
monitor's screen; I'd like to make them full screen to identify points
in a dense
2010 Mar 26
0
row names in regression results and saving the identification results from added variable plots
Hello all,
Is there a way to take the row names from my data.frame and have them
imported to the regression results?
At the moment, I my original data frame looks like this:
/ Riding name / Turnout / Margin / Expenditures
1 / Abbotsford
2 / .
3 / .
4 / .Willow
I know how to set the row names for the original data frame to be the
Riding name, but when I run the regression, the residuals,
2010 Apr 27
0
NULL variable read in from SPS
Hello all,
I'm having difficulty getting one particular variable into R from SPSS
v. 16.0 for mac. R version is 2.10.1. I saved the relevant variables
from SPSS into a .csv file and then read them into R. All the
variables worked fine, except for one (enviro_spending). In the SPSS
file it is correctly coded as a nominal variable and there is nothing
that I can tell that
2010 May 20
0
Compressed values on y-axis in effects plot
Dear colleagues, the code below generated the two effects plots that I
have attached. I hope they are not stripped.
The original two models are as follows:
green_shift_mod=glm(green_shift ~ educ+party_id+educ:party_id,
family=binomial, data=x)
carbon_tax_mod=glm(carbon_tax ~ educ+party_id+educ:party_id,
family=binomial, data=x)
Then, I try to plot the effects of party_id by education for
2001 Mar 27
4
how superpose two graphics ?
hello,
I'd like tu superpose two graphics, I mean, be able to plot two functions on
the same graphics ..
Can someone help me ?
Alvine Bissery
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body",
2006 Oct 25
5
VoiceOne 0.4.0 released: a new web-based and open source GUI
Hi all!
We've released VoiceOne 0.4.0, a web-based and open source solution
which allows to fully manage an Asterisk service hosted on a LAMP server.
We focused on an charming and overall user-friendly interface. Thanks to
the authentication based on roles, once configured by a super user, the
PBX may be easily maintained even by an Asterisk unskilled users.
From a technical point of
2011 Apr 17
1
How to retrieve a vector of a data.frame's variable attributes?
Hi,
I have a data.frame with 100 variables and I have assigned a "label",
"units" and "category" attribute to each variable. I would like to reorder
the variables in the data.frame by the "category" attributes but can't find
a way.
For example, the first variable is:
> attributes(hh$aez)
$levels
[1] "coastal" "forest"
2015 Apr 22
3
shared private key
On Wed, Apr 22, 2015 at 1:53 PM, Gert Doering <gert at greenie.muc.de> wrote:
> Hi,
>
> On Wed, Apr 22, 2015 at 01:26:06PM -0700, Reuben Hawkins wrote:
>> Let me know if I'm missing something. :)
>
> Signed keys from a common CA?
I don't think the signed key helps in my particular case (I may be
wrong, if so please correct me).
I'm working on a management
2009 Sep 14
7
commonly used, defacto standard web frontend to facter ... that everyone loves?
I''m new to puppet in general - I just have a minimal node.pp defined
for 2 clients so far. Before I reinvent the wheel ... is there a good
web UI to facter that everyone uses? I''ve looked over foreman and I
figure since it''s new, it''s probably not in widespread use currently.
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received
2005 Sep 06
9
civil emergency comms: Asterisk + HAM
The disaster in the Gulf coast and the less than optimal initial
response suggests to me that citizens must shoulder more responsibility
for emergency management. Communications loss must have played a large
role in the failures that occurred. I can't help but wonder if there
are fewer ham radio operators today and that if there were more, maybe
they could make a difference in future
2006 Nov 14
1
greatest common substring
Dear R-members,
Suppose I have a vector with the following strings:
V = c("Welfare_Group_1024",
"Welfare_Group_1536",
"Welfare_Group_160")
I want to 'automatically generate a nice y-axis label for this data.
A good candidate is something close to "Welfare Group".
Is there an easy way to compute something close to the greatest
common
2004 Jan 21
1
Join Computer Associates and DM Review for a Web Seminar
Computer Associates and DM Review present a Web Seminar!
Dashboards: Discovering Hidden Opportunities Through On-Demand Information
Date: Wednesday, February 11, 2004
Time: 11:00 a.m. PT/2:00 p.m. ET (Duration approx. 1 hr.)
Making important decisions is your job. To make them effectively, you need the right information at the right time from all the right sources.
Learn how dashboard
2006 Feb 01
1
several plots in one
Can anyone tell me how I can supply more than one graph to plotCI
(gplots) at once?
Below is what I tried, also with rbind instead of cbind.
What is the way to do this (in general, I think)?
Problem is that lines of 1-st and 2-nd series are mixed, while they have
nothing to do with each other.
I also tried calling plotCI with argument add=TRUE, which didn't seem to
work (that is actually
2011 May 11
1
filtering out unwanted words in a Term Document Matrix
Hi Y'all,
I am using the text mining package (tm). I am trying to filter out all of the words in a Term Document Matrix that are not in a list of words that I am interested in. I am using the following code:
z<-tm_intersect(txt.dtm, c("communications", "safety", "climate", "blood", "surface", "cleanliness",