pvis: Code Presentation

Description Usage Arguments Details Value Author(s) Examples

View source: R/pvis.R

Description

The function presents percentages of binary categories of a binary-coded variable and two-bar stacked bar chart of the categories.

Usage

1
pvis(x)

Arguments

x

a binary-coded data-frame object

Details

The function is partly designed for the data frame returned by the function sc01 as a means of analytical result presentation. All instructions on R base function sum apply.

Value

returns percentages of binary categories of a binary-coded variable and two-bar stacked bar chart of the categories.

Author(s)

Abunakar Akanbi

Examples

1
2
bvar = data.frame(bc = c(1,1,0,0,1,1))
pvis(bvar) 

bscaling documentation built on Dec. 8, 2020, 5:09 p.m.