Description Usage Arguments Value Author(s) References Examples
Estimates the severity score for the user supplied data frame of patients.
1 |
data |
A dataframe containing the variable "edss" for every individual and "age" if "armss" is requested. For MSSS estimation, a variable "dd", corresponding to the disease duration, is needed. |
type |
Specification of the type of severity calculation. Default is global armss. Other options are "local_armss", "local_msss" and "global_msss". |
range |
The age-range from which to include individuals in the local ARMSS and local MSSS-estimations. The default age-range is 2 years. |
matrix |
If true, the global MSSS-matrix is returned. Please note that this option only works for global MSSS and global ARMSS. |
omsss |
If true, the old MSSS-score will be estimated and returned. Please note that this option only works for the global MSSS. |
Returns the initially supplied dataframe with a column added with the requested type of severity score. If "matrix" is set to true, the ms\_sev will return a list where the first element is the data frame with the added severity score, and the second item is the requested ARMSS/MSSS matrix. If omsss is set to TRUE, both the old and the updated MSSS matrix will be returned.
Helga Westerlind, Ali Manouchehrinia
To be completed. Please contact maintainer.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.