Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Changes from version 5.0.0 to version 5.1.0:

  1. We have modified the ds.asNumeric and the ds.asInteger functions, to first convert an input object to a character and then to a numeric or integer. We found that in native R the function “as.numeric” (and similarly the function “as integer”) when is used to convert a variable of class factor to a variable of class numeric (or integer), it returns the underlying level codes of the factor instead of converting the actual values to numbers. For example it converts the factor vector (0 1 1 2 1 0 1 0 2 2 2 1) with Levels: 0 1 2, to the numeric vector (1 2 2 3 2 1 2 1 3 3 3 2). This behaviour occurs also in DataSHIELD, version <=5.0.0, through the ds.asNumeric or the ds.asInteger functions. The updated versions of ds.asNumeric and ds.asInteger functions in version 5.1.0, first convert an input object to a character and then to a numeric or integer.

  2. Updated versions of the ds.glm and ds.glmSLMA functions to allow the non-intercept indicator “0” to be part of the formula argument.

  3. ds.message <placeholder>

  4. extended tests <placeholder>

  5. Added function ds.dataFrameFill <placeholder>

  6. Updated versions of, at client-side, ds.seq and ds.unList, and at the server-side seqDS and unListDS <placeholder>

  7. Updated phased out the use of datashield.privacyLevel as disclosure control parameter <placeholder>

  8. The default value of the ‘newobj’ argument, if unspecified, has been changed for the following functions:

  • ds.Boole

  • ds.asCharacter

  • ds.asDataMatrix

  • ds.asFactor

  • ds.asInteger

  • ds.asList

  • ds.asLogical

  • ds.asMatrix

  • ds.asNumeric

  • ds.assign

  • ds.c

  • ds.cbind

  • ds.changeRefGroup

  • ds.dataFrame

  • ds.dataFrameFill

  • ds.dataFrameSort

  • ds.dataFrameSubset

  • ds.exp

  • ds.lexis

  • ds.list

  • ds.log

  • ds.make

  • ds.matrix

  • ds.matrixDet

  • ds.matrixDiag

  • ds.matrixDimnames

  • ds.matrixInvert

  • ds.matrixMult

  • ds.matrixTranspose

  • ds.merge

  • ds.rNorm

  • ds.rPois

  • ds.rUnif

  • ds.rbind

  • ds.reShape

  • ds.recodeLevels

  • ds.recodeValues

  • ds.replaceNA

  • ds.rowColCalc

  • ds.seq

  • ds.tapply.assign

  • ds.unList

  • ds.vectorCalc

For the above functions the new default for ‘newobj’ is now the function’s base name, all lower case, followed by ‘_newobj’. For example the function ‘ds.dataFrameSubset' the value will be 'dataframesubset_newobj’.

  • No labels