Re: [R] QQ plot

2019-08-14 Thread Jim Lemon
Hi Ana Marija, It would help if we had the data, but I suspect that the data that we don't have is not uniformly distributed: library(plotrix) ams_norm<-rnorm(100) png("ams_norm.png") qqunif(rescale(ams_norm,c(0,1))) dev.off() ams_unif<-runif(100) png("ams_unif.png") qqunif(ams_unif) dev.off()

Re: [R] Rsession memory leak freezes Ubuntu 16.04

2019-08-14 Thread Jeff Newmiller
Sorry, this is not the RStudio support area. If you have a problem running R at the command line, let us know, along with the output of sessionInfo(). https://support.rstudio.com On August 13, 2019 8:41:25 PM PDT, Skyler Saleebyan wrote: >Hi, > >Earlier R crashed on my system, after repeated

Re: [R] Interval censored data with left truncation

2019-08-14 Thread Bert Gunter
Also, check out the CRAN task view for survival. 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, Aug 14, 2019 at 10:39 AM Bert Gunter wrote: > Search on

Re: [R] Interval censored data with left truncation

2019-08-14 Thread Bert Gunter
Search on "interval censored data with left truncation" at rseek.org. There appeared to be relevant hits there. 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 )

[R] Interval censored data with left truncation

2019-08-14 Thread Fabiana Gordon
Hello, I have interval censored data with some late-entry subjects. Does any R package for survival analysis with interval censored data allows for left truncation and if so how? Thanks and Best Wishes, Fabiana [[alternative HTML version deleted]]

[R] Interval censored with left truncation

2019-08-14 Thread Fabiana Gordon
Hello, I have interval censored data with some late-entry subjects. Does any R package for survival analysis with interval censored data allows for left truncation and if so how? Thanks and Best Wishes, Fabiana [[alternative HTML version deleted]]

[R] Rsession memory leak freezes Ubuntu 16.04

2019-08-14 Thread Skyler Saleebyan
Hi, Earlier R crashed on my system, after repeated attempts rebooting, running it under gdb, and clearing the ~/.rstudio-desktop, I have not been to run rstudio without rsession growing until it completely takes up my systems 16 GB of RAM and freezes it. I know that rsession is where the leak is

Re: [R] Trying to understand how to sort a DF on two columns

2019-08-14 Thread Stephen Ellison
> I want to sort a DF, temp, on two columns, patid and time. I have searched > the internet and found code that I was able to modify to get my data sorted. > Unfortunately I don't understand how the code works. I would appreciate it > if someone could explain to me how the code works. Among other

Re: [R] separate and gather functions

2019-08-14 Thread reichmanj
That's even easier -Original Message- From: Ista Zahn Sent: Tuesday, August 13, 2019 8:22 AM To: reichm...@sbcglobal.net Cc: William Dunlap ; r-help@r-project.org Subject: Re: [R] separate and gather functions How about > library(tidyr) > separate_rows(d, Col2) Col1 Col2 1

[R] Isolation forest using "solitude" package: help to predict

2019-08-14 Thread Johan Lassen
Dear community, I would like to know if someone can help clarifying how to predict anomaly scores on new data sets using the "solitude" package. A simple model can be trained using: library(solitude) # Training the model: iris_train <- iris[1:100, ] model <- isolation_forest(iris_train[, 1:4],

[R] Correct way to use a lemmatizer in package tm

2019-08-14 Thread Ashim Kapoor
Dear All, I want to do lemmatization using the tm package and textstem package. The following is how I am doing it currently :- library("tm") library("wordcloud") library("RColorBrewer") filePath = < Path to any text file > text <- readLines(filePath) docs <- Corpus(VectorSource(text)) #