summarize_clicc: Summarize CLICC data

View source: R/summarize_clicc.r

summarize_cliccR Documentation

Summarize CLICC data

Description

Summarize CLICC data

Usage

summarize_clicc(
  data,
  clicc_type = "checkall",
  group_vars = NULL,
  save = FALSE,
  path = "clicc_summary.csv"
)

Arguments

data

A data file containing clicc.

clicc_type

A vector containing the CLICC type. Options include: "checkall" or "topconcern". By default, "checkall".

group_vars

A vector of grouping variables. By default, NULL.

save

A logical statement indicates whether the table should be saved as a file under a local folder. If false, the table will be returned as an object. By default, FALSE.

path

A quoted string to indicate the file's pathway and name if save = TRUE. By default, "clicc_summary.csv".

Value

Prints demographic tables in concole and/or saves them in under the working directory.


CCMH-PSU/CCMHr documentation built on Jan. 11, 2025, 4:36 p.m.