Skip to content

Commit

Permalink
rename IC.quantile -> IC_quantile
Browse files Browse the repository at this point in the history
  • Loading branch information
kkholst committed Dec 21, 2023
1 parent 01b14f2 commit de34820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/estimate.default.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ estimate.data.frame <- function(x, ...) {
}


IC.quantile <- function(x, estimate, probs=0.5, ...) {
IC_quantile <- function(x, estimate, probs=0.5, ...) {
x <- na.omit(x)
f0 <- density(x, ...)
## U <- function(est) (tau - (x <= est))
Expand Down Expand Up @@ -69,7 +69,7 @@ estimate.array <- function(x, type="mean", probs=0.5, ...) {
simplify=FALSE))
ic <- c()
for (i in seq_len(NCOL(x))) {
ic <- cbind(ic, do.call(IC.quantile,
ic <- cbind(ic, do.call(IC_quantile,
c(list(x[,i], probs=probs), density.args)))
}
}
Expand Down

0 comments on commit de34820

Please sign in to comment.