Re: [R] parfm unable to fit models when hazard rate is small

2018-04-04 Thread Bert Gunter
Possible hint: 1. Look at the error message. 2. > 1/0 [1] Inf Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Apr 4, 2018 at 6:37 AM, Ale

Re: [R] Plot data in sequence

2018-04-04 Thread roslinazairimah zakaria
Hi Sarah, It works beautifully. Thank you very much. On Thu, Apr 5, 2018 at 12:07 AM, Sarah Goslee wrote: > Hi, > > Thanks for the reproducible example. > > Looking at > str(datn) > would give you a clue. > STATUS is a factor because it contains character values. Factor levels > by default are

Re: [R] Plot data in sequence

2018-04-04 Thread Sarah Goslee
Hi, Thanks for the reproducible example. Looking at str(datn) would give you a clue. STATUS is a factor because it contains character values. Factor levels by default are alphabetical with numbers first, but you can change those. > str(datn) 'data.frame': 36 obs. of 3 variables: $ LEVEL : Fact

[R] Plot data in sequence

2018-04-04 Thread roslinazairimah zakaria
Hi r-users, I would like to draw line plots. However, the plot starts from 11121 data and plot data ENTRY last in the plot. Here is the code and data. datn <- read.table(header=TRUE, text=' LEVEL STATUS CGPA DIPLOMA ENTRY 3.32 DIPLOMA 11121 2.91 DIPLOMA 11122 2.90 DIPLOMA 12131 2.89 DIPLO

[R] parfm unable to fit models when hazard rate is small

2018-04-04 Thread Alexander Pate
Hello, I would like to use the parfm package: https://cran.r-project.org/web/packages/parfm/parfm.pdfhttps://cran.r-project.org/web/packages/parfm/parfm.pdf in my work. This package fits parametric frailty models to survival data. To ensure I was using it properly, I started by running some smal

[R] Unable to load a package --- UnivRNG

2018-04-04 Thread Gagandeep S. Datta
Hi, I want to access the R code for UnivRNG but unable to load the files. I am new to R platform. The link is https://cran.r-project.org/web/packages/UnivRNG/ Regards, Gagandeep [[alternative HTML version deleted]] __ R-help@r-project.org