addrandomdiagnosis: Add Random Diagnosis

Description Usage Arguments Value Author(s) Examples

View source: R/rsurfer.R

Description

This function will add a random diagnosis to every subject. It works by appending a Diagnosis column to the input data frame 'all'. Half of the diagnosis will be 'HC' (healthy control) and the other half will be 'AD' (Alzheimer's Disease).

Usage

1

Arguments

all

The data frame to add a Diagnosis column to

Value

The input data frame with a Diagnosis column added

Author(s)

Alexander Luke Spedding, alexspedding271@gmail.com

Examples

1
2

rsurfer documentation built on May 2, 2019, 4:20 a.m.