Displaying 20 results from an estimated 4000 matches similar to: "pch with plot and legend"
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,
2008 Sep 12
2
Again, about boxplot
Thank you for your guys reply for my previous question. But I got one more
question about the boxplot. With the code in the R-help:
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
ylab =
2010 Sep 26
2
Changing x-axis on boxplot
Dear List,
?
I am creating a boxplot with two subsets, very similar to the example by Roger
Bivand at ?boxplot (reproduced below).? I am trying to change the labels on the
x-axis to have one number to cover both subsets.? I can do this in other plots
by using axis=FALSE followed by a separate axis() command.? I have also tried
variations in the names= argument but can't get it to work.?
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list,
How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function?
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
2003 Jan 16
3
Announce: pmg -- menu driven GUI using RGtk
Hello all,
I've put together a quick and dirty menubar + dialogs + spreadsheet
GUI for R using the RGtk package. Performance is not great (OOP is a
real memory hog?), the design may be worse, but the hope is that it
will be useful in an introductory stats course while we await the
arrival of a real gui with ObveRsive and SciViews.
The package can be found at
2003 Jan 16
3
Announce: pmg -- menu driven GUI using RGtk
Hello all,
I've put together a quick and dirty menubar + dialogs + spreadsheet
GUI for R using the RGtk package. Performance is not great (OOP is a
real memory hog?), the design may be worse, but the hope is that it
will be useful in an introductory stats course while we await the
arrival of a real gui with ObveRsive and SciViews.
The package can be found at
2002 Nov 18
1
R on Sharp Zaurus 5500?
For what it is worth, here are my experiences.
When I first got my zaurus I compiled R version 1.4.0 for the it. It took
some time to do, but managed with the skiffclusters at familiar.org.
(libf2c was the hardest part). Compilation should be easier now that there
are onboard compilers but I haven't tried.
I thought this would be neat to have in the classroom. (It did get one
student to buy
2001 Sep 20
1
making packages for windows from UNIX
Hello,
I am trying to make a package for windows using my linux installation
of R. I tried to make the package by first using R CMD build (under
linux) to create a tar.gz package. Then I uncompressed and rearchived
as a zip package. After installing this under windows, the data files
work fine, but the R files aren't seen under windows. Is there some
easy way to create a working zip package
2008 Sep 11
4
About "Plot.new"
Hi, sorry for bothering your guys.
I will trying to make some nice graph using boxplot. when I check the help
file of boxplot, there is a sample code as:
boxplot(len ~ dose, data = ToothGrowth, add = TRUE,
boxwex = 0.25, at = 1:3 + 0.2,
subset = supp == "OJ", col = "orange")
legend(2, 9, c("Ascorbic acid", "Orange juice"),
2011 Aug 15
2
Missing datasets (2.13.1)
Dear all
How does one resolve the variance between the actual availability of data
sets in the default implementation with those mentioned in the
documentation?
I am unable to attach some of the datasets, even though help() is available
for the same datasets. For example, "ToothGrowth" is a dataset that is
widely mentioned in the documentation as being part of the base install.
2019 Feb 25
0
New issue of The R Journal
Dear All,
The latest issue of The R Journal is now available at:
https://journal.r-project.org/archive/2018-2/
Many thanks to all contributors - especially reviewers and authors.
Regards,
John Verzani
CUNY/College of Staten Island
--
John Verzani
Department of Mathematics
College of Staten Island, CUNY
verzani at math.csi.cuny.edu
[[alternative HTML version deleted]]
2019 Feb 25
0
New issue of The R Journal
Dear All,
The latest issue of The R Journal is now available at:
https://journal.r-project.org/archive/2018-2/
Many thanks to all contributors - especially reviewers and authors.
Regards,
John Verzani
CUNY/College of Staten Island
--
John Verzani
Department of Mathematics
College of Staten Island, CUNY
verzani at math.csi.cuny.edu
[[alternative HTML version deleted]]
2006 Nov 17
2
s.e. on interaction plots
Is it possible to add standard error bars to the means on interaction plots?
Thanks
Murray
--
Murray Pung
Statistician, Datapharm Australia Pty Ltd
0404 273 283
[[alternative HTML version deleted]]
2011 Mar 25
2
error in bargraph.CI {sciplot}
Hi to all,
Does anybody knows why this is giving an error?
data(ToothGrowth)
# Two-way design with options
bargraph.CI(dose, len, group = supp, data = ToothGrowth,
xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1,
col = "black", angle = 45, cex.names = 1.25,
density = c(0,20), legend = TRUE)
Error in dn.call[[1]] :
2003 Mar 07
0
New version of pmg -- Poor Man's GUI
For those who are interested,
I've finished release of 0.4 of pmg and have placed it on my website
at http://www.math.csi.cuny.edu/Statistics/R/pmg.
The pmg package provides some GUI elements using the RGtk package and
friends: RGtk, OOP, RGtkExtra, RGtkHTML, RGdkPixbuf, RGtkViewers and
REventLoop from www.omegahat.org and gtkDevice from CRAN. (These
require a form of UNIX such as linux, OS
2009 May 27
0
invisible columns
Dear John,
Actually, I was using gWidgetsRGtk2.
The solution you suggest works fine.
Thank you very much.
Best regards. Olivier
--
____________________________________
Olivier G. NuƱez
Email: onunez en iberstat.es
Tel : +34 663 03 69 09
Web: http://www.iberstat.es
____________________________________
El 27/05/2009, a las 17:28, John Verzani escribiĆ³:
> Dear Olivier,
>
> I
2011 Apr 19
5
Simple Missing cases Function
Dear all
I have written a function to perform a very simple but useful task which I
do regularly. It is designed to show how many values are missing from each
variable in a data.frame. In its current form it works but is slow because I
have used several loops to achieve this simple task.
Can anyone see a more efficient way to get the same results? Or is there
existing function which does
2010 Nov 20
10
An empty grey diagram
Hi folks,
Win7 64bit
R 1.12.0
I run following command on R:-
> ToothGrowth
> attach(ToothGrowth)
> plot(dose,len)
> matrics=lm(len~dose)
> abline(metrics)
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
plot.new has not been called yet
Only a grey diagram is displayed without content
> plot(abline(metrics))
Error in int_abline(a = a, b = b, h = h, v
2002 Feb 08
0
interaction.plot (with misplaced legend) (PR#1305)
Kaiya Liu wrote:
>
> Hi,
>
> I encountered a problem when I did interaction plots using the
> interaction.plot() function. The labels for the trace factor appeared on
> the plot when I did the plots in separate windows, but disappeared/cut off
> when multiple plots were placed in one window. Can anybody help me?
>From the example of ?interaction.plot:
data(ToothGrowth)
2004 May 26
0
aggregate.formula
This relates to a message from Christophe Pallier to r-help some time ago.
Like myself, he finds aggregate very useful, but the interface a little
cumbersome. I've implemented a more compact formula interface, found at
the bottom of this message:
data(ToothGrowth)
# I used to aggregate like this:
aggregate(list(len=ToothGrowth$len),