Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Occasionally the class of variable defined in the data dictionary /wiki/spaces/DSDEV/pages/12943489 may not be the format required for the DataSHIELD function.

For example, the variable named cens - a censoring indicator for a survival model (1=died, 0=censored) - has been read into R. If you declare these as the names of the two levels of the variable in the categories tab of the data dictionary /wiki/spaces/DSDEV/pages/12943489, it will then automatically be read in as a factor.

...