Displaying 20 results from an estimated 3000 matches similar to: "Problem with stripplot"
1999 Mar 03
1
Directories
I am using r0.63.2 for Windows.
This seems like it should be a FAQ but I couldn't find it in the R FAQ.
If I want to have different workspaces for different projects how do I
arrange for R to restore a workspace from a directory other than the one
where the executable is, automatically on startup? Is it possible, or do I
have to save the workspace in the right directory then manually restore
1999 May 24
1
Files and Windows/NT
I am using rw0.63.2.
I haven't upgraded because we use R for teaching. Students use R at
home, and we don't want to change them over in midsemester.
Also we have some additional functions we use, and we need to test them
before we start to use a new version. Which brings me to my question.
To help with testing we are preparing a test file which will run through
all our examples. In the
2003 Jan 10
1
Creating packages
I am trying to create a package. I have succeeded in running R CMD check
and R CMD build on an Intel box running Redhat. I would now like to
build it on Windows as well. There is no compiled code in the package at
all.
I have downloaded the tools from Brian Ripley's Building R for Windows
page, and installed Active Perl 5.8.0. I have set paths, and Rcmd and the
tools are being found ok. I am
2006 Feb 11
1
Errors using update.packages()
When trying to update packages after the sysadmin updated R on my unix box
I got errors on some packages. For example for chron:
* DONE (chron)
mkdir: cannot create directory `/usr/lib/R/library/00LOCK': Permission
denied
ERROR: failed to lock directory '/usr/lib/R/library' for modifying
I got similar messages for spatial and cluster and warnings for other
packages. Finally I got:
2010 Jun 17
2
Multiple plots in a single page and stripplot()
I want to make a 2x2 plot on a single page, using stripplot() and boxplot().
I tried the following two alternatives with mfrow() and layout(), but none
of them worked.
library(lattice)
par(mfrow=c(2,2))
boxplot(X1 ~ Y, data=tst1, horizontal=T, las=1)
boxplot(X2 ~ Y, data=tst1, horizontal=T, las=1)
stripplot(Y ~ X1, data=tst1)
stripplot(Y ~ X2, data=tst1)
par(mfrow=c(1,1))
nf <-
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
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 <-
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
2001 Apr 02
0
Stripplot - multiple plotting characters
Hello
I'm using R 1.2.1 on Windows.
I can't understand how to set up two different plotting
characters within a stripplot graph. I would use plot(),
but I want to use the 'stacking' option in stripplot as the
overplotting is quite severe:
patch <- factor(rep(c("S", "M", "B"), c(7, 7, 7)))
struc <-
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
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
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 <-
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
1999 Jul 21
1
Getting R graphics into MS Word
I am just downloaded R, and am using it on Windows NT.
I would like to use it to generate graphics, which will be included in
Microsoft word or Powerpoint.
The graphics window allows me to save an image as an enhanced metafile.
However, if I then insert this image into a Word document, only part of
it is visible.
Has anyone on the list experience of trying to do this?
Do I need to change the
1999 Mar 10
1
lty=2
On Wed, Mar 10, 1999 at 03:14:08PM +0000, Simon Bond wrote:
> Dear all,
>
> I'm using R 63.2 on windows NT, when I use
>
> > lines(x,y, lty=2)
>
> it produces a dashed line between the first pair of points and then reverts
> back to a solid line. It produces different colours perfectly ok, but it's
> not really a solution when the plot needs to be printed
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 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',
1999 May 21
0
Bug list summary (automatic post)
=================================================
This is an automated summary of the status of the R-bugs
repository.
Note that this may be neither complete nor perfectly
correct at any given instance: Not all bugs are reported,
and some reported bugs may have been fixed, but the
repository not yet updated.
Some bug fixes are difficult to verify because they pertain
to specific hardware or
2007 Jun 11
1
Recoding
I want to do some recoding of variables: code Age into groups and recode a
factor into a smaller number of levels.
There are a couple of options for recode functions, in the car package and
in memisc, and I think in gmisc.
Does anyone have any opinions on the the easiest, most reliable approach
for these problems?
David Scott
_________________________________________________________________