drape

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(drape)

drape is an R package used to perform doubly robust average partial effect estimation, via kernel resmoothing and location-scale score estimation. The function drape() performs this task for arbitrary plug-in regression procedures. The function resmooth() transforms a fitted prediction model into a smooth version. The function spline_score() estimates the smoothing spline score function estimate.



Try the drape package in your browser

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

drape documentation built on April 3, 2025, 9:23 p.m.