Skip to content

Commit

Permalink
prepare CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
HannaMeyer committed Apr 2, 2024
1 parent 8fb1216 commit e256d59
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: CAST
Type: Package
Title: 'caret' Applications for Spatial-Temporal Models
Version: 0.9.2
Version: 1.0.0
Authors@R: c(person("Hanna", "Meyer", email = "[email protected]", role = c("cre", "aut")),
person("Carles", "Milà", role = c("aut")),
person("Marvin", "Ludwig", role = c("aut")),
Expand Down
7 changes: 2 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# `CAST` 0.9.2
# `CAST` 1.0.0
* new features:
* calculate local point density within AOA
* option of spatial error profiles (errorProfiles with variable="geodist")
* normalize_DI for a more intuitive interpretation
* geodist allows calculating temporal distances
Expand All @@ -17,10 +18,6 @@
*plot_ffs (replaced by plot.ffs)
*calibrate_aoa (replaced by errorProfiles)

# `CAST` 0.9.1
* new features:
* calculate local point density within AOA

# `CAST` 0.9.0
* new features:
* CAST functions now return classes with generic plotting and printing
Expand Down
3 changes: 1 addition & 2 deletions R/bss.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
#' cross validations where variable selection
#' MUST be based on the performance of the model for predicting new spatial units.
#' Note that bss is very slow since all combinations of variables are tested.
#' A more time efficient alternative is the forward feature selection (\code{\link{ffs}})
#' (\code{\link{ffs}}).
#' A more time efficient alternative is the forward feature selection (\code{\link{ffs}}).
#' @author Hanna Meyer
#' @seealso \code{\link{train}},\code{\link{ffs}},
#' \code{\link{trainControl}},\code{\link{CreateSpacetimeFolds}},
Expand Down
4 changes: 4 additions & 0 deletions R/ffs.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@
#' \dontrun{
#' data(splotdata)
#' ffsmodel <- ffs(splotdata[,6:12], splotdata$Species_richness, ntree = 20)
#'
#' ffsmodel$selectedvars
#' ffsmodel$selectedvars_perf
#' plot(ffsmodel)
#' #or only selected variables:
#' plot(ffsmodel,plotType="selected")
#'}
#'
#' # or perform model with target-oriented validation (LLO CV)
Expand Down
3 changes: 1 addition & 2 deletions man/bss.Rd

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

4 changes: 4 additions & 0 deletions man/ffs.Rd

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

0 comments on commit e256d59

Please sign in to comment.