Re: [R] lme4 package installation

2015-08-17 Thread S Ellison
try tu put line setInternet2(TRUE) into your Rprofile.site file (located in etc directory of R installation) and restart R. You may well need to specify the utils library, as follows, to make sure the setInternet2 function is found at run time: utils::setInternet2() S Ellison

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
On Aug 17, 2015, at 3:39 PM, Bert Gunter wrote: David: I may have misunderstood you here, specifically: As such I would ask if you really wanted to use a parametric survival model in the first place? The K-M curve is , of course, a **non-parametric** fit, and that is why there can

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
On Aug 17, 2015, at 1:51 PM, David Winsemius wrote: On Aug 17, 2015, at 12:10 PM, survivalUser wrote: Dear All, I would like to build a model, based on survival analysis on some data, that is able to predict the /*expected time until death*/ for a new data instance. Are you sure

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
Ooops. I meant to drop that other message but hit the send icon instead. On Aug 17, 2015, at 3:39 PM, Bert Gunter wrote: David: I may have misunderstood you here, specifically: As such I would ask if you really wanted to use a parametric survival model in the first place? The K-M

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread Bert Gunter
David: I may have misunderstood you here, specifically: As such I would ask if you really wanted to use a parametric survival model in the first place? The K-M curve is , of course, a **non-parametric** fit, and that is why there can be no mean survival time unless the last point is a death.

[R] Text Pattern Recognition - Model

2015-08-17 Thread Anshuk Pal Chaudhuri
Hi, I have a training dataset which has two columns which has around 70 values. 1. PNRNo whose values like UT768G, CXKA, 4IOI59, 4BV7TW...(typical PNR number patterns) 2. I have created one more factor variable mentioning (IsPNR) - so all the values are 1 (true) My first

[R] hurdle control and optim

2015-08-17 Thread Matt Dicken
I was hoping someone may be able to help with the following. I fit the model below using the pscl package. I am modelling catch data (about 17,000 entry points) so lots of zero's fit.hurdle.bin = hurdle(Catch ~ Beach + Region + Year+ Decade + Month + Season + Whale+ Sex +

Re: [R] SubgraphMining

2015-08-17 Thread rakibalfahad
Follow the link download Frequent Subgraph Mining related R package from table and install it to R http://www.csc.ncsu.edu/faculty/samatova/practical-graph-mining-with-R/PracticalGraphMiningWithR.html -- View this message in context:

Re: [R] Statistic_help

2015-08-17 Thread Jeff Newmiller
This is completely off-topic on R-help, so unless someone feels like corresponding off-list (unlikely) your attempt to derail the list (from the topic of R) is unwelcome regardless of the readers' qualifications. There are forums where statistical experiment design is on topic (e.g.

[R] date format in xyplot

