A quick histogram of the target variable, Life.Exp, shows a considerable amount of variation. Therefore, it can be considered a good potential target variable.
hist(x$Life.Exp)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.