IPDFileCheck (version 0.5.0)

descriptiveStatisticsDataColumn: 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

descriptiveStatisticsDataColumn(data, column.name, nrcode = NA)

Arguments

data

data frame

column.name

the column name

nrcode

non response code corresponding to the column

Value

the descriptive statistics for success , -1 for failure

Examples

Run this code
# NOT RUN {
descriptiveStatisticsDataColumn(data.frame("age" = c(21,15), "Name" = c("John","Dora")),"age",NA)
# }

Run the code above in your browser using DataCamp Workspace