Ggenerate: Internal function, generate matrices.

View source: R/rddensity_fun.R

GgenerateR Documentation

Internal function, generate matrices.

Description

Ggenerate generates a matrix.

Usage

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

Arguments

p

Integer, polynomial order.

low, up

Numeric, lower and upper limits of integration, -1 and 1 by default.

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.