Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andreas Leha
binclaperf
Commits
fe3281f0
Commit
fe3281f0
authored
Jul 22, 2021
by
Andreas Leha
Browse files
[clean] generated files including latest changes
parent
fa24d89b
Changes
4
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
fe3281f0
...
...
@@ -7,4 +7,4 @@ Imports: pROC, dplyr, tibble, rlang, purrr
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote:
6
.1.1
RoxygenNote:
7
.1.1
NAMESPACE
View file @
fe3281f0
...
...
@@ -10,6 +10,7 @@ export(PREVfromConfusion)
export(SENSfromConfusion)
export(SPECfromConfusion)
export(confmat2df)
export(confmatdfAddSums)
export(local_regextract)
export(pROCaucdf)
export(pROCdf)
...
...
@@ -17,6 +18,9 @@ export(pROCyouden)
export(youdenConfmat)
importFrom(dplyr,"%>%")
importFrom(dplyr,bind_cols)
importFrom(dplyr,bind_rows)
importFrom(dplyr,mutate)
importFrom(dplyr,summarise_all)
importFrom(dplyr,tribble)
importFrom(purrr,possibly)
importFrom(rlang,.data)
...
...
man/binclaperf.Rd
View file @
fe3281f0
...
...
@@ -3,8 +3,7 @@
\docType{package}
\name{binclaperf}
\alias{binclaperf}
\alias{binclaperf-package}
\title{binclaperf}
\description{
binclaperf
Convenience funktions to report results from binary classification
}
man/confmatdfAddSums.Rd
0 → 100644
View file @
fe3281f0
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/confmat.R
\name{confmatdfAddSums}
\alias{confmatdfAddSums}
\title{Take a confmat (as data.frame) and add row/col sums}
\usage{
confmatdfAddSums(x)
}
\arguments{
\item{x}{2x2 data.frame in the format as produced by \code{\link{confmat2df}}}
}
\value{
data.frame 3x3 with added row/column
}
\description{
Append a column with rowsums and a row with colsums
}
\examples{
## draw data
n <- 50
truth <- sample(c("control", "case"), size = n, replace = TRUE)
prediction <- sample(c("control", "case"), size = n, replace = TRUE)
## confusion matrix
confmat <-table(truth, prediction)
## confusion matrix as data.frame
confdf <- confmat2df(confmat)
## with sums
confmatdfAddSums(confdf)
}
\author{
Dr. Andreas Leha
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment