Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

10 results for “from:Shah Alam”

Getting different results with set.seed()
Shah Alam · Aug 19, 2021 · r-help

Dear All, I was using set.seed to reproduce the same results for the discrete event simulation model. I have 12 unknown parameters for optimization (just a little background). I got a good fit of parameter combinations. However, when I...

could not find function "flexsurvreg"
Shah Alam · Oct 1, 2022 · r-help

Dear All, I am analyzing trial data for survival. During the loading of the R package "flexsurv", the following error message appeared. "Loading required package: survival Error: package or namespace load failed for ?flexsurv? in loadNamespace(j <- i[[1L]], c...

Warning messages while parallel computing
Shah Alam · Mar 4, 2021 · r-help

Hello everyone, I am using the "parallel" R package for parallel computation. Code: # set number of cores cl <- makeCluster(8, type = "PSOCK") # Mac/Linux need to set as "FORK" # pass functions and objects to the cluster environment and set seed...

Optimization function producing negative parameter values
Shah Alam · Mar 21, 2021 · r-help

Dear all, I am using optim() to estimate unknown parameters by minimizing the residual sums of squares. I created a function with the model. The model is working fine. The optim function is producing negative parameter values, even I have...

LHS random number generator
Shah Alam · Apr 12, 2021 · r-help

Hello everyone, I am using the LHS package to generate a combination of a set of parameter values. However, I am not sure how to fix some parameter values to 2 decimal points. For example: I want to make combinations...

Probabilities in discrete event simulation model in R
Shah Alam · Jul 16, 2020 · r-help

I am designing a programme in R to simulate two events that are 1. a person gets cancer, or 2. die of other causes. I have data for the probability of getting cancer by age and probability of death due...

Getting different results with set.seed()
Shah Alam · Aug 19, 2021 · r-help

Dear Petr, It is more than 2000 lines of code with a lot of functions and data inputs. I am not sure whether it would be useful to upload it. However, you are absolutely right. I used Step 1. Self...

Getting different results with set.seed()
Shah Alam · Aug 19, 2021 · r-help

Dear All, Thanks a lot for your valuable suggestions. I am going to implement one by one. Jan: Yes, I am using the "doParallel" package for parallelization. I will let you know the results after implementing all the given suggestions...

LHS random number generator
Shah Alam · Apr 13, 2021 · r-help

Hi Richard and Jim Thanks for your response. Sorry for the confusion. This is lhs package (small letters), and after loading the package, I used the function randomLHS. The problem remained the same. I am trying to fix the length...

What is an alternative to expand.grid if create a long vector?
Shah Alam · Apr 19, 2021 · r-help

Dear All, I would like to know that is there any problem in *expand.grid* function or it is a limitation of this function. I am trying to create a combination of elements using expand.grid function. A <- expand.grid...

Can't find what you're looking for? Try searching with Google .