Displaying 20 results from an estimated 5000 matches similar to: "Question about dotplot"
1999 Jan 17
1
Other core dumps, with apologies
Norm Josephy <NJOSEPHY@bentley.edu> writes:
> Sir:
>
> I hope you do not mind me sending e-mail directly to you
> rather than to the developer's list. I wish to avoid
> unnecessary traffic on the list when the issue I raise may
> have already been fixed.
As a matter of principle: I *do* mind. One of the purposes of having a
list is that not everyone has the time
1999 Jan 17
1
Other core dumps, with apologies
Norm Josephy <NJOSEPHY@bentley.edu> writes:
> Sir:
>
> I hope you do not mind me sending e-mail directly to you
> rather than to the developer's list. I wish to avoid
> unnecessary traffic on the list when the issue I raise may
> have already been fixed.
As a matter of principle: I *do* mind. One of the purposes of having a
list is that not everyone has the time
1999 Jan 16
1
Core dump on sapply misuse
Developers:
I hope this is the appropriate place to post this request.
I am getting a core dump in an application of sapply. A
simplified example is the following. Because simplify=TRUE
is the default for sapply and tapply, the following works
x <- 1:5; sapply(x,list)
but the following dumps core with an access violation
x <- 1:5; myf <- function(x) list(x,x); sapply(x,myf)
2000 Jun 25
1
dotplot() colors reversed (PR#580)
dotplot() colors are plotted (probably unintentionally?) in reverse order.
x <- c(rep(1,3),rep(2,3),rep(3,3))
dotplot(x,groups=factor(x),col=x) # 1 plotted with col=3, etc.
Thank you very much.
Rashid Nassar
--please do not edit the information below--
Version:
platform = i586-pc-linux-gnu
arch = i586
os = linux-gnu
system = i586, linux-gnu
status =
major = 1
minor = 1.0
2002 Jan 29
3
lattice dotplot and graphic devices on Windows
I am using R1.4.0 on WindowsNT (the precompiled version from Brian Ripley's
website) and the lattice package (version details are at the end of this
message).
After producing a lattice dotplot, I want to insert the graph into a
MicrosoftWord document. With "ordinary" R-graphics, I have done this
successfully by copying the graph as a metafile to the clipboard and pasting
this into my
2008 Jun 16
2
Lattice: Superpose bwplot and dotplot [newbie question]
Hello everyone
I have dataset containing a monetary value (ABS) and two factors (Fct,
Group). I am able to create useful using:
bwplot(ABS~Group|Fct)
and
dotplot(ABS~Group|Fct)
Question: What do I have to do to overlay the dotplot with the bwplot (same
data set)?
I've found a couple of posts that hinted at the possibility of doing that,
and checked the panel.superpose() help, but the info
2006 Sep 16
2
dotplot/Dotplot: connecting points within factor level across time
For each level of the factor in dotplot, I have time points I'd like to
connect with a line. In the example below, 'x' represents a starting
time and 'd' a duration, and I wish to connect 'x' to 'x+d'. Ordinarily
I would use Dotplot from hmisc for this, but I have not been able to
find a time class that Dotplot will allow. I can get lattice dotplot to
put
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
2001 Jan 18
0
dotplot: character size of labels (PR#816)
There seems to be a bug in "dotplot" concerning the "cex" parameter. Setting
cex has no effect on the character size of the labels of the points.
This problem was posted to r-help today (Thu, 18 Jan 2001); the solution
given by Brian Ripley (and Uwe Ligges) seems to work for me.
Heinrich Rinner.
> version
_
platform i386-pc-mingw32
arch x86
2023 Nov 07
1
make a lattice dotplot with symbol size proportional to a variable in the plotted dataframe
Handling NSE in these kinds of examples is a pain in lattice. I would
suggest using with() and dropping the data argument for simple examples,
e.g.,
dd |> mutate(new.proportion = las/total, new.bubble = total/100) |>
with(dotplot(agency ~ new.proportion, pch = 16, cex = new.bubble))
But if you care about multi-panel plots, you also need to be careful about
making sure that the
2023 Nov 07
1
make a lattice dotplot with symbol size proportional to a variable in the plotted dataframe
Hello. My question is in the subject line. Using R 4.1.3 on Windows 10.
Commented MWE below. Thanks.
--Chris Ryan
library(dplyr)
library(lattice)
## fabricate a dataframe
dd <- data.frame(agency = sample(LETTERS, size = 5),
total = sample(100:200, size = 5),
las = sample(20:40, size = 5))
dd <- dd %>% mutate(proportion = las/total, bubble = total/100)
## attempt to make a dotplot
2010 Feb 18
3
Can R make an usual dotplot
Dear R experts,
Can R make an usual dotplot just like Minitab and other softwares?
I have the following data, and can use dotchart to graph a dotplot:
y=c(2.873438152e-01, -8.732895642e-01,
4.579001889e-01, 1.047395204e+00,
8.491182299e-02 , -1.938007105e+00,
-1.273708343e+00, 9.848010588e-05,
7.238490734e-01, -1.490552717e+00)
dotchart(y, xlab="10 observations from
2009 Mar 03
1
dotplot() lattice charts return blank image (jpeg, bmp, png) file
Thanks in advance for the help. Trying to run a basic dotplot in lattice from R command line. When the file is created, in Fedora, it is blank image (jpeg, bmp, png). Image produces correctly in Windows environment. Libraries lattice and latticeExtra are loaded. Code:
-----------------
jpeg(file = "/tmp/img/temp31.jpg", width = 768, height=768)
xy <- dotplot(1:10)
print(xy)
2008 Feb 24
0
Color of CI bars in Hmisc::Dotplot()
Dear R-helpers,
(1) I can't figure out how to tell Dotplot that I want the colors of
the CI bars to be the same as the colors of the dots.
For example:
t2a.ci3 <- data.frame(est = c(7, 20, 75), lower = c(-9, 0.5, 42),
upper = c(22, 39, 109))
mypal <- c('skyblue3', 'mistyrose3')
condNames <- c('noise', 'horn', 'marimba')
Dotplot(1:2 ~
2001 Jan 18
2
dotplot: character size of labels
Dear R users,
using dotplot (R1.2.0, WinNT4.0), I am trying to change the character size
of the labels of the points:
> # example
> data(VADeaths)
> dotplot(VADeaths, main = "Death Rates in Virginia - 1940")
> # I'd like to have smaller character size of the labels (for age and
population groups)
> ?dotplot
> # for argument "cex", this says:
2009 Apr 18
1
dotplot in a loop
Hi all,
I'm a newbie R developer, am trying to dotplot a few graphs using a for
loop.
The following code works fine but once I wanna plot inside a loop, nothing
happens.
> for(i in 1:1){dotplot(y~x)}
> y <- c(1,2,3)
> x <- c('a','b','c')
> dotplot(y~x)
> for (i in 1:3) {dotplot(y~x)} (y and x depends on I in actual case)
Nothing happens.
I
2007 Jul 26
1
How to auto-scale cex of y-axis labels in lattice dotplot?
When I create a dotplot in lattice, I frequently observe overplotting
of the labels along the vertical axis. On my screen, this illustrates
overplotting of the letters:
windows()
reps=6
dat=data.frame(let=rep(letters,each=reps), grp=rep(1:reps, 26),
y=runif(26*reps))
dotplot(let~y|grp, dat)
Is there a way to automatically scale the labels so that they are not
over-plotted?
I currently do
2011 Feb 09
1
add mean and sd to dotplot in each panel using lattice
Hi,
I have a data frame like this:
ScoreDoseSex
2.81Dose1M
1.81Dose1M
1.22Dose1M
0.81Dose1M
0.49Dose1M
0.22Dose1M
0.00Dose1M
-0.19Dose1M
-0.17Dose1F
-0.32Dose1F
-0.46Dose1F
-0.58Dose1F
-0.70Dose1F
-0.81Dose1F
-0.91Dose1F
-1.00Dose1F
-1.77Dose2M
-1.85Dose2M
-1.93Dose2M
-2.00Dose2M
-2.07Dose2M
-2.14Dose2M
-2.20Dose2M
-2.26Dose2M
-2.32Dose2F
-2.38Dose2F
-2.17Dose2F
-2.49Dose2F
-2.54Dose2F
2009 Feb 19
2
dotplot points color
Dear list,
is it possible to change the background color of dotplot's points? I tried
in many ways but unsuccessfully
Thanks in advance
Gianandrea
require(lattice)
dotplot(variety ~ yield | site, data = barley, groups = year, pch=21)
dotplot(variety ~ yield | site, data = barley, groups = year, pch=21,
bg=c("2","3")) ??!!!
--
View this message in context:
2011 Apr 07
1
dotplot as a background for multiple barchart plots (with Lattice)
Hi R users,
I'm kind stuck in my R experience...
I want to have a multiple barchart with n windows, but with the same
background for each window, and I want that background to be a recorded
dotplot.
First, is it possible ?
If so, I guess I have to call a record plot in the panel function but how ?
As there is no panel.plot and I can't use the recorded plot as an
argument for the