Type: | Package |
Title: | Coffee Break Descriptive Analysis |
Version: | 0.2.0 |
Maintainer: | Sandip Kumar Gupta <sandip_nitj@yahoo.co.in> |
Description: | A set of functions that helps you to generate descriptive statistics based on the variable types. |
License: | GPL-2 |
Imports: | stats |
LazyData: | TRUE |
RoxygenNote: | 6.0.1 |
NeedsCompilation: | no |
Packaged: | 2017-09-04 18:34:52 UTC; Sandip |
Author: | Sandip Kumar Gupta [aut, cre] |
Repository: | CRAN |
Date/Publication: | 2017-09-04 18:43:49 UTC |
Numerical Variable Descriptive Statistics returns a data frame containing descriptive statistics for numerical variable.
Description
Returns a data frame containing following descriptive statistics for numerical variables in a data frame. Min Value -Minimum value of the variable. Max Value -Maximum value of the variable. Mean -Mean of the variable. Median -Median of the variable. Variance -Variance of the variable. Standard Deviation -Standard Deviation of the variable. Lower Outlier Cutoff -This helps to detect Lower outliers. Upper Outlier Cutoff -This helps to detect Upper outliers.
Usage
nvdescstat(df)
Arguments
df |
- Input Data frame. |
Value
Returns a data frame containing descriptive statistics for numerical variable.
Author(s)
"Sandip Kumar Gupta", "sandip_nitj@yahoo.co.in"
Examples
numv1<-c(8000,200,323)
numv2<-c(400,533,633)
numv3<-c(100,534,734)
numv4<-c(1,25,34)
chrv6<-c("a","b","c")
numv5<-c(50,10000,34000)
chrv7<-as.factor(c("male","female","unknown"))
numv6<-c(NA,300,340)
df<-data.frame(numv1,numv2,chrv6,numv3,numv4,numv5,chrv7,numv6)
nvdescstatdf<-nvdescstat(df)
Subsets Data frame Based On Variable Types.
Description
Returns a list of 6 data frames. List's first element contains subset of all Factor variables of the input data frame. Second element contains subset of all numeric and Integer variables of the input data frame. Third element contains subset of all logical variables of the input data frame. Fourth element contains subset of all complex variables of the input data frame. Fifth element contains subset of all character variables of the input data frame. Sixth element contains subset of all raw variables of the input data frame.
Usage
subbytype(df)
Arguments
df |
- Input Data frame We Wish To Subset. |
Value
Returns List of Data frames.
Author(s)
"Sandip Kumar Gupta", "sandip_nitj@yahoo.co.in"
Examples
numv<-c(1,2,3)
chrv<-c("a","b","c")
df<-data.frame(numv,chrv)
subbytype(df)