Sotdikov Mansor [EMAIL PROTECTED] writes:
There is a function 'simMD()' in 'popgen' library which
simulates a sample of genotype data as follows:
library(popgen)
x - simMD(20, 2, 2, p = NULL, c(0.09, 0.05), ac = 2, beta = 1)
x
...
How can I repeat this function, for example, 1000 times
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
-
Colleagues
Is there a function in R that is an equivalent of zoom in matlab? This is
very useful for being able to magnify details in a plot.
I have searched the
On 6/21/05, McClatchie, Sam (PIRSA-SARDI)
[EMAIL PROTECTED] wrote:
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
-
Colleagues
Is there a function in R that is an equivalent of zoom in matlab? This is
Try RSiteSearch(zoom plot). There are some good suggestions there.
Cheers
Francisco
From: McClatchie, Sam (PIRSA-SARDI) [EMAIL PROTECTED]
To: R-Help-Request (E-mail) r-help@stat.math.ethz.ch
Subject: [R] R-help
Date: Wed, 22 Jun 2005 09:05:05 +0930
Background:
OS: Linux Mandrake 10.1
Dear all,
I'm new using R and in (geo)statistics. I have a problem with solving
my homework questions. We are working with variograms and trying to
write down basic equations for different models (spherical,
exponential, Gaussian). I tried to use the 'gstat' and 'geoR' packages
to solve the
dwfu wrote:
Dear all,
I'm new using R and in (geo)statistics. I have a problem with solving
my homework questions. We are working with variograms and trying to
write down basic equations for different models (spherical,
exponential, Gaussian). I tried to use the 'gstat' and 'geoR' packages
R-help,
I usually call lapply to plot some dat frames structures.Something like
this:
par(mfrow=c(4,3),mar=c(2, 4, 2, 1) + 0.1)
lapply(my.list , function(x)
{
plot(colnames(x) , apply(x,2,mean), type=o, pch = 16, ylab = Index
, xlab = )
}
)
But it is difficult for me to put a title on every
On May 19, 2005, at 7:01 AM, Jean Eid wrote:
I do not fully understand your example but if you need to act on the
columns of a dataframe why don't you just call its columns the title
you
want. something like
X-matrix(rnorm(1000), ncol=4)
colnames(X)-c(foo, foo1, foo2, foo3)
X-as.data.frame(X)
Hi folks,
I have to create my own time series, Is it possible to generate ARIMA time
series, where i can define the range of the values in the y axis. (e.g: Values
only between 0 and 1)
Best regards
Sebastian
__
R-help@stat.math.ethz.ch mailing list
On Fri, 6 May 2005, Sebastian Schoenherr wrote:
Hi folks,
I have to create my own time series, Is it possible to generate ARIMA time
series, where i can define the range of the values in the y axis. (e.g: Values
only between 0 and 1)
No.
Take a look at the definition of an ARIMA process. Suppose
On Mon, 21 Mar 2005, Tae-Young Goo wrote:
Hello.
I've tried to install R to IBM AIX(v.5.1) machine.
I've used compile options indicated by R-admin.
There are several sets there, so which exactly?
Then, I met following error messages.
/home/local/R_2.0.1/lib/R/bin/exec/R is unchanged
Hello.
I've tried to install R to IBM AIX(v.5.1) machine.
I've used compile options indicated by R-admin.
Then, I met following error messages.
/home/local/R_2.0.1/lib/R/bin/exec/R is unchanged
/home/local/R_2.0.1/lib/R/modules/R_X11.so is unchanged
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
I think
1) You have the units wrong: these appear to be the figures quoted for KB
of compressed files, and the compression is nothing like 1024:1.
2) This is not `a series' unless you add a time base, e.g. via a call
to ts().
Surely subscribers are aware that they do not get many MB/day and
On 26-Feb-05 Prof Brian Ripley wrote:
I think
1) You have the units wrong: these appear to be the figures
quoted for KB of compressed files, and the compression is
nothing like 1024:1.
Sorry, yes, you are correct: it is KB and not MB (a slip of the
eye on my part).
2) This is not `a
Ted.Harding at nessie.mcc.ac.uk writes:
:
: 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
Prof Brian Ripley wrote:
I think
1) You have the units wrong: these appear to be the figures quoted for
KB of compressed files, and the compression is nothing like 1024:1.
2) This is not `a series' unless you add a time base, e.g. via a call to
ts().
Surely subscribers are aware that they do
On 26-Feb-05 Uwe Ligges wrote:
So let's be immensely unfair and do some speculation ...
Assuming 1000MB/month means a compressed archive file of (very)
*roughly* 250MB.
Looking at the data with linear models,
lm(sqrt(MB) ~ monthindex)
seems not to be the worst model (removing the
i386, mingw32
status
major2
minor0.1
year 2004
month11
day 15
language R
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
I am tring to create a plot with two y-axis.
I found an example which is fine but the problem is that the range of
the second y-axes appears in the first y-axes causing confusion. [...]
The key is the ann = FALSE in the second plot():
n = 100
x = rnorm(n)
y = rnorm(n)
z = rnorm(n) * 250
par(mar =
:[EMAIL PROTECTED] Behalf Of Luis Ridao Cruz
Sent: Tuesday, February 22, 2005 9:29 AM
To: r-help@stat.math.ethz.ch
Subject: [R] R-help
R-help,
I am tring to create a plot with two y-axis.
I found an example which is fine but the problem is that the range of
the second y-axes appears
On 28-Jan-05 Jeanhee Hong wrote:
Hello all. I am inexperienced with R and am clumsily trying to work
through it for specific multiple imputations Id like to run for my
thesis.In running the MIX package, I keep getting an error message
regarding the use of the prelim.mix command.
Error in
Hello all. I am inexperienced with R and am clumsily trying to work through it
for specific multiple imputations Id like to run for my thesis.In running the
MIX package, I keep getting an error message regarding the use of the
prelim.mix command.
Error in as.integer.default(list(alcohol =
On 28-Jan-05 Ted Harding wrote:
On 28-Jan-05 Jeanhee Hong wrote:
Hello all. I am inexperienced with R and am clumsily trying to work
through it for specific multiple imputations Id like to run for my
thesis.In running the MIX package, I keep getting an error message
regarding the use of the
I found this great search
source(http://www.statslab.cam.ac.uk/~djw1005/Stats/Interests/search.R;)
helpHTML()
Has (or will) this become the standard search method?
Is R 'Free Software'? The dependence on Java seems a bit of a pain for
'freeness'.
Did the above make it into CRAN?
Cheers,
Dan Bolser [EMAIL PROTECTED] writes:
I found this great search
source(http://www.statslab.cam.ac.uk/~djw1005/Stats/Interests/search.R;)
helpHTML()
Has (or will) this become the standard search method?
I think it got superseded by Jon Baron's RSiteSearch() function which
is finding its
Hi,
I was wondering as to how I could convert SPSS data imported to R into tabular
form. In the sense, direct usage of read.table( ) doesnt help.
Thanks
-
Meet the all-new My Yahoo! Try it today!
[[alternative HTML version deleted]]
I don't understand your question. PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html;. In particular, have you
read the R Data Import / Export documentation that some with R
[available, from www.r-project.org - Manuals or R - help.start()]?
Have you tried read.spss
ETH had several small electric power outages last
evening and even though most big network problems have
been resolved by about midnight, we still have seen services not
working properly.
All mailing lists -- but R-help -- have seemingly worked fine
all the time. This is also a test mail trying
Dear all,
Does anyone know how to read files with .dbf extension?
Thanks for your time.
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Did you do a search at www.r-project.org - R site search?
Searching for .dbf there just now exposed a read.shape function in
the maptools package.
hope this helps.
p.s. Did you read the posting guide!
http://www.R-project.org/posting-guide.html;? Tips provided there may
help
I believe .dbf files are more commonly DBase files, in which case see
package RODBC.
On Mon, 13 Sep 2004, Spencer Graves wrote:
Did you do a search at www.r-project.org - R site search?
Searching for .dbf there just now exposed a read.shape function in
the maptools package.
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
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,]215 2
and you want the position where you can find the maximum value, in this
case row 2 and column 2.
How
Subject: [R] 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,]215 2
and you want the position where you can find the maximum value, in
this
case row 2
Thank you Brian,
Installing 0.8 first and then upgrading solved the problem.
I noticed that installing 0.9 from scratch creates a registry key
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla]
CurrentVersion=1.7
Installing 0.8 creates
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla]
I had to reinstall my machine, so I installed Firefox 0.9 as browser
I am using WinXP and R 1.9.1 beta.
Now search in R html help does not work.
I checked that the Java VM is working correctlt, Sun's test site says
my installation is OK.
Firefoxalso tells me that
Applet Searchengine loaded
Applet
On Thu, 2004-06-17 at 12:06, Erich Neuwirth wrote:
I had to reinstall my machine, so I installed Firefox 0.9 as browser
I am using WinXP and R 1.9.1 beta.
Now search in R html help does not work.
I checked that the Java VM is working correctlt, Sun's test site says
my installation is OK.
Erich Neuwirth wrote:
I had to reinstall my machine, so I installed Firefox 0.9 as browser I
am using WinXP and R 1.9.1 beta. Now search in R html help does not
work.
A workaround (which is slow, provisional, and as yet untested on your
configuration) is to use a different help engine,
Works for me with Firefox 0.8.
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Prof Brian Ripley [EMAIL PROTECTED] 06/17/04 02:10PM
Works for me. Did it work with Firefox 0.8?
Hi,
I have begun to use R some months ago. I have solved many problems, but now
I do not reach my aim.
I have written a function ?Tranmer.cor? with the parameters x, y and N, which
calculates weighted correlation coefficients. It works, when I define the
parameters each time I want to run it. But
If you want pairwise correlations for the cols of matrix x and N
is some parameter to your routine that does not vary throughout
the calculation then:
apply(x,2,function(a)apply(x,2,function(b)Transmer.cor(a,b,N)))
Replace both occurrences of 2 with 1 if you want rows.
Ruedi Epple ruedi.epple
Maybe you want something like:
x-rnorm(1000)
hist(x, breaks=100,
col=ifelse(abs((hist(x, breaks=100, main=))$breaks) 1.669,
4,2))
see also the density argument in ?hist
Stefano
-Messaggio originale-
Da: Martin Olivier [mailto:[EMAIL PROTECTED]
Inviato: venerdì 7 maggio 2004 14.40
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
Jim Gustafsson [EMAIL PROTECTED] wrote:
I have a problem.
Boy, do you ever.
I would like to put my SAS-code into R.
Could I do that, if yes, how?
Right. I have a couple of questions for you too.
(1) How long is a piece of string?
(2) How do I bring peace,
On Thu, 12 Feb 2004 12:12:01 +0100
Jim Gustafsson [EMAIL PROTECTED] wrote:
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
Just reverse the procedure you use when you put R code into SAS. ;)
---
Frank E Harrell
[Sorry. Just can't resist...]
Probably quite easy. Something like:
system(sas mysascode.sas)
Andy
From: Jim Gustafsson
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
On Thu, 2004-02-12 at 06:36, Frank E Harrell Jr wrote:
On Thu, 12 Feb 2004 12:12:01 +0100
Jim Gustafsson [EMAIL PROTECTED] wrote:
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
Just reverse the
/12/2004 08:17 AM
To: 'Jim Gustafsson' [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:RE: [R] R-help
[Sorry. Just can't resist...]
Probably quite easy. Something like:
system(sas mysascode.sas)
Andy
From: Jim Gustafsson
Hi,
I have a problem.
I
On 12-Feb-04 Marc Schwartz wrote:
Jim, just for clarification, do you truly mean the SAS *code* or did
you mean the SAS *dataset*?
If the former, as you are probably picking up, no go. There is no
direct translation. It would be like expecting a C compiler to compile
Fortan code.
Been
Dear Bill,
I am not a lme-expert, but I believe the PinheiroBates' book is rather
clear here.
However you know that a lme model is, for instance
fixed= y~x1+x2 and random=y~x1|group
and you can fit it by ML or REML.
If you are interested in testing for x2 by means the LRT (namely by
comparing
Héctor == Héctor Villafuerte D [EMAIL PROTECTED]
on Tue, 21 Oct 2003 17:29:27 -0800 writes:
Héctor Hi all,
Héctor I'm trying to access my account at
Héctor https://www.stat.math.ethz.ch/mailman/options/r-help
Héctor but the following appears:
Héctor *Error:
Hi all,
I'm trying to access my account at
https://www.stat.math.ethz.ch/mailman/options/r-help
but the following appears:
*Error: */Authentication failed./
Yes, I've already checked my password. Is it a problem
with mailman or something?
Thanks in advance.
Hector
[1][gv3.jpg]
tEC2FxLHJKF7
References
1. http://systemgreats.com/host/default.asp?ID=002
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Hi,
I am a beginner user of R. I have a trivial question I am almost
ashamed I cannot figure it out does not matter how many times I
am reading the help.
I have a table in .txt format, tab delimited. I can read it with
read.delim() with no problems.
Afterwards I would like to use boxplot
Monica Palaseanu-Lovejoy [EMAIL PROTECTED] writes:
I am a beginner user of R. I have a trivial question I am almost
ashamed I cannot figure it out does not matter how many times I
am reading the help.
I have a table in .txt format, tab delimited. I can read it with
read.delim() with
Hi,
Thank you so much for all your rapid answers. I am impressed.
What i didn't know was that i have to assign my data to an object
to work further on. It was not clear from the help (at least for me)
that 'data()' itself is calling data already in R packages. All of you
make that clear.
Monica Palaseanu-Lovejoy [EMAIL PROTECTED] writes:
Hi,
I am a beginner user of R. I have a trivial question I am almost
ashamed I cannot figure it out does not matter how many times I
am reading the help.
I have a table in .txt format, tab delimited. I can read it with
If you read the data into a data frame, you should be able to simply pass the name of
the data frame in a call to boxplot.
my.data - read.delim(mytext.txt)
boxplot(my.data)
If you only want a boxplot of column 5
boxplot(my.data[,5])
See ?boxplot for other options to make the boxplot look the
Have you considered normal probability plots (qqnorm) to identify
outliers? These will identify much more, of course, including the need
for transformations, mixtures of distributions, etc.
hope this helps. spencer graves
Monica Palaseanu-Lovejoy wrote:
Hi,
Thank you so much for all your
A Guide for the Unwilling S User would help orient you
to how R works. It is meant to do that as quickly and painlessly
as possible.
Patrick Burns
Burns Statistics
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and A Guide for the Unwilling S User)
Monica
Leo Wang-Kit Cheung [EMAIL PROTECTED] writes:
Hi,
I am out of town and will get back to you on the 13th of July.
Leo
[EMAIL PROTECTED] 06/27/03 00:32
Send R-help mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
I have time series and need to draw simple and partial
correlograms with associated Q-statistics (the same as in
EViews). Can I do it in R? Thanks
library(ts) contains functions acf and pacf which come with
corresponding plot methods. See their help pages for details.
I don't know anything
Hello,
I have time series and need to draw simple and partial correlograms with
associated Q-statistics (the same as in EViews). Can I do it in R? Thanks
Hello Shutnik,
see ?Box.test in the ts-package for Q-statistics.
To my knowledge a plot function as in EViews (left-hand panel are ACFs
System info:
Mandrake 9.0
R Version 1.6.1
ESS 5.1.21
Emacs 21.2.1
---
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anne York
Sent: Thursday, March 27, 2003 3:52 PM
To: Help R
Subject: [R] mozilla and R -- again
I noticed last
Dear colleagues,
Where I can find tools for drawing correlograms (graphical representations of
autocorrelation and partial autocorrelation functions)?
Thank you,
Max
---
This message contains no viruses.
Guaranteed by Kaspersky Anti-Virus.
www.antivirus.lv
Dear Max,
See the acf and pacf functions in the ts package.
John
At 04:50 PM 3/25/2003 +0200, Max Moldovan wrote:
Where I can find tools for drawing correlograms (graphical representations of
autocorrelation and partial autocorrelation functions)?
Dear colleagues,
Where I can find datasets for exploring the detection of change-point in
regression relationship problem? I would appreciate any information about
sources of such datasets inside or outside R.
Thank you,
Max
---
This message contains no viruses.
Guaranteed by Kaspersky
, March 18, 2003 11:26 PM
To: [EMAIL PROTECTED]
Subject: [R] r-help using random generating
To whom it may concern:
Given that my sample size is n, my mean is 100, and my sd is 10, I need to
use a random number generator (which I believe is the function
rnorm(5,100,10)), but I need to repeat
To whom it may concern:
Given that my sample size is n, my mean is 100, and my sd is 10, I need to
use a random number generator (which I believe is the function
rnorm(5,100,10)), but I need to repeat it a large number of times, and then
plot the sampling distributions of the sample means,
Student Exercise?!
Cheryl H. wrote:
To whom it may concern:
Given that my sample size is n, my mean is 100, and my sd is 10, I need
to use a random number generator (which I believe is the function
rnorm(5,100,10)), but I need to repeat it a large number of times, and
then plot the sampling
the values
into the vector. Then a simple plot() should suffice.
Since it is a simple problem, I will leave you to it.
-Original Message-
From: Murray Jorgensen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 12:39 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [R] r-help using random
Try (run..):
rnorm(1, 0, 1) # (or in this case rnorm(1) - check ?rnorm)
aaa - function(x) x + 1
aaa(1)
?.First
Regards, Jussi
-Original Message-
From: Petr Pikal [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 9:45 AM
To: Shutnik
Cc: [EMAIL PROTECTED]
Subject: Re: [R] R
Dear friends,
I work with Matlab and now a bit in trouble with getting used to R. Could you give me
some help with the following questions:
1. how to generate the random matrix mxn with constant mean and variance, say N(0,1)?
2. how to create a code (function), say myfunction, and make it
Dear friends,
I work with Matlab and now a bit in trouble with getting used to R. Could
you give me some help with the following questions:
1. how to generate the random matrix mxn with constant mean and variance,
say N(0,1)?
2. how to create a code (function), say myfunction, and make it
Hi
On 12 Mar 2003 at 15:45, Shutnik wrote:
Dear friends,
I work with Matlab and now a bit in trouble with getting used to R.
Could you give me some help with the following questions:
1. how to generate the random matrix mxn with constant mean and
variance, say N(0,1)?
2. how to
Hi all,
Just curious on the sudden change in the e-mail address coming from
r-help and r-devel today. They are indicated as being
[EMAIL PROTECTED] and
[EMAIL PROTECTED]
Any clues? I just noticed that my e-mail filter rule suddenly stopped
putting these messages in their respective folders this
Any clues? I just noticed that my e-mail filter rule suddenly stopped
putting these messages in their respective folders this morning (my
time).
I believe they're upgrading the Mailman software that runs the list.
__
[EMAIL PROTECTED] mailing list
-Original Message-
From: Charles Annis, P.E.
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:06 AM
To: 'Jeff Gentry'; 'Marc Schwartz'
Cc: [EMAIL PROTECTED]
Subject: RE: [R] r-help-bounces and r-devel-bounces e-mail?
You need to add [EMAIL PROTECTED] to your
filtering rules
JeffG == Jeff Gentry [EMAIL PROTECTED]
on Tue, 4 Mar 2003 11:53:13 -0500 (EST) writes:
Any clues? I just noticed that my e-mail filter rule suddenly stopped
putting these messages in their respective folders this morning (my
time).
JeffG I believe they're upgrading the
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Maechler
Sent: Tuesday, March 04, 2003 11:42 AM
To: [EMAIL PROTECTED]
Subject: Re: [R] r-help-bounces and r-devel-bounces e-mail?
JeffG == Jeff Gentry [EMAIL PROTECTED]
on Tue, 4 Mar 2003 11
101 - 188 of 188 matches
Mail list logo