similar to: Multiple plots in a single page and stripplot()

Displaying 20 results from an estimated 8000 matches similar to: "Multiple plots in a single page and stripplot()"

2005 Jun 28
3
Help with stripplot
For the following code is there a way to make the jitter all line up horizontally, instead of them being just randomly spread around a value. So for ex if there are multiple values at 63 for genotype wt then all the values should be plotted on the same y value of 63 but spaced apart by a certain factor or noise.. library(lattice); dataFrame <- as.data.frame(t(structure(c( 64,'wt',
2012 Jun 29
3
Data scaled by lattice::stripplot
For the following example, > library(lattice) > df<-data.frame(i=1:100,p=runif(100),id=rep(c('a','b'),100)) > summary(df[,'p']) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.01165 0.33580 0.57520 0.53290 0.74540 0.98610 > stripplot(p~i|id,df) The plot that is output is as expected with the exception that the values are scaled by a factor of 100 in
2003 Jan 15
2
[lattice] lines for stripplot (like dotplot) or jitter for dotplot?
I'd like to use stripplot for some plots because I want to use the jitter parameter. On the other hand, I'd like to use dotplot because I'd like to have the horizontal lines that it includes. dotplot doesn't have a jitter option and I'm not having any success with getting panel.grid(h=-1) with stripplot. Can anyone show me how to make dotplot-like lines on a stripplot? Or
2006 Dec 05
1
Horizontal stripplot
I have a plot similar to the following library(lattice) stripplot(1:15, rep(1:3, each=5)) In order to save space for a presentation, I would like to have horizontal strips instead of vertical. The argument 'horiz' turns the arguments around, but not the plot. The documentation for 'stripplot' ('xyplot'), 'panel.stripplot' and the FAQ do not seem to provide
2009 Sep 26
1
Lattice, stripplot (xyplot), plotting data with median line, numeric x-axis
All, On p.52 of Deepayan Sarkar's Lattice book there is a nice plot of showing residuals with median lines superimposed or various groups: library("lattice") stripplot(sqrt(abs(residuals(lm(yield~variety+year+site)))) ~ site, data = barley, groups = year, jitter.data = TRUE, type = c("p", "a"), fun = median) Suppose we wanted to make a similar plot for a
2011 Apr 23
1
Vertical bwplot and stripplot
Hi, I'd like to change the default orientation of bwplot() and stripplot() so the plots are displayed vertically. Passing horizontal=FALSE into stripplot in the simple code below doesn't seem to be the answer. library(lattice); x <- rnorm(100); y <- as.factor(sapply(1:100, function(k) sample(c("A","B","C"), 1, prob=c(1/2, 1/3, 1/6)))); my.df <-
2004 Sep 24
2
bwplot panels like stripplot
I would like to plot horizontal box-and-whisker plots in lattice where each factor has its own panel and scales are "free." Below is a stripplot version of what I have in mind. Substituting "bwplot" doesn't work. I know it's gotta be simple but I can't find the way . . . x <- c(runif(100, 0, 1), runif(100, 1, 2), runif(100, 2, 3)) y <-
2005 Jun 30
1
FW: plot legend outside the grid
-----Original Message----- From: Ghosh, Sandeep Sent: Thursday, June 30, 2005 5:43 PM To: 'Berton Gunter' Subject: plot legend outside the grid Thanks for the pointers... I managed to get everything to look and feel the way I want except for the legend to plot outside the grid... Thanks for the note on the par, but I'm not able to it to plot outside the plot grid.. dataFrame <-
2006 Dec 16
1
Seeking advice on lattice package in R2.4.0 concerning stripplot
Dear all, I am using the R 2.4.0 environment on Windows XP SP2 machine and trying to use the lattice package version 0.14-9 which you have kindly written to share with the R community. I have a question concerning the stripplot which I'd be very grateful if you can kindly advise me on: I used the dataset called trydata to plot a graph using stripplot (dataset attached), and the scripts
2008 Nov 14
1
Splitting a lattice stripplot across several pages
Hello, I have a stripplot with 200+ labels i.e i have network connections. The y-axis are the server port numbers and am graphing the number of packets in a connection. Roughly stripplot(totpacks~portnum,data=network) Due to the large number of server ports in my dataset, the y-axis labels overlap so I would like to split it across several panels(1 panel per page) with about 25-50 per
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
2003 Dec 08
3
stripchart problem
Hello, I am trying to plot age distribution data for a certain condition that runs in families. Below is a simplified view of the dataset, i.e. in this case there are four families, each line corresponding to one individual with age at diagnosis and sex. > famdata family age sex 1 fam1 2.1 f 2 fam1 2.3 f 3 fam1 1.0 m 4 fam2 7.3 f 5 fam2 4.1 f 6 fam2 1.2 f 7
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
2001 Apr 26
1
R-1.2.3 is released
I've rolled up R-1.2.3.tgz a moment ago. This is mainly adds fixes to the Macintosh port, but it also has a number of bugfixes for all versions. You can get it from the developer site ftp://cvs.r-project.org/pub/CRAN/src/base/R-1.2.3.tgz or http://cvs.r-project.org/pub/CRAN/src/base/R-1.2.3.tgz or wait for it to be mirrored at a CRAN site near you within a day or two. Binaries for
2001 Apr 26
1
R-1.2.3 is released
I've rolled up R-1.2.3.tgz a moment ago. This is mainly adds fixes to the Macintosh port, but it also has a number of bugfixes for all versions. You can get it from the developer site ftp://cvs.r-project.org/pub/CRAN/src/base/R-1.2.3.tgz or http://cvs.r-project.org/pub/CRAN/src/base/R-1.2.3.tgz or wait for it to be mirrored at a CRAN site near you within a day or two. Binaries for
2010 May 27
1
stripplot, lattice
hello, i can't figure out how to set position of panels of my stripplot - i`d like the panels of one level of the factor stage (nr. of panels within each stage, A: 12, B: 12, C: 12, D: 4, each panel representing a site) to be in one column, with A to D from left to right and with descending site.nr at each row. like: A1 B1 C1 D1 A2 B2 .. .. A3 .. .. .. how is this achieved? any help
2005 Sep 28
7
Plot Data Points in boxplots
Hello, I would like to plot my data in a fashion similar to a boxplot, but plot the true data points without a box, just overlay lines of the summary generated by the boxplot. I have less than 10 observations within each group, so I think showing the actual data would be more effective than the box of the boxplot. I have been unable to find a way to do this. Here is example data: >
2008 Oct 10
1
boxplot and stripchart
I want to make illustrations a la boxplot for a data material with several groups. Some of the groups are very small, so a boxplot doesn't make sense. I would like to use stripchart for these groups. On the other hand, some of the groups are very large, so for them stripchart isn't so good. So my question is: Is it possible to combine boxplots and and stripcharts in one figure? (Of course,
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
1999 May 12
0
Problem with stripplot
I have had a problem with stripplot. Documentation does say that method ="stack" is only appropriate for granular data, but I don't think that means it should fall over. > difference [1] 2.0 1.3 2.8 -2.6 -0.4 -0.4 -1.2 -1.4 -1.0 1.2 -2.6 -1.9 > stripplot(difference) > stripplot(difference,method="jitter") > stripplot(difference,method="stack")