similar to: confused about x-coordinates and bar charts

Displaying 20 results from an estimated 4000 matches similar to: "confused about x-coordinates and bar charts"

2003 Jul 17
3
confused about histograms
I've got a data set with integer codes from 0--3. I'd like a histogram with a single bar for 0, 1, 2 and 3. I'd like each of the 4 bars centered over a label. hist(mydata, breaks=4, main="Simulation") gives me three bars. The best I've been able to do is do something like print(hist((wexp), breaks=25, main="Simulation")) This gives me something
2002 Jan 24
3
getting rank order
I'm doing a study where people place a deck of cards in a certain order. It's sufficient to assume that their colors & each has a number (it's actually about attributes of hobbies). I'd like to look for patterns in how they've arranged the deck. For each subject I have a list like 3,5,2,4,1, indicating that (s)he chose 3 first, then 5, then 2. . . . I think what I first
2002 Feb 12
1
increasing space available for labels
I've got a graph with really long labels. I've tried decreasing the font size, but they're still getting truncated. I've RTFMed & it seems that mgp should have something to do with this, but I can't make it work. I need about 2-3x as much space for labels as is available by default (or on the example below). boxplot(split(ranks,c(1:25)), names=items, horizontal=F)
2003 May 23
1
Summary statistics & plots of repeated measures data
I'm an R novice and my colleagues are about to convince me to get my data into SPSS, which will presumably be easier for someone who doesn't live in R to point and click his way into some kind of analysis that might be meaningful. I've got two groups of subjects (classkey in the table below). They've each received several different treatments. One measure is a 1-7 rating taken
2002 Aug 09
2
RMySQL fetch defaults to N=500?
It appears that fetch() gets only the first 500 rows by default. I don't see this in the documentation, but timeinfo <- fetch(rs) gets only 500 rows where timeinfo <- fetch(rs,n=-1) gets (correctly) 736 for the same query. Is this an undocumented feature? I played with this data for an alarming amount of time before I realized that I was missing a third of the data. I
2002 Jan 15
3
Getting started with R
I've got a background in computer science & have been using Linux for nearly a decade. I'm working on a Ph.D. in education and technology and I essentially live in emacs and do all of my writing in LaTeX. To me R seems like the perfect stats package. Unfortunately, the learning curve is killing me. I feel like that if I'd waded through pulling down menus in SPSS or SAS I could
2002 Aug 07
1
No subject
I've got a table of 1 row per observation. 16 questions * n subjects * 4 classrooms (2 teachers * 2 conditions) I'd like to run some simple regressions that look something like this: lm(length ~ elapsed) I'd like to do the regressions several times, split out by questionkey, student, class. What I've been doing is using a series of which's to create new data sets (e.g.
2002 Feb 21
2
help understanding box plots
Another naive stats question. I'm trying to better understand what boxplots are telling me. I think what I see is the median and the boundaries of the 1st and 3rd quartiles. The whiskers represent the range of the data unless there are points which are outside "range" (default: 1.5) times the distance from the median to that quartile. Is that right? I've read the
2002 Jan 23
2
exporting plots
I'm running R (latest) on linux, using gnome. I was wondering how export the plots to an image file of sort sort. I can't find anything obvious in the documentation. Thanks in advace. Please CC me any replies, as I'm not subscribed to the list. -Aaron -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2017 Oct 23
2
A list of data frames and a list of colnames.
I have a list of file names, and a list of data frames contained in those files. mynames <- list.files() mydata <- lapply(mynames, read.delim) Every file contains two columns. > colnames(mydata[[1]]) [1] "Name" "NumReads" > colnames(mydata[[2]]) [1] "Name" "NumReads" I can set the colnames easily enough with a for loop. for (i in
2011 May 21
3
Simple R Question...
Let's say I have the data frame 'dd' below. I'd like to select one column from this data frame (say 'a') and keep its name in the resulting data frame. That can be done as in #2. However, what if I want to make my selection based on a vector of names (and again keep those names in the resulting data frame). My attempt is #4 but doesn't work. dd <- data.frame(a =
2010 Jun 14
2
list matching
Hello,   I could not find a clear solution for the follow question. please allow me to ask. thanks   mynames=cbind(c('a','b'),c(11,22)) lst=list(a=c(1,2), b=5) now I try to combine mynames and lst: a  1  11   a  2  11 b  5  22   thanks jian   [[alternative HTML version deleted]]
2009 Jul 09
2
correct way to subset a vector
Hi, #make example data dat <- data.frame(matrix(rnorm(15),ncol=5)) colnames(dat) <- c("ab","cd","ef","gh","ij") If I want to get a subset of the data for the middle 3 columns, and I know the names of the start column and the end column, I can do this: mysub <- subset(dat,select=c(cd:gh)) If I wanted to do this just on the column names,
2011 Apr 18
1
using "aggregate" when variable names contain spaces
Hello! my data set has many variables. Unfortuantely, many of those variables contain spaces in their names. I need advice on: how to refer to variable names in the formula for "aggregate". See example below: ### Generating example data set: mydate = rep(seq(as.Date("2008-12-01"), length = 3, by = "month"),4) value1=c(1,10,100,2,20,200,3,30,300,4,40,400)
2018 Jan 17
3
asterisk mysql contacts
Hi. i have an asterisk 11 installation that i run in my soho environment. My system has mysql to store all the cdrs. I would like make use of the mysql and store numbers and names. eg +4922123456789 "Atux Null". So when the +4922123456789 calls in my system the name "Atux Null" will pop up next to the number. at the moment i have a database called MyNames in mysql that has this
2010 Jul 01
2
Sweave function
Dear list, I have a question about the interaction between R code and Latex language trough the Sweave function in the package "utils". What I'm trying to do is to write a report. Contrary to the examples shown in the Sweave Manual in which table already constructed by R are "exported" on Latex files, what I would like to do is to build a table in which I combine text and
2008 Nov 29
0
charts with three coordinates
Hi, Is there any suitable chart which can represent the x,y,z coordinates. I have the following need. X axis : Number of incidents. Y axis : Assignment group. Z axis : Incident by status. we are using the Ziya chart.I found the bubble chart for representing this situation but is there a better way of doing this? Thank You -- Posted via http://www.ruby-forum.com/.
2007 Feb 21
1
Trying to get an apply to work with a list in applying names to tables
I am trying to use apply and a list to supply names to a set of tables I want to generate. Below is an example that I hope mimics the larger original problem. EXAMPLE aa <- c( 2,2,1,1,2) bb <- c(5,6,6,7,4) aan <- c("yes", "no") bbn <- c("a", "b", "c", "d") mynames <- c("abby", "billy") mylist <-
2008 Jun 24
1
Bar charts with error bars
I would like to add error bars to a bar chart, I have created in R. I am able to add error bars to a bar plot, but the same method does not seem to work for my bar chart version.   Is there a way to add error bars to bar charts? ________________________________________________________ Audi, Fiat, Peugeot, Skoda, Porsche, Toyota, Ford - Kelkoo har brugte biler til en hver smag! Klik her
2008 Apr 19
1
Making the size of bar charts smaller
Hi, Just wondering is there a way to make the width of bar charts that you create using R smaller? Also, a bar chart I created has a total number of 23 entries (with 2 different columns 14 and 9), how can I have the total number on the Y axis adding up to 23 and not the larger of the two columns? Hope this makes sense. BR Jack. -- View this message in context: