Re: [R] Assist on R-2.0.0 /64 bit AMD/SuSE 9.1

2004-10-22 Thread Prof Brian Ripley
What is Assist-0.1.0? It's not part of R and it is not a CRAN nor Bioconductor package. There is a CRAN package `assist', and if you mean that please follow the advice in the posting guide and contact the maintainer. Now, that package says Title: A Suite of S-Plus Functions Implementing

: [R] How to draw x-axis time label.

2004-10-22 Thread Ivy_Li
Thank you for helping me. I have modified this part of code. Time - c(2004-08-05 09:08:48, 2004-08-13 20:53:38, 2004-08-14 13:57:23, 2004-08-12 16:17:41, 2004-08-12 16:15:27, 2004-08-11 21:38:24, 2004-08-12 14:28:41, 2004-08-18 18:04:47, 2004-08-13 15:23:14,

Re: : [R] How to draw x-axis time label.

2004-10-22 Thread Prof Brian Ripley
On Fri, 22 Oct 2004, Ivy_Li wrote: Thank you for helping me. I have modified this part of code. Time - c(2004-08-05 09:08:48, 2004-08-13 20:53:38, 2004-08-14 13:57:23, 2004-08-12 16:17:41, 2004-08-12 16:15:27, 2004-08-11 21:38:24, 2004-08-12 14:28:41, 2004-08-18

Re: [R] p-values for the dip test

2004-10-22 Thread Martin Maechler
Hmm, this is rather about reading the (Hartigan)^2 paper ... Kylie == Kylie Lange [EMAIL PROTECTED] on Fri, 22 Oct 2004 11:17:34 +0930 writes: Kylie Hi all, Kylie I am using Hartigan Hartigan's [1] dip test of Kylie unimodality via the diptest package in R. The Kylie

[R] Vector and String

2004-10-22 Thread pbrouilly
Hi everybody, I'm using a vector to strore some strings. I create a vector named seq2 : seq2-vector(length=0) I have a string named b b [1] CATGGTAGGAATAC I put b in the vector seq2-c(seq2,b) Finally I edit seq2 seq2 [1] 14760 My question is why I obtained a number (14760) when I add a

Re: [R] Vector and String

2004-10-22 Thread Prof Brian Ripley
On Fri, 22 Oct 2004 [EMAIL PROTECTED] wrote: Hi everybody, I'm using a vector to strore some strings. I create a vector named seq2 : seq2-vector(length=0) typeof(seq2) [1] logical so you created a *logical vector*. See ?vector. I have a string named b b [1] CATGGTAGGAATAC I

Re: [R] Vector and String

2004-10-22 Thread Marc Mamin
Hello, I'm looking for a procedure to detect trend changes or significant signals in time series as in the attached example. Could you point me to a library or reference I can start with? Thanks, Marc Mamin__ [EMAIL PROTECTED] mailing list

Re: libraries and references (was `[R] Vector and String')

2004-10-22 Thread Prof Brian Ripley
Have you read the R-posting guide which specifically asks you *not* to tack completely separate questions on to other threads, and to use a relevant subject line? What has this to do with `[R] Vector and String'? On Fri, 22 Oct 2004, Marc Mamin wrote: I'm looking for a procedure to detect

RE: libraries and references (was `[R] Vector and String')

2004-10-22 Thread Pfaff, Bernhard
I'm looking for a procedure to detect trend changes or significant signals in time series as in the attached example. Dear Marc, it seems that your example have been removed, as stated in the posting guide. Hence, I can only guess what your problem is and offer: help.search(Goldfeld)

[R] building an R package : where and how should my fortran library be loaded ?

2004-10-22 Thread Gilles GUILLOT
Hi , I'm currently trying to make available a few fortran subroutines and R functions (which make interface to these subroutines), as an R package. I'm doing it under linux with R 1.9.0 (but hope to do it for windows too). I have trouble for loading my fortran code. Here are the steps involved

Re: [R] building an R package : where and how should my fortran library be loaded ?

2004-10-22 Thread Prof Brian Ripley
On Fri, 22 Oct 2004, Gilles GUILLOT wrote: I'm currently trying to make available a few fortran subroutines and R functions (which make interface to these subroutines), as an R package. I'm doing it under linux with R 1.9.0 Please update, as few of us have such an old system in use.

[R] cor, cov, method pairwise.complete.obs

2004-10-22 Thread Eric Lecoutre
Hi UseRs, I don't want to die beeing idiot... I dont understand the different results between: cor() and cov2cov(cov()). See this little example: x=matrix(c(0.5,0.2,0.3,0.1,0.4,NA,0.7,0.2,0.6,0.1,0.4,0.9),ncol=3) cov2cor(cov(x,use=pairwise.complete.obs)) [,1] [,2] [,3]

[R] Convert a list in a dataframe

2004-10-22 Thread Vito Ricci
Hi, I've a list containing parameters (intercepts coefficients) of 12 regressions fitted coeff [[1]] (Intercept) anno -427017.1740 217.0588 [[2]] (Intercept) anno -39625.82146 21.78025 . [[12]] (Intercept)anno 257605.0343 -129.7646 I want

[R] grouping for lme with nested repeated measurements

2004-10-22 Thread Nicolaas Busscher
I am using lme to handle repeated measurements. So far i can follow the examples from the book from pinheiro and bates. Now i get the problem , that i have nested repeated measuremnts, and i cant find out how to do the grouping part of the lme formula. 1.The simple problem ist that i have

RE: [R] Convert a list in a dataframe

2004-10-22 Thread Liaw, Andy
Try something like: as.data.frame(do.call(rbind, coeff)) HTH, Andy From: Vito Ricci Hi, I've a list containing parameters (intercepts coefficients) of 12 regressions fitted coeff [[1]] (Intercept) anno -427017.1740 217.0588 [[2]] (Intercept) anno

Re: [R] Convert a list in a dataframe

2004-10-22 Thread Peter Dalgaard
Vito Ricci [EMAIL PROTECTED] writes: Hi, I've a list containing parameters (intercepts coefficients) of 12 regressions fitted coeff [[1]] (Intercept) anno -427017.1740 217.0588 [[2]] (Intercept) anno -39625.82146 21.78025 . [[12]]

Re: [R] Convert a list in a dataframe

2004-10-22 Thread Uwe Ligges
Vito Ricci wrote: Hi, I've a list containing parameters (intercepts coefficients) of 12 regressions fitted coeff [[1]] (Intercept) anno -427017.1740 217.0588 [[2]] (Intercept) anno -39625.82146 21.78025 . [[12]] (Intercept)anno 257605.0343 -129.7646

[R] confidence interval

2004-10-22 Thread lu kan
I used a dataset to fit a linear model. For each new sample, a precition can be obtained using the fitted model. Now I wonder is there any way to calculate the confidence interval of the precition for new samples? Any suggestion or pointing to a reference would be very appreciated. Lu

[R] bquote inside a legend

2004-10-22 Thread Jean Eid
I am trying to automate an outide of the plot region table that has the correlation coef. of the various variables in the plot. I am currently using bquote to get the greek/latex representation of $\rho$. what I want so what I have is the following rhoa - cor(x, data1$No.Msa.Hosp) rhon -

Re: [R] confidence interval

2004-10-22 Thread Uwe Ligges
lu kan wrote: I used a dataset to fit a linear model. For each new sample, a precition can be obtained using the fitted model. Now I wonder is there any way to calculate the confidence interval of the precition for new samples? Any suggestion or pointing to a reference would be very appreciated.

[R] Incompatibility between R-2.0.0 and Rggobi_1.0-0.

2004-10-22 Thread Aruna Buddana
Hello, I was trying to install Rggobi in the latest version of R and it gave me a compilation error for R CMD INSTALL Rggobi_1.0-0.tar.gz RSGGobi.C: In function RS_GGOBI_init (R_IsNaNorNA) undeclared (line 77) I searched for this function in R src files and it was abandoned in

[R] ave gives unexpected NA's

2004-10-22 Thread Wolfram Fischer
[R 2.0.0 on Linux] I tried: df - data.frame( grp1=factor( c('A' ,'A' ,'A' ,'D', 'D' ) ) , grp2=factor( c('a1','a2','a2','d1','d1') ) ) df grp1 grp2 val 1A a1 1 2A a2 2 3A a2 4 4D d1 8 5D d1 16 I got: with( df, ave( val, grp1, grp2,

[R] Interval Arithmetic Queueing Models

2004-10-22 Thread Dominic Kay
I want to do two things in R and have searched the mail archive and packages to see if they have been done before. I could not see anything. If anyone has tackled these problem domains before I would be grateful for help. 1. Has anyone implemented interval arithmetic (see generally

Re: [R] Incompatibility between R-2.0.0 and Rggobi_1.0-0.

2004-10-22 Thread Prof Brian Ripley
This is discussed in 200update.txt file on developer.r-project.org, which tells you the right way to do it. BTW, the incompatility is of Rggobi_1.0-0 with R-2.0.0 and not the other way round. On Fri, 22 Oct 2004, Aruna Buddana wrote: Hello, I was trying to install Rggobi in the latest

Re: [R] bquote inside a legend

2004-10-22 Thread Uwe Ligges
Jean Eid wrote: I am trying to automate an outide of the plot region table that has the correlation coef. of the various variables in the plot. I am currently using bquote to get the greek/latex representation of $\rho$. what I want so what I have is the following rhoa - cor(x,

Re: [R] console under Mandrake

2004-10-22 Thread Prof Brian Ripley
On Fri, 22 Oct 2004, Adrian Dusa wrote: I recently compiled R 2.0.0 under Mandrake 9, but it won't run unless in a terminal; is there a way to run it in a console, like in Windows? Yes. Did you read the manual the INSTALL file pointed you to? See appendix B.6 in the version I am looking at.

Re: [R] ave gives unexpected NA's

2004-10-22 Thread Peter Dalgaard
Wolfram Fischer [EMAIL PROTECTED] writes: [R 2.0.0 on Linux] I tried: df - data.frame( grp1=factor( c('A' ,'A' ,'A' ,'D', 'D' ) ) , grp2=factor( c('a1','a2','a2','d1','d1') ) ) df grp1 grp2 val 1A a1 1 2A a2 2 3A a2 4 4D d1 8 5

Re: [R] confidence interval

2004-10-22 Thread lu kan
Is there the similar thing for non-linear 'nls'? Lu Uwe Ligges [EMAIL PROTECTED] wrote: lu kan wrote: I used a dataset to fit a linear model. For each new sample, a precition can be obtained using the fitted model. Now I wonder is there any way to calculate the confidence interval of the

Re: [R] console under Mandrake

2004-10-22 Thread Peter Dalgaard
Prof Brian Ripley [EMAIL PROTECTED] writes: On Fri, 22 Oct 2004, Adrian Dusa wrote: I recently compiled R 2.0.0 under Mandrake 9, but it won't run unless in a terminal; is there a way to run it in a console, like in Windows? Yes. Did you read the manual the INSTALL file pointed you to?

[R] invalid for factors not really working

2004-10-22 Thread stefan . albrecht
Dear all, I have the impression that the function invalid from gtools is not really working as I would expect it to do for factors: Browse[1] invalid(as.factor(NA)) [1] FALSE Browse[1] invalid(as.numeric(NA)) [1] TRUE I would exptect that invalid(as.factor(NA)) is also TRUE. Maybe this

RE: [R] confidence interval

2004-10-22 Thread Liaw, Andy
No, but this question has been asked fairly recently and work-around posted. Please search the archive. Andy From: lu kan Is there the similar thing for non-linear 'nls'? Lu Uwe Ligges [EMAIL PROTECTED] wrote: lu kan wrote: I used a dataset to fit a linear model. For each new

Re: [R] Assist on R-2.0.0 /64 bit AMD/SuSE 9.1

2004-10-22 Thread Simon Frost
Dear Brian, Apologies;I do mean 'assist' rather than 'Assist'; there are versions for R and for SPlus. I doubt whether it's to do with calling conventions; the functions sometimes work, sometimes they don't, and cause a segmentation fault. Thanks Simon -- Simon D.W. Frost, MA DPhil Adjunct

[R] R

2004-10-22 Thread songj
Hi, Everyone: We are installing R package in our Sun Solaris 9, and falling in trouble. We downloaded all package from bioconductor, the R can not be installed in Sun Solaris 9. We greatly appreciated if you could give us any suggestions. Thanks. Yours Song

[R] How to save a complete image of the current state of R ?

2004-10-22 Thread Andreas Buness
Hello, I like to save the complete state of R, i.e. including all environments, objects/workspaces, loaded packages etc.. This wish has arisen since I am not able to reproduce an error which occurs when running R CMD check. Many thanks for your advice in advance. Best Regards Andreas

Re: [R] How to save a complete image of the current state of R ?

2004-10-22 Thread Kevin Bartz
Andreas Buness wrote: Hello, I like to save the complete state of R, i.e. including all environments, objects/workspaces, loaded packages etc.. This wish has arisen since I am not able to reproduce an error which occurs when running R CMD check. Many thanks for your advice in advance. Best Regards

Re: [R] confidence interval

2004-10-22 Thread Prof Brian Ripley
On Fri, 22 Oct 2004, lu kan wrote: Is there the similar thing for non-linear 'nls'? Do read the documentation for predict.nls, which also has an argument interval, which is what you asked. And this time, read even more carefully. Then look in the recent archives, as the posting guide asks,

Re: [R] How to save a complete image of the current state of R ?

2004-10-22 Thread Uwe Ligges
Andreas Buness wrote: Hello, I like to save the complete state of R, i.e. including all environments, objects/workspaces, loaded packages etc.. I think what you are going to do is not available. You can save the workspace, attach the data and load formerly loaded packages again, of course. Uwe

Re: [R] not-mentioned problems on installing R under Solaris; was: R

2004-10-22 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hi, Everyone: We are installing R package in our Sun Solaris 9, and falling in trouble. We downloaded all package from bioconductor, the R can not be installed in Sun Solaris 9. We greatly appreciated if you could give us any suggestions. Thanks. Yours Song

Re: [R] R

2004-10-22 Thread Adaikalavan Ramasamy
You will need to get R working first before installing BioConductor packages. Please provide a more useful output (like the error message) if you want useful help. Have you tried reading the R manual or searching the mail archives [2]. [1] http://cran.r-project.org/doc/manuals/R-admin.pdf [2]

Re: [R] How to save a complete image of the current state of R ?

2004-10-22 Thread Adaikalavan Ramasamy
Perhaps save.image(file=lala.rda, compress=T) followed by load(lala.rda) to re-load it. On Fri, 2004-10-22 at 18:05, Andreas Buness wrote: Hello, I like to save the complete state of R, i.e. including all environments, objects/workspaces, loaded packages etc.. This wish has arisen since

[R] [R-pkgs] New Package for Multivariate and Propensity Score Matching

2004-10-22 Thread Jasjeet Singh Sekhon
Matching version 0.48 is now available on CRAN. Matching provides functions for estimating causal effects by multivariate and propensity score matching. The package includes a variety of univariate and multivariate tests to determine if balance has been obtained by the matching procedure. These

Re: [R] R

2004-10-22 Thread rongguiwong
i think install.packages may help. for example,if i want package car from www.cran.r-project.org i can use install.packages(car) you can use ?install.packages to see more details. ÔÚ 2004Äê10ÔÂ23ÈÕ ÐÇÆÚÁù 00:[EMAIL PROTECTED] дµÀ£º Hi, Everyone: We are installing R package in our Sun

RE: [R] console under Mandrake

2004-10-22 Thread Adrian Dusa
Thank you for your both answers, As you might have guessed, I am initiating myself in the Linux wizardry. I have absolutely nothing against command line, I was just heavily used to the Windows console mode; a terminal window is just fine. Actually, I only used the console to install packages from

[R] $B%a%C%;!<%8$rG[?.$G$-$^$;$s(B

2004-10-22 Thread Yahoo!$B%0%k!<%W(B
(B[$B$3$N%a!<%k$O!"7HBSEEOC$J$I

[R] R2HTML installation on R 1.9.1

2004-10-22 Thread Threefoot, Mark
Hello, I am trying to install R2HTML version 1.4-3, but am getting errors when I try to use it. I am running R 1.9.1 on Redhat Linux Ent 3 AS x86_64. I installed R2HTML using the following command R CMD INSTALL R2HTML_1.4-3.tar.gz. I did not get any errors when installing it. When I

Re: [R] R2HTML installation on R 1.9.1

2004-10-22 Thread Sundar Dorai-Raj
Threefoot, Mark wrote: Hello, I am trying to install R2HTML version 1.4-3, but am getting errors when I try to use it. I am running R 1.9.1 on Redhat Linux Ent 3 AS x86_64. I installed R2HTML using the following command R CMD INSTALL R2HTML_1.4-3.tar.gz. I did not get any errors when

[R] Evaluate a function for various value of parameters

2004-10-22 Thread Stephane DRAY
Hello list, I have a problem ... and do not know how to solve it. I would like create a function that estimate the quality of the fit of different functions with different values of parameters. This problem is related to the following one: I would like to create a function evaluatemyfunction

[R] dotplot lattice problems: y axis values and bg color output in jpg

2004-10-22 Thread Paul Johnson
I have a linux system with Fedora Core 2 and R-2.0. I was comparing plots made with plot() and dotplot() and discovered a problem. Although the dots are positioned correctly, the numerical labels in the dotplot y axis are not correct. I put copies here:

Re: [R] Evaluate a function for various value of parameters

2004-10-22 Thread Olaf Mersmann
Hi Stephane, * Stephane DRAY [EMAIL PROTECTED] [041023 00:20]: Hello list, I have a problem ... and do not know how to solve it. I would like create a function that estimate the quality of the fit of different functions with different values of parameters. This problem is related to the

Re: [R] dotplot lattice problems: y axis values and bg color output in jpg

2004-10-22 Thread Sundar Dorai-Raj
Paul Johnson wrote: I have a linux system with Fedora Core 2 and R-2.0. I was comparing plots made with plot() and dotplot() and discovered a problem. Although the dots are positioned correctly, the numerical labels in the dotplot y axis are not correct. I put copies here:

Re: [R] dotplot lattice problems: y axis values and bg color output in jpg

2004-10-22 Thread Olaf Mersmann
Hi Paul. * Paul Johnson [EMAIL PROTECTED] [041023 00:24]: *snip* That is the dotplot one. The picture is basically the same, except the numbers on the y axis only go up to 8. But the dots are in the correct spots and the x axis is labeled correctly. Unless RENUCYC is a factor, a dotplot

Re: [R] dotplot lattice problems: y axis values and bg color output in jpg

2004-10-22 Thread Deepayan Sarkar
On Friday 22 October 2004 17:16, Paul Johnson wrote: I have a linux system with Fedora Core 2 and R-2.0. I was comparing plots made with plot() and dotplot() and discovered a problem. Although the dots are positioned correctly, the numerical labels in the dotplot y axis are not correct.

Re: [R] How to calculate a double integral ...?

2004-10-22 Thread cjosephlu
Gabor Grothendieck [EMAIL PROTECTED] writes: cjlu cjlu at mail.ncku.edu.tw writes: : How can I calculate a double integral like : : \int_a^b \int_c^y g(x, y) dx dy : : where a, b, c are constants, g(x, y), e.g., : g(x, y) = tan(x + y). : Integrate g2 - function(x, y) g(x, y) *

Re: [R] Evaluate a function for various value of parameters

2004-10-22 Thread Gabor Grothendieck
Stephane DRAY dray at biomserv.univ-lyon1.fr writes: : I would like to create a function evaluatemyfunction which evaluate a : function f for different values of parameters. For instance, if : f=function(a,b) a*b : evaluatemyfunction(f,1:10,5) would return: : 5 : 10 : 15... : This is not a

[R] JDBC DB access in R

2004-10-22 Thread zubin
Hello, i see packages referencing using ODBC access to databases via R, are there any packages that use JDBC to submit SQL to a database and return into a data frame? -zubin __ [EMAIL PROTECTED] mailing list