mid_interval: This is a hidden function of the TriCTree package

Description Usage Arguments Author(s) Examples

View source: R/mid_interval.R

Description

This function estimates the upper and lower bounds of the selection criteria

Usage

1
mid_interval(data1, data2, col_i)

Arguments

data1

A subset of data with the indicator value of 1

data2

A subset of data with the indicator value of 0

col_i

Index of the column to be separated

Author(s)

Yan Sun, Yanke Zhu, Tao Liu

Examples

1
2
3
4
dataxx = simulate_normal(n=40, p=0.8)
data1 = data.frame(dataxx[2 * (1:400), ])
data2 = data.frame(dataxx[2 * (1:400)-1, ])
mid_interval(data1, data2, col_i = 2)

taotliu/TriCTree documentation built on July 5, 2020, 12:04 p.m.