Learn R Programming

mcmcsae (version 0.7.4)

mcmcsae_example: Generate artificial data according to an additive spatio-temporal model

Description

This function is used to generate data for several examples.

Usage

mcmcsae_example(n = 100L, family = "gaussian")

Value

A list containing the generated dataset, the values of the model parameters, and the model specification as a formula.

Arguments

n

the size of the generated dataset.

family

sampling distribution family, see create_sampler.

Examples

Run this code
# \donttest{
ex <- mcmcsae_example()
str(ex)
# }

Run the code above in your browser using DataLab