1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330

20191113 Bjoern Bornkamp (version 0.917)
* Added citation to DESCRIPTION file
* Removed alpha argument for pValues function (not used)
* Propagate error messages from mvtnorm in pValues function
(e.g. covmatrix not psd), (thx to Daisy Bai)
* Make direction attribute in Mods object unique (thx to Yuhan Li)
20171207 Bjoern Bornkamp (version 0.916)
* Fixed minor bug in print.summary.planMod
20160726 Bjoern Bornkamp (version 0.915)
* Mods Added parameter names for all models in the output list
(thanks to Dong Xi for catching this)
20160202 Bjoern Bornkamp (version 0.914)
* planMod.Rd Documentation slightly extended.
* qmvtDF moved back to qmvt function from mvtnorm, as problems
in mvtnorm are fixed.
20151031 Bjoern Bornkamp (version 0.913)
* projPrBnds now also covers the case when parameter was exactly
on the bound
* bFitMod doseNam changes
* critVal Added selfwritten qmvt function qmvtDF (as mvtnorm::qmvt
got instable on Windows 32bit from release 1.03), hopefully
superfluous once mvtnorm fixes this.
20140928 Bjoern Bornkamp (version 0.912)
* glycobrom dataset: Included column for number of observations
per treatment.
* calcCrit now takes into account "nold" in determining whether
enough design points were specified to be able to calculate
the design criteria.
* bFitMod documentation for plot.bFitMod and predict.bFitMod
methods added. coef.bFitMod method added. Thanks to Lieven Nils
Kennes for pointing towards the issue.
20140211 Bjoern Bornkamp (version 0.911)
* Mods Introduce fullMod argument to allow specification
of full model parameters (again).
* calcTDgrad now calculates the analytical gradient for TD
optimal designs for the beta model. The previous numerical
gradient could get unstable for particular parameter values.
Thanks to Tobias Mielke for the calculations!
* planMod.Rd, powMCT.Rd More description on what "sigma" is
* optDesign, optContr Catch Mods objects with multiple direction
attributes properly in these functions.
20131125 Bjoern Bornkamp (version 0.910)
* plot.MCPMod In case of no significant model, do not plot anything.
* optContr Bugfix in function constOptC, previous algorithm selected
in some situation an incorrect active set (and hence a suboptimal
solution), the current implementation uses quadratic programming
(hence the new suggested package quadprog).
20131015 Bjoern Bornkamp (version 0.99)
* bFitMod.Bayes Stop if starting values lie outside of bounds
specified for the prior distribution
* predict.bFitMod Remove incorrect "if" statement (use
"effectcurve" not "EffectCurve")
* fitModels.bndnls now uses narrowed bounds for 1d models again
(as in 0.95 and earlier), thanks to Tobias Mielke for reporting
the three points above.
* optContr now allows for constrained contrasts, i.e. where the
contrast coefficients in placebo and active treatment groups are
required to have different signs.
20130917 Bjoern Bornkamp (version 0.98)
* MCPMod Major changes needed (also in fitMod and MCTtest) to allow
for dose/response names different from "dose", "resp" when a
dataframe is specified (the problem existed as MCTtest, fitMod
were called from inside MCPMod).
* bFitMod.Bayes Ensure that the starting values for the parameters
are within the bounds specified by the prior (if no starting
values are specified). Thanks to Tobias Mielke for reporting this.
* bFitMod.bootstrap Remove bug for model = "linear" and placAdj = TRUE.
Thanks to Tobias Mielke for reporting this.
20130815 Bjoern Bornkamp (version 0.97)
* fitMod ensure that the data set returned with DRMod objects
is in the original order (not sorted by dose). Also ensure the right
S matrix is used for fitting for type = "general" and unsorted
dose, resp.
* MCTtest fixed problems for type = "general" and unsorted
dose, resp.
* glycobrom Added glycobrom data set
* planMod Added planning functions for nonlinear modelling
* Coded calculations of compositions to be able to remove dependency
on the partitions package
* man files: added reference to paper on generalized MCPMod
* plot.DRMod Minor changes to ensure raw means are always inside
the plotting region (for plotData = "means")
20130416 Bjoern Bornkamp (version 0.96)
* optDesign Renamed "fmodels" argument to "models".
* optDesign for solnp if lowbnd and uppbnd are specified now use a
feasible starting value (otherwise solnp might get into problems).
* plot.DRMod, plot.MCPMod now use lattice graphics
* powMCT removed bug in case of placAdj = TRUE (thanks to Tobias
Mielke for reporting this)
* ess.mcmc minor change to avoid occasional NA's
* Mods removed class c("Mods", "standMod"), now there is only a
class "Mods", this changes the API of MCTtest, optContr and
MCPMod function (direction argument no longer needed, as this info is now
contained in the "Mods" object).
* neurodeg added the simulated longitudinal dosefinding data set neurodeg
* targN catch incorrect matrix dimension, when in case of only
one alternative model
* fitModel.bndnls old version used narrowed bnds for 1dim model, when a
starting value was supplied manually (instead of calculated via
optGrid); fixed.
* MCTtest rename of pvalue column to "adjp".
20130306 Bjoern Bornkamp (version 0.95)
* targN, powN added function targN to evaluate a target function
(e.g. power) for different sample sizes (similar to the old
powerMM function). powN is a convenience function for
multiple contrast tests using the power.
* sampSizeMCT added convenience function for sample size calculation
for multiple contrast tests using the power.
* optContr Renamed "weights" argument to "w"
20130212 Bjoern Bornkamp (version 0.94)
* TD, ED Fixed bug for model = linInt and placAdj = TRUE
* powMCT Fixed bug for nr(altModels)=1 in case placAdj=TRUE
* Mods Add requirement that placebo dose needs to be included
* print.bFitMod Do not show n.eff for bootstrap samples
* ess.mcmc return NA, if there is just one unique value in chain
* fitMod, MCTtest catch situations, where type = "normal" and
placAdj = TRUE
* bFitMod fixed bug for column names of linear model in case of
placAdj = TRUE
* MCPMod: Fixed sign error in model selection, when critV was specified
20130129 Bjoern Bornkamp (version 0.93)
* fitMod Improvements of efficiency (removed calls to do.call
in optLoc)
* MCPMod passes direction argument now also to TD
* optDesign solnp is now the default optimizer
* calcCrit default for arg designCrit in calcCrit changed (to harmonize
calcCrit and optDesign)
* bFitMod use fitMod.raw in bFitMod.bootstrap (for efficiency)
* critVal Remove contMat argument (was unused)
* powMCT Allow power calculation for placebo adjusted data
20130109 Bjoern Bornkamp (version 0.91)
* Complete restructuring and tidying up of the package.
Main ideas: (i) smoother integration of gfunctions (ii) focus on
core functionality (iii) more general code/easier extensibility.
* New features: Bayesian doseresponse fitting, nicer plots,
optimal designs for nonnormal responses, ...
* Special Thanks to Tobias Mielke for testing of the package and
numerous bug reports.
* Previous versions of the source are available under
http://cran.rproject.org/package=DoseFinding under
"Old sources", a Windows binary of the last version
before the changes is available under http://goo.gl/p1UZ7.
20120822 Bjoern Bornkamp (version 0.63)
* Added PACKAGE = "DoseFinding" to ".C" calls
20120404 Bjoern Bornkamp (version 0.62)
* calcOptDesign partial rewrite of optDes.c and optDesign.R
to fix segfault bug.
20120220 Bjoern Bornkamp (version 0.61)
* vcov.gDRMod is now functional, predict.gDRMod now allows
calculation of confidence intervals
* gFitDRModel minor changes in underlying optimizer
* explicitly export the gradients of the model functions now
20120124 Bjoern Bornkamp (version 0.57)
* gFitDRModel now always returns an estimate (either the
best value from nlminb or from the grid search if nlminb fails)
* gMCPtest: use sigma = corMat instead of corr = corMat in
p/qmvnorm calls (mvtnorm complained in 1dimensional case)
* gFitDRModel: Introduced default for bnds argument.
* plot.MCPMod: Plot clinRel in the right place, when direction is
equal to "decreasing" (thanks to Jan Rekowski)
* planMM, critVal: When vCov is specified now right correlation
matrix is calculated
* calcOptDesign: Additional argument (standDopt) to allow for optional
standardization (division of the log determinant by the number
of parameters) of the Doptimal design criterion.
20111019 Bjoern Bornkamp (version 0.56)
* getGrid corrected bug for Ngrd > 75025
* calcOptDesign: For method = "exact" and n2 > 0 the function
did not return the optimal incremental design but the
overall optimal design
20110831 Bjoern Bornkamp (version 0.55)
* gFitDRModel can now fit doseresponse models without
intercept
* gMCPtest minor changes to allow for user defined contrast
matrix
20110809 Bjoern Bornkamp (version 0.54)
* MCPtest now uses correct degrees of freedom if addCovars != ~1
* Feedback from Andreas Krause led to a number
smaller changes in the package (e.g., plot.(g)DRMod or
fitDRModel). Thanks Andreas!
* Print lattice plots explicitly to increase compability
with Sweave.
20110506 Bjoern Bornkamp (version 0.53)
* Ensure in rndDesign that N is recognized as
an integer by using N < round(N), to avoid floating point
problems.
* Remove naming bug in gFitDRModel (drFit instead of drEst)
20110427 Bjoern Bornkamp (version 0.52)
* Corrected bug in bvector for sigEmax model (calcBvec,
only affected MEDtype optimal designs)
* Included INDEX file to order the overview helppage better
* predict.DRMod now stops when type = "fullModel" and the
argument newdata does not contain values for all variables
specified in addCovars (thanks to Mouna).
20110325 Bjoern Bornkamp (version 0.51)
* Restructured calcOptDesign function to allow for user
defined criteria functions.
* The MCPMod object now always contains a estDose and fm
entry (which is NA in case of nonsignificance or nonconvergence)
* Added generalized fitting code, variances and covariances of
estimates are not available at the moment.
* Added vCov argument to planMM, sampSize, powerMM (so it is possible
to take into account covariances when calculating optimal contrasts)
* Changed order in trellis plots in plotModels (order as specified in
models list instead of alphanumerical order)
* Restructured and summarized help pages
* Removed dependency on numDeriv package (only suggested now),
this is only needed for calculating optimal designs involving
the beta model.
20110209 Bjoern Bornkamp (version 0.43)
* Minor change in Makevars file (so that DoseFinding works on
Solaris).
20110209 Bjoern Bornkamp (version 0.42)
* calcBayesEst, getUpdDesign: Minor changes to make functions
more suited for general purpose use.
20101201 Bjoern Bornkamp (version 0.41)
* Introduced new functions calcBayesEst and getUpdDesign,
both were used for simulation purposes in the paper
Bornkamp et al. (2011) "Response Adaptive DoseFinding
under Model Uncertainty" (to appear in Annals of Applied
Statistics).
20101112 Bjoern Bornkamp (version 0.31)
* calcOptDesign now has an additional optimizer "exact". This
methods calculates all possible designs for a given sample size
and then selects the best.
* Changed order in MakeVars as requested
* calcCrit now checks whether there are not less design points
than parameters.
* Code now checks for positive sigma in powCalc and powerMM
20101105 Bjoern Bornkamp (version 0.23)
* MED function now checks for clinRel > 0 (thanks to Georgina).
* Changed minor bug in output from print.MCPtest (print onesided
just once)
* Code now outputs a warning, when 'models' argument is missing
(in MCPMod and fullMod function); in fitDRModel it outputs
a warning if 'model' is missing
* Introduced a default base = 0 and maxEff = 1 for the plotModels
function.
* Added a summary method for DRMod objects.
* Removed superfluous addCovarVals argument from predict.DRMod
* Removed option method = "mult" in calcOptDesign
20100708 Bjoern Bornkamp (version 0.22)
* calcCrit and calcOptDesign now check for NA, NaN or +Inf
values in the gradient and bvector (and stop execution when
these values occur) before passing these values to the C
code.
* Introduced a logLik method for DRMod objects
* Changed mvtnorm.control default argument for "interval"
to reflect recent changes in mvtnorm package.
20100527 Bjoern Bornkamp (version 0.21)
* Made the getGrad function (gradient for doseresponse model),
including documentation available for enduser (was previously
hidden in NAMESPACE)
* Changes in the plot.MCPMod function (col argument for
panel.superpose was read in different order depending on
lattice options, now there is a manual workaround with
panel.xyplot calls for each group)
20100520 Bjoern Bornkamp (version 0.13)
* Smaller changes in calcCrit functions (the parameter p is
now calculated by the nPars function as in getOptDesign)
* Add further options to powerScenario function (now possible
to for userspecified row and column names for output matrix)
20100513 Bjoern Bornkamp (version 0.12)
* Removed one example from sampSize to reduce check time.
* modelSelect: Use first model when two models have exactly
the same AIC or BIC value.
* predict.DRMod: Return NA as standard deviation if code
cannot calculate Cholesky transformation of covariance
matrix (thanks to Setia Pramana for the hint).
* calcCrit: Code now allows for specifying multiple designs
in a matrix.
20100414 Bjoern Bornkamp (version 0.11)
* fitModel.nls now checks whether nls with plinear option made
a positive number of iterations (as additional convergence check).
In some cases (eg. when number of parameters = number of
doses) plinear does not do any iteration and does *not*
put out a warning message that the algorithm failed.
* The calcOptDesign function now allows for upper and lower bounds
on the allocation weights.
* There is no longer the need to specify clinRel, when one wants
to calculate a Doptimal design.
* Output of bootMCPMod function in case of model averaging now
also includes dose estimates under each model & corrected
bug in print.bootMCPMod function (thanks to Setia Pramana)
20100308 Bjoern Bornkamp (version 0.1)
* 1st Release as version 0.1. Improvements over MCPMod package:
 Extended and improved version of MCPMod (allowing for covariates
and robustified selfdeveloped optimizer)
 Functions for MCP (MCPtest) and Modelling (fitDRModel) part
now available to the user
 New functions (eg. bootMCPMod, powerScenario)
 Functions for calculating optimal designs
