# Using Fisher LDA in R

I have run a large study looking at traumatic brain injury in patients I have conducted CT scans on patients very soon after the injury as well as neurocognitive testing and then repeated this at 1 year post-injury. At 1 year, I have also classified patients into "good" and "bad" outcomes based on their functional status. I also have control data.

I'd like to use a Fisher LDA to try and "predict" which patients will end up with bad outcomes from the initial CT scan / neurocognitive datasets.

What is the best way to go about this? That is, in an ideal world, would have two large data sets so could "train" on one and then run the prediction on the other

Is it OK to run the training on the 1 year outcome data and then apply this training to the data from the time of injury?

• I recommed a caret package. Check this for a lot of useful examples. Jun 24 '15 at 15:47