Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98bf5e0

Browse files
committed
Initial commit
0 parents  commit98bf5e0

File tree

17 files changed

+237
-0
lines changed

17 files changed

+237
-0
lines changed

‎.Rbuildignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
^.*\.Rproj$
2+
^\.Rproj\.user$
3+
^LICENSE\.md$
4+
^data-raw$

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata

‎DESCRIPTION‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Package: vacuum
2+
Type: Package
3+
Title: Tukey's Vacuum Cleaner
4+
Version: 0.1.0
5+
Author: Ron Sielinski
6+
Maintainer: Ron Sielinski <sielinski@hotmail.com>
7+
Description: An implementation of John Tukey's FUNOP, FUNOR-FUNOM, and vacuum
8+
cleaner from his paper "The Future of Data Analytics". Combined, these
9+
procedures provide a way to identify, treats, and analyze outliers.
10+
License: MIT + file LICENSE
11+
Encoding: UTF-8
12+
LazyData: true
13+
Suggests:
14+
testthat
15+
Imports:
16+
ggplot2,
17+
tidyr,
18+
dplyr
19+
Depends:
20+
R (>= 2.10)

‎LICENSE‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2020
2+
COPYRIGHT HOLDER: Ron Sielinski

‎LICENSE.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#MIT License
2+
3+
Copyright (c) 2020 Ron Sielinski
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎NAMESPACE‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exportPattern("^[[:alpha:]]+")

‎R/hello.R‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Hello, world!
2+
#
3+
# This is an example function named 'hello'
4+
# which prints 'Hello, world!'.
5+
#
6+
# You can learn more about package authoring with RStudio at:
7+
#
8+
# http://r-pkgs.had.co.nz/
9+
#
10+
# Some useful keyboard shortcuts for package authoring:
11+
#
12+
# Install Package: 'Ctrl + Shift + B'
13+
# Check Package: 'Ctrl + Shift + E'
14+
# Test Package: 'Ctrl + Shift + T'
15+
16+
hello<-function() {
17+
print("Hello, world!")
18+
}

‎README.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
#vacuum
3+
4+
<!-- badges: start-->
5+
<!-- badges: end-->
6+
7+
Vacuum is an implementation of three procedures developed by John Tukey, FUNOP, FUNOR-FUNOM, and vacuum cleaner, originally published in his paper "The Future of Data Analytics". Combined, the procedures provide a complete solution to identify, treat, and analyze outliers.
8+
9+
##Installation
10+
11+
You can install the released version of vacuum from[CRAN](https://CRAN.R-project.org) with:
12+
13+
```r
14+
install.packages("vacuum")
15+
```
16+
17+
##Example
18+
19+
FUNOP identifies outliers in a numeric vector:
20+
21+
```r
22+
library(vacuum)
23+
24+
# example data
25+
as_received<-
26+
c(14,-104,-97,-59,-161,93,454,-341,54,137,473,45,193,22)
27+
28+
# index positions of outliers
29+
FUNOP(as_received)
30+
31+
# values of outliers
32+
as_received[FUNOP(as_received)]
33+
34+
```
35+

‎data-raw/DATASET.R‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## code to prepare `DATASET` dataset goes here
2+
3+
as_received<-
4+
c(14,-104,-97,-59,-161,93,454,-341,54,137,473,45,193,22)
5+
6+
table_2<-
7+
read.csv(
8+
'table_2.csv',
9+
header=F,
10+
row.names=NULL)
11+
12+
13+
table_8<-
14+
read.csv(
15+
'table_8.csv',
16+
header=F,
17+
row.names=NULL
18+
)
19+
20+
usethis::use_data(as_received,overwrite=TRUE)
21+
usethis::use_data(table_2,overwrite=TRUE)
22+
usethis::use_data(table_8,overwrite=TRUE)

‎data/as_received.rda‎

145 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp