Displaying 20 results from an estimated 3000 matches similar to: "Wish for stripchart to handle pch %in% 21:25 with bg"
2009 Sep 23
1
stripchart with pch %in% 21:25 with bg
Dear all,
consider:
###
x <- round(rnorm(50))
stripchart(x, pch = 21, col = "black", bg = "pink", method = "jitter")
points(0.5, 1, pch = 21, col = "black", bg = "pink", cex = 2)
###
Under R 2.9.0 the points produced by stripchart are not colored,
while points() gives the desidered output (magnified here by cex).
I found a simple workaround
2006 Jun 01
1
problem when calling help.search() a second time
Dear list,
I would like to make a Sweave document that, for a given package,
automatically inserts the graphical outputs obtained when runing
the example code of high level plot functions. That is, for the
"graphics" base package, something like this:
http://pbil.univ-lyon1.fr/R/fichestd/tdr79.pdf
For this, I need the list of high level plot functions of a
given package. I have
2006 Jun 02
1
error message from help.search()
Dear R-Devel,
consider:
[rufus:~] lobry% R --vanilla --quiet
> sessionInfo()
Version 2.3.0 (2006-04-24)
powerpc-apple-darwin8.6.0
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils" "datasets"
[7] "base"
> help.search(package = "graphics", keyword = "hplot")
>
2009 May 04
1
whish stars.Rd
Dear Rdev,
in R 2.9.0 the doc of function stars() does not state that it
returns invisibly the location of atomic graphs. This is a
valuable information as it may help to set a value for the key.loc
parameter of this function.
My whish is just that the "value" section in stars.Rd should be
documented.
Best,
Pr. Jean R. Lobry
BTW, the URL:,
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl,
I'm using something like:
----------------------- tex.tex ---------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{fancyvrb}
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}}
\newcommand{\myinput}[1] {\begin{scriptsize}
\VerbatimInput[frame=single,label=#1]{#1}
\end{scriptsize}}
\title{The R logo,
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl,
I'm using something like:
----------------------- tex.tex ---------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{fancyvrb}
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}}
\newcommand{\myinput}[1] {\begin{scriptsize}
\VerbatimInput[frame=single,label=#1]{#1}
\end{scriptsize}}
\title{The R logo,
2006 Sep 21
2
Sweave processes \Sexpr in commented LaTeX source
Marc,
>I have a large .Rnw file and was in the process of doing some debugging.
>I had set some R chunks to 'eval=false' in the process. This resulted in
>some R objects not being created that were in turn used in the
>subsequent \Sexpr's.
I have often the same problem, I'm using a construct like :
<<eval=F>>=
x <- rnorm(100)
@
I have
2006 Oct 08
2
Size problem with two dotcharts side by side
Dear all,
I'm trying to produce two dotcharts side-by-side within a Sweave
document. When I'm compiling this example:
\documentclass{article}
\begin{document}
<<fig=T,width=8,height=4>>=
par(mfrow = c(1, 2), cex = 0.7)
for(i in 1:2) dotchart(1:10)
@
<<fig=T,width=8,height=4>>=
par(mfrow = c(1, 2), cex = 0.7)
for(i in 1:2) hist(1:10)
@
2006 Jul 12
2
Are infix binary operators ** and ^ aliased?
Dear R-help,
After making a typo (reminiscent of FORTRAN 77, I guess) I found the
following:
> identical(all.equal(2^(-10:10), 2**(-10:10)), TRUE)
[1] TRUE
I have tried to find the documentation about the ** operator but I was
unsuccesful this way:
> sessionInfo()
Version 2.3.1 (2006-06-01)
powerpc-apple-darwin8.6.0
attached base packages:
[1] "methods" "stats"
2008 Mar 30
2
data(lh) time serie parameters
Dear all,
I'm confused by the time serie parameters in data(lh) :
sueoka:~ lobry$ R --vanilla --quiet
> tsp(lh)
[1] 1 48 1
because documentation says:
QUOTE
A regular time series giving the luteinizing hormone in blood
samples at 10 mins intervals from a human female, 48 samples.
UNQUOTE
So that I would expect the time serie to end at 480 minutes
or 8 hours. Shouldn't we have
2006 Apr 19
2
par(tmag) question
Dear list,
I'm trying to understand the graphical parameters by a systematic exploration
of the par() function (if you are interested by the result it's here
http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in
french but it's pure R code under Sweave).
I have a problem with par(tmag) illustrated by the following code:
2007 Jul 24
1
crimtab related question
Dear all,
the dataset documented under ?crimtab was also used in:
@article{TreloarAE1934,
title = {The adequacy of "{S}tudent's" criterion of
deviations in small sample means},
author = {Treloar, A.E. and Wilder, M.A.},
journal = {The Annals of Mathematical Statistics},
volume = {5},
pages = {324-341},
year = {1934}
}
The following is
2008 Jan 27
4
[OT] vernacular names for circular diagrams
> Dear useRs,
>
> by a circular diagram representation I mean what you will get by entering
> this at your R promt:
>
> pie(1:5)
>
> Nice to have R as a lingua franca :-)
>
> The folowing quote is from page 360 in this very interesting paper:
>
> @article{SpenceI2005,
> title = {No Humble Pie: The Origins and Usage of a Statistical Chart},
>
2007 Dec 11
1
[OT] vernacular names for circular diagrams
Dear useRs,
by a circular diagram representation I mean what you will get by entering
this at your R promt:
pie(1:5)
Nice to have R as a lingua franca :-)
The folowing quote is from page 360 in this very interesting paper:
@article{SpenceI2005,
title = {No Humble Pie: The Origins and Usage of a Statistical Chart},
author = {Spence, I.},
journal = {Journal of Educational and
2009 Nov 20
1
Suggestion for the reproducibility of R home page figure
Dear R-devel,
googling for the single letter R yields R-home page as the firt hit,
which is extremly nice.
By clicking on the figure you get the code of the "Winner of the R
Homepage graphics competition 2004."
By copy/pasting in your R console it doesn't work because it is impossible
to install the mva package.
This is my point.
As documented in ONEWS the reason is simple:
2007 Feb 01
2
prop.test() references
Dear R-help,
I'm using prop.test() to compute a confidence interval for a proportion
under R version 2.4.1, as in:
prop.test(x = 340, n = 400)$conf
[1] 0.8103309 0.8827749
I have two questions:
1) from the source code my understanding is that the confidence
interval is computed according to Wilson, E.B. (1927) Probable
inference, the law of succession, and statistical inference.
J. Am.
2008 Feb 25
3
How to include the documentation of a function in a Sweave document?
Dear R-help,
I would like to include the documentation of an R function in an
*.rnw document processed by Sweave. Because I'm sharing my *.rnw
files with colleagues under Linux and Windows (I'm on Mac OS X),
I would like a pure R solution.
The naive approach doesn't work, because Sweaving this *.rnw
file:
-------- tmp.rnw --------
\documentclass{article}
\begin{document}
2003 Nov 15
5
correlation and causality examples
Dear All,
I'am looking for examples showing that correlation does not imply
causality, the targeted audience consists of undergraduate students
(their first year at the university but in the BioMathStat track).
All practicals are under R.
I was able to extract this from R datasets:
### begin
data(sunspots)
data(lynx)
spots <- window(sunspots, freq = 1, start = 1880, end = 1900)
lnx <-
2008 Aug 07
1
stripchart ignores main title option (PR#12202)
Full_Name: James Curran
Version: 2.7.1
OS: Windows XP/Vista
Submission from: (NULL) (130.216.51.81)
stripchart ignores the main title option. For example, in the documentation
stripchart(decrease ~ treatment,
main = "stripchart(OrchardSprays)",
vertical = TRUE, log = "y", data = OrchardSprays)
does not yield a plot with
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,