sim_univariate_cont: Simulate a univariate ordinal model

Description Usage Arguments Value

View source: R/univariate_models.R

Description

Create simulated data for a univariate continuous model. For x, either the number of samples (N) and a parameter vector (th_x) must be given, or the full vector (x) must be given.

Usage

1
sim_univariate_cont(th_w, mod_spec, N = NA, th_x = NA, x = NA)

Arguments

th_w

The continuous parameter vector [c,kappa]

mod_spec

The model specification

N

The number of samples to simulate

th_x

The parameterization for x

x

The vector of independent variables

Value

A list object of simulated data containing x and w


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.