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

View source: R/IPDFilecheck.R

present_mean_sd_rmna_textR Documentation

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

Description

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

Usage

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

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

sheejamk/ipdfilecheck documentation built on March 10, 2024, 11:23 p.m.