Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
24c4644
Non-functional skeleton of the new imputation framework function
alexkowa Jan 19, 2024
29cf247
pass checks ;-)
alexkowa Jan 19, 2024
7ec05a5
Merge pull request #80 from statistikat/master
alexkowa Jul 15, 2024
ad6ee8b
Update Structure vimpute
alexkowa Jul 15, 2024
9a39593
Merge pull request #82 from statistikat/master
alexkowa Jul 15, 2024
c415027
restructure and add additional plotting methods
Jul 17, 2024
d00f783
implementation of new function
BirgitKarlhuber Jul 17, 2024
e44106a
added some additional functionalities
BirgitKarlhuber Jul 30, 2024
b977841
Merge pull request #87 from statistikat/master
alexkowa Jul 31, 2024
717f0f5
Merge branch 'pmm_it_all' into pmm_it_all
alexkowa Jul 31, 2024
d86c20d
Merge pull request #86 from BirgitKarlhuber/pmm_it_all
alexkowa Jul 31, 2024
e6e44aa
vimpute method robust
alexkowa Aug 5, 2024
41d0811
Merge pull request #3 from statistikat/pmm_it_all
BirgitKarlhuber Aug 5, 2024
6ad95d7
change in sequential TRUE
BirgitKarlhuber Aug 7, 2024
1c07fa2
Merge pull request #88 from BirgitKarlhuber/pmm_it_all
alexkowa Aug 19, 2024
e840c0a
Merge pull request #89 from statistikat/master
alexkowa Apr 2, 2025
59226aa
helpers
Apr 11, 2025
4fedb19
vimpute
Apr 11, 2025
13a647d
vimpute fin
Apr 11, 2025
2c0c1ea
vig
Apr 11, 2025
b19f6af
data.table
Apr 14, 2025
7eb017d
nthreads (xgboost)
Apr 16, 2025
79a2fa3
small changes
Apr 23, 2025
98b5b64
com
Apr 23, 2025
b879556
update
May 5, 2025
098b5a2
start package ready implemenation vimpute
alexkowa May 5, 2025
195e190
Update vimpute.R
eileenva May 6, 2025
403f61f
start package ready implemenation vimpute
eileenva May 6, 2025
683abaa
Update vimpute.R
eileenva May 6, 2025
8e07821
version without warnings
alexkowa May 15, 2025
97677ce
lrn() optimiert
May 15, 2025
c8a6c78
warning bei robust model
May 16, 2025
08166b8
Merge pull request #90 from statistikat/master
alexkowa May 19, 2025
b2323cf
parameteranpassung
May 22, 2025
e3e9800
robust learner
May 22, 2025
187f512
learner
May 22, 2025
9dfb72d
Merge branch 'pmm_it_all' of https://github.com/statistikat/VIM into …
May 22, 2025
3f35019
c
May 22, 2025
a70051b
learner
May 22, 2025
e977c61
c
May 22, 2025
7cf4081
c
May 22, 2025
898f1de
robust learner
May 22, 2025
9a17a9e
stop(sprintf())
May 23, 2025
b37668c
warning statt error
May 23, 2025
cdc3a49
if model cant be fitted -> NULL
May 23, 2025
4d63662
LearnerClassifGlmRob
May 23, 2025
5c48037
learner
May 23, 2025
5b0b0c4
learner glm rob
May 23, 2025
6cf8721
c
May 23, 2025
34277ef
c
May 23, 2025
8643f0f
learner
May 23, 2025
7f9c299
learner
May 23, 2025
abd79f0
OLD VERSION
May 23, 2025
d111c85
old version (NULL)
May 23, 2025
3ba3664
fallback lm()
May 23, 2025
91b4c37
c
May 23, 2025
82cdeed
new learner try
May 23, 2025
9a6332c
learner back
May 23, 2025
113676b
fallback multi
May 23, 2025
3b0ed6b
fb
May 23, 2025
e1888ff
fb
May 23, 2025
690cf69
$new
May 23, 2025
58b90de
()
May 23, 2025
1b156ae
fb
May 23, 2025
6aec8d3
robust not working
May 23, 2025
1948226
robust learner funktioniert
May 26, 2025
fd8faa3
#
May 26, 2025
f465094
browser()
May 26, 2025
0ba3ff5
data.table
May 26, 2025
2a26edb
data.frame
May 26, 2025
baeca67
#
May 26, 2025
a531732
c
May 26, 2025
3a6a0cd
.. weg
May 26, 2025
be37700
c
May 26, 2025
6bf632d
läuft jetzt wirklich
May 26, 2025
45bcf87
dummy
May 26, 2025
13d3884
prints
May 26, 2025
dbda13c
list()
May 26, 2025
55ec348
Update
eileenva May 27, 2025
6f8c8d2
Update
eileenva May 27, 2025
0840627
glm
May 27, 2025
32355e3
Update
eileenva May 27, 2025
c2900bc
Update
eileenva May 27, 2025
a08c362
Update finished
eileenva May 27, 2025
0c2788c
binär/kategorisch learner aktualisiert
Jun 2, 2025
0542e84
Merge branch 'pmm_it_all' of https://github.com/statistikat/VIM into …
Jun 2, 2025
00f42be
rename
Jun 2, 2025
254caa0
semicontinous variables
Jun 2, 2025
cfe1bb8
tuning
Jun 2, 2025
5c0c910
update
Jun 2, 2025
ac2ec8b
semicont
Jun 2, 2025
3b8ac27
update
Jun 2, 2025
be1a9c2
update
Jun 2, 2025
45b6e23
c
Jun 2, 2025
c9b9c42
logreg
Jun 3, 2025
e399b8c
update
Jun 3, 2025
8e70b11
update
Jun 3, 2025
d845636
update
Jun 3, 2025
f5e83af
c
Jun 3, 2025
d912e64
update
Jun 3, 2025
3814cd3
c
Jun 3, 2025
b512290
c
Jun 3, 2025
93f1463
c
Jun 3, 2025
bf5e665
c
Jun 3, 2025
3ec0c51
c
Jun 3, 2025
a00613a
c
Jun 3, 2025
13df638
semicontinous
Jun 4, 2025
e209f24
c
Jun 13, 2025
4e031a2
Force-add HTML vignette
Jun 13, 2025
0bb669f
semicont
Jun 24, 2025
3321e56
pred hist
Jun 24, 2025
04850fc
update
Jun 24, 2025
ad8aa39
small updates
eileenva Jun 30, 2025
cdb7353
method
eileenva Jun 30, 2025
9fa8c19
message
eileenva Jun 30, 2025
973adb7
verbose
eileenva Jun 30, 2025
f606316
verbose
eileenva Jun 30, 2025
063a517
verbose
eileenva Jun 30, 2025
e06bd7e
test
eileenva Jun 30, 2025
f66ec1c
test
eileenva Jun 30, 2025
c4f1b17
tuning log
eileenva Jun 30, 2025
c1fddcd
log
eileenva Jun 30, 2025
d33cccc
output
eileenva Jun 30, 2025
b036060
tuning_log
eileenva Jun 30, 2025
7c5372a
tuning_log
eileenva Jun 30, 2025
0f07c3c
tuning_log
eileenva Jun 30, 2025
7167780
tuning_log
eileenva Jun 30, 2025
6591ae5
tuning_log
eileenva Jun 30, 2025
330df48
factor levels
eileenva Jul 2, 2025
4a7e991
Merge branch 'pmm_it_all' of https://github.com/statistikat/VIM into …
eileenva Jul 2, 2025
9b16f7d
factorlevels
eileenva Jul 2, 2025
cad8918
factor levels
eileenva Jul 2, 2025
088109b
level
eileenva Jul 3, 2025
dce8aae
levels
eileenva Jul 3, 2025
8a1b063
levels
eileenva Jul 3, 2025
47d5582
levels
eileenva Jul 3, 2025
250948e
levels
eileenva Jul 3, 2025
9ec44b8
levels
eileenva Jul 3, 2025
a1d0aa3
levels
eileenva Jul 3, 2025
4ef6629
levels
eileenva Jul 3, 2025
bb25957
levels
eileenva Jul 3, 2025
f1aaae7
levels check
eileenva Jul 3, 2025
84a6ddc
levels
eileenva Jul 3, 2025
ce55869
levels
eileenva Jul 3, 2025
3a5d78e
levbels
eileenva Jul 3, 2025
3052c9e
levels
eileenva Jul 3, 2025
42fe051
levels
eileenva Jul 3, 2025
b70552c
po_fixfactors
eileenva Jul 3, 2025
61621ed
levels fixfactors
eileenva Jul 3, 2025
a1c8a35
levels
eileenva Jul 3, 2025
8d34342
levels
eileenva Jul 3, 2025
0cff82b
levels
eileenva Jul 3, 2025
cd6bfa7
levels
eileenva Jul 3, 2025
e194de4
levels
eileenva Jul 3, 2025
e7939b1
levels
eileenva Jul 3, 2025
4764e01
levels
eileenva Jul 3, 2025
0d19fbe
levels
eileenva Jul 4, 2025
9e8ec60
levels
eileenva Jul 4, 2025
0ef37cb
levels
eileenva Jul 4, 2025
c665df3
levels
eileenva Jul 4, 2025
d1b3bbf
levels
eileenva Jul 4, 2025
1c32c83
levels
eileenva Jul 4, 2025
7d2a7a4
levels
eileenva Jul 4, 2025
01c7208
levels
eileenva Jul 4, 2025
2fba162
prints levels
eileenva Jul 7, 2025
ef244af
message levels
eileenva Jul 7, 2025
5b8cf37
levels
eileenva Jul 7, 2025
bea222d
levels
eileenva Jul 7, 2025
4f718b3
levels
eileenva Jul 7, 2025
0275b46
levels
eileenva Jul 7, 2025
bbc0b94
level
eileenva Jul 7, 2025
b6b3aab
levels
eileenva Jul 7, 2025
ca94518
levels
eileenva Jul 7, 2025
1455ba0
levels
eileenva Jul 7, 2025
a5244c0
levels
eileenva Jul 7, 2025
1b5168c
levels
eileenva Jul 7, 2025
eb777ed
levels
eileenva Jul 7, 2025
ae2d185
levels
eileenva Jul 7, 2025
ef89b9d
levels
eileenva Jul 7, 2025
8f995b6
levels
eileenva Jul 7, 2025
934cd13
levels
eileenva Jul 7, 2025
9096003
old version
eileenva Jul 7, 2025
19beb21
old
eileenva Jul 7, 2025
7ae3251
Konflikte gelöst: enforce_factor_levels bereinigt
eileenva Jul 7, 2025
dd13644
old
eileenva Jul 7, 2025
3d2068f
com
eileenva Jul 7, 2025
1254cdf
old?
eileenva Jul 7, 2025
a154597
cv
eileenva Jul 9, 2025
d86c45d
tuning
eileenva Jul 9, 2025
db4c73f
tuning
eileenva Jul 9, 2025
a3b7d61
message delete
eileenva Jul 9, 2025
f4da7b6
com
eileenva Jul 9, 2025
4cf2039
com
eileenva Jul 9, 2025
5314f56
fix some smaller errors for CHECK
alexkowa Sep 22, 2025
6a59a0b
fix vignette entry
alexkowa Sep 22, 2025
3dd46ac
keyword family imputation methods in vimpute / roxy run
alexkowa Sep 22, 2025
2f4b0ec
suggest glmnet for vignette
alexkowa Sep 22, 2025
a65c087
delete VIM folder
alexkowa Sep 22, 2025
e7d1d60
fix Index Entry xgboost
alexkowa Sep 22, 2025
6da7a23
update test-coverage workflow
alexkowa Sep 22, 2025
5de6ef3
fix test-coverage.yaml
alexkowa Sep 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: test-coverage
name: test-coverage.yaml

