Skip to content

Commit

Permalink
remove naming
Browse files Browse the repository at this point in the history
  • Loading branch information
AQLT committed Jan 5, 2025
1 parent d1e29db commit 6278376
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/crossvalidation.R
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ df_var <- function(n, coef, exact_df = FALSE) {
p <- abs(lower_bound(coef))
f <- upper_bound(coef)
df_num <- (n - (p + f))*(1- 2 * coef0 + sum(value_coef^2))
names(df_num) <- NULL
if (!exact_df)
return(df_num) # Approximation of the degrees of freedom

Expand Down

0 comments on commit 6278376

Please sign in to comment.