Joseph P Gray wrote:
I submit the following matrix to both MATLAB and R
x= 0.133 0.254 -0.214 0.116
0.254 0.623 -0.674 0.139
-0.214 -0.674 0.910 0.011
0.116 0.139 0.011 0.180
MATLAB's inv(x) provides the following
137.21 -50.68 -4.70 -46.42
-120.71 27.28 -8.94 62.19
-58.15
2009/1/29 Daniel Viar dan.v...@gmail.com:
How does one get an all Microsoft
shop on board with allowing users to user R?
An 'all Microsoft shop' is what exactly? There is nothing on your PC
that isn't from Microsoft?
That makes me think that you're either going to be forced to do your
Smita.KUMAR at rbs.com writes:
We use R DCOMServer Manager 2.0, this application uses RGUI 2.3.0 as
one of its components. We are planning to upgrade to the latest version
of RGUI 2.8.0 but found that R DCOMServer manager is not
compatible with the latest version.
Check the messages at:
Dear Srinivas Iyyer,
I know you wrote this error statement nearly two year ago. But yesterday
night I had the same problem. So here is the solution.
If you use debian distribution (I use sage) you have to install the
following packages to compile RdbiPgSQL:
postgresql-8.1 and libpq-dev.
You
Does R have a graphic command equivalent of MatLab Hold On ?
I am trying to sabve on a pdf file a composite drawing. I first declare the
canvas size, then I define the layout, finally I generate the 4 plots according
to layout order. Eventually I close the pdf file (dev.off()).
The resulting PDF
Hello,
is there a upper limit to kappa value where I can consider a matrix
well-conditioned?
Cleber
Kingsford Jones wrote:
I suppose the solution is unstable because x is ill-conditioned:
x
[,1] [,2] [,3] [,4]
[1,] 0.133 0.254 -0.214 0.116
[2,] 0.254 0.623
Hello useRs,
I'm trying to use the Roxygen package.
Here my code file :
#' A packge to check Roxygen's sanity
#' @name helloRoxygen-package
#' @docType package
NA
And my R code to generate the package :
library(roxygen)
package.skeleton(helloRoxygen, code_files = roxy.r, force = T)
Gareth Campbell wrote:
I have some data (REE plots - geochemistry) where I have values 1:14 for the
x axis, but have no data for some x values. Here for example, let's say
that I don't have data for x=2,5,8.
So
x-1:14
y-c(4, NA, 5, 9, NA, 3.4, 8, NA, 19, 22, 12, 14, 15.3, 15)
if I plot the
'The R Inferno' page 36.
Patrick Burns
patr...@burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of The R Inferno and A Guide for the Unwilling S User)
SnowManPaddington wrote:
Hi ya, thanks a lot everyone!! I changed rr:ii-1 to rr:(ii-1) and the code
works!!! I finally get
Dear friends,
I'm using R to produce the following Factor Analysis:
matriz.cor-hetcor(matrix(as.factor(data), ncol=variables,
byrow=T))$correlations
factanal(x=data, factors=2, covmat=matriz.cor, scores='regression')
Then the screen output shows the following message:
Error en
Joseph P Gray wrote:
I submit the following matrix to both MATLAB and R
x= 0.133 0.254 -0.214 0.116
0.254 0.623 -0.674 0.139
-0.214 -0.674 0.910 0.011
0.116 0.139 0.011 0.180
MATLAB's inv(x) provides the following
137.21 -50.68 -4.70 -46.42
-120.71 27.28 -8.94 62.19
Hi,
I'm trying to install RMySQL and I keep hitting errors. My computer is:
uname -a
Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686
i686 i386 GNU/Linux
I have set the following environment settings:
export PKG_LIBS=-L/usr/lib/mysql -lmysqlclient
export
Google for R and soap to get information on running R on webserver
using soap.
cheers,
Paul
Neiderer, Andrew (Civ, ARL/CISD) wrote:
Classification: UNCLASSIFIED
Caveats: NONE
I am new to R and somewhat to Web server programming.
I am a Java programmer, however, and have done quite a bit
I see 'The R Inferno' being refered quiet often recently. But it was now
pointed by Duncan Murdoch that for example the statement concerning
variables in a for loop is not correct in there (page 62). As I can not
find any information about the book been reviewed by anyone I have a
question: is
Daniel Viar wrote:
I currently use R at work under the radar, but there's a chance I
could loose that access. I'd like to get our company to feel
comfortable with open source and R in particular. Does anyone have
any experience with their company's IT department and management that
Dan Bolser wrote:
Hi,
I'm trying to install RMySQL and I keep hitting errors. My computer is:
uname -a
Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686
i686 i386 GNU/Linux
I have set the following environment settings:
export PKG_LIBS=-L/usr/lib/mysql
Berend Hasselman wrote:
Joseph P Gray wrote:
I submit the following matrix to both MATLAB and R
x= 0.133 0.254 -0.214 0.116
0.254 0.623 -0.674 0.139
-0.214 -0.674 0.910 0.011
0.116 0.139 0.011 0.180
MATLAB's inv(x) provides the following
137.21 -50.68 -4.70 -46.42
Dear Paul,
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On
Behalf Of pgseye
Sent: January-29-09 10:07 PM
To: r-help@r-project.org
Subject: Re: [R] Q about how to use Anova.mlm
Thanks a lot for that John - really helpful. I
Hi,
when performing a spearman_test stratified by a given factor in package coin,
how is it possible to obtain the value of Rho, the Spearman correlation
coefficient ?
Thanks in advance
Gilles (F)
[[alternative HTML version deleted]]
__
Dear Ricardo,
Factor scores are linear combinations of the original variables and
therefore to get factor scores, factanal() needs the data, not just the
correlation matrix among the variables.
Perhaps what you want is the factor-score coefficient matrix. Since you're
apparently using a varimax
Looks like you installed R from an RPM and missed the R-devel RPM.
On Fri, 30 Jan 2009, Dan Bolser wrote:
Hi,
I'm trying to install RMySQL and I keep hitting errors. My computer is:
uname -a
Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686
i686 i386 GNU/Linux
I
On 1/30/2009 7:19 AM, Marie Sivertsen wrote:
I see 'The R Inferno' being refered quiet often recently. But it was now
pointed by Duncan Murdoch that for example the statement concerning
variables in a for loop is not correct in there (page 62). As I can not
find any information about the book
Hi!
I am trying to analyse with R a database that I have previously analysed
with SPSS.
Steps with SPSS:
Factorial analysis
Extraction options : I select = Principal component analysis
Rotation: varimax
Steps with R:
I have tried it with varimax function with factanal or with princomp...and
Marie Sivertsen wrote:
I see 'The R Inferno' being refered quiet often recently. But it was now
pointed by Duncan Murdoch that for example the statement concerning
variables in a for loop is not correct in there (page 62). As I can not
find any information about the book been reviewed by
Does R have a graphic command equivalent of MatLab Hold On ?
I am trying to sabve on a pdf file a composite drawing. I first
declare the canvas size, then I define the layout, finally I
generate the 4 plots according to layout order. Eventually I close
the pdf file (dev.off()).
The
Hi
I've tried several times and followed what others suggest in installing
Rgraphviz (https://stat.ethz.ch/pipermail/bioconductor/2008-June/022838.html)
But I could not load library(Rgraphviz).
There's a message that 'This application has failed to start because
libcdt-4.dll was not found'
I'm using R2.8.1 and trying to do some nested modelling using lmer and
weights. When I multiply/divide weights with a constant, variance of
groups intercept changes, but variance of the residual doesn't (using
unconditional model).
Shouldn't they change equally? Are there any specifications on
Hi,
Being relatively new to OO programming and not so old on R, I noticed the
possibility to do OO programming in R.
But it seems there is two paradigms S3 that seems the old one but is the one
used in the R.oo package and S4 which seems more recent
As a starting point, which one is
Dear R users,
Version 0.30-1 of the np package has been released and uploaded to CRAN.
The np package provides nonparametric kernel smoothing methods for mixed
data types. We encourage anyone using the package to upgrade to the
latest version.
Description: This package provides a variety of
I have a list of observations of individuals. I would like to make a
list of individuals, with a data frame of observations for each individual.
The following code usually works, but not always
--
# Make a list of empty data
S3 is the original OO approach in R. It is the predominant one and
the simplest one. That's the one to use if you are starting out. You
may never, in fact, need to go beyond that. S4 builds on S3 so
learning S3 won't be a waste of time even if you decide to use S4 later.
S4 is substantially
Thank you both Peter and Duncan for explanations. 'The R Inferno' is indeed
not so much introduction but I find it useful to know about how I can go
wrong in simple things before I do.
Mvh.
Marie
On Fri, Jan 30, 2009 at 3:03 PM, Peter Dalgaard p.dalga...@biostat.ku.dkwrote:
Marie Sivertsen
Maybe look into vegan - although this is not my area of specialty
(assuming I have one at all).
good luck
On Fri, Jan 30, 2009 at 9:00 AM, Alberto Maceda Veiga amac...@ub.edu wrote:
Hi!
I am trying to analyse with R a database that I have previously analysed
with SPSS.
Steps with SPSS:
Dear R-Experts,
Seek your help.
Please let me know how arrays of different sizes can be collected in one
array.
suppose I want to collect following arrays in one array. How can I do so?
array(1): #row=3, #col=4(these columns store data of different types)
array(2): #row=6, #col=4
array(3):
Do these functions help?
#Fisher's r-to-z:
fr2z - function(r) atanh(r)
#Fisher's z-to-r:
fz2r - function(z) tanh(z)
On Fri, Jan 30, 2009 at 9:29 AM, LE PAPE Gilles lepape.gil...@neuf.fr wrote:
Hi,
when performing a spearman_test stratified by a given factor in package
coin, how is it
why not a list?
On Fri, Jan 30, 2009 at 10:10 AM, Suresh_FSFM suresh.ghals...@gmail.com wrote:
Dear R-Experts,
Seek your help.
Please let me know how arrays of different sizes can be collected in one
array.
suppose I want to collect following arrays in one array. How can I do so?
Hi there,
I am completely new to R and would like to do two things with date
functions:
1. Compute any date from a specified starting point, e.g. x - 2 months
2. How do I determine the weekday of any given date?
Thanks in advance
--
View this message in context:
# 1
d - Sys.Date()
seq(d, len = 2, by = 2 months)[2]
# 2
as.numeric(format(d, %w)) # 0 = Sunday
# or
format(d, %a)
See R News 4/1 for more info and the table at the end of it in particular.
On Fri, Jan 30, 2009 at 9:54 AM, ehxpieterse
eduard.piete...@macquarie.com wrote:
Hi there,
I am
Thanks for a prompt response.
Ok. I see your point.
However, then next silly question is how to access these elements of list
dynamically?
suppose I want to access 3rd item or 3rd element of the list (which would be
my array-3 stored at 3rd position in the list).
Thank you.
Regards,
Suresh
Hi,
I am simulating an event that has 15 possible outcomes and I have a
vector 'pout' that gives me the probability of each outcome -
different outcomes have different probabilities. Does anyone know a
simple way of simulating the outcome of my event?
If my event had only two possible outcomes
You'll need the [[ operator.
Your.list.name[[3]] gives the third element.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en
June Wong wrote:
Hi
I've tried several times and followed what others suggest in installing Rgraphviz (https://stat.ethz.ch/pipermail/bioconductor/2008-June/022838.html)
But I could not load library(Rgraphviz).
There's a message that 'This application has failed to start because
Thanks a lot ! :-)
Regards,
Suresh
ONKELINX, Thierry wrote:
You'll need the [[ operator.
Your.list.name[[3]] gives the third element.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek /
Hi All,
Now you can join for R course offered by G K Analytics Training Institute
Pvt Ltd.
We also provide online training Program for those who are willing to take up
this course.
To know more about the courses offered visit www.analyticstraining.in
You can also mail us your queries at
on 01/30/2009 09:46 AM Gonçalo Ferraz wrote:
Hi,
I am simulating an event that has 15 possible outcomes and I have a
vector 'pout' that gives me the probability of each outcome -
different outcomes have different probabilities. Does anyone know a
simple way of simulating the outcome of my
I have not seen you describe the value of doing partial matching in
this application, so pardon this perhaps non-responsive reply:
Wouldn't it have been much, much simpler to have used the subset
function (which returns a dataframe object) at the first assignment to
donotprint?
Something
Colleagues
R 2.8.0; OS X, Vista, Ubuntu Linux
In some instances, when I create a graphic using plot(XVAR, YVAR), it
would be valuable to know the values that R will display on the y-axis
(e.g., if the range of data is 0-70, it might display 0, 10, 30, 50,
70). Is there a simple means to
Hello,
I have a maybe trivial question, but I simply don't understand well
enought how to work with text/strings:
I have a rather compelx data structure, a big list with several
sub-lists/dataframes and for certain calculations (which I do in
loops), I only need a certain group of
It might be easier to generate the plot without the y-axis and then
add you data with 'axis' using whatever tick marks you want.
On Fri, Jan 30, 2009 at 11:51 AM, Dennis Fisher fis...@plessthan.com wrote:
Colleagues
R 2.8.0; OS X, Vista, Ubuntu Linux
In some instances, when I create a
Hello R users,
I have a string, for example:
x - \t\tabc\t def
This string can contain any number of tabulations. I want to replace each
tabulation of the begining of the string by the same number of space:
abc\t def
I'm trying to do this with gsub :
gsub(\t, , x) # replace every \t
[1]
Hi,
I'm using R-2.8.1 for windows. I wrote a script calls the RODBC
package to run sql queries against an oracle database. It runs fine
when run from the rconsole and returns a data.frame with a summary for
a set of experiments. I want to run this script using the
rinterface.RunRFile
on 01/30/2009 10:51 AM Dennis Fisher wrote:
Colleagues
R 2.8.0; OS X, Vista, Ubuntu Linux
In some instances, when I create a graphic using plot(XVAR, YVAR), it
would be valuable to know the values that R will display on the y-axis
(e.g., if the range of data is 0-70, it might display 0,
This should do it:
?[[
gnuff-list()
gnuff$IHD$LE-66
gnuff$LUNG$LE -55
nam - c(LUNG,IHD)
x - numeric(2) # allocate
for(i in 1:2)
+ x[i] - gnuff[[nam[i]]]$LE / 2
x
[1] 27.5 33.0
On Fri, Jan 30, 2009 at 12:06 PM, stefan.d...@gmail.com
stefan.d...@gmail.com wrote:
Hello,
I have a
Dear List,
Hopefully someone will point me to a piece of documentation that I have
overlooked.
I am running Rscript successfully to read and execute an R program, but
have failed
to find the correct syntax to route the output to a file using the
Rscript command that invokes
the job. I tried
A rule of thumb is that if the solution seems a lot
harder than the task, there is probably a better
approach. I think you want something like:
lapply(gnuff[nam], function(x) x$LE)
Patrick Burns
patr...@burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of The R Inferno and A
Cool nice initiative.
Regards,
Ajay
Rodney Dangerfield - My marriage is on the rocks again, yeah, my wife just
broke up with her boyfriend.
On Fri, Jan 30, 2009 at 9:46 PM, Analytics Training
analyticstraining...@gmail.com wrote:
Hi All,
Now you can join for R course offered by G K
Or perhaps:
lapply(gnuff, [[, LE)
On Fri, Jan 30, 2009 at 12:35 PM, Patrick Burns
pbu...@pburns.seanet.com wrote:
A rule of thumb is that if the solution seems a lot
harder than the task, there is probably a better
approach. I think you want something like:
lapply(gnuff[nam], function(x)
At 3:00 PM +0100 1/30/09, Alberto Maceda Veiga wrote:
Hi!
I am trying to analyse with R a database that I have previously analysed
with SPSS.
Steps with SPSS:
Factorial analysis
Extraction options : I select = Principal component analysis
Rotation: varimax
Unfortunately, SPSS labels
Hi Thomas,
Thomas Mang schrieb:
I have a question here: I am not sure if I understand your 'fit the full
model ... to the permuted data set'. Am I correct to suppose that once
the residuals of the reduced-model fit have been permuted and added back
to the fitted values, the values obtained
Hi Cleber,
there is no hard-and-fast magic number here. Ill-conditioning also
depends on what you are trying to do (inference? prediction?). The
condition number is only one of a number of conditioning/collinearity
diagnostics commonly used. Take a look at:
Golub, G. H., Van Loan, C. F.
Thank you very much Bill!!! We get it. The results are the same.
Best wishes,
Alberto
2009/1/30 William Revelle li...@revelle.net
At 3:00 PM +0100 1/30/09, Alberto Maceda Veiga wrote:
Hi!
I am trying to analyse with R a database that I have previously analysed
with SPSS.
Steps with
Perhaps this will help:
#Data Example
gnuff-list()
gnuff$IHD$LE-66
gnuff$LUNG$LE -55
#This is the list, where I collect data for different diseases at the
#second level of the list
#Now I want to do calcualtions just for these two diseases and the
#sub-list LE within these diseases
nam -
Dear All,
I would like to analyse the residuals from a generalized linear mixed model
(GLMM) that I estimated, with random effects, by means of the command glmmPQL,
from the MASS package.
It is not very clear to me what the actual residuals to analyse are (Y - Yhat):
I obtain two columns of
You might want to look at the pretty function. The code that I have
seen often calls that function for the creation of axis tick levels
with min and max as arguments. And its help page suggests that axTicks
may give you exactly what you were seeking.
--
David Winsemius
On Jan 30, 2009, at
David Hajage wrote:
Hello R users,
I have a string, for example:
x - \t\tabc\t def
This string can contain any number of tabulations. I want to replace each
tabulation of the begining of the string by the same number of space:
abc\t def
I'm trying to do this with gsub :
gsub(\t,
glmmPQL is a wrapper for lme, so look at its documentation (and the
especially the Pinheiro-Bates book).
On Fri, 30 Jan 2009, Roberto Patuelli wrote:
Dear All,
I would like to analyse the residuals from a generalized linear mixed model
(GLMM) that I estimated, with random effects, by means
You use the facilities of your command-line shell.
Rscript infile.R outfile
works in every one I have seen in recent years, including Windows'
cmd.exe (although many people prefer more capable shells on that
platform such as tcsh or bash).
On Fri, 30 Jan 2009, Philip Whittall wrote:
Dear
Hello everyone
I'm working with R 2.8.1 on a windows machine
I have a question regarding time series analysis
The first question is how does R expect the input file to be structured?
I'm working with a *.txt file similar to the abbreviated one here:
Date,stage
4/2/1953,7.56
4/3/1953,7.56
To seperate the columns, use the sep argument in read.table()
mystage - read.table(C:\\Documents and
Settings\\skfriedman\\Desktop\\R-scripts\\stage.txt, header =
TRUE,sep=',')
On Fri, Jan 30, 2009 at 4:17 PM, steve_fried...@nps.gov wrote:
Hello everyone
I'm working with R 2.8.1 on a
Copy and paste this into an R session:
Lines - Date,stage
4/2/1953,7.56
4/3/1953,7.56
4/4/1953,7.54
4/5/1953,7.53
4/6/1953,7.5
4/7/1953,7.47
4/8/1953,7.44
4/9/1953,7.41
4/10/1953,7.37
4/11/1953,7.33
4/12/1953,7.3
4/13/1953,7.26
4/14/1953,7.28
4/15/1953,7.28
4/16/1953,7.23
4/17/1953,7.47
Hi,
I have a design with 1 group and repeated measures and a covariate whose
effects
I¹d like to remove from the data. I tried different models with aov but am
not sure if I did it correctly. The design is thus 4 blocks and n=15 and a
covariate ³cov²
1- aov.m =
I can't seem to use the point-and-click identify() function properly.
I'm running R 2.5.1 (I know, I need to get around to upgrading) under
Win XP. The problem is, when I click on a point on the graph, I get an
error, no point within 0.25 inches. But in some areas, I can click
where there is no
Hello,
I have the following ancova:
my_ancova = aov(x~a+b)
How do I obtain the means of b once the covariate a has been removed?
thanks
__
Patrick Bédard Ph.D.
Dept. of Neuroscience
Brown University
[[alternative HTML version deleted]]
I have a data frame in wide format that I'd like to convert to long format.
For example, in wide format I have:
id A1B1A1B2A2B1A2B2
1 1 400 475 420 510
2 2 390 500 470 472
3 3 428 512 555 610
4
Dear Patrick,
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On
Behalf Of Patrick B é dard
Sent: January-30-09 6:31 PM
To: r-help@r-project.org
Subject: [R] Ancova
Hello,
I have the following ancova:
my_ancova = aov(x~a+b)
How
Moshe,
Thanks so much for the added comment, I had fallen into the exact same
little syntax pitfall.
Your clarification really helped!
Jack
Moshe Olshansky-2 wrote:
Yes, it does - thank you!
The only thing I forgot (and it took me a while to
find this out) was to separate the fields by
On Fri, Jan 30, 2009 at 5:57 PM, Neil Stewart
neil.stew...@warwick.ac.uk wrote:
I have a data frame in wide format that I'd like to convert to long format.
For example, in wide format I have:
id A1B1A1B2A2B1A2B2
1 1 400 475 420 510
2 2
This will work:
x - read.table(textConnection( id A1B1A1B2A2B1A2B2
+ 1 1 400 475 420 510
+ 2 2 390 500 470 472
+ 3 3 428 512 555 610
+ 4 4 703 787 801 822
+ 5 5 611
Dear Friends,
require(cluster)
x - rbind(cbind(rnorm(10, 0, 0.5), rnorm(10, 0, 0.5)),
cbind(rnorm(15, 5, 0.5), rnorm(15, 5, 0.5)))
plot(pp - pam(x, 2), which.plots = 1)
How can I extract the coordinates used in the plot?
_
Professor Michael Kubovy
University of
Dear List,
Please find an interview with Richard Schultz, CEO REvolution Computing.
REvolution Computing just launched their latest product, commercial as well
as enterprise versions of R which include service contracts and tech
support.
The interview is viewable at
Corrected Links
Dear List,
Please find an interview with Richard Schultz, CEO REvolution Computing.
REvolution Computing just launched their latest product, commercial as well
as enterprise versions of R which include service contracts and tech
support.
The interview is viewable at
Neiderer, Andrew (Civ, ARL/CISD) neide...@arl.army.mil writes:
Classification: UNCLASSIFIED
Caveats: NONE
I am new to R and somewhat to Web server programming.
I am a Java programmer, however, and have done quite a bit with X3D
(extensible 3D) computer graphics.
A statistician that
Also look at biocep - http://biocep-distrib.r-forge.r-project.org/
-Roy M.
On Jan 30, 2009, at 8:52 PM, Martin Morgan wrote:
Neiderer, Andrew (Civ, ARL/CISD) neide...@arl.army.mil writes:
Classification: UNCLASSIFIED
Caveats: NONE
I am new to R and somewhat to Web server programming.
I am
On 1/30/09, Warren Young war...@etr-usa.com wrote:
Could you please share a link to the NY Times article?
http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html
Also do not miss the follow-up blog from the author, plus the the
related comments [1].
Liviu
[1]
On 1/30/09, Neil Shephard nsheph...@gmail.com wrote:
If they expect you to use Excel for statistics then its worth letting them
know that this would be a very bad idea as there are many short-comings,
some of which I've referenced at..
Hi all,
I am trying to read data from a XML file but the thing is when I am trying
to read data from XML
it is not allowing me to read and store nodes in objects can any one suggest
how can i solve this problem.
thanks in advance
[[alternative HTML version deleted]]
86 matches
Mail list logo