Learn R Programming

TempleMetrics (version 1.2.0)

lldr.inner.y: lldr.inner.y

Description

calls lldr.inner.xvals for a particular value of y. This is a dummy function that just reverses the arguments of lldr.inner.xvals in order to be able to call it for a vector of y values

Usage

lldr.inner.y(y, xmain.seq, Y, XMain, XOther = NULL, h = NULL,
  method = "level")

Arguments

y

a particular value of y to compute local linear distribution regression for

xmain.seq

a vector of x values to compute F(y|x) using local linear distribution regression

Y

a vector containing the data for the outcome

XMain

a vector containing the data for the "main" x variable

XOther

a matrix or data.frame containing the data for the "other" x variables

h

optional bandwidth

method

"level" or "rank" determining whether method should be used conditional on ytmin1 or the rank of ytmin1

Value

a list of llDR objects