Acknowledgment

This web book is the result of several years of introductory R course. It contains work of my colleagues: Daniela Manzato, who wrote the first version of this book, Andrea Spanò, who reviews the first versions and Enrico Pegoraro. However, it would not have been...

Chapter 9

Tables with R The istat data set contains gender, geographical area, weight and height for 1806 people. The frequency table for the gender or the geographical area can be obtained using the table() function. R load("istat.Rda") head(istat) 12...

Chapter 8

Statistical Models with R Regression Analysis Regression is the study of the change of the distribution of one variable, \(y\), according to the value of another variable, \(x\). Both continuous and discrete variables can be included in regression problems. Formally,...