newTS: Example for a new test

View source: R/newTS.R

newTSR Documentation

Example for a new test

Description

This shows how a new test routine can be used with Mgof, based on chi square tests

Usage

newTS(x, pnull, p, TSextra)

Arguments

x

a data set.

pnull

function to calculate expected counts.

p

parameter for pnull, if needed

TSextra

a list with setup info

Value

a vector with either values of the test statistic, or p values


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