circtree_simulate: Simulated Data Set for 'circtree'

Description Usage Arguments Value

View source: R/circtree.R

Description

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

Usage

1
2
  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.


circtree documentation built on Aug. 14, 2019, 3 p.m.