present_mean_sd_rmna_text: ############################################################################...

Description Usage Arguments Value Examples

View source: R/IPDFileCheck.R

Description

############################################################################ Function to present the mean and sd of a data set in the form Mean (SD)

Usage

1
present_mean_sd_rmna_text(data, column_name, nrcode = NA)

Arguments

data

data frame

column_name

the column name

nrcode

non response code corresponding to the column

Value

the mean(sd), error for failure

Examples

1
2
3
4
present_mean_sd_rmna_text(data.frame(
  "age" = c(21, 15),
  "Name" = c("John", "Dora")
), "age", NA)

IPDFileCheck documentation built on Feb. 1, 2022, 9:07 a.m.