makeTSextra: Create list with needed info

View source: R/makeTSextra.R

makeTSextraR Documentation

Create list with needed info

Description

This function creates a list with info needed in various parts of the package

Usage

makeTSextra(
  x,
  Continuous,
  pnull,
  rnull,
  phat = function(x) -99,
  dnull = function(x) -99,
  Ranges,
  TSextra
)

Arguments

x

data set

Continuous

=TRUE, is data continuous?

pnull

cdf under the null hypothesis

rnull

routine to generate data under the null hypothesis

phat

=function(x) -99, function to estimate parameters from the data, or -99 if no parameters are estimated

dnull

=function(x) -99, density function under the null hypothesis, if available, or -99 if missing

Ranges

Range of variables

TSextra

(optional) list passed to TS, if needed.

Value

A list with vectors of test statistics and p.values


MDgof documentation built on Feb. 13, 2026, 1:06 a.m.