As a statistical programming language, R allows users to access precise statistics instead of simply printing a mass of output to the screen. The examples below highlight how to create…
Read More
Search Results for: what stat should i use
How do I change the colors in a trellis graph? | R FAQ
If the default color scheme for the lines and the symbol are not to your liking it is possible to change them using the following code. We are using the…
Read More
How can I write a binary data file by column? | R FAQ
Binary files offer an efficient and easy-to-recover way to store data. If you wish to convert a data frame in R to binary form, there are a few basics to…
Read More
How can I write a binary data file by row? | R FAQ
Binary files offer an efficient and easy-to-recover way to store data. If you wish to convert data in R to binary form, there are a few basics to learn that…
Read More
R Library Contrast Coding Systems for categorical variables
A categorical variable of K categories is usually entered in a regression analysis as a sequence of K-1 variables, e.g. as a sequence of K-1 dummy variables. Subsequently, the regression…
Read More
R Library Introduction to functions
R Library: Introduction to functions The R program (as a text file) for the code on this page. In order to see more than just the results from the computations…
Read More
R Library Matrices and matrix computations in R
R Library: Matrices and matrix computations The R program (as a text file) for the code on this page. In order to see more than just the results from the…
Read More
Coding for Categorical Variables in Regression Models | R Learning Modules
Version info: Code for this page was tested in R version 3.0.2 (2013-09-25) On: 2013-11-19 With: lattice 0.20-24; foreign 0.8-57; knitr 1.5 In R there are at least three different…
Read More
Subsetting Data | R Learning Modules
Version info: Code for this page was tested in R version 3.0.2 (2013-09-25) On: 2013-11-19 With: lattice 0.20-24; foreign 0.8-57; knitr 1.5 1. Subsetting variables TEST To manipulate data frames…
Read More
Introduction to Generalized Linear Mixed Models
Background Generalized linear mixed models (or GLMMs) are an extension of linear mixed models to allow response variables from different distributions, such as binary responses. Alternatively, you could think of…
Read More
