Displaying 20 results from an estimated 1000 matches similar to: "help!!!"
2024 Sep 14
1
how to specify point symbols in the key on a lattice dotplot
On Fri, 13 Sept 2024 at 23:36, Christopher W. Ryan
<cwr at agencystatistical.com> wrote:
>
> For me, Bert's suggestion produces a plot with two black symbols above
> the plotting region, a circle and a triangle, both filled, and no text.
>
> This, in which I specify several features of the symbols in the key,
>
> dd %>% dotplot( segment ~ transit_time, groups =
2004 Feb 12
4
R-help
Hi,
I have a problem.
I would like to put my SAS-code into R.
Could I do that, if yes, how?
Best regards
Jim Gustafsson
_______________________________________________________________________________
Codan Insurance, Gammel Kongevej 60, DK-1790 Copenhagen V
telephone: +45 33 55 55 55, fax: +45 33 55 21 22
e-mail: jgu@codan.dk
http://www.codan.dk
[[alternative HTML version deleted]]
2024 Sep 13
1
how to specify point symbols in the key on a lattice dotplot
For me, Bert's suggestion produces a plot with two black symbols above
the plotting region, a circle and a triangle, both filled, and no text.
This, in which I specify several features of the symbols in the key,
dd %>% dotplot( segment ~ transit_time, groups = impact, data = .,
pch = 16:17,
col = 1:2,
cex = 1.8,
scales =
2024 Sep 13
2
how to specify point symbols in the key on a lattice dotplot
I am making a dotplot with lattice, as follows:
dd %>% dotplot( segment ~ transit_time, groups = impact, data = .,
as.table = TRUE,
pch = 16:17,
cex = 1.8,
scales = list(cex = 1.4),
auto.key = TRUE)
impact is a factor with two levels.
They key shows 2 open circles, one of each color of my two
plotting symbols, one
2012 Feb 28
1
Dotplot edition
Hi everyone,
Im very new with R and I would like to change the size text (names) in the ylab in a dotplot. I have checked many webpages and R sites, but I have not found any help.
This is the same structure of the plot in R graph Gallery: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150
thanks in thanks is advance
José
Mi code is this:
### setup the key
k <- simpleKey( c(
2005 Jun 01
1
font size in the trellis plot
>library(lattice)
>dotplot(variety ~ yield | site, data = barley, groups = year,
key = simpleKey(levels(barley$year), space = "right"),
xlab = "Barley Yield (bushels/acre) ",
aspect=0.5, layout = c(1,6), ylab=NULL)
and i get the plot whose font overlaps .what parematers should i change.(i do not want to change the size of the plot).
2005 Feb 16
4
(no subject)
R-people
I wonder if one could change a list of table with number of the form
1,200.44 , to 1200.44
Regards
JG
------------------------------------------------------------------------------
This e-mail and any attachment may be confidential and may also be privileged.
If you are not the intended recipient, please notify us immediately and then
delete this e-mail and any attachment without
2007 Jan 30
1
change plotting symbol for groups in trellis graph
Hi,
how can I change the plotting symbol for the groups in a trellis panel dotplot.
My graph is similar to:
library(trellis)
dotplot(variety ~ yield | site, data = barley, groups = year,
key = simpleKey(levels(barley$year), space = "right"),
xlab = "Barley Yield (bushels/acre) ",
aspect=0.5, layout = c(1,6), ylab=NULL)
I'd like to
2004 Aug 25
6
R-help
Dear R users,
I have just start working with R and would need some help.
If you have a matrix as:
[,1] [,2] [,3]
[1,] 11 24 11
[2,] 16 29 16
[3,] 2 15 2
and you want the position where you can find the maximum value, in this
case row 2 and column 2.
How could you get the position?
The values in the matrix is likelihood function values, and each row and
2011 Jul 04
4
How to build a matrix of number of appearance?
I have a matrix of claims at year1 that I get simply by
claims<-read.csv(file="Claims.csv")
qq1<-claims[claims$Year=="Y1",]
I have MemberID and ProviderID for every claim in qq1 both are integers
An example for the type of questions that I want to answer is
how many times ProviderID number 345 appears together with MemberID 23 in
the table qq1
In order to answer
2011 Jul 05
1
How to translate string to variable inside a command in an easy way in R
I want to write a function that get 2 strings y and z and does the following
R command.
temp<-qq1[qq1$z==y,]
for example if it get y="AMI" and z="PrimaryConditionGroup"
It should do the following
temp<-qq1[qq1$PrimaryConditionGroup=="AMI",]
I could do it by the following function that is ugly and I wonder if there
is an easier way to do it espacielly when temp
2012 May 09
1
QQplots format
Dear R help,
I tried to plot two qq plots in the same window using the code below.? Somehow it is plotting only one at a time.?? I borrowed the print function from xyplot. ?
pdf("QQplotCorrUncorr.pdf")
qq1<-qqPlot(residuals(fm), main="QQ plot for Correlated Model")
qq2 <-qqPlot(residuals(fma), main="QQ plot for Uncorrelated Model")
print(qq1, pos = c(0.0,
2012 Mar 19
1
Dotplot: how to change size in the y lab ?
Hi everyone,
I'm trying to reduce the font size in the Y exe in this plot:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150
Anyone knows how to do it?
I have checked the argument lab.cex and cex, but any of these works!
if you want to check us this code:
### read the data
d <- read.csv( file( "http://addictedtor.free.fr/graphiques/data/150/data.txt" ) )
2008 Apr 18
1
Vertical bars with barchart
Hallo,
What is the right way to get vertical bars in
a barchart?
For instance
barchart(VADeaths,
key=simpleKey(colnames(VADeaths),points=F,rectangles=T))
gives what I need,
only I would like the bars to be vertical.
But
barchart(VADeaths,horizontal=F,
key=simpleKey(colnames(VADeaths),points=F,rectangles=T))
does not give what I need,
and I do not understand how to change the
2008 Dec 02
1
legend idea for latticeExtra
Dear list,
I've written a small utility function to add arbitrary legend(s) to a
lattice graph (or a combination of them), much like the legend
function of base graphics. I though perhaps it could be useful to
someone else, or improved by suggestions. I understand this goes
against the lattice paradigm somewhat, in that you short-cut the link
between group variables and the
2016 Nov 10
6
got icecast2 working, but hear nothing
Hi.
Finally I got icecast and darkice to work.
I can connect, but now I've got a problem.
I can't hear anything.
I can hear sound from the computer, but not from Another computer when
connecting.
I've got an usb mixer.
behringer xenyx 302.
I'm using alsa.
What can this be?
/Kristoffer
--
Kristoffer Gustafsson
Sal?ngsgatan 7a
tel:033-12 60 93
mobil: 0730-500934
2008 Mar 07
1
using xyplot with groups and panel.linejoin
Dear All,
I am using xyplot() with many groups like this:
statselect <- levels(dat$stat)
xyplot(relmse~T|lambda, groups=stat, data=dat,
panel = panel.superpose,
key=simpleKey(statselect, lines=T))
However, I want lines not scatterplots and if I set
panel.groups=panel.linejoin that connects the lines according to the
relmse and not according the consecutive values of T. Is there
2008 Aug 05
1
xyplot key issue - line colors
I have a problem regarding the colors assigned to the lines in the key
to an xy plot. I specify the plot like this:
xyplot(numbers~sqrt(breaks)|moltype+disttype, groups = type, data = alldata,
layout = c(3,2), type = "l" , lwd = 2, col = c("gray", "skyblue"),
key = simpleKey(levels(alldata$type), points = FALSE, lines = TRUE,
columns = 2, lwd = 2,
2016 Nov 10
1
got icecast2 working, but hear nothing
plug in your 302 USB
enter: lsusb
you should see: Bus 001 Device 005: ID 08bb:2902 Texas Instruments Japan PCM2902 Audio Codec
look at syslog:
...
usb 1-1.2: new full-speed USB device number 5 using dwc_otg
usb 1-1.2: New USB device found, idVendor=08bb, idProduct=2902
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.2: Product: USB Audio CODEC
usb 1-1.2:
2008 Dec 21
1
Trouble with 'smooth' using xyplot in lattice
Hello,
I am fairly new to R am stumped on how to get the xyplot function in the lattice package to produce a scatter plot of count data versus time, such that the count data represent 8 different groups, and the plot produced has 8 unique "smoothed" lines for the different groups. This is the closest I can get to the desired plot:
xyplot(masmean ~ mas, data = Pre96CR.masmeans, groups