-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
51 lines (34 loc) · 1.16 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# Rpackage.missingDetect
<!-- badges: start -->
Title: Detect the proportion of missing values in columns of tibble/dataframe
Version: 0.1.0
<!-- badges: end -->
The goal of `Rpackage.missingDetect` is to calculate the proportion of missing values for each column in a dataset and output the result of columns having NA existed.
## Installation
`Rpackage.missingDetect` is not yet on CRAN. You can download this development version from [GitHub](https://github.com/) using the following R command:
``` r
devtools::install_github("stat545ubc-2021/Rpackage.missingDetect")
```
## Example
This is a basic example which shows you how to detect data missing problems of a tibble dataset:
```{r example}
library(Rpackage.missingDetect)
missing_prop_detect(palmerpenguins::penguins)
```
This package can also work on a input of dataframe:
```{r cars}
df<- as.data.frame(palmerpenguins::penguins)
missing_prop_detect(df)
```