permissions: read-all

jobs:
test-coverage:
Expand All @@ -15,36 +16,47 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
extra-packages: any::covr, any::xml2
needs: coverage

- name: Test coverage
run: |
covr::codecov(
cov <- covr::package_coverage(
quiet = FALSE,
clean = FALSE,
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
print(cov)
covr::to_cobertura(cov)
shell: Rscript {0}

- uses: codecov/codecov-action@v5
with:
# Fail if error if not on PR, or if on PR and token is given
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
files: ./cobertura.xml
plugins: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Show testthat output
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
path: ${{ runner.temp }}/package
22 changes: 17 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
Package: VIM
Version: 6.2.4
Version: 7.0.0
Title: Visualization and Imputation of Missing Values
Authors@R: c(
person("Matthias", "Templ", email = "[email protected]", role = c("aut","cre")),
person("Alexander", "Kowarik", email = "[email protected]", role = c("aut"), comment=c(ORCID="0000-0001-8598-4130")),
person("Andreas", "Alfons", role = c("aut")),
person("Johannes", "Gussenbauer", role = c("aut")),
person("Nina", "Niederhametner", role = c("aut")),
person("Eileen", "Vattheuer", role = c("aut")),
person("Gregor", "de Cillia", email = "[email protected]", role = c("aut")),
person("Bernd", "Prantner", role = c("ctb")),
person("Wolfgang", "Rannetbauer", role = c("aut")))
person("Wolfgang", "Rannetbauer", role = c("aut"))
)
Depends:
R (>= 4.1.0),colorspace,grid
Imports:
Expand All @@ -27,15 +31,23 @@ Imports:
ranger,
MASS,
xgboost,
data.table(>= 1.9.4)
data.table(>= 1.9.4),
mlr3,
mlr3pipelines,
R6,
paradox,
mlr3tuning,
mlr3learners,
future
Suggests:
dplyr,
tinytest,
knitr,
rmarkdown,
reactable,
covr,
withr
withr,
glmnet
Description: New tools for the visualization of missing and/or imputed values
are introduced, which can be used for exploring the data and the structure of
the missing and/or imputed values. Depending on this structure of the missing
Expand All @@ -51,7 +63,7 @@ License: GPL (>= 2)
URL: https://github.com/statistikat/VIM
Repository: CRAN
LinkingTo: Rcpp
RoxygenNote: 7.2.3
RoxygenNote: 7.3.3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
26 changes: 26 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export(scattMiss)
export(scattmatrixMiss)
export(spineMiss)
export(tableMiss)
export(vimpute)
export(xgboostImpute)
import(Rcpp)
import(colorspace)
Expand Down Expand Up @@ -92,11 +93,36 @@ importFrom(graphics,text)
importFrom(graphics,title)
importFrom(laeken,weightedMean)
importFrom(laeken,weightedMedian)
importFrom(mlr3,LearnerClassif)
importFrom(mlr3,LearnerRegr)
importFrom(mlr3,PredictionClassif)
importFrom(mlr3,PredictionRegr)
importFrom(mlr3,TaskClassif)
importFrom(mlr3,TaskRegr)
importFrom(mlr3,as_task_classif)
importFrom(mlr3,as_task_regr)
importFrom(mlr3,lrn)
importFrom(mlr3,msr)
importFrom(mlr3,resample)
importFrom(mlr3,rsmp)
importFrom(mlr3learners,LearnerRegrCVGlmnet)
importFrom(mlr3pipelines,"%>>%")
importFrom(mlr3pipelines,GraphLearner)
importFrom(mlr3pipelines,PipeOpModelMatrix)
importFrom(mlr3pipelines,po)
importFrom(mlr3tuning,TuningInstanceBatchSingleCrit)
importFrom(mlr3tuning,tnr)
importFrom(mlr3tuning,trm)
importFrom(paradox,p_dbl)
importFrom(paradox,p_fct)
importFrom(paradox,p_int)
importFrom(paradox,ps)
importFrom(ranger,importance)
importFrom(ranger,ranger)
importFrom(utils,capture.output)
importFrom(utils,flush.console)
importFrom(utils,head)
importFrom(utils,modifyList)
importFrom(vcd,labeling_border)
importFrom(vcd,mosaic)
useDynLib(VIM)
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# VIM 7.0.0
- new function vimpute that uses mlr3 backend for a flexible imputation method.

# VIM 6.x.x
- fix infinite loop in matchImpute in case all observations of a variable are missing
- remove parameter metric from kNN because it was not used
Expand Down
20 changes: 10 additions & 10 deletions R/VIM-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@
#' @importFrom laeken weightedMean
#' @importFrom graphics Axis abline axTicks axis barplot box hist boxplot layout lcm lines locator par plot.new plot.window points
#' @importFrom graphics polygon rect strheight strwidth text title
#' @importFrom utils capture.output flush.console head
#' @importFrom utils capture.output flush.console head modifyList
#' @importFrom ranger ranger importance
#' @importFrom MASS stepAIC lqs polr rlm
#' @importFrom mlr3 LearnerRegr PredictionRegr LearnerClassif PredictionClassif lrn TaskRegr TaskClassif as_task_regr as_task_classif rsmp msr resample
#' @importFrom mlr3pipelines PipeOpModelMatrix %>>% GraphLearner po
#' @importFrom paradox ps p_fct p_dbl p_int
#' @importFrom mlr3tuning tnr trm TuningInstanceBatchSingleCrit
#' @importFrom mlr3learners LearnerRegrCVGlmnet
#' @useDynLib VIM
NULL

utils::globalVariables(c("self", "super"))
#' Animals_na
#'
#' @description Average log brain and log body weights for 28 Species
Expand Down Expand Up @@ -596,21 +601,16 @@ NULL
#' handling of the plot methods. In addition, `VIM` can be used for data
#' from essentially any field.
#'
#' @name VIM-package
#' @aliases VIM-package VIM
#' @docType package
#' @author Matthias Templ, Andreas Alfons, Alexander Kowarik, Bernd Prantner
#'
#' Maintainer: Matthias Templ <templ@@tuwien.ac.at>

#' @references M. Templ, A. Alfons, P. Filzmoser (2012) Exploring incomplete
#' data using visualization tools. *Journal of Advances in Data Analysis
#' and Classification*, Online first. DOI: 10.1007/s11634-011-0102-y.
#'
#' M. Templ, A. Kowarik, P. Filzmoser (2011) Iterative stepwise regression
#' imputation using standard and robust methods. *Journal of
#' Computational Statistics and Data Analysis*, Vol. 55, pp. 2793-2806.
#' @keywords package
NULL
#' @keywords internal
"_PACKAGE"



Expand Down
Loading
Loading