circtree_simulate {circtree}R Documentation

Simulated Data Set for circtree

Description

This function creates artifical data set for testing the regression trees employing a von Mises distribution.

Usage

  circtree_simulate(n = 1000, mu = c(0, 2, 5), kappa = c(3, 3, 1), 
  response_range = c(0, 2 * pi), seed = 111)

Arguments

n

The number of Observations.

mu

The distribution parameters for the location part. Currently exactly three parameters necessary.

kappa

The distribution parameters for the concentration part. Currently exactly three parameters necessary.

response_range

Defines range of simulated response.

seed

Sets the 'seed' to a numeric value.

Value

Data frame with simualated covariates and respective response.


[Package circtree version 0.1-0 Index]