2015-08-17 Thread Christine Lee via R-help
To whom it may concern, I have tried to plot some numbers against time with the time on the X-axis shown as Jan, Feb, etc. I used the following commands: Raw-structure(list(Date = structure(c(6L, 7L, 2L, 4L, 12L, 9L, 7L, 2L, 4L, 12L), .Label = c(1/10, 1/11, 11/11, 12/11, 13/10, 19/9, 2/10,

[R] Statistic_help

2015-08-17 Thread André Luis Neves
Hi Everyone, I have an experimental design that I'm confused about what model/approach I should use to do the data analysis, and I would like to ask you for help as there are many excellent statisticians and scientists in this group that could help me to solve this problem. The design is like

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread survivalUser
Thank you David for your answer. Some follow-up questions: - So, do you think that try to estimate the life expectancy would be risky and probably not justifiable? Is there some sort of 'confidence' that the model could give me for a prediction? - type=response - I found it here:

Re: [R] Text Pattern Recognition - Model

2015-08-17 Thread Bert Gunter
Wrong list. This list is about R, not about statistics/statistical learning. Post to a stats list like stats.stackexchange.com for methods issues. Once you figure out what you want to do, R almost certainly can do it -- search to find out what fuctions/packages to use. Cheers, Bert Bert Gunter

Re: [R] help with binom.power

2015-08-17 Thread Sam Steingold
* Bert Gunter othagre.4...@tznvy.pbz [2015-08-17 10:27:58 -0700]: qbinom(.025,1000,.001,lower=FALSE) I don't think this is what I need. I am looking for an inverse of binom.confint. Sorry that my question was not clear. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1348

[R] bind function

2015-08-17 Thread mcferrae
HI there I'm very new to R, as in 3 days new, so apologies if I'm not framing my question correctly I am working through the Johns' Hopkins coursera course, I'm following, just about! I am trying to have R read multiple .csv files together as one dataframe - I can't figure how to ask the

[R] Survival Analysis and Predict time-to-death

2015-08-17 Thread survivalUser
Dear All, I would like to build a model, based on survival analysis on some data, that is able to predict the /*expected time until death*/ for a new data instance. Data For each individual in the population I have the, for each unit of time, the status information and several continuous

Re: [R] help with binom.power

2015-08-17 Thread David Winsemius
On Aug 17, 2015, at 9:48 AM, Sam Steingold wrote: Hi, I am confused by the binom.power - I cannot figure out how to use it. E.g., I have normal success rate 0.1% (i.e., p=0.001). How many successes do I need to observe per n=c(100,1000,1,10) trials to reject the normalcy hypothesis

Re: [R] bind function

2015-08-17 Thread Rolf Turner
On 18/08/15 07:07, mcfer...@mskcc.org wrote: HI there I'm very new to R, as in 3 days new, so apologies if I'm not framing my question correctly I am working through the Johns' Hopkins coursera course, I'm following, just about! I am trying to have R read multiple .csv files together as one

Re: [R] lme4 package installation

2015-08-17 Thread PIKAL Petr
Hi try tu put line setInternet2(TRUE) into your Rprofile.site file (located in etc directory of R installation) and restart R. Cheers Petr -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Teck Kiang Tan Sent: Friday, August 14, 2015 11:21 AM

Re: [R] hurdle control and optim

2015-08-17 Thread Matt Dicken
Dear Achim, Apologies for the cross posting and confusion. I really appreciate the help All the best Matt -Original Message- From: Achim Zeileis [mailto:achim.zeil...@r-project.org] Sent: 17 August, 2015 10:06 PM To: Matt Dicken m...@shark.co.za Cc: r-help@r-project.org Subject: Re:

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
On Aug 17, 2015, at 12:10 PM, survivalUser wrote: Dear All, I would like to build a model, based on survival analysis on some data, that is able to predict the /*expected time until death*/ for a new data instance. Are you sure you want to use life expectancy as the outcome? In order to

[R] Windows: URL associations do not work in scheduled tasks

2015-08-17 Thread Dan Tenenbaum
Hi, I have a script called test.R which contains: browseURL(http://r-project.org;) It works fine when I run it interactively or with R -f test.R when logged in as the user 'biocbuild'. However, if I set up a Scheduled Task to run the script as that same user (with the XML definition below)

Re: [R] hurdle control and optim

2015-08-17 Thread Achim Zeileis
Please refrain from cross-posting. The same request was sent to the author of hurdle(), R-help, and StackOverflow (where it was already answered). Also, do provide self-contained and reproducible code as would be appropriate in any of the three cases. On Mon, 17 Aug 2015, Matt Dicken wrote:

Re: [R] GARCH model estimation

2015-08-17 Thread Barbara Rogo
I have to estimate the volatility of FTSE/MIB index with a GARCH model from 2012-06-21 to 2015-04-30, in every day. I use garchFit function, but I don't understand the meaning of se.coef output. Does this function estimate the volatility in every day of the time series (in input)? So does it

Re: [R] All results not showing in console (very large dataset)

2015-08-17 Thread Jim Lemon
Hi Aureus, I think you have cut and pasted the text in the console window when you say saving to text. One way to get the entire output of your test is: sink('simper_test.txt) # run your test code here sink() The output will be in the file simper_test.txt Jim On Sun, Aug 16, 2015 at 7:10 PM,