obs_plot: Plot of observed values

Description Usage Arguments Details Author(s) Examples

View source: R/obs_plot.R

Description

Scatterplot, boxplot or doubledeckerplot (depending on the variable types) between a specific variable and all other variables from a dataset. Only observations that have no missing values for both variables are plotted. Fitted curves are drawn in red.

Usage

1
obs_plot(ds, var, main = "default")

Arguments

ds

data.frame.

var

plots are drawn between the variable defined by this parameter and all other variables from the dataset.

main

defines the title of the plots. Default the percentage of observed values for both variables is plotted.

Details

Draws scatterplots between two continuous variables, boxplots between categorical and continious and doubledeckerplots between two categorical variables.

Author(s)

Paul Brix

Examples

1
2

mmaechler/miP documentation built on May 23, 2019, 5 a.m.