Learn R Programming

webr (version 0.1.5)

x2summary: Summarize chisquare result

Description

Summarize chisquare result

Usage

x2summary(
  data = NULL,
  x = NULL,
  y = NULL,
  a,
  b,
  margin = 1,
  show.percent = TRUE,
  show.label = TRUE
)

Arguments

data

A data.frame

x

a column name

y

a column name

a

a vector

b

a vector

margin

numeric If 1 row percent, if 2 col percent

show.percent

logical

show.label

logical

Examples

Run this code
# NOT RUN {
require(moonBook)
x2summary(acs,sex,DM)
# }

Run the code above in your browser using DataLab