R/J.R

Defines functions J

Documented in J

##' Identity Matrix Minus Averaging Matrix
##' 
##' Construct a square matrix which the identity matrix minus the averging
##' matrix.
##' 
##' 
##' @param n a numeric describes the dimension of the square matrix.
##' @return This function return a square matrix which the identity matrix
##' minus the averaging matrix.
##' @author Kevin Chang
##' @examples
##' 
##' 
##' J(10)
##' 
##' 
##' @export J
J <- function(n) diag(n) - K(n) 

Try the infoDecompuTE package in your browser

Any scripts or data that you put into this service are public.

infoDecompuTE documentation built on April 14, 2020, 7:08 p.m.