similar to: Help changing position of x-axis

Displaying 20 results from an estimated 900 matches similar to: "Help changing position of x-axis"

2009 Nov 13
1
need help formating plot axis to standard dollar formats
I create a lot of plots with a dollar amount as the y-axis. How do I change the formatting so comma and $ are in place. Like $1000,000 or to use common dollar abbreviations like 100K? Chris Anderson Data Analyst Medical Affairs wk: 925-677-4870 cell: 707-315-8486 Fax:925-677-4670 This electronic message transmission, including any attachments, contains information which may be confidential,
2010 Jan 07
1
Help formating data to display commas
I'm using the following code to create quartile intervals of my dataset and it is working like it is suppose too. In my final output of the data I would like currency amounts to be displayed with commas. I have not found an option either through FormatC or sprintf that will display the data with commas, they only seem to add decimals. Is there a format that will display commas without me
2007 Nov 21
1
Manipulating x axis in stripchart
Hi all, I I need to manipulate the x axis in a stripchart. I will use one of the data sets included in R to explain what I need to do. attach(ToothGrowth) stripchart(len[supp=='VC']~dose[supp=='VC'], vertical=TRUE, group.names=c('A','A','A')) stripchart(len[supp=='OJ']~dose[supp=='OJ'], add=TRUE, vertical=TRUE, at=c(1:3)+.1,
2009 Sep 23
1
stripchart with pch %in% 21:25 with bg
Dear all, consider: ### x <- round(rnorm(50)) stripchart(x, pch = 21, col = "black", bg = "pink", method = "jitter") points(0.5, 1, pch = 21, col = "black", bg = "pink", cex = 2) ### Under R 2.9.0 the points produced by stripchart are not colored, while points() gives the desidered output (magnified here by cex). I found a simple workaround
2009 Dec 10
1
Need help creating multiple datasets using loops or vectorization
I am trying to create multiple dataset by group like the following using either a loop or vectorization: vocallGp1<-subset(vocallsub, Group==1) vocallGp2<-subset(vocallsub, Group==2) vocallGp3<-subset(vocallsub, Group==3) vocallGp4<-subset(vocallsub, Group==4) vocallGp5<-subset(vocallsub, Group==5) When I create the loop I get the following error:
2010 Jun 13
1
ERROR need finite 'ylim' values
Hello: I use R with MAC I have a simple data table, numeric and text columns, named dt. The table is imported through read.csv from a csv file. Row numbers are automatically assigned, header is set to TRUE. there are 599 rows and several columns. I am trying to plot using the stripchart command: one numeric variable (say dt$fnatg) vs a text column (say dt$pat). dt$pat contains one of 3 values:
2008 Aug 07
1
stripchart ignores main title option (PR#12202)
Full_Name: James Curran Version: 2.7.1 OS: Windows XP/Vista Submission from: (NULL) (130.216.51.81) stripchart ignores the main title option. For example, in the documentation stripchart(decrease ~ treatment, main = "stripchart(OrchardSprays)", vertical = TRUE, log = "y", data = OrchardSprays) does not yield a plot with
2009 Dec 15
1
Supressing Scientific Notation
I'm trying to display my deciles without scientific notation, but have not found an option that will allow me to do so. According to web searches, the options(scipen=999) should remove scientific notation, but it seems not too. Does this option work with quantcut function? Is there any other option that can be used? I am using verison 2.10.0. library(gtools) library(gdata)
2009 Dec 10
1
option for multi thread or multi core machines
I notice that R basic installation does not take advantage of multi-thread or multi-core processors. Is there an option for multi-threaded processors? I currently run all of my analysis on thinkpad laptop and most processing is very quick, however, when I run stepAIC with interaction terms it can take a couple of hours to complete. I have tried running the same process and a quad core machine 64
2009 Sep 25
0
Wish for stripchart to handle pch %in% 21:25 with bg
Dear R-Devel, consider : ### x <- round(rnorm(50)) stripchart(x, pch = 21, col = "black", bg = "pink", method = "jitter") points(0.5, 1, pch = 21, col = "black", bg = "pink", cex = 2) ### Under R 2.9.0 the internal color of the single point produced by points() was honored but not the color of the points produced by stripchart(). My wish is
2008 May 22
2
Stripchart and Boxplots side-by-side
Dear all - With the following code I get Boxplots and Stripcharts in one Plot: with(InsectSprays, boxplot(count ~ spray, boxwex = 0.3)) with(InsectSprays, stripchart(count ~ spray, col = "red", vertical = TRUE, add = TRUE)) But the dots from the stripchart are plotted over the Boxes. Is there any possibility to have Stripchart and Boxplots side-by-side, i.e. to move boxplots and/or
2003 Mar 30
1
Suggestion: add log argument to stripchart
Hello, I frequently use stripchart to summarise data. Recently I wished to plot a stripchart on a log scale, so modified stripchart locally. The change is small, just adding log="" to the function call and then changing line 42 of src/library/base/R/stripchart.R from: plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE) to: plot(xlim, ylim, type="n",
2010 May 04
1
help overlay scatterplot to effects plot
I have a process where I am creating a effects plot similar to the cowles effect example. I would like to add the point estimates to the effects plot, can someone show me the correct syntax. I have included the "R" effects example, so you can show me the correct syntax. Thanks mod.cowles <- glm(volunteer ~ sex + neuroticism*extraversion, data=Cowles, family=binomial)
2008 Jan 22
1
stripchart
hi, I want to plot a dotplot graph but unfortunately R does not have it any more. It suggest to use either the stripchart or the dotchart and i prefer to play around with the stripchart graph. Sadly, the result is not like i want where I'm actually wants the plots/points were scattered around the x-axis. Plus, from the results shows that and the x-axis gave a very large scale, i.e
2007 Mar 20
0
[R-downunder] las with stripchart
Hi Ross - I believe I was wrong in thinking that passing via the ... list to stripchart() was ever allowed. Here are patches: Add ... to the argument list Add, at the beginning of the function: pars <- list(...) There are two calls to axis(). Modify these to: axis(1, at = at, labels = names(groups), las=pars$las) axis(2, at = at, labels = names(groups), las=pars$las) Also
2006 Nov 08
1
Trying to create multiple stripcharts
Hi everybody, I'm a new member of the list. I'm just starting to use R. I'm looking for information about stripcharts. I didn't find a lot on the web. Outside http://www.maths.lth.se/help/R/.R/library/graphics/html/stripchart.html there isn't much I found. I'm trying to create three vertical stripcharts "glued" to one another. I succeeded to create one
2012 Jun 13
2
Median line with stripchart
Dear all, I would like to ask if it possible to draw a median line in a Stripchart, either using the built-in STRIPCHART function or with another package. I was expecting stripchart() to work more or less like boxplot(), but I couldn't find an easy way to draw a mean or median line, neither I found this option in other packages. Could somebody help? Best regards, Luigi Marongiu, MSc
2004 Feb 29
1
stripchart and axes
Hi, I'd like to remove the axes from a plot produced by stripchart(). However, when trying stripchart(..., axes = FALSE), I get the error meassage Error in stripchart(hypokvot1 ~ treatment, "jitter", pch = 1, vert = TRUE, : unused argument(s) (axes ...) using R 1.8.1 on Windows. Can it be done some other way? If not, maybe this functionality can be added to a future version of
2009 Dec 01
1
Stripchart: way to get different colour for each group
Hi, Is there a way to get different colour based on group when plotting stripchart? mydata <- data.frame(val1 = c(1.1, 3.2, 4.1, 2.5, 6.2, 5.3, 4.5, 2.2, 4.7, 2.7), val2 = c(4.2, 5.3, 3.4, 2.6, 5.3, 6.2, 7.7, 4.8, 3.4, 2.1), group = rep(0:1, 5)) mydata.stack <- stack(mydata, select=-group) stripchart(values ~ ind, data=mydata.stack, vertical=T, at=c(1.25,
2009 Mar 13
1
Overlay plot: boxplot and stripchart
Hi, I have a data.frame of this kind: x obs movie earned rating 1 P1 3.2 xx 2 P1 4.2 xx 3 P1 5.2 xx 4 P1 6.2 xx 5 P2 3.5 xx 6 P2 6.5 xx 7 P2 7.5 xx 8 P2 4.5 xx 9 P2 4.5 xx 10 P3 4.8 x1 11 P4 7.3 x2 12 P4 3.2 x2 13 P4 3.3 x2 I want to overlay the