Rstudio assistance


Im a new professor at NC state in fall.

I would like to get examples of code for running decision tree, logistic reg, and neural net (packages needed and all to plot tree also)..... I have data I will import and would like to run code against it for class.....binary target of patient likely to be readmitted and continuous target of number of visits.

your tips would be appreciated

im using latest R 3.5

I think, the best thing you can do is to go over a book similar to this one: Introduction to Statistical Learning. It has code in R, so you can adapt to your data.