Re: [R] offset in nlme

2016-12-27 Thread PIKAL Petr
Hi Jeff. Yes, if it had been reproducible I would not post it as I had known solution myself. (Uff, I hope I used this conditional clause correctly). OTOH your suggestion works and seems to arrive to desired result even that you said you do not know what I am talking about. R (and this smart co

[R] Need Help, Unable to find the problem in R Script

2016-12-27 Thread amit rathee
R/Sir,    i am trying to find precision and recall value for multi class software clustering problem using package "ClusterCrit"i have attached my source code "Clustering.txt" and input files "ClassCoupling.txt" & "JUnitGoldStandard"in my script for different combination of clustering i am

Re: [R] Fw: Urgent help

2016-12-27 Thread David Winsemius
> On Dec 26, 2016, at 9:09 PM, amit rathee > wrote: > > The text file you attached has no commas. Perhaps the separators are tabs and you really need to use `read.delim` instead of `read.csv`. David Winsemius Alameda, CA, USA __ R-help@r-project.

Re: [R] Urgent help

2016-12-27 Thread Mark Sharp
Please note that your message should be plain text and any attachments must be text and have a .txt extension. Your attached code was apparently removed because it did not have an extension of .txt. It is best to include your code within the body of the message. Mark R. Mark Sharp, Ph.D. Direct

Re: [R] Bayesian cox model: spBayesSurv package

2016-12-27 Thread David Winsemius
Cross posting is deprecated on rhelp but if you do so, please at least post a link to the stackoverflow address for the duplicate question. Sent from my iPhone > On Dec 27, 2016, at 6:52 AM, radhika sundar > wrote: > > I am going through R's function indeptCoxph in the spBayesSurv package > w

[R] Bayesian cox model: spBayesSurv package

2016-12-27 Thread radhika sundar
I am going through R's function indeptCoxph in the spBayesSurv package which fits a bayesian Cox model. I am confused by some of the input parameters to this function. What is the role of the "prediction" input parameter? Should it not only contain the predictor covariates? In the R code example,

Re: [R] Restricted Simulation from GPD & Normal Distributions

2016-12-27 Thread Preetam Pal
Hi R-users, (fixing some typos in my previous mail) I have data on one equity-related variable X, denoted by x1,x2,x3,...x1000 which has been ordered as x1x950-- 50 obsrvations Idea is to simulate 50 new observations from f1 *restricted to (- infinity, x50 ]*, 50 new observations from f3

[R] Fw: Urgent help

2016-12-27 Thread amit rathee
I am trying to perform hierarchical clustering and evaluating it using "ClusterCrit" Package, specially interested in precision and recall for multi class problem, my code is attached.my problem is that in each iteration even if my data is different in extCriteria() (used to evaluate clustering

[R] trouble with starting date in sts and disProg objects in the surveillance package

2016-12-27 Thread Christopher W Ryan
I create a data frame, then, using package surveillance version 1.3, I convert it to a surveillance time series (sts) object and then to a disProg object. But in the plot of the disProg object, the dates seem to be mislabelled? Grateful for any advice. --Chris Ryan Broome County Health Departmen

Re: [R] offset in nlme

2016-12-27 Thread Jeff Newmiller
Not reproducible. Tsk! I really don't know what you are taking about, but some ideas are: mySSasymp <- function( doba, Asym, lrc ) { SSasymp(doba, Asym, 0, lrc) } Another idea is to use log( time ) rather than time. -- Sent from my phone. Please excuse my brevity. On December 27, 2016 6:47

[R] offset in nlme

2016-12-27 Thread PIKAL Petr
Dear all I would like to fit SSasymp model to some data by nlme. I did not find any clue how to set one of parameters to fixed constant value (R0=0). One suitable way could be to use SSlogis as it has one parameter zero, however it is not correct AFAIK logistics is defined from -Inf to Inf and

[R] gamlss to predict dependent variables in [0, 1] interval (fractional variable)

2016-12-27 Thread Janka VANSCHOENWINKEL
Dear R-users, I want to model a proportional variable bounded by [0,1] (the % of land fertilized). A high percentage of the data contains 0s (60%), a smaller percentage contains 1s (10%), and all the rest falls in between. I want to compare different models with each other to see their performa