Cgenerate: Internal function, generate matrices.

View source: R/rddensity_fun.R

CgenerateR Documentation

Internal function, generate matrices.

Description

Cgenerate generates a matrix.

Usage

Cgenerate(k, p, low = -1, up = 1, kernel = "triangular")

Arguments

k, p

Integer, polynomial order.

kernel

String, the kernel function, can be triangular (default), uniform or epanechnikov.

Details

This is an internal function, and should not be called by users.

Value

Returns a matrix.


rddensity documentation built on Dec. 1, 2022, 1:32 a.m.