Learn R Programming

iprior (version 0.6.5)

simdat: Random slopes model simulated data

Description

A simulated dataset to illustrate multilevel modelling using I-priors.

Usage

simdat

Arguments

Format

A data frame with 53940 rows and 10 variables:

y

Response variable

x

Explanatory variable

grp

Factor, indicating the group of that observation.

Examples

Run this code
data(simdat)
str(simdat)

Run the code above in your browser using DataLab