plotsmd: plotsmd

View source: R/plotsmd.R

plotsmdR Documentation

plotsmd

Description

You can use it to draw a baseline table of data.

Usage

plotsmd(vars,unmatchdata,matchdata,refline=NULL,title=NULL,xlab='SMD',ylab='variable')

Arguments

vars

List the variables you need to compare.

unmatchdata

Data before conducting propensity matching.

matchdata

The data after propensity score matching.

refline

Set a reference line with a default value of 0.1.

title

The title of the image.

xlab

The name of the X-axis.

ylab

The name of the Y-axis.

Details

The differences between variables can be represented using SMD. This program can draw SMD graphs of variable differences.

Value

A picture.


scitb documentation built on Sept. 26, 2024, 9:06 a.m.