On Sun, 16 Nov 2008, Prof Brian Ripley wrote:
This is what e.g. package snow does: it will also collect the results for
you. See also package pvapply.
Typo: 'papply'
On Sat, 15 Nov 2008, [EMAIL PROTECTED] wrote:
Dear R-help,
Please forgive me if any of the following sounds naieve/confus
This is what e.g. package snow does: it will also collect the results for
you. See also package pvapply.
On Sat, 15 Nov 2008, [EMAIL PROTECTED] wrote:
Dear R-help,
Please forgive me if any of the following sounds naieve/confused, i've
just got back from a mini-pub-crawl, slightly tipsy, and
Hi Camilo,
try gls() in the nlme package.
Andrew
On Sat, Nov 15, 2008 at 11:34:57PM -0400, Camilo Mora wrote:
> Hi:
>
> Does anyone know if it is possible to run an ANCOVA in R while accounting or
> controlling for spatial autocorrelation? I have found usefull information into
> how to account
Why not ask on r-sig-debian?: presumably it is a setting in the binary
install of R you are using that is inappropriate on your systems.
On Sat, 15 Nov 2008, Erik Iverson wrote:
I never could figure this out, I had the exact same issue though. My
solution was to simply set
options(pdfviewer
On Sat, 15 Nov 2008, Spencer Graves wrote:
"Writing R Extensions" is no longer available via "help.start()", at
least not in the standard Windows install since R 2.7.2. If there is a way
to get it to work again like it used to, I'd like to know. The only way I
Are you getting the search
There are three sci.stat.* newsgroups on the original USENET hierarchy
and at least one GoogleGroups location with activity. The Medstats
group has reputable people contributing. If you post a difficult
problem in integration or numerical analysis to sci.math or
sci.math.num-analysis you
The function ... works for different values of two
Thomas Lumley
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, min
Dear CE.KA,
Try this:
X=read.table(textConnection("
Var1Var2
A 22 13
B5 2
C12 8
D199"),header=TRUE)
closeAllConnections()
X$Var3<-rownames(X)
X
HTH,
Jorge
On Sat, Nov 15, 2008 at 5:34 PM, CE.KA <[EMAIL PROTECTED]> wrote:
>
> Hi R users
>
> I
Hi:
Does anyone know if it is possible to run an ANCOVA in R while accounting or
controlling for spatial autocorrelation? I have found usefull information into
how to account for spatial autocorrelaion in regression models but not much
into how to deal with the problem in an ANCOVA.
Thanks,
Cami
Dear Henrik:
Henrik Bengtsson wrote:
Are you referring to the update that you now reach 'R: Search
Engine'(*) when you call help.start() whereas before you got to the
'Statistical Data Analysis' main menu from where 'Writing R
Extensions' is available (in HTML format)?
Correct.
You
Are you referring to the update that you now reach 'R: Search
Engine'(*) when you call help.start() whereas before you got to the
'Statistical Data Analysis' main menu from where 'Writing R
Extensions' is available (in HTML format)? You can reach the latter
from the former by clicking on the up-a
I never could figure this out, I had the exact same issue though. My
solution was to simply set
options(pdfviewer = "evince")
in my .Rprofile. Presumably, you could set it to whatever PDF viewer is
your favorite. I never looked further into why the default was doing
what it was doing.
Li
#if this doesn't work then swap the rownames... = ... to ...=rownames...
a <- data.frame(your.df, rownames(your.df)=Var3)
On Sat, Nov 15, 2008 at 5:34 PM, CE.KA <[EMAIL PROTECTED]> wrote:
>
> Hi R users
>
> Imagine this data.frame:
>>X
>
>Var1Var2
> A 22 13
> B5 2
> C
X$Var3 <- row.names(X)
CE.KA wrote:
Hi R users
Imagine this data.frame:
X
Var1Var2
A 22 13
B5 2
C12 8
D199
A,B,C,D are the rows names (or index)
Is there a way to create a new variable in this data frame
which name is Var3 and which contain
Code:
# svm is an S3 class, so:
setOldClass("svm")
# Create the super class model:
setClass("model")
# For svm from e1071 this works (well gives no error):
setIs("svm", "model")
# For rvm from kernlab this gives and error:
setIs("rvm", "model")
# the "superclass" list for class "rvm" includes
Dear R-help,
Please forgive me if any of the following sounds naieve/confused, i've
just got back from a mini-pub-crawl, slightly tipsy, and am feeling
brave to ask a possibly silly question... also, not to shiny on the
technical side of things.
Problem - I need to text mine a collection of 10,00
Hello All R-Gurus:
ISSUE:
Cannot view R vignettes due in Ubuntu Linux (a debian variant).
note: this issue has been posted to this list before with no responses given
see https://stat.ethz.ch/pipermail/r-help/2007-September/141178.html
DETAILS:
I am trying to view an R vignette.
Here is the situ
Hi there
all suggestions much appreciated! so our investigation is looking into the
time pairs of guppies spend interacting... we have raw data in minutes, but
have ranked each possible association between pairs (out of 15 possible) in
order of frequency of occurence during a 20 min recording per
Hello, I was just wondering if you had found a solution? I am having
the same difficulty of converting pdf's into plain text documents in
R. I originally thought I could use the readLines() function, but as
you can see below that did not work.
R> my.destfile <- "C:\\Documents and Settings\\clair\\
Hi R users
Imagine this data.frame:
>X
Var1Var2
A 22 13
B5 2
C12 8
D199
A,B,C,D are the rows names (or index)
Is there a way to create a new variable in this data frame
which name is Var3 and which contains the rows names:
Var1Var2
"Writing R Extensions" is no longer available via "help.start()",
at least not in the standard Windows install since R 2.7.2. If there is
a way to get it to work again like it used to, I'd like to know. The
only way I know to get it is to go to "www.r-project.org" -> Manuals ->
"Writing
I am also curious if someone can direct us to a good statistical group
mailing list. I have been using R since few days and I find this groups
amazing (with so many discussions pouring in!! I just love it.) But, I also
seem to hit a roadblock for deciding which test to use, sometimes.
It will help
See 'Writing R Extensions' via help.start() and then search for CITATION.
My $.02 /Henrik
On Sat, Nov 15, 2008 at 2:35 PM, Charles Annis, P.E.
<[EMAIL PROTECTED]> wrote:
> Greetings, R-ians:
>
> I am sure I am missing something obvious.
>
> How do I provide a CITATION file for my home-brew packag
On Sat, Nov 15, 2008 at 12:19 PM, ANJAN PURKAYASTHA <
[EMAIL PROTECTED]> wrote:
> Hi,
> Given that the R forum is mostly a site to discuss issues related to the
> language, are there any forums that discuss statistical issues? I am
> specifically interested in the statistical issues in experimenta
Thanks David, you are absolutely right, the solution was more simple than I
was wondering, sorry for the mistake.
I always read the help files and search the older topic of the list before
posting, but this time I wasn't able found out a solution for such a simple
thing. I got very closer to your s
Hi - I have a question about the following code from Bayesian
Computation with R (Jim Albert).
par(mfrow=c(2,2))
m = 500
alphas = c(5, 20, 80, 400)
for (j in 1:4) {
mu = rgamma(m, shape=10, rate=10)
lambda1 = rgamma(m, shape=alphas[j], rate=alphas[j]/mu)
lambda2 = rgamma(m, shape=alpha
Greetings, R-ians:
I am sure I am missing something obvious.
How do I provide a CITATION file for my home-brew package, so that it will
be packaged using
R CMD build --binary myPackage?
I have placed a CITATION file in the myPackage directory along with the
DESCRIPTION file, but it is ignore
Megha Patnaik wrote:
> Great! You can navigate to choosing the resolution from the warning window.
>
will do. thanks for your help.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
Are you talking about a 'streamline' like might be made with 'vtk'? or in a
number of fluid dynamics, groundwater packages, particle physics codes, etc.?
There was an exploratory hook up of R and vtk by M. Kondrin a year or two back
(linux only). Search the archives. Parsing a vtk dataset in R s
-Messaggio originale-
Da: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Inviato: ven 14/11/2008 18.27
A: [EMAIL PROTECTED]
Cc: r-help@r-project.org
Oggetto: Re: [R] How to enable R on-line search in HTML help
First, there is a R-sig-mac list for Mac OS questions.
I will try the channel y
On 11/15/08, Stavros Macrakis <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 14, 2008 at 6:55 PM, Deepayan Sarkar
> <[EMAIL PROTECTED]> wrote:
> >> ...But how do I specify that I want to display all the Subjects on a...
> single graph, superimposing them all?
>
> >
> > Have you tried
> > xyplot ( co
On Sun, 16 Nov 2008, June Kim wrote:
What does the warning mean?
In dev.off() : increasing the PDF version to 1.3
It means you have an obsolete version of R, and failed to follow the
posting guide in telling us what it is. ?pdf should explain the message
to you in your version of R. E.g.
Duncan Temple Lang wrote:
>
> Hans W. Borchers wrote:
>> Below I enclose a solution that I have written some month ago. It is
>> given in pythonic language, but you can easily translate it into the
>> corresponding Perl terms. One drawback is that one cannot use numbers
>> as keys, only keys follow
Great! You can navigate to choosing the resolution from the warning window.
2008/11/16 john polo <[EMAIL PROTECTED]>
> Peter Dalgaard wrote:
> >> from xdpyinfo:
> >> screen #0:
> >> dimensions:1280x800 pixels (289x21 millimeters)
> >> resolution:112x968 dots per inch
> >
> > Ick!
> >
Peter Dalgaard wrote:
>> from xdpyinfo:
>> screen #0:
>> dimensions:1280x800 pixels (289x21 millimeters)
>> resolution:112x968 dots per inch
>
> Ick!
>
> Yes that will do that to you.
>
> You might want to try putting
>
> DisplaySize 339 212
>
> in the Monitor section of xorg.conf
>
it
Here is one way using a 'list':
> x <- data.frame(a=1:10, b=21:30, c=41:50)
> out <- lapply(x, function(z){
+ hist(z, plot=FALSE)
+ })
>
> str(out)
List of 3
$ a:List of 7
..$ breaks : num [1:6] 0 2 4 6 8 10
..$ counts : int [1:5] 2 2 2 2 2
..$ intensities: num [1:5] 0.1 0.1 0.1
It also works for me using zoo 1.5-4 and R 2.7.2. Try it running at the
beginning of a vanilla session. If still a problem reinstall zoo:
install.packages("zoo", dep = TRUE)
If still a problem reinstall R and then reinstall zoo, preferable
going to R 2.8.0.
On Sat, Nov 15, 2008 at 12:19 PM, Di
Hi all,
I am trying to find a way to rename R objects with names pulled from a
vector of names. For example, I have a data frame, my.data.frame, and
a list of names, my.names. My.names is simply the column names of
my.data.frame.
I want save the histogram with the column name as the name of the
On Sat, 15 Nov 2008, kathie wrote:
Dear R users...
I made the R-code for this triple summation computation
http://www.nabble.com/file/p20517134/a.jpg
-
Here is my code..
x=seq(.1,1,.1); l=10
y=seq(1,10); m=10
z=seq(.1,1,.1); n=10
sum(sapply
You may be new to R but that does not mean you should stay "new" to
the help pages. It looks as though postscript() is ignoring your
setEPS efforts,,, with perfectly legitimate reason since that is not a
defined parameter for that function. It is a separate function. What
happens when you u
I think this approximates what you want:
a1 <- 1:10
a2 <- a1 + 100
a3 <- a1 + 200
a4 <- a1 + 300
arr <- rbind(a1, a2, a3, a4)
dim(arr) <- c(2, 2, 10)
apply(arr, 3, function(x) eigen(x)$values[2])
Patrick Burns
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and
On Fri, Nov 14, 2008 at 6:55 PM, Deepayan Sarkar
<[EMAIL PROTECTED]> wrote:
>> ...But how do I specify that I want to display all the Subjects on a...
>> single graph, superimposing them all?
>
> Have you tried
> xyplot ( conc ~ time , Indometh, groups = Subject ) ?
Thanks very much for your help
Greetings
This is a long email.
I'm struggling with a data set comprising 2,278 hydroacoustic estimates of
fish biomass density made along line transects in two lakes (lakes
Michigan and Huron, three years in each lake). The data represent
lakewide surveys in each year and each data point rep
TU wrote:
>
> A recent update on base packages on my R installation has introduced a
> problem to my code which did not exist before the update. The offending
> function is rbind, which fails where it was working just fine before the
> update.
>
> I have two zoo objects, foo and bar, index
Hi,
Given that the R forum is mostly a site to discuss issues related to the
language, are there any forums that discuss statistical issues? I am
specifically interested in the statistical issues in experimental design.
TIA,
Anjan
--
=
anjan purkayastha, phd
bioinforma
Dear R users...
I made the R-code for this triple summation computation
http://www.nabble.com/file/p20517134/a.jpg
-
Here is my code..
x=seq(.1,1,.1); l=10
y=seq(1,10); m=10
z=seq(.1,1,.1); n=10
sum(sapply(1:l, function(i) {sum(sapply(1:m,
Hi,
I think the following code should do what you want,
xyplot(yvar~year|week,data=df,layout = c(4, 5),
type='p',
groups = temp ,
panel = function(x, y, ...) {
panel.superpose(x, y,
James Rudge wrote:
If I have 4 vectors (a, b, c, and d) each of length 1000, how do I then create
1000 two by two matrices from these vectors, such that:
myMatrix[i] = matrix(c(a[i],b[i],c[i],d[i]),2)
Then I'd like to create a single vector containing the largest eigenvalues of each matrix
Hans W. Borchers wrote:
Dear all,
Which data structure in R can mimic hash in PERL? I'd like to set
up a lookup table, which could be accomplished by HASH if using PERL.
Which of the data structures in R is the most efficient for lookup
table?
Thanks for your help.
Best regards,
Leon
The
> Dear all,
>
>Which data structure in R can mimic hash in PERL? I'd like to set
> up a lookup table, which could be accomplished by HASH if using PERL.
> Which of the data structures in R is the most efficient for lookup
> table?
> Thanks for your help.
>
> Best regards,
> Leon
The regular
You could use
new.env(hash = TRUE, emptyenv())
and you can even specify an initial size.
Seth Falcon has a package named dict that allows
for different choices of hash function.
D.
Leon Yee wrote:
Dear all,
Which data structure in R can mimic hash in PERL? I'd like to set up
a loo
Sara Mouro wrote:
>
> I have this 2 models that fit to my data:
>
> M3varI <- update (M3, weights=varIdent(form= ~ 1|SITE))
>
> M3AR1<-update(M3,correlation=corAR1())
>
> How can I put them toghether in one final model?
>
>
This looks like lme in package nlme, but it is pure guesswork, sin
Dear R users,
I have this 2 models that fit to my data:
M3varI <- update (M3, weights=varIdent(form= ~ 1|SITE))
M3AR1<-update(M3,correlation=corAR1())
The first one, updates my M3 so that I can account for the variance
structure of random erros.
The second one, updates my M3 so that I can ac
see ?tapply, for example:
tapply(df$x, df$z, mean)
Might also look at ?ave and ?aggregate depending on what form you want
the result to have... or the "plyr" package on CRAN. Lots of options!
stat4u wrote:
hi,
How can i calculate means with catergory of variable...
like
x yz
2 3
hi,
How can i calculate means with catergory of variable...
like
x yz
2 3y
3 4n
1 2y
6 3n
9 1y
2 2n
8 3y
i want to get mean of x and y with respective to its category(y,n)
thanks...
regards,
Muhammad Faisal
--
View this message in context:
htt
What does the warning mean?
In dev.off() : increasing the PDF version to 1.3
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide comme
If I have 4 vectors (a, b, c, and d) each of length 1000, how do I then create
1000 two by two matrices from these vectors, such that:
myMatrix[i] = matrix(c(a[i],b[i],c[i],d[i]),2)
Then I'd like to create a single vector containing the largest eigenvalues of
each matrix?
(Sorry I am quite
Dear R Users,
A recent update on base packages on my R installation has introduced a
problem to my code which did not exist before the update. The offending
function is rbind, which fails where it was working just fine before the
update.
I have two zoo objects, foo and bar, indexed by class D
john polo wrote:
According to your setup, the system should believe that you have an
~8 inch screen (800/96) and >the default X11 window is 7x7 inches so
there _should_ be plenty of room, but some systems try >to outsmart
the user and use the actual physical dimensions, which could be
smaller (hi
Dear R listers,
I am trying to create a lattice plot with independent regression lines per group
for each panel, plus one overall regression line per panel. I succeed in having
the separate regression lines for each group per panel, but I can't figure out
how to add the overall regression line o
Win xp sp2, R v2.7.1, R2HTML v1.59
Hi. I have tried searching this extensively but to no avail. While using
the R2HTML package, everytime I use HTMLStart() followed by HTML.title or
HTML functions, I get a "NULL" in the output. For instance,
> HTMLStart(outdir='dir name',filename="file",exten
Hi List, here I go again.
Well I need to save plotted objects as .eps using the postscript() function,
well I can do that but all resulting object are perfect squared dimensions
(x = y). I need a rectangular output something like x = 2y dimension. Is it
possible? The Im new to R and postscript im
Dear all,
Which data structure in R can mimic hash in PERL? I'd like to set up
a lookup table, which could be accomplished by HASH if using PERL. Which
of the data structures in R is the most efficient for lookup table?
Thanks for your help.
Best regards,
Leon
___
My xorg.conf has "Configured Monitor" as opposed to "Generic Monitor". Here
is the relevant portion of my xorg.conf:
Section "Device"
Identifier"Intel Corporation Mobile 945GM/GMS, 943/940GML Express
Integrated Graphics Controller (rev 03)"
Driver"intel"
EndSection
Section "Mo
megha patnaik wrote:
> Hi John,
> an R problem, but an X11 bug in Ubuntu. This is evident from
plot(rnorm(10))
> failing to perform. If you are seeing this, then it is because X11
does not
> automatically detect Intel graphic cards. The solution is to edit your
> xorg.conf file, changing it to some
Thank you very much for the answer.
I have seen very often the number of subject at risk on survival graph (see
my pdf file). It is very easy to plot the curve with geom_step(), but is
there a better way to show the number of subjects at risk at each time ?
Thank you for your advice.
2008/11/14
Erik Iverson wrote:
You should begin by telling us what you did to produce the result. That
way we can tell if it's something in your R commands or not. If you
give us step by step instructions to reproduce the problem (with
simulated data, or a dataset distributed with R), it becomes much ea
sallyr wrote:
>
> Hi -I'm running a GAM with 7 explanatory variables with a Poisson error
> structure. All of the variables are continuous so I'm getting error
> messages in R.
>
> cod.fall.full.gam.model<-gam(Kept.CPUE~s(HOUR)+s(LAT_dec)+s(LONG_dec)+s(meantemp_C)+s(meandepth_fa)+s(change_d
G'day Duncan,
On Fri, 14 Nov 2008 15:24:03 -0500
Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> >> Moreover, if you write a C/C++ program that makes use of GNU
> >> extensions, you'd be in violation of the GPL if you were to
> >> distribute it without GPLing it. Even the FSF doesn't believe
> >> th
69 matches
Mail list logo