Dear expeRts,
I find the newest Rstudio Desktop v0.98.1049 for windows is not newest,
after i installed, it was a old version.
--
PO SU
mail: desolato...@163.com
Majored in Statistics from SJTU
__
R-help@r-project.org mailing list
Hello everyone,
I want to convert times provided by Sys.time() to use the difference from
Coordinated Universal Time instead of the character abbreviation.
For example, instead of:
2014-09-03 21:12:35 EDT
I want the value as:
2004-09-03 13:20:00-04:00
Is there a way to do this with
I think you are looking for
~ Region + Region:Helpers - 1
a.k.a.
~ Region/Helpers - 1
Notice that these are actually the same model as your glm3 (and also as
~Region*Helpers), only the parametrization differs. The latter includes an
overall Helpers term so that the interaction coefficients
On 04/09/2014 02:27, tim.willi...@ucb.com wrote:
Hello everyone,
I want to convert times provided by Sys.time() to use the difference from
Coordinated Universal Time instead of the character abbreviation.
For example, instead of:
2014-09-03 21:12:35 EDT
I want the value as:
2004-09-03
On 04-09-2014, at 04:27, PO SU rhelpmaill...@163.com wrote:
Dear expeRts,
I find the newest Rstudio Desktop v0.98.1049 for windows is not newest,
after i installed, it was a old version.
Questions and information relating to RStudio do not belong on this list.
Send mail to RStudio
Please ask your question to the dedicated forum: https://support.rstudio.com
Regards,
Pascal
On Thu, Sep 4, 2014 at 11:27 AM, PO SU rhelpmaill...@163.com wrote:
Dear expeRts,
I find the newest Rstudio Desktop v0.98.1049 for windows is not newest,
after i installed, it was a old version.
Dear R users,
For a time series, say y:
y-cumsum(rnorm(100)) # I used ur.df function (urca package) to test
for unit root with/without a drift as follows:
test-ur.df(y,lags=3,type=drift) # this works for the artificial
data here, but when I apply the same function to my very big data, it
comes
On 09/03/2014 10:24 PM, Leek, Jim wrote:
Thanks for the tips. I'll take a look around for for loops in the morning.
I think the example you provided worked for OpenMPI. (The default on our
machine is MPICH2, but it gave the same error about calling spawn.) Anyway,
with OpenMPI I got this:
I think that the issue, at least with the online calculator that I looked
at, is that it does not adjust the standard deviation of the test
statistic for ties, so the standard deviation is larger and hence larger
p-value. I was able to reproduce the reported z-score using the equation
for the
Yes, that is the point that David made and that I illustrated with the
simulations: The null distribution of W is more narrow in the presence of ties,
hence W=485 is a more extreme observation in the tied case. I.e. it will look
less extreme if you ignore that there are ties.
-pd
On 04 Sep
Not sure if this is the proper list to propose changes like this, if it
passes constructive criticism, it would like to have a %between% operator
in the R language.
I currently have this in my local R startup script:
`%between%` - function(x,...) {
y - range( unlist(c(...)) )
return( x =
Thank you for your reply. %z fits the bill perfectly.
Apologies for my breach of etiquette on my first post to the list.
- Tim
R 3.1.1 on Windows 7 OS
From: Prof Brian Ripley rip...@stats.ox.ac.uk
To: r-help@r-project.org
Subject: Re: [R] Convert time zone to difference from
On 04/09/2014 10:41 AM, Torbjørn Lindahl wrote:
Not sure if this is the proper list to propose changes like this, if it
passes constructive criticism, it would like to have a %between% operator
in the R language.
But it appears that you do:
I currently have this in my local R startup script:
Ah, now it's working. Thanks. Now I just need to figure out how to get
snow doing this...
Jim
On 09/04/2014 05:03 AM, Martin Morgan wrote:
On 09/03/2014 10:24 PM, Leek, Jim wrote:
Thanks for the tips. I'll take a look around for for loops in the
morning.
I think the example you provided
If you have 2 dichotomous variables coded 0/1 (and stored as numerics)
then the var and cov functions can be used to compute the covariance
as if they were continuous variables. Some algebra shows that the
continous covariance and the binomial covariance only differ by the
denominator (n for
I need to define three vectors x, y, z (each of length 100) such that the
pair-wise correlations of the vectors have per-defined values r1 and r2. More
specifically I need to define x, y, and z so that:
corr(x,y) = r1
corr(y,z) = r2
Is there any easy way to accomplish this with R?
Thank
You could look into the RMPISNOW shell script that is included in snow
for use with mpirun, eg as
mpirun -np 3 RMPISNOW
The script might need adjusting for your setting.
Best,
luke
On Thu, 4 Sep 2014, Jim Leek wrote:
Ah, now it's working. Thanks. Now I just need to figure out how to get
Hi all,
Which is a formal bibliography citation of an R's task view? For example
if I want to make a citation of MetaAnalysis task view.
Thanks in advance!
Pablo
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Revolution Analytics staff and guests write about R every weekday at
the Revolutions blog:
http://blog.revolutionanalytics.com
and every month I post a summary of articles from the previous month
of particular interest to readers of r-help.
In case you missed them, here are some articles related
Hello
I want to estimate the covariance matrix of the likelihood
f(x1,x2,x3)=f(x2|x1)f(x3|x2)f(x1), where f(x2|x1) follows a Binomial
distribution with parameters (2, 0.2), f(x3|x2) follows a Binomial distribution
with parameters (2, 0.8) and f(x1) follows a Binomial distribution with
Dear R list,
I'm working with recursive tress using packages mvpart and rpart in R in linux
xubuntu (64).
The package performed with no problem under my previous R version (2.14)
I had recently updated my R version to 3.1.1 and when I try to run a mvpart
model I get the following error
Hi there,
I have two questions about heatmap.2 in gplot.
My input is a simple square matrix with numeric values between 75 and
100 (it is a similarity matrix based on bacterial DNA sequences).
1. I can sort my input matrix into categories with rowsidecolors (in
this case, very conveniently
I have this code:
Vm - c(6.2208, 4.9736, 4.1423, 3.1031, 2.4795, 1.6483, 1.2328, 0.98357,
0.81746, 0.60998); #Molvolume
p - c(0.4, 0.5, 0.6, 0.8, 1, 1.5, 2, 2.5, 3, 4)*1000; #Pressure
Rydb - 8.3144621; #Constant
Tempi - 300; #Temperature in Kelvin
Vmi - Vm^(-1); #To get Vm^(-1)
Zi -
Dear community.
I am studying chemistry and physics. We don'te get an intro to mathematic
programms or programming. We shall just find something and use it. So I
have choosen R. But was that a good choice?
Do you think I could get threw my study with R as my only programming
language (combined
On 04/09/2014 4:52 AM, Dr. Pablo E. Verde wrote:
Hi all,
Which is a formal bibliography citation of an R's task view? For example
if I want to make a citation of MetaAnalysis task view.
Thanks in advance!
I don't think there is a recognized standard one. I would use whatever
format your
See ?mvrnorm in the MASS package.
Best,
Ista
On Thu, Sep 4, 2014 at 12:04 PM, John Sorkin jsor...@grecc.umaryland.edu
wrote:
I need to define three vectors x, y, z (each of length 100) such that the
pair-wise correlations of the vectors have per-defined values r1 and r2.
More specifically I
On Thu, 4 Sep 2014, Basilius Sapientia wrote:
So I have choosen R. But was that a good choice?
Basilius,
Yes. For data analyses. While you could use R as a general programming
language, but others are better suited.
Do you think I could get threw my study with R as my only programming
Dear All,
How can I add folder content examples of needed files to run example?
The simple add of folder did not built and reload with the package.
Thanks!
Karim
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Hi David and list:
This is working, except at this command
mycast - dcast(mymelt, row~color, value.var=rank, fill=0)
dcast is using length as the default aggregating function. This results in
not accurate results. It tells me, for example how many choices were missing
values and it tells me if
On Thu, 4 Sep 2014, Duncan Murdoch wrote:
On 04/09/2014 4:52 AM, Dr. Pablo E. Verde wrote:
Hi all,
Which is a formal bibliography citation of an R's task view? For example
if I want to make a citation of MetaAnalysis task view.
Thanks in advance!
I don't think there is a recognized
R is useful for quite a range of applications, but not everything. I recommend
planning on learning multiple programming languages eventually, because each
type of problem has its own set of useful phrases. An example of this in R is
comparing the base, lattice, and ggplot models of graph
On 04/09/2014 2:28 PM, Achim Zeileis wrote:
On Thu, 4 Sep 2014, Duncan Murdoch wrote:
On 04/09/2014 4:52 AM, Dr. Pablo E. Verde wrote:
Hi all,
Which is a formal bibliography citation of an R's task view? For example
if I want to make a citation of MetaAnalysis task view.
Thanks in
I think we would need enough of the data you are using to figure out how to
modify the process. Can you use dput() to send a small data set that fails to
work?
David C
-Original Message-
From: Simon Kiss [mailto:sjk...@gmail.com]
Sent: Thursday, September 4, 2014 1:28 PM
To: David L
Dear Prof. John,
I'm trying to solve the following model in R, but I getting error about
the degree of freedom. As I don't have much experience, could you please
explain to me what is the problem? I'm studying the influence of several
soil parameters (pH, NH4, OM, Moisture) on the abundance of
On Sep 3, 2014, at 10:05 PM, Jinsong Zhao wrote:
On 2014/9/3 21:33, Jinsong Zhao wrote:
On 2014/9/2 11:50, David L Carlson wrote:
The bottom of the expression is set by the lowest character (which can
even change for subscripted letters with descenders. The solution is
to get axis() to
The TeachingDemos package has %% and %=% operators for a between
style comparison. So for your example you could write:
1 %% 5 %% 10
or
1 %=% 5 %=% 10
And these operators already work with vectors:
lb %=% x %% ub
and can even be further chained:
0 %% x %% y %% z %% 1 # only points where x
Dear Michele,
It's impossible to know without the data, since that's the only way to
determine which variables in the model are observed and which are latent
variables, but if there are negative df, then you're trying to estimate a model
with more free parameters than there are moments
You will find lots of examples if you do an internet search for
R quadratic regression
Here's just one ... http://www.theanalysisfactor.com/r-tutorial-4/
Jean
On Thu, Sep 4, 2014 at 10:40 AM, Basilius Sapientia basilius...@gmail.com
wrote:
I have this code:
Vm - c(6.2208, 4.9736,
Hi Achim and Murdoch,
Thanks a lot!
Cheers,
Pablo
Achim Zeileis achim.zeil...@uibk.ac.at escribió:
On Thu, 4 Sep 2014, Duncan Murdoch wrote:
On 04/09/2014 4:52 AM, Dr. Pablo E. Verde wrote:
Hi all,
Which is a formal bibliography citation of an R's task view? For example
if I want to
On Sep 4, 2014, at 8:40 AM, Basilius Sapientia wrote:
I have this code:
Vm - c(6.2208, 4.9736, 4.1423, 3.1031, 2.4795, 1.6483, 1.2328, 0.98357,
0.81746, 0.60998); #Molvolume
p - c(0.4, 0.5, 0.6, 0.8, 1, 1.5, 2, 2.5, 3, 4)*1000; #Pressure
Rydb - 8.3144621; #Constant
Tempi - 300;
The problem with this approach is that the horizontal positioning of the labels
is based on the width of the label including the phantom part so that the E's
are pushed to the left of the tick mark (at least on my Windows machine). But
it does provide a way of dealing with superscripts as long
This post has NOT been accepted by the mailing list yet.
I would like to subset a column based on the contents of a column with
specific character. In the sample data I wish to do the following:
First keep the data based on column prog if prog contains ca, and
secondly to drop if race contains ic
Thank you very much, Bill !
It has taken my a while to figure out, but yes, what I need is a
list (the R object, list) of data frames and not a character vector
containing the names of the data frames.
Thank you very much. This works well and is getting me in the
direction I want to
I want to calculate Euclidean distance between 12 populations, in each
population there are 20 samples and each sample is measured for 100 genes
(these are microarray data; the numbers here are just examples).
The equation I found is:
distance = sqrt{[sum(Average of xi -average of yi)^2] /n
On Sep 4, 2014, at 12:54 PM, Greg Snow wrote:
The TeachingDemos package has %% and %=% operators for a between
style comparison. So for your example you could write:
1 %% 5 %% 10
or
1 %=% 5 %=% 10
And these operators already work with vectors:
lb %=% x %% ub
and can even be
On Sep 4, 2014, at 2:58 PM, Kuma Raj wrote:
This post has NOT been accepted by the mailing list yet.
Well, it has now. Were you earlier posting from Nabble? (Not an efficient
strategy.)
I would like to subset a column based on the contents of a column with
specific character. In the sample
I'd probably start with ?dist
Sarah
On Thu, Sep 4, 2014 at 4:10 PM, Ding, Yuan Chun ycd...@coh.org wrote:
I want to calculate Euclidean distance between 12 populations, in each
population there are 20 samples and each sample is measured for 100 genes
(these are microarray data; the
Hi,
Please keep your replies on the R-help list so others may participate
in the conversation.
On Thu, Sep 4, 2014 at 8:12 PM, Ding, Yuan Chun ycd...@coh.org wrote:
Hi Sarah,
Thank you very much for your quick response.
I checked the dist() function. It calculate distance between two
Hi Sarah,
Thank you very much for your quick response.
I checked the dist() function. It calculate distance between two samples with a
number of variables.
Variable1 variable 2 variable 3 variable4
X 3 5 67
Y 4 8 910
Muchas gracias a los dos !!
Slds, eric.
On Thu 04 Sep 2014 03:36:52 CLT, Carlos Ortega wrote:
También puedes utilizar el parámetro subset dentro de xyplot().
O aplicarlo primero fuera de xyplot()...
http://www.ats.ucla.edu/stat/r/modules/subsetting.htm
Saludos,
Carlos Ortega
Hola, antes que nada, muchas gracias por aceptar mi solicitud =).
Tengo unos inconvenientes y quisiera saber si alguien me podría ayudar con
lo siguiente: necesito instalar los paquetes rhdfs, rmr, rhbase en Rhadoop,
no se donde descargarme los paquetes y tampoco como seria su instalación en
R.
51 matches
Mail list logo