Learn R Programming

ms.sev (version 1.0.4)

local_armss: ARMSS

Description

Calculates and returns the local ARMSS-score for every individual in the dataset.

Usage

local_armss(data, range = 2)

Arguments

data
A dataframe containing the variable "ageatedss" and the variable "edss" for every individual.
range
The age-range from which to include individuals in the ARMSS-estimation. Default=2.

Value

Returns the initially supplied dataframe with the added variable "armss".

References

To be completed. Please contact maintainer.

Examples

Run this code
data(edss)
out <- local_armss(edss)

Run the code above in your browser using DataLab