search for: achristoffersen

Displaying 8 results from an estimated 8 matches for "achristoffersen".

Did you mean: christoffersen
2009 Sep 11
1
bar chart with means - using ggplot
...anprice,cut);ggdata ggplot(ggdata,aes(y=meanprice,x=cut)) + geom_bar(fill="grey50",stat='identity') Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA --- On Fri, 9/11/09, Andreas Christoffersen <achristoffersen at gmail.com> wrote: > From: Andreas Christoffersen <achristoffersen at gmail.com> > Subject: bar chart with means - using ggplot > To: "ggplot2" <ggplot2 at googlegroups.com> > Date: Friday, September 11, 2009, 1:50 PM > > In the help pages hadley provi...
2009 Feb 03
3
cronbachs alpha - score.items(psych) vs reliability(Rcmdr)
Dear all, I like the way the Rcmdr package computes reliability. E.g reliability(cov(d[,c("q1", "q2", "q3", "q4", "q5", "q6")], use="complete.obs")) will not only give me the alpha score, but also for each variable, alpha.score if deleted. However - when writing scripts it's very tiresome to load the whole Rcmdr GUI just
2009 May 24
2
help with replacing factors
Hi, In the example dataset below - how can I cahnge "gray20", to "blue" # data black <- rep(c("black","red"),10) gray <- rep(c("gray10","gray20"),10) black_gray <- data.frame(black,gray) # none of this desperate things works # replace(black_gray$gray, gray=="gray20","red") #
2009 Apr 26
7
Bumps chart in R
Hi there, I would like to make a 'bumps chart' like the ones described e.g. here: http://junkcharts.typepad.com/junk_charts/bumps_chart/ Purpose: I'd like to plot the proportion of people in select countries living for less then one USD pr day in 1994 and 2004 respectively. I have already constructed a barplot - but I think a bumps chart would be better # The barplot and data
2009 Feb 15
1
MDS with ranking data (and transformation)
Dear Sirs and madams :-) I am trying to teach myself multidimensional scaling. To that effect I have collected a survey asking people to rank 10 philosophers and politicians according to their preference. I have collected 61 answers. The data is organized in ten columns and 61 rows. the columns are "choice_1", "choice_2", "choice_3" etc. The cells is the name of the
2009 Mar 06
1
R and vim (gvim) on ubuntu
Dear all - I do fret this to be a revealing beginner question - fortunately, this mailing list have been good to me in the paste .-) I am looking for a good R editor/environment in ubuntu. To that end, I have decided to dive into gvim as the modality offered here seems to make sense for editing. I want to use Johannes Ranke's vim r-plugin, but I can't make it work. I have the plugin
2009 Aug 13
1
"helper" lines in plot. From point to axis.
This is a very basic question. I am just wondering if there is a function where i can choose a vector of points, and them helper lines are drawn. I am asking because lines seams to be a cumbersome way to do this. E.g. x <- 1:36 plot(log(x,1.1),xlab="Number of months", ylab="Visits(1000)",main="webpage visits") abline(h=log(12,1.1),col="red",lty=2)
2009 Apr 21
3
ggplot2 - boxplot of variables / columns
Hi, ggplot/qplot is great - it has really helped me do some nice things. However, simple boxplot of different columns/variables is a bit tricky, because of (i think) qplot's generic Y conditional on X input form. Se below. # Some data: a <- rnorm(100) b <- rnorm(100,1,2) c <- rnorm(100,2,0.5) # normal boxplot of a,b,c boxplot(a,b,c) # Looks good library(ggplot2) # loads qqplot2 #