Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
8Ginette8 committed Feb 6, 2025
1 parent 3d94ea1 commit bddeadb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions R/cv_range.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ cv_range <- function(range_object = NULL,
cv.df[i, "TSS"] <- cv.df[i, "Sensitivity"] + cv.df[i, "Specificity"] - 1
}

cat("","\n")
# Finalize average
cv.df[nfolds+1, ] <- apply(cv.df[1:nfolds, ], 2, mean, na.rm = TRUE)
return(cv.df)
Expand Down
2 changes: 1 addition & 1 deletion inst/examples/cv_range_help.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ range.tiger <- get_range(occ_coord = obs.pt,
cv.eval = cv_range(range_object = range.tiger,
cv = 'block-cv',
nfolds = 5,
nblocks = 2); cv.eval
nblocks = 2)
}
2 changes: 1 addition & 1 deletion man/cv_range.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bddeadb

Please sign in to comment.