plot.alternative.inside: Plot of Alternatives

Description Usage Arguments Value

View source: R/plot.alternative.R

Description

Plot of Alternatives

Usage

1
2
3
4
5
6
## S3 method for class 'alternative.inside'
plot(gps.method, g.method,
  method.involved = c("CDML.1", "CDML.2"), sample.size.option = NULL,
  num.cov.option = c(2, 5), treatment.sd.option = NULL,
  struct.model.option = NULL, what, file = NULL, plot.what = "bias",
  main = TRUE, color = "red")

Arguments

gps.method

a vector of method for generalized propensity score estimation

g.method

a vector of method for regression estimation

method.involved

e.g.: c("SR", "CDML.1", "CDML.2", "CDML.5", "HI")

sample.size.option

a vector of number of samples that will be selected from

num.cov.option

a vector of number of covariates that will be selected from

treatment.sd.option

a vector of standard deviation of treatment generation that will be selected from

struct.model.option

a vector of parametric curves of response generation, typically choose from "linear", "polynom", "polynom2", "polynom3", "mixture".

what

choose from "sample.sizes", "cov"

file

file that we save our return into

plot.what

choose from "bias" and "error"

main

if main == TRUE, we plot a new one, otherwise we attach our figure in an existing plot

color

can be used to specify the color of the main line

Value

plots


fadedsoul/cdml documentation built on May 14, 2019, 8:01 a.m.