Created
May 8, 2014 19:59
-
-
Save ramhiser/ec7464cc49f3226c3b1b to your computer and use it in GitHub Desktop.
Updated MDA code for Maha Wael Elbakry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Comment thread beginning here: | |
# http://ramhiser.com/blog/2013/07/02/a-brief-look-at-mixture-discriminant-analysis/#comment-1374749931 | |
# | |
# I'm using version 0.4-4 of the `mda` package | |
library(mda) | |
test_data <- read.csv("ts2.csv") | |
colnames(test_data)[16] <- "filter" | |
mda_out <- mda(formula=fol_up_u ~ . - filter, | |
data=test_data, | |
CV=TRUE, | |
na.action="na.omit") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment