Learn R Programming

magclass (version 6.13.2)

maxample: maxample

Description

A collection of magclass example data sets

Usage

maxample(data)

Value

the chosen example data set

Arguments

data

name of the example data set. Currently available are "pop" (regional population data, previously named "population_magpie"), "animal" (fictional, high-dimensional animal sighting data set) and "bilateral" (fictional, bilateral trade cost data set).

Author

Jan Philipp Dietrich

Examples

Run this code

p <- maxample("pop")
str(p)

a <- maxample("animal")
str(a)
getItems(a, split = TRUE)

Run the code above in your browser using DataLab