Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed May 5, 2024
1 parent 11f33b1 commit 33645c7
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 113 deletions.
4 changes: 2 additions & 2 deletions R/hypothesis_helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ specify_hypothesis <- function(
checkmate::check_choice(hypothesis, choices = c("reference", "sequential"))
)

if (is.null(label)) label <- function(estimate) "custom"
if (is.null(label)) label <- function(x) "custom"

if (identical(hypothesis, "reference")) {
hypothesis <- function(x) (x - x[1])[2:length(x)]
label = function(x) sprintf("(%s) - (%s)", x, x[1])[2:length(x)]
label <- function(x) sprintf("(%s) - (%s)", x, x[1])[2:length(x)]
} else if (identical(hypothesis, "sequential")) {
hypothesis <- function(x) (x - data.table::shift(x))[2:length(x)]
label = function(x) sprintf("(%s) - (%s)", x, data.table::shift(x))[2:length(x)]
Expand Down
225 changes: 114 additions & 111 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,149 +1,71 @@
’s
Aaditya
AAP
mislabelled
cumhaz
rmst
AAPs
AFAICT
AME
APM
ARD
Aaditya
Adelie
Adelies
AFAICT
aje
al
AME
Anastasios
Angelopoulos
APM
ARD
Arel
Augusto
Avina
BH
Beaumais
Boca
BorgeJorge
Brilleman
Bundock
CMD
CRC
Candes
Carlisle
Codecov
Customizable
Demetri
Dowd
DxP
EMMs
ETI
Ep
Epidemiologic
Errickson
Estimand
Estimands
Fabbri
Foygel
GLMMs
Gam
Gentoos
Greifer
HC
HDI
Hedeker
Heiss
Hernán
Heteroskedasticity
Hufthammer
IPW
Isager
J'VJ
JM
JVJ
Kapre
Kirill
Krinsky
Kurz
LLC
Lakens
Leeper
Lenth
Lifecycle
Lüdecke
MEM
MER
MFX
MRP
Marcio
MrJerryTAO
NHEFS
Nafa
NumPyro
Numpy
ORs
Ove
Pananos
PxD
RCTs
RDatasets
Rainey
Ramdas
Randas
Raton
Rcpp
Rdatasets
Rdatatable
Resul
Rina
Rmarkdown
Robb
Rohan
Scheel
Solovev
Stata
Stata's
StataCorp
Stata’s
TLDR
TOST
Tibshirani
Tomz
Typst
Umit
Wittenberg
XGBoost
Xu
aje
al
arXiv
arXivhttp
args
arxiv
arXiv
arXivhttp
Augusto
Avina
backtransform
backtransformation
backtransforming
backtransforms
bayesian
bc
bca
Beaumais
BH
Boca
bonferroni
BorgeJorge
Brilleman
brms
bugfix
Bundock
Candes
Carlisle
cdot
chisq
CMD
cme
Codecov
confounders
cran
CRC
cumhaz
cumprob
customclass
customizable
Customizable
cv
dX
dY
datagrid
deduplication
demeaned
Demetri
dev
differenceavg
differenceavgwts
differencing
Diniz
disp
doi
Dowd
dX
DxP
dY
dydx
dydxavg
dydxavgwts
Expand All @@ -153,10 +75,17 @@ dyexavglnratioavgwts
dyexavgwts
elasticities
emmeans
EMMs
Ep
Epidemiologic
eps
Errickson
estimand
Estimand
estimands
Estimands
et
ETI
ev
expdydx
expdydxavg
Expand All @@ -170,42 +99,69 @@ eydxavgwts
eyex
eyexavg
eyexavgwts
Fabbri
fdcenter
fdforward
fdr
fivenum
Foygel
frac
fwb
Gam
Gentoos
geoms
get_hdi
ggeffects
github
GLMMs
grayscale
Greifer
grey
HC
HDI
Hedeker
Heiss
Hernán
heteroskedasticity
Heteroskedasticity
hochberg
holm
hommel
http
https
Hufthammer
incrementing
interpretability
interpretable
inv
invlink
io
IPW
iqr
Isager
issuecomment
J'VJ
jacobian
jacobians
jacobiansmbox
JM
JVJ
Kapre
kenward
Kirill
knitr
Krinsky
Kurz
kwaa
Lakens
Leeper
Lenth
Lifecycle
lift
liftavg
linpred
listwise
LLC
lm
lme
ln
Expand All @@ -216,15 +172,32 @@ lnratio
lnratioavg
lnratioavgwts
lp
Lüdecke
Marcio
marginalmeans
mbox
meandev
meanotherdev
MEM
MER
methodologists
MFX
minmax
mislabelled
modelbased
MrJerryTAO
MRP
Nafa
nd
newdata
NHEFS
numDeriv
Numpy
NumPyro
ORs
Ove
pairwise
Pananos
param
perc
plasminogen
Expand All @@ -233,42 +206,72 @@ ppd
pre
probs
programmatically
PxD
quartile
Rainey
Ramdas
Randas
ratioavg
ratioavgwts
Raton
Rcpp
RCTs
Rdatasets
RDatasets
Rdatatable
regressand
regressors’
reimplement
Resul
revpairwise
revreference
revsequential
richardson
Rina
Rmarkdown
rmst
Robb
Rohan
rowid
rsample
rvar
satterthwaite
Scheel
sd
semilog
sensical
sequential
softmax
Solovev
Stata
Stata's
Stata’s
StataCorp
streptokinase
tPA
th
threenum
Tibshirani
tidiers
timpipeseek
tinytable
TLDR
Tomz
TOST
tPA
tukey
typst
Typst
Umit
underspecified
unintuitive
untransformed
varepsilon
vcovHC
vincentarelbundock
Wittenberg
wmean
xb
XGBoost
Xu
zlink
zprob
’s

0 comments on commit 33645c7

Please sign in to comment.