[R] Variable centring within "predict.coxph"

2018-03-02 Thread Bonnett, Laura
Dear R-help, I am using R-3.3.2 on Windows 10. I teach on a course which has 4 computer practical sessions related to the development and validation of clinical prediction models. These are currently written for Stata and I am in the process of writing them for use in R too (as I far prefer R

[R] [R-pkgs] release of SCperf 1.1.1 and bullwhipgame packages

2018-03-02 Thread marlene marchena
Dear R users. I'm pleased to announce the release of *SCperf* 1.1.1 and *bullwhipgame* packages on CRAN. The *SCperf* package implements functions for planning and managing Inventories in a Supply Chain: https://CRAN.R-project.org/package=SCperf And

[R] Rstmp2 - linear predictors, AICs and BICs

2018-03-02 Thread Bonnett, Laura
Dear R-help, I am using R-3.3.2 on Windows 10. As per my previous post today, I teach on a course which has 4 computer practical sessions related to the development and validation of clinical prediction models. These are currently written for Stata and I am in the process of writing them for

Re: [R] Variable centring within "predict.coxph"

2018-03-02 Thread Eric Berger
Hi Laura, I will state up front that I have no experience or knowledge of the Cox model or the survival package. Out of curiosity I loaded the package and did ?coxph and found the following comment in the documentation: "The routine internally scales and centers data to avoid overflow in the argum

Re: [R] data analysis for partial two-by-two factorial design

2018-03-02 Thread Ding, Yuan Chun
Dear R users, I need to analyze data generated from a partial two-by-two factorial design: two levels for drug A (yes, no), two levels for drug B (yes, no); however, data points are available only for three groups, no drugA/no drugB, yes drugA/no drugB, yes drugA/yes drug B, omitting the fourt

[R] Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread michael tsagris via R-help
Hello, I am experiencing some difficult time with my R package. Every time I compilei it a hidden file, desktop.ini, is being created. I am using C++ behind, linkking to Rcpp. The file is generated even when I compile it with  Linux, and in many different computers. Does anybody have any advice o

Re: [R] data analysis for partial two-by-two factorial design

2018-03-02 Thread Bert Gunter
This list provides help on R programming (see the posting guide linked below for details on what is/is not considered on topic), and generally avoids discussion of purely statistical issues, which is what your query appears to be. The simple answer is yes, you can fit the model as described, but y

Re: [R] data analysis for partial two-by-two factorial design

2018-03-02 Thread Ding, Yuan Chun
Hi Bert, Thank you so much for your direction, I have asked a question on stackexchange website. Ding From: Bert Gunter [mailto:bgunter.4...@gmail.com] Sent: Friday, March 02, 2018 12:32 PM To: Ding, Yuan Chun Cc: r-help@r-project.org Subject: Re: [R] data analysis for partial two-by-two facto

Re: [R] Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread Jeff Newmiller
Make a reproducible example [1][2][3], because it doesn't happen for me. Then post your example at [4] or [5], because this is the wrong list for this question. You may find that the act of browsing the directory using a GUI is what creates that file rather than the compilation itself. [1] h

[R] Σχετ: Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread michael tsagris via R-help
Thanks for the reply. I will try everything.  Στις 1:33 π.μ. Σάββατο, 3 Μαρτίου 2018, ο/η Jeff Newmiller έγραψε: Make a reproducible example [1][2][3], because it doesn't happen for me. Then post your example at [4] or [5], because this is the wrong list for this question. You may f