Displaying 20 results from an estimated 10000 matches similar to: "about demo"
2007 Jul 16
5
formula(CO2)
The formula attribute of the builtin CO2 dataset seems a bit strange:
> formula(CO2)
Plant ~ Type + Treatment + conc + uptake
What is one supposed to do with that? Certainly its not suitable for
input to lm and none of the examples in ?CO2 use the above.
2004 Dec 26
2
Prosodic/phonetic analysis with R
Hi Folks,
I'm interested in looking (in a beginner's amateurish way)
at prosodic/phonetic analysis of recorded speech.
In particular I would want to use R to formulate and
evaluate specific models.
So I would like to ask R people for their recommendations
for a program which would
a) Take as input a sound file in one of the common formats
(".wav", ".au")
b)
2007 May 01
2
Simulation using parts of density function
Hi
My simulation with the followin R code works perfectly:
sim <- replicate(999, sum(exp(rgamma(rpois(1,2000), scale = 0.5, shape = 12))))
But now I do not want to have values in object "sim" exceeding 5'000'000, that means that I am just using the beginning of densitiy function gamma x < 15.4. Is there a possibility to modify my code in an easy way?
Thanks for any help!
2005 May 11
7
bug in modulus operator %% (PR#7852)
The following can't be right,
first rw2010:
> 1 %% 0.001
[1] 0.001
Then rw2001:
> 1 %% 0.001
[1] -2.081668e-17
>
and the last seems about right.
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
2007 Jun 15
3
[OT] 'gv' and fractional points
Hi Folks,
This is off-topic R-wise, but it may be close to
the heart of many R-users, so I think it may be
the best place to ask!
Users of 'gv' (the "front end" to ghostscript) will
be aware of the little window which gives you the
x-y coordinates (in points = 1/72 inch) of the position
of the "cross-hair" mouse cursor. These coordinates
are those of the corresponding
2006 Jun 30
5
median of gamma distribution
Doese anyone know a R function to find the median of a gamma distribution?
[[alternative HTML version deleted]]
2007 Mar 23
3
distribution graph
I am looking for a way to produce a "distribution graph" as in the example:
(http://cecsweb.dartmouth.edu/release1.1/datatools/dgraph.php?year=2003&geotype=STD_HRR&event=A01_DIS&eventtype=UTIL
Anybody who can help?
Christian von Plessen
Department of Pulmonary Medicine
Haukeland university hospital
Bergen
Norway
2005 Oct 22
4
Male and female symbols?
Does anyone have an idea of how one might plot male and female
symbols on a graph using R? Thanks!
..................................................................
George W. Gilchrist Email #1: gwgilc at wm.edu
Department of Biology, Box 8795 Email #2: kitesci at cox.net
College of William & Mary Phone: (757) 221-7751
Williamsburg, VA
2007 May 09
3
Allocating shelf space
Hi Folks,
This is not an R question as such, though it may well have
an R answer. (And, in any case, this community probably
knows more about most things than most others ... indeed,
has probably pondered this very question).
I: Given a "catalogue" of hundreds of books, where each
"entry" has author and title (or equivalent ID), and also
Ia) The dimensions (thickness,
2005 Feb 26
2
R-help Time Series
Hi Folks,
While I was browsing in the R-help archives yesterday,
I got curious about the time series of the sizes of
the monthly archives in MB.
This turned out to have an unexpected feature or two,
which I leave to readers to explore for themselves.
I'm now wondering at what point in time we might expect
to be receiving 1000MB/month (30+MB/day). It's not that
far away, it seems, but
2002 Dec 17
4
Quick tip please!
I have two CSV files (exported from Excel), say file1 and file2.
The have the same number of rows, and each has several columns,
with names on the first line; and some of the columns in file1
are repeated in file2.
Using the "foreign" package, I can read these in separately
to dataframes say d1 and d2 with
> d1<-read.csv("file1")
>
2007 Feb 07
3
Sample Poisson Distribution
Hi,
I'm completely new to R, I am all at sea with the interface and the
confusing help files, so would appreciate some help to do a simple task.
Need to present the mean and variance of 100 different samples of poisson
distributions (N=1000, with fixed lambda) in a file in two columnns, and
then produce histograms.
So far I have figured out:
> N <- 1000
> x <- rpois(N, 3.1) ,
2005 Sep 01
5
Multivariate Skew Normal distribution
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Caio Lucidius
> Naberezny Azevedo
> Sent: 01 September 2005 12:09
> To: Help mailing list - R
> Subject: [R] Multivariate Skew Normal distribution
>
>
> Hi all,
>
> Could anyone tell me if there is any package (or function)
2005 Sep 16
1
column-binary data
I have a number of datasets that are multipunch column-binary format. Does anyone have any advice on how to read this into R? Thanks.
David
2006 Aug 07
2
Backquote in R syntax
Hi Folks,
Can someone satisfy my curiosity (well, at least about
the following query!)
Reading the draft proofs of an article I've been asked
to look through, I find the typesetter has set what
would normally be entered as
source("xyz.R") or source('xyz.R')
as
source(`xyz.R')
i.e. it has come out with an opening backquote, then
xyz.R, then a closing forward
2006 Jul 10
2
Source code for R graphics devices
Hi Folks,
I'm trying to locate the source code for a (typical)
R graphics device, in order to study how it's done.
The underlying reason is that I'm thinking of trying
to create a graphics device for 'pic' (the diagram
drawing component of [g]troff).
I thought the xfig device would be a good place to
look, since the format of an xfig file is similar in
nature (though very
2006 Feb 03
5
pbinom with size argument 0 (PR#8560)
Full_Name: Uffe H?gsbro Thygesen
Version: 2.2.0
OS: linux
Submission from: (NULL) (130.226.135.250)
Hello all.
pbinom(q=0,size=0,prob=0.5)
returns the value NaN. I had expected the result 1. In fact any value for q
seems to give an NaN. Note that
dbinom(x=0,size=0,prob=0.5)
returns the value 1.
Cheers,
Uffe
2005 Sep 29
2
Select varying LS digits in long numbers?
Hi Folks,
I'm trying to find a neat solution to an apparently simple
problem, but one which turns out to be a bit more intricate
and tricky than one might expect.
Suppose I have numbers given to a large number of digits.
For example
1234567021
where (though I don't know this beforehand) only the last
3 digits will be varying (and all 3 will vary).
What I want is, give a vector x of
2005 Sep 15
4
Rd and guillemots
First of all, thanks to those who've set up R to work so smoothly with
Miktex-- even a total Latex bunny like me got it to work instantly, so
that for the first time I'm able to run my Rd files through the Latex
side of RCMD CHECK.
Now the question/buglet. One of my Rd files contains the following:
\code{mlazy( <<objname1>>, <<objname2>>, <<etc>>)}
2004 Nov 16
5
CDs for R?
Hi Folks,
I'm sure I'm speaking for more than a few (though
possibly a minority) here.
There's something of a hidden assumption that R users
can readily download whatever they need from CRAN.
Some of us are on narrow bandwidth dialup connections,
so downloading large quantities of stuff is out of the
question (e.g. at approx. 5min/MB, it would take over
2 days to download a single