Hey,
Just after a quick look, all your columns should not be factors. Convert them to numeric.
For the ggplot, you need to aes() argument in the first instance of ggplot.. Something like: ggplot(data, aes( define X and y and groups here)) + geom_point() + geom_line()
Try it out and see if it works,
best,
H