Search results

  1. A

    Combine two epidemiology netcdf files in R

    Hello, I have 2 netCDF files (each .nc file has 4 variables: Susceptible, Infected, Recovered and Inhabitable. The dimension of each variable is 64 x 88). I would like to merge these 2 files using R into a single netCDF file such that the merged file will stack separately Susceptible from the...
  2. A

    Logistic Regression using optim() give "L-BFGS-B" error, please help

    Dear R Users/Experts, I am using a function called logitreg() originally described in MASS (the book 4th Ed.) by Venebles & Ripley, p445. I used the code as provided but made couple of changes to run a 'constrained' logistic regression, I set the method = "L-BFGS-B", set lower/upper values...