Enrollment.Rmd
This package vignette demonstrates how to use the ADNIMERGE package to generate simple enrollment and longitudinal summaries and plots with R and knitr.
Report generated from Enrollment.Rmd
options(digits = 3)
library(knitr)
library(ADNIMERGE)
library(ggplot2)
library(Hmisc)
library(gridExtra)
library(RColorBrewer)
source("https://adni.bitbucket.io/myfunctions.R")
theme_set(theme_bw())
adnimerge
dd <-$AGEC <- cut(dd$AGE, breaks = seq(39, 110, by = 10))
dd
label(dd$PTEDUCAT) <- "Education"
label(dd$AGE) <- "Age"
label(dd$AGEC) <- "Age"
label(dd$PTGENDER) <- "Sex"
label(dd$PTETHCAT) <- "Ethnicity"
label(dd$PTRACCAT) <- "Race"
label(dd$PTMARRY) <- "Marital"
label(dd$CDRSB) <- "CDR-SB"
label(dd$ADAS11) <- "ADAS 11"
label(dd$ADAS13) <- "ADAS 13"
label(dd$MMSE) <- "MMSE"
# indicate the bl withdrawals:
subset(treatdis, VISCODE == "bl" & WDRAWTYPE == "Full")$RID
BLTDS <-$VISCODE <- with(dd, ifelse(VISCODE == "bl" & RID %in% BLTDS, "blwd", VISCODE)) dd
# Subsetting on RID < 2000 excludes ADNIGO/2 subjects
summary(DX.bl ~ AGE + AGEC + PTGENDER + PTEDUCAT + PTMARRY + PTETHCAT + PTRACCAT +
CDRSB + ADAS13 + MMSE, data = dd, subset = VISCODE %in% c("bl", "blwd"), method = "reverse",
test = TRUE, overall = TRUE)
Descriptive Statistics by Baseline Dx
N | CN (N=518) | SMC (N=303) | EMCI (N=402) | LMCI (N=657) | AD (N=398) | Combined (N=2278) | Test Statistic | |
Age [Years] | 2286 |
|
|
|
|
|
|
F=21.7 d.f.=4,2269 P<0.001 |
Age : (39,49] | 2286 |
|
|
|
|
|
|
Chi-square=168 d.f.=16 P<0.001 |
(49,59] |
|
|
|
|
|
|
||
(59,69] |
|
|
|
|
|
|
||
(69,79] |
|
|
|
|
|
|
||
(79,89] |
|
|
|
|
|
|
||
(89,99] |
|
|
|
|
|
|
||
(99,109] |
|
|
|
|
|
|
||
Sex : Male | 2290 |
|
|
|
|
|
|
Chi-square=55.3 d.f.=4 P<0.001 |
Education | 2290 |
|
|
|
|
|
|
F=15.5 d.f.=4,2273 P<0.001 |
Marital : Divorced | 2290 |
|
|
|
|
|
|
Chi-square=64 d.f.=16 P<0.001 |
Married |
|
|
|
|
|
|
||
Never married |
|
|
|
|
|
|
||
Unknown |
|
|
|
|
|
|
||
Widowed |
|
|
|
|
|
|
||
Ethnicity : Unknown | 2290 |
|
|
|
|
|
|
Chi-square=6.13 d.f.=8 P=0.632 |
Not Hisp/Latino |
|
|
|
|
|
|
||
Hisp/Latino |
|
|
|
|
|
|
||
Race : Am Indian/Alaskan | 2290 |
|
|
|
|
|
|
Chi-square=54 d.f.=24 P<0.001 |
Asian |
|
|
|
|
|
|
||
Hawaiian/Other PI |
|
|
|
|
|
|
||
Black |
|
|
|
|
|
|
||
White |
|
|
|
|
|
|
||
More than one |
|
|
|
|
|
|
||
Unknown |
|
|
|
|
|
|
||
CDR-SB | 2290 |
|
|
|
|
|
|
F=2899 d.f.=4,2273 P<0.001 |
ADAS 13 | 2265 |
|
|
|
|
|
|
F=667 d.f.=4,2252 P<0.001 |
MMSE | 2290 |
|
|
|
|
|
|
F=602 d.f.=4,2273 P<0.001 |
# Subsetting on RID > 2000 excludes ADNI1 subjects
summary(DX.bl ~ AGE + AGEC + PTGENDER + PTEDUCAT + PTMARRY + PTETHCAT + PTRACCAT +
CDRSB + ADAS13 + MMSE, data = dd, subset = VISCODE == "bl", method = "reverse",
test = TRUE, overall = TRUE)
Descriptive Statistics by Baseline Dx
N | CN (N=511) | SMC (N=300) | EMCI (N=391) | LMCI (N=645) | AD (N=388) | Combined (N=2235) | Test Statistic | |
Age [Years] | 2243 |
|
|
|
|
|
|
F=20.8 d.f.=4,2226 P<0.001 |
Age : (39,49] | 2243 |
|
|
|
|
|
|
Chi-square=163 d.f.=16 P<0.001 |
(49,59] |
|
|
|
|
|
|
||
(59,69] |
|
|
|
|
|
|
||
(69,79] |
|
|
|
|
|
|
||
(79,89] |
|
|
|
|
|
|
||
(89,99] |
|
|
|
|
|
|
||
(99,109] |
|
|
|
|
|
|
||
Sex : Male | 2247 |
|
|
|
|
|
|
Chi-square=56.5 d.f.=4 P<0.001 |
Education | 2247 |
|
|
|
|
|
|
F=15.1 d.f.=4,2230 P<0.001 |
Marital : Divorced | 2247 |
|
|
|
|
|
|
Chi-square=63 d.f.=16 P<0.001 |
Married |
|
|
|
|
|
|
||
Never married |
|
|
|
|
|
|
||
Unknown |
|
|
|
|
|
|
||
Widowed |
|
|
|
|
|
|
||
Ethnicity : Unknown | 2247 |
|
|
|
|
|
|
Chi-square=6.4 d.f.=8 P=0.603 |
Not Hisp/Latino |
|
|
|
|
|
|
||
Hisp/Latino |
|
|
|
|
|
|
||
Race : Am Indian/Alaskan | 2247 |
|
|
|
|
|
|
Chi-square=54.5 d.f.=24 P<0.001 |
Asian |
|
|
|
|
|
|
||
Hawaiian/Other PI |
|
|
|
|
|
|
||
Black |
|
|
|
|
|
|
||
White |
|
|
|
|
|
|
||
More than one |
|
|
|
|
|
|
||
Unknown |
|
|
|
|
|
|
||
CDR-SB | 2247 |
|
|
|
|
|
|
F=2872 d.f.=4,2230 P<0.001 |
ADAS 13 | 2226 |
|
|
|
|
|
|
F=649 d.f.=4,2213 P<0.001 |
MMSE | 2247 |
|
|
|
|
|
|
F=584 d.f.=4,2230 P<0.001 |
subset(dd, VISCODE == "bl" & !is.na(DX.bl), c("RID", "DX.bl", "ADAS13", "CDRSB",
dd1 <-"MMSE", "EcogPtMem", "EcogSPMem", "EcogPtTotal", "EcogSPTotal"))
ggplot(dd1, aes(DX.bl, ADAS13)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none")
ggplot(dd1, aes(DX.bl, MMSE)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none")
ggplot(dd1, aes(DX.bl, CDRSB)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none")
ggplot(dd1, aes(DX.bl, EcogPtMem)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none") +
ylab("ECog Self Memory")
ggplot(dd1, aes(DX.bl, EcogSPMem)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none") +
ylab("ECog Partner Memory")
ggplot(dd1, aes(DX.bl, EcogPtTotal)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none") +
ylab("ECog Self Total")
ggplot(dd1, aes(DX.bl, EcogSPTotal)) + geom_boxplot(aes(fill = DX.bl), outlier.shape = NA) +
geom_jitter(size = 1, position = position_jitter(h = 0)) + theme(legend.position = "none") +
ylab("ECog Partner Total")
c("ADAS13", "MMSE", "CDRSB", "EcogPtMem", "EcogPtTotal", "EcogSPTotal")
cols <-for (cc in cols) {
$x <- dd1[, cc]
dd1 with(dd1, Hmisc::summarize(x, by = DX.bl, FUN = summary.default, stat.name = "N"))
tab <-cat("\n### ", label(dd1[, cc]), "\n")
rownames(tab) <- tab[, 1]
kable(tab[, -1])
}
### ADAS 13
### MMSE
### CDR-SB
### Pt ECog - Mem
### Pt ECog - Total
### SP ECog - Total
\clearpage
\subsection{ ADAS 13 change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $270$& $-11.00$& $-2.00$& $ 0.000$& $-0.3850$& $ 2.00$& $11.0$& $ 3.43$\tabularnewline
\rowcolor[gray]{.9} ~~12& $264$& $-11.00$& $-3.00$& $-0.335$& $-0.5240$& $ 2.00$& $11.0$& $ 3.73$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $373$& $-10.00$& $-2.00$& $-0.330$& $-0.3160$& $ 2.00$& $13.3$& $ 3.50$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 45$& $ -9.33$& $-2.00$& $-1.000$& $-0.4440$& $ 2.00$& $11.0$& $ 3.88$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $161$& $ -8.00$& $-2.00$& $ 1.670$& $ 1.3600$& $ 4.00$& $15.0$& $ 4.63$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 53$& $ -1.67$& $ 2.67$& $ 4.330$& $ 5.1500$& $ 7.00$& $18.0$& $ 4.47$\tabularnewline
~~72& $119$& $ -2.67$& $ 2.00$& $ 4.670$& $ 5.4700$& $ 7.67$& $23.7$& $ 4.65$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 55$& $ -4.33$& $ 3.33$& $ 6.000$& $ 7.1200$& $ 8.84$& $28.3$& $ 6.30$\tabularnewline
~~96& $ 44$& $ -5.33$& $ 2.00$& $ 5.160$& $ 5.6100$& $ 7.83$& $23.0$& $ 5.49$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 6$& $ 5.00$& $ 6.33$& $ 8.660$& $ 8.8300$& $11.20$& $13.0$& $ 3.33$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $429$& $-12.00$& $-3.00$& $ 0.000$& $ 0.0583$& $ 3.00$& $16.0$& $ 4.38$\tabularnewline
\rowcolor[gray]{.9} ~~12& $526$& $-15.00$& $-3.00$& $ 0.000$& $ 0.1110$& $ 3.00$& $54.0$& $ 4.99$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $404$& $-11.00$& $-2.33$& $ 0.000$& $ 1.1800$& $ 4.00$& $21.0$& $ 5.49$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $318$& $-14.00$& $-2.00$& $ 1.000$& $ 2.0600$& $ 5.00$& $49.0$& $ 7.44$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $252$& $-12.00$& $-2.00$& $ 1.000$& $ 3.4800$& $ 6.00$& $55.0$& $ 9.57$\tabularnewline
~~60& $139$& $ -7.00$& $ 0.00$& $ 3.000$& $ 5.5000$& $ 8.16$& $71.0$& $10.90$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $101$& $ -5.00$& $ 2.00$& $ 4.670$& $ 5.7600$& $ 8.00$& $37.0$& $ 6.79$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 88$& $ -3.33$& $ 2.67$& $ 5.340$& $ 6.8900$& $ 9.42$& $24.7$& $ 6.24$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 69$& $ -5.00$& $ 3.00$& $ 6.000$& $ 8.0700$& $11.30$& $38.7$& $ 7.90$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 25$& $ -5.67$& $ 3.00$& $ 5.330$& $ 6.5200$& $ 8.67$& $25.0$& $ 6.65$\tabularnewline
~~120& $ 4$& $ 1.33$& $ 2.83$& $ 8.330$& $10.7000$& $16.20$& $25.0$& $10.90$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $127$& $-12.00$& $-1.50$& $ 2.000$& $ 2.3800$& $ 6.50$& $23.0$& $ 5.62$\tabularnewline
\rowcolor[gray]{.9} ~~12& $135$& $-13.00$& $ 0.33$& $ 3.670$& $ 4.6600$& $ 8.00$& $27.0$& $ 6.35$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 40$& $ -5.00$& $ 2.83$& $ 6.840$& $ 8.6200$& $13.00$& $36.0$& $ 9.02$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $ 8.00$& $ 8.00$& $ 8.000$& $ 8.0000$& $ 8.00$& $ 8.0$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 2$& $ 6.33$& $ 7.41$& $ 8.500$& $ 8.5000$& $ 9.59$& $10.7$& $ 3.07$\tabularnewline
~~72& $ 1$& $ 10.00$& $10.00$& $10.000$& $10.0000$& $10.00$& $10.0$& $$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}
\clearpage
\subsection{ MMSE change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $274$& $ -4$& $-1.00$& $ 0.0$& $-0.0547$& $ 1.00$& $ 4$& $1.40$\tabularnewline
\rowcolor[gray]{.9} ~~12& $267$& $ -8$& $-1.00$& $ 0.0$& $-0.2170$& $ 1.00$& $ 4$& $1.59$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $381$& $ -5$& $-1.00$& $ 0.0$& $-0.1150$& $ 1.00$& $ 4$& $1.42$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 48$& $ -5$& $-1.00$& $ 0.0$& $-0.3750$& $ 1.00$& $ 4$& $1.78$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $161$& $ -7$& $-1.00$& $ 0.0$& $-0.2730$& $ 1.00$& $ 4$& $1.69$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 53$& $-10$& $-1.00$& $ 0.0$& $-0.1890$& $ 0.00$& $ 4$& $1.97$\tabularnewline
~~72& $118$& $ -8$& $-1.00$& $ 0.0$& $-0.3310$& $ 1.00$& $ 4$& $1.91$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 54$& $ -7$& $-2.00$& $ 0.0$& $-1.0400$& $ 0.00$& $ 3$& $1.93$\tabularnewline
~~96& $ 45$& $ -4$& $-2.00$& $ 0.0$& $-0.3780$& $ 1.00$& $ 4$& $1.68$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 6$& $ -3$& $-1.50$& $ 0.0$& $-0.6670$& $ 0.00$& $ 1$& $1.51$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $430$& $-10$& $-2.00$& $ 0.0$& $-0.4490$& $ 1.00$& $ 5$& $1.88$\tabularnewline
\rowcolor[gray]{.9} ~~12& $530$& $-11$& $-2.00$& $ 0.0$& $-0.5250$& $ 1.00$& $ 6$& $2.09$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $410$& $-12$& $-2.00$& $ 0.0$& $-0.9150$& $ 1.00$& $ 6$& $2.50$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $319$& $-23$& $-2.00$& $-1.0$& $-1.2400$& $ 1.00$& $ 6$& $3.31$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $256$& $-20$& $-3.00$& $-1.0$& $-1.6000$& $ 1.00$& $ 5$& $3.82$\tabularnewline
~~60& $143$& $-30$& $-3.00$& $-1.0$& $-1.9900$& $ 0.00$& $ 4$& $4.64$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $105$& $-24$& $-2.00$& $ 0.0$& $-1.5000$& $ 1.00$& $ 5$& $4.17$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 93$& $-20$& $-3.00$& $-1.0$& $-1.7300$& $ 1.00$& $ 6$& $4.30$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 70$& $-12$& $-2.75$& $-1.0$& $-1.6700$& $ 1.00$& $ 5$& $3.70$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 26$& $ -5$& $-2.00$& $-0.5$& $-0.8460$& $ 0.75$& $ 2$& $1.91$\tabularnewline
~~120& $ 5$& $ -5$& $-2.00$& $-1.0$& $-1.2000$& $ 0.00$& $ 2$& $2.59$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $131$& $-16$& $-3.00$& $-1.0$& $-1.1800$& $ 1.00$& $ 8$& $3.07$\tabularnewline
\rowcolor[gray]{.9} ~~12& $140$& $-19$& $-5.00$& $-2.0$& $-2.5000$& $ 0.00$& $ 5$& $4.15$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 42$& $-15$& $-6.00$& $-4.0$& $-4.3300$& $-2.00$& $ 3$& $3.85$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $ -2$& $-2.00$& $-2.0$& $-2.0000$& $-2.00$& $-2$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 2$& $ -4$& $-3.00$& $-2.0$& $-2.0000$& $-1.00$& $ 0$& $2.83$\tabularnewline
~~72& $ 2$& $ -5$& $-4.50$& $-4.0$& $-4.0000$& $-3.50$& $-3$& $1.41$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}
\clearpage
\subsection{ CDR-SB change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $273$& $-1.0$& $ 0.00$& $ 0.00$& $ 0.0879$& $ 0.000$& $ 2.5$& $0.348$\tabularnewline
\rowcolor[gray]{.9} ~~12& $265$& $-1.0$& $ 0.00$& $ 0.00$& $ 0.1260$& $ 0.000$& $ 4.0$& $0.492$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $400$& $-1.0$& $ 0.00$& $ 0.00$& $ 0.1500$& $ 0.000$& $ 5.0$& $0.560$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 45$& $-0.5$& $ 0.00$& $ 0.00$& $ 0.5220$& $ 0.500$& $ 5.0$& $1.190$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $156$& $-0.5$& $ 0.00$& $ 0.00$& $ 0.2020$& $ 0.000$& $ 5.0$& $0.686$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 56$& $-0.5$& $ 0.00$& $ 0.00$& $ 0.5540$& $ 0.500$& $11.0$& $1.710$\tabularnewline
~~72& $123$& $-0.5$& $ 0.00$& $ 0.00$& $ 0.4270$& $ 0.250$& $10.0$& $1.240$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 62$& $-0.5$& $ 0.00$& $ 0.00$& $ 0.8630$& $ 1.000$& $12.0$& $1.980$\tabularnewline
~~96& $ 48$& $-0.5$& $ 0.00$& $ 0.00$& $ 0.7600$& $ 0.500$& $15.5$& $2.350$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 8$& $ 0.0$& $ 0.00$& $ 0.00$& $ 0.3120$& $ 0.625$& $ 1.0$& $0.458$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $426$& $-3.5$& $-0.50$& $ 0.00$& $ 0.1310$& $ 0.500$& $ 3.0$& $0.807$\tabularnewline
\rowcolor[gray]{.9} ~~12& $528$& $-3.0$& $-0.50$& $ 0.00$& $ 0.1950$& $ 0.500$& $ 5.5$& $1.020$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $424$& $-3.0$& $-0.50$& $ 0.00$& $ 0.5870$& $ 1.000$& $11.5$& $1.650$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $329$& $-3.5$& $-0.50$& $ 0.00$& $ 0.9010$& $ 1.500$& $12.5$& $2.370$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $257$& $-3.5$& $-0.50$& $ 0.00$& $ 1.1200$& $ 2.000$& $16.0$& $2.910$\tabularnewline
~~60& $141$& $-3.0$& $-0.50$& $ 0.00$& $ 0.9260$& $ 1.500$& $14.5$& $2.650$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $109$& $-3.0$& $-0.50$& $ 0.00$& $ 1.2200$& $ 1.500$& $15.5$& $3.430$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 95$& $-3.5$& $-0.50$& $ 0.00$& $ 1.3400$& $ 1.500$& $15.0$& $3.410$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 77$& $-3.5$& $-0.50$& $ 0.00$& $ 1.4000$& $ 1.500$& $14.0$& $3.560$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 35$& $-2.5$& $-0.75$& $ 0.00$& $ 1.4000$& $ 1.500$& $16.5$& $3.800$\tabularnewline
~~120& $ 6$& $-1.5$& $-0.50$& $-0.25$& $ 0.0833$& $ 1.120$& $ 1.5$& $1.200$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $131$& $-2.5$& $ 0.00$& $ 0.50$& $ 0.8130$& $ 1.500$& $ 9.0$& $1.540$\tabularnewline
\rowcolor[gray]{.9} ~~12& $149$& $-2.0$& $ 0.00$& $ 1.00$& $ 1.8600$& $ 2.500$& $11.5$& $2.470$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 44$& $-1.0$& $ 1.00$& $ 2.50$& $ 3.2200$& $ 5.000$& $11.5$& $2.870$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $ 2.0$& $ 2.00$& $ 2.00$& $ 2.0000$& $ 2.000$& $ 2.0$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 1$& $ 3.0$& $ 3.00$& $ 3.00$& $ 3.0000$& $ 3.000$& $ 3.0$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 4$& $ 2.0$& $ 4.25$& $ 8.00$& $ 7.3800$& $11.100$& $11.5$& $4.640$\tabularnewline
~~72& $ 4$& $ 7.0$& $ 8.12$& $10.00$& $10.4000$& $12.200$& $14.5$& $3.330$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}
\clearpage
\subsection{ Pt ECog - Mem change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $273$& $-1.500$& $-0.2500$& $ 0.0000$& $ 0.0303$& $ 0.250$& $ 1.6200$& $0.431$\tabularnewline
\rowcolor[gray]{.9} ~~12& $268$& $-1.380$& $-0.2500$& $ 0.0000$& $ 0.0244$& $ 0.250$& $ 1.6200$& $0.427$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $411$& $-2.000$& $-0.2500$& $ 0.0000$& $ 0.0169$& $ 0.250$& $ 1.7500$& $0.442$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 47$& $-0.589$& $-0.2500$& $ 0.0000$& $-0.0338$& $ 0.125$& $ 0.7500$& $0.306$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $163$& $-1.380$& $-0.2500$& $ 0.0000$& $ 0.0563$& $ 0.375$& $ 2.1200$& $0.495$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 57$& $-1.430$& $ 0.0000$& $ 0.1250$& $ 0.1460$& $ 0.375$& $ 1.3800$& $0.494$\tabularnewline
~~72& $122$& $-1.320$& $-0.1250$& $ 0.1250$& $ 0.1690$& $ 0.500$& $ 1.6200$& $0.539$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 63$& $-1.500$& $-0.1250$& $ 0.1250$& $ 0.1930$& $ 0.500$& $ 1.8200$& $0.606$\tabularnewline
~~96& $ 50$& $-1.120$& $-0.1250$& $ 0.0625$& $ 0.2010$& $ 0.500$& $ 2.2500$& $0.609$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 8$& $-0.500$& $-0.0625$& $ 0.1250$& $ 0.0781$& $ 0.281$& $ 0.5000$& $0.327$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $428$& $-2.120$& $-0.3750$& $-0.1250$& $-0.1040$& $ 0.250$& $ 1.6200$& $0.539$\tabularnewline
\rowcolor[gray]{.9} ~~12& $532$& $-2.250$& $-0.3750$& $ 0.0000$& $-0.0608$& $ 0.254$& $ 1.6200$& $0.601$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $422$& $-2.880$& $-0.3750$& $ 0.0000$& $-0.0189$& $ 0.375$& $ 2.5000$& $0.651$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $322$& $-2.380$& $-0.3750$& $-0.0804$& $-0.0418$& $ 0.375$& $ 2.5000$& $0.633$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $250$& $-2.500$& $-0.5000$& $-0.1250$& $-0.0975$& $ 0.312$& $ 2.3600$& $0.725$\tabularnewline
~~60& $141$& $-1.500$& $-0.3750$& $ 0.0000$& $ 0.0201$& $ 0.500$& $ 1.7500$& $0.596$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $103$& $-2.120$& $-0.3750$& $ 0.0000$& $ 0.0223$& $ 0.500$& $ 1.7500$& $0.742$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 95$& $-2.380$& $-0.3750$& $-0.1250$& $-0.0728$& $ 0.250$& $ 2.0000$& $0.658$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 76$& $-2.500$& $-0.5000$& $-0.2500$& $-0.1830$& $ 0.250$& $ 2.2100$& $0.709$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 35$& $-2.250$& $-0.5000$& $-0.1250$& $-0.1510$& $ 0.188$& $ 1.8800$& $0.795$\tabularnewline
~~120& $ 7$& $-0.625$& $-0.5620$& $-0.2500$& $ 0.0357$& $ 0.312$& $ 1.6200$& $0.816$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $124$& $-1.880$& $-0.4060$& $ 0.0000$& $-0.0592$& $ 0.375$& $ 1.7500$& $0.725$\tabularnewline
\rowcolor[gray]{.9} ~~12& $127$& $-2.000$& $-0.4730$& $-0.0357$& $-0.1340$& $ 0.375$& $ 2.0000$& $0.734$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 32$& $-1.750$& $-0.5000$& $-0.1880$& $-0.0954$& $ 0.277$& $ 2.1200$& $0.739$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $-0.500$& $-0.5000$& $-0.5000$& $-0.5000$& $-0.500$& $-0.5000$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 2$& $-0.875$& $-0.6650$& $-0.4550$& $-0.4550$& $-0.246$& $-0.0357$& $0.593$\tabularnewline
~~72& $ 1$& $-0.875$& $-0.8750$& $-0.8750$& $-0.8750$& $-0.875$& $-0.8750$& $$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}
\clearpage
\subsection{ SP ECog - Mem change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $263$& $-1.380$& $-0.1250$& $ 0.000$& $ 0.01720$& $0.125$& $1.620$& $0.361$\tabularnewline
\rowcolor[gray]{.9} ~~12& $262$& $-1.500$& $-0.1250$& $ 0.000$& $ 0.04250$& $0.250$& $2.120$& $0.407$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $391$& $-1.500$& $-0.1250$& $ 0.000$& $ 0.04090$& $0.250$& $2.120$& $0.415$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 44$& $-1.380$& $-0.1250$& $ 0.125$& $ 0.17200$& $0.319$& $2.120$& $0.604$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $155$& $-1.250$& $-0.1550$& $ 0.000$& $ 0.11400$& $0.250$& $2.120$& $0.490$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 54$& $-0.750$& $-0.1250$& $ 0.000$& $ 0.14100$& $0.250$& $2.460$& $0.568$\tabularnewline
~~72& $122$& $-1.500$& $-0.1250$& $ 0.000$& $ 0.20600$& $0.469$& $2.250$& $0.623$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 62$& $-2.380$& $-0.0938$& $ 0.134$& $ 0.36500$& $0.625$& $2.750$& $0.883$\tabularnewline
~~96& $ 48$& $-1.380$& $-0.1250$& $ 0.000$& $ 0.23700$& $0.500$& $3.000$& $0.690$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 8$& $-0.125$& $ 0.3120$& $ 0.500$& $ 0.54700$& $0.750$& $1.250$& $0.467$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $424$& $-1.880$& $-0.2500$& $ 0.000$& $ 0.00345$& $0.375$& $2.120$& $0.561$\tabularnewline
\rowcolor[gray]{.9} ~~12& $526$& $-2.750$& $-0.2500$& $ 0.000$& $ 0.01600$& $0.330$& $2.250$& $0.587$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $424$& $-1.880$& $-0.2500$& $ 0.000$& $ 0.10700$& $0.500$& $2.120$& $0.661$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $321$& $-2.250$& $-0.2500$& $ 0.125$& $ 0.15500$& $0.500$& $2.140$& $0.706$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $245$& $-1.750$& $-0.2500$& $ 0.125$& $ 0.22500$& $0.500$& $2.880$& $0.710$\tabularnewline
~~60& $137$& $-1.620$& $-0.1790$& $ 0.125$& $ 0.27000$& $0.625$& $2.500$& $0.783$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $109$& $-1.620$& $-0.2500$& $ 0.125$& $ 0.20200$& $0.625$& $2.290$& $0.697$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 98$& $-1.250$& $-0.2630$& $ 0.125$& $ 0.25900$& $0.750$& $2.500$& $0.823$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 76$& $-2.000$& $-0.1350$& $ 0.250$& $ 0.26800$& $0.625$& $2.380$& $0.778$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 36$& $-0.750$& $-0.2500$& $ 0.125$& $ 0.31500$& $0.750$& $2.500$& $0.745$\tabularnewline
~~120& $ 6$& $-0.857$& $-0.4510$& $-0.152$& $-0.09230$& $0.188$& $0.857$& $0.604$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $130$& $-2.750$& $-0.2500$& $ 0.000$& $ 0.04210$& $0.479$& $1.620$& $0.616$\tabularnewline
\rowcolor[gray]{.9} ~~12& $147$& $-1.620$& $ 0.0000$& $ 0.125$& $ 0.21200$& $0.500$& $2.120$& $0.507$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 44$& $-1.540$& $-0.0312$& $ 0.000$& $ 0.14200$& $0.375$& $1.500$& $0.566$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $ 1.250$& $ 1.2500$& $ 1.250$& $ 1.25000$& $1.250$& $1.250$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 1$& $ 0.000$& $ 0.0000$& $ 0.000$& $ 0.00000$& $0.000$& $0.000$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 4$& $ 0.000$& $ 0.0938$& $ 0.625$& $ 0.84400$& $1.380$& $2.120$& $0.992$\tabularnewline
~~72& $ 4$& $ 0.000$& $ 0.8440$& $ 1.470$& $ 1.27000$& $1.900$& $2.120$& $0.943$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}
\clearpage
\subsection{ Pt ECog - Total change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $273$& $-1.140$& $-0.103000$& $ 0.00000$& $ 0.017800$& $ 0.1280$& $ 0.8210$& $0.253$\tabularnewline
\rowcolor[gray]{.9} ~~12& $268$& $-0.751$& $-0.103000$& $ 0.00000$& $ 0.029400$& $ 0.1280$& $ 1.4600$& $0.253$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $411$& $-1.340$& $-0.104000$& $ 0.00000$& $ 0.013700$& $ 0.1320$& $ 1.1800$& $0.294$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 47$& $-0.526$& $-0.103000$& $-0.02560$& $ 0.005560$& $ 0.1030$& $ 0.7440$& $0.220$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $164$& $-0.985$& $-0.107000$& $ 0.04180$& $ 0.043100$& $ 0.1670$& $ 1.7200$& $0.304$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 57$& $-0.725$& $-0.046600$& $ 0.13300$& $ 0.112000$& $ 0.2210$& $ 0.7270$& $0.314$\tabularnewline
~~72& $122$& $-1.010$& $-0.022900$& $ 0.10600$& $ 0.136000$& $ 0.2640$& $ 1.3000$& $0.329$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 63$& $-0.784$& $-0.049200$& $ 0.08160$& $ 0.133000$& $ 0.3040$& $ 1.1600$& $0.358$\tabularnewline
~~96& $ 50$& $-1.110$& $ 0.000675$& $ 0.08570$& $ 0.184000$& $ 0.2200$& $ 2.6400$& $0.522$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 8$& $-0.147$& $ 0.057900$& $ 0.13500$& $ 0.176000$& $ 0.2990$& $ 0.5140$& $0.220$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $430$& $-2.080$& $-0.219000$& $-0.02630$& $-0.035000$& $ 0.1500$& $ 1.5900$& $0.376$\tabularnewline
\rowcolor[gray]{.9} ~~12& $535$& $-1.690$& $-0.234000$& $ 0.00000$& $-0.019000$& $ 0.1870$& $ 1.6700$& $0.398$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $423$& $-1.690$& $-0.205000$& $ 0.00000$& $ 0.028300$& $ 0.2330$& $ 1.7400$& $0.443$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $318$& $-1.730$& $-0.205000$& $ 0.02560$& $ 0.044600$& $ 0.3060$& $ 1.9900$& $0.454$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $249$& $-2.310$& $-0.247000$& $ 0.02560$& $ 0.031600$& $ 0.3080$& $ 2.7100$& $0.529$\tabularnewline
~~60& $139$& $-1.210$& $-0.141000$& $ 0.05130$& $ 0.072500$& $ 0.3260$& $ 1.1300$& $0.438$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $103$& $-1.130$& $-0.165000$& $ 0.05400$& $ 0.095300$& $ 0.3850$& $ 1.4800$& $0.467$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 95$& $-1.090$& $-0.200000$& $ 0.00540$& $ 0.017100$& $ 0.2040$& $ 1.6000$& $0.476$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 76$& $-1.090$& $-0.247000$& $ 0.00405$& $ 0.022400$& $ 0.1840$& $ 2.5900$& $0.498$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 35$& $-0.862$& $-0.382000$& $-0.06610$& $-0.058200$& $ 0.1630$& $ 0.7770$& $0.426$\tabularnewline
~~120& $ 7$& $-1.370$& $-0.566000$& $-0.00208$& $-0.195000$& $ 0.2280$& $ 0.6810$& $0.700$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $120$& $-1.690$& $-0.298000$& $ 0.02320$& $-0.011900$& $ 0.2840$& $ 1.5100$& $0.554$\tabularnewline
\rowcolor[gray]{.9} ~~12& $124$& $-1.380$& $-0.344000$& $-0.01060$& $ 0.000392$& $ 0.2910$& $ 2.1000$& $0.553$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 32$& $-1.430$& $-0.145000$& $ 0.07790$& $ 0.123000$& $ 0.4270$& $ 2.3200$& $0.643$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $ 0.553$& $ 0.553000$& $ 0.55300$& $ 0.553000$& $ 0.5530$& $ 0.5530$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 2$& $-0.543$& $-0.394000$& $-0.24500$& $-0.245000$& $-0.0957$& $ 0.0535$& $0.422$\tabularnewline
~~72& $ 1$& $-0.191$& $-0.191000$& $-0.19100$& $-0.191000$& $-0.1910$& $-0.1910$& $$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}
\clearpage
\subsection{ SP ECog - Total change from baseline}
%latex.default(tab[, -(1:2)], file = "", rowlabel = "Month", rowname = tab[, 1], rgroup = unique(tab[, 2]), n.rgroup = table(tab[, 2]), digits = 3, where = "h!", rownamesTexCmd = rcmd, label = paste("long", oc, sep = ""))%
\begin{table}[h!]
\begin{center}
\begin{tabular}{lrrrrrrrr}
\hline\hline
\multicolumn{1}{l}{Month}&\multicolumn{1}{c}{N}&\multicolumn{1}{c}{Min.}&\multicolumn{1}{c}{Q.1}&\multicolumn{1}{c}{Median}&\multicolumn{1}{c}{Mean}&\multicolumn{1}{c}{Q.3}&\multicolumn{1}{c}{Max.}&\multicolumn{1}{c}{SD}\tabularnewline
\hline
{\bfseries CN}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $265$& $-0.8790$& $-0.0513$& $ 0.0000$& $ 0.00909$& $0.0769$& $0.846$& $0.193$\tabularnewline
\rowcolor[gray]{.9} ~~12& $262$& $-1.2100$& $-0.0347$& $ 0.0000$& $ 0.03980$& $0.0979$& $1.620$& $0.257$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $391$& $-1.1300$& $-0.0526$& $ 0.0000$& $ 0.03620$& $0.0900$& $2.000$& $0.271$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 44$& $-1.3300$& $ 0.0000$& $ 0.0599$& $ 0.13900$& $0.2350$& $2.050$& $0.477$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $156$& $-1.0500$& $-0.0516$& $ 0.0000$& $ 0.08570$& $0.1290$& $1.680$& $0.341$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 54$& $-0.5400$& $-0.0447$& $ 0.0395$& $ 0.16500$& $0.2110$& $2.540$& $0.509$\tabularnewline
~~72& $121$& $-0.9940$& $-0.0513$& $ 0.0526$& $ 0.16700$& $0.2660$& $2.520$& $0.464$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 62$& $-1.5400$& $ 0.0000$& $ 0.1050$& $ 0.31300$& $0.3770$& $2.950$& $0.750$\tabularnewline
~~96& $ 48$& $-0.9940$& $-0.0508$& $ 0.0135$& $ 0.10800$& $0.1590$& $2.470$& $0.477$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 8$& $-0.0301$& $ 0.1380$& $ 0.3050$& $ 0.34700$& $0.4140$& $1.090$& $0.343$\tabularnewline
~~120& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
{\bfseries MCI}&&&&&&&&\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $426$& $-1.4600$& $-0.1670$& $ 0.0206$& $ 0.05150$& $0.2540$& $1.990$& $0.411$\tabularnewline
\rowcolor[gray]{.9} ~~12& $526$& $-2.0400$& $-0.1280$& $ 0.0513$& $ 0.08610$& $0.2840$& $2.090$& $0.460$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $425$& $-1.4100$& $-0.1050$& $ 0.1130$& $ 0.19000$& $0.4050$& $2.410$& $0.537$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $320$& $-2.1400$& $-0.0995$& $ 0.1440$& $ 0.25500$& $0.4890$& $2.510$& $0.616$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $245$& $-2.1100$& $-0.1030$& $ 0.1540$& $ 0.28400$& $0.5710$& $2.620$& $0.648$\tabularnewline
~~60& $137$& $-1.0500$& $-0.1030$& $ 0.1660$& $ 0.32500$& $0.6910$& $2.400$& $0.676$\tabularnewline
\rowcolor[gray]{.9} ~~66& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~72& $109$& $-1.1000$& $-0.1010$& $ 0.1520$& $ 0.26500$& $0.5200$& $2.250$& $0.622$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 98$& $-1.3400$& $-0.0979$& $ 0.1580$& $ 0.37600$& $0.7420$& $2.400$& $0.781$\tabularnewline
\hline
{\bfseries Dementia}&&&&&&&&\tabularnewline
~~96& $ 76$& $-1.2100$& $-0.0488$& $ 0.1310$& $ 0.40500$& $0.5990$& $2.510$& $0.799$\tabularnewline
\rowcolor[gray]{.9} ~~108& $ 36$& $-0.5890$& $-0.0621$& $ 0.1100$& $ 0.43800$& $0.8620$& $2.820$& $0.766$\tabularnewline
~~120& $ 6$& $-0.4090$& $-0.2470$& $-0.1090$& $-0.08140$& $0.0592$& $0.316$& $0.263$\tabularnewline
\rowcolor[gray]{.9} ~~3& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
~~6& $130$& $-2.5000$& $-0.1470$& $ 0.1260$& $ 0.10500$& $0.4100$& $1.330$& $0.524$\tabularnewline
\rowcolor[gray]{.9} ~~12& $148$& $-1.4600$& $ 0.1080$& $ 0.3290$& $ 0.34200$& $0.5950$& $1.570$& $0.460$\tabularnewline
~~18& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~24& $ 44$& $-0.4740$& $ 0.0819$& $ 0.4160$& $ 0.42200$& $0.7730$& $1.890$& $0.505$\tabularnewline
~~30& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~36& $ 1$& $ 1.1100$& $ 1.1100$& $ 1.1100$& $ 1.11000$& $1.1100$& $1.110$& $$\tabularnewline
~~42& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~48& $ 1$& $ 0.7180$& $ 0.7180$& $ 0.7180$& $ 0.71800$& $0.7180$& $0.718$& $$\tabularnewline
~~54& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\rowcolor[gray]{.9} ~~60& $ 4$& $-0.2410$& $ 0.4780$& $ 0.7580$& $ 0.97900$& $1.2600$& $2.640$& $1.200$\tabularnewline
~~72& $ 4$& $ 0.6750$& $ 1.0100$& $ 1.2000$& $ 1.43000$& $1.6200$& $2.660$& $0.858$\tabularnewline
\rowcolor[gray]{.9} ~~84& $ 0$& $$& $$& $$& $$& $$& $$& $$\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}