Displaying 20 results from an estimated 2000 matches similar to: "data(lh) time serie parameters"
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 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"
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
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},
>
1999 Jul 27
3
Preliminary version of ts package
There is now a preliminary version of a time series package in the R-devel
snapshots, and we would welcome feedback on it. It is based in part on the
packages bats (Martyn Plummer) and tseries (Adrian Trapletti) and in part
on code I had or have written. (Thanks for the contributions, Martyn and
Adrian!) Some of the existing ts code has been changed, for example to plot
multiple time series, so
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:
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}
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
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:
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
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 <-
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:,
2010 May 11
1
odfweave with openOffice 3.2
Dear list,
since I have upgraded openOffice to version 3.2 I have some
trouble to open very simple ODT files generated by odfweave:
the file is apparently corrupted (but recovery is fine).
I have observed this under windows and mac OS 10.4.11 with
R 2.10.0, odfWeave_0.7.11, XML_2.6-0, lattice_0.17-26.
However, I found nothing similar by RSiteSearching so that
I'm suspecting a localization
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.
2010 Nov 22
1
cpgram: access data, confidence bands
Dear R experts, beginners and everyone else,
I'm calculating "cumulative periodogram" using the command "cpgram"
[1] from the MASS library. Here is a short example with the "lh"
(hormone level) dataset:
library(MASS)
plot(lh,type="l",ylab="value",xlab="time", main="Hormone Levels (lh)")
spectrum(lh,
2007 Nov 25
1
spec.pgram() - circularity of kernel
Hi,
I am far from experienced in both R and time series hence the question.
The code for spec.pgram() seems to involve a circularity of the kernel (see
below) yielding new power estimates to all frequencies computed by FFT.
"
if (!is.null(kernel)) {
for (i in 1:ncol(x)) for (j in 1:ncol(x)) pgram[, i,
j] <- kernapply(pgram[, i, j], kernel, circular = TRUE)
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