This document provides code examples for conducting descriptive statistics and modeling of phenotypic data in R. It covers reading data into R, calculating summary statistics like means and standard deviations, exploring data distributions through histograms and QQ plots, transforming data, fitting and comparing linear and logistic regression models, and assessing model diagnostics. The goal is to analyze phenotypic data, identify appropriate transformations and models, and check assumptions.