Learn R Programming

nearfar (version 1.3)

summary.nf: Summary method for object of class ``nf''

Description

Displays key information, e.g., number of matches tried, and post-match balance, for opt_nearfar function

Usage

# S3 method for nf
summary(object, ...)

Value

Returns a summary of results from opt_nearfar function

Arguments

object

Object of class ``nf'' returned by opt_nearfar

...

additional arguments affecting the summary produced

Author

Joseph Rigdon jrigdon@wakehealth.edu

See Also

opt_nearfar

Examples

Run this code
k = opt_nearfar(dta=mtcars, trt="drat", covs=c("cyl", "disp"),
    trt.type="cont", iv="carb", imp.var=NA, tol.var=NA, adjust.IV=TRUE,
    max.time.seconds=1)
summary(k)

Run the code above in your browser using DataLab