example_nested_data: Example nested data

example_nested_dataR 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

nestedmodels documentation built on Sept. 30, 2023, 5:06 p.m.