example_nested_data {nestedmodels}R Documentation

Example nested data

Description

A dataset containing example data that can be nested. Mainly used for examples and testing.

Usage

example_nested_data

Format

A tibble with 1000 rows and 7 variables

id

A column that can be nested, ranging from 1 to 20.

id2

Another column that can be nested, ranging from 1 to 10.

x

A numeric column that depends on 'id'.

y

A sequential numeric column (with some added randomness), independent of the other columns.

z

A column dependent on id, id2, x and y.

a

A randomly generated numeric column, ranging from 1 to 100.

b

A randomly generated numeric column, centred around 50.

Examples

example_nested_data

[Package nestedmodels version 1.1.0 Index]