[R] variance estimation in coxme

2019-04-16 Thread Elise Lim
Hello~ I'm fitting a random effects model using coxme and I was wondering how are the variance components estimated? Are the fixed and random effects estimated iteratively using Fisher scoring method? I referred to the coxme manual but it didn't specify how the parameters are estimated (https://c

Re: [R] Limiting the scope of RNGkind/set.seed

2019-04-16 Thread Martin Maechler
> Elizabeth Purdom > on Tue, 16 Apr 2019 09:45:45 -0700 writes: > Hi Bert, Thanks for your response. What you suggest is > more or less the fix I suggested in my email (my second > version of .rcolors). I writing more because I was > wondering if there was a better way

Re: [R] Limiting the scope of RNGkind/set.seed

2019-04-16 Thread Elizabeth Purdom
Hi Bert, Thanks for your response. What you suggest is more or less the fix I suggested in my email (my second version of .rcolors). I writing more because I was wondering if there was a better way to work with RNG that would avoid doing that. It doesn’t feel very friendly for my package to be m

Re: [R] Limiting the scope of RNGkind/set.seed

2019-04-16 Thread Bert Gunter
I think I'm missing something. Why does something like this not do what you want: > RNGkind() [1] "Mersenne-Twister" "Inversion" > f <- function(){ +cur <- RNGkind(NULL)[1] +RNGkind("Super-Duper") +print(RNGkind()) +RNGkind(cur) + } > f() [1] "Super-Duper" "Inversion" > RNGkind() [

[R] Limiting the scope of RNGkind/set.seed

2019-04-16 Thread Elizabeth Purdom
Hello, I have a package, and inside of it I have a small function that selects a random palette of colors for graphing purposes. It’s a large number of colors, which is why I don’t manually select them, but I did want them to stay constant so I set the seed before doing so. So I had a little fu

[R] Snapshot of a shiny app

2019-04-16 Thread Christofer Bogaso
Hi, I have a Shiny app with address like http://xx.xx.xx.xx:1080/remotepp/ When I try to get a PDF snapshot of this app using webshot() function from webshot package, I see a blank PDF file saved. I also tried with appshot() function as below, however getting error: appshot(" http://xx.xx.xx.xx