Learn R Programming

IPDFileCheck (version 0.8.1)

descriptive_stats_col_excl_nrcode: Function to return descriptive statistics, sum, no of observations, mean, mode. median, range, standard deviation and standard error

Description

Function to return descriptive statistics, sum, no of observations, mean, mode. median, range, standard deviation and standard error

Usage

descriptive_stats_col_excl_nrcode(data, column_name, nrcode = NA)

Value

the descriptive statistics for success , error for failure

Arguments

data

data frame

column_name

the column name

nrcode

non response code corresponding to the column

Examples

Run this code
descriptive_stats_col_excl_nrcode(data.frame("age" = c(21, 15),
"Name" = c("John", "Dora")), "age", NA)

Run the code above in your browser using DataLab