Jy: Jy

Description Usage Arguments Value Examples

View source: R/RKSIR.R

Description

Compute the slice matrix J

Usage

1
Jy(y, numeric = TRUE, h = NULL)

Arguments

y

response vector

numeric

logic value, numeric response or categorial response

h

if response is numeric, give the number of slices for y

Value

a slice matrix

J

slice matrix of the response

Examples

1
2
3
4
5
## Not run: 
y <- sample(1:15, 15)
Jy(y, h = 5)

## End(Not run)

zhaolotelli/SC19017 documentation built on Jan. 3, 2020, 9:19 p.m.