-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from StoXProject/develop
Develop
- Loading branch information
Showing
32 changed files
with
1,843 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#' Data from the Norwegian catch lottery sampling program. | ||
#' | ||
#' Example of data formatted as \code{\link[RstoxData]{StoxBioticData}} | ||
#' Hauls are primary sampling units, selected by Poission sampling with selection probabilities proportional to the catch size. | ||
#' The data contain North Sea herring samples from catch lottery sampling in 2022. | ||
#' | ||
#' @docType data | ||
#' | ||
#' @usage data(CatchLotteryExample) | ||
#' | ||
#' @format \code{\link[RstoxData]{StoxBioticData}} | ||
#' | ||
#' @keywords datasets | ||
#' @concept Analytical estimation | ||
#' | ||
#' @examples | ||
#' RstoxFDA::plotArea(RstoxFDA::CatchLotteryExample$Station, | ||
#' areaDef=RstoxFDA::mainareaFdir2018, | ||
#' latCol = "Latitude", | ||
#' lonCol = "Longitude", | ||
#' areaLabels = TRUE) | ||
"CatchLotteryExample" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#' Sampling parameters from the Norwegian catch lottery sampling program. | ||
#' | ||
#' Example of data formatted as \code{\link[RstoxFDA]{PSUSamplingParametersData}} | ||
#' Hauls are primary sampling units, selected by Poission sampling with selection probabilities proportional to the catch size. | ||
#' The data contain sampling parameters for North Sea herring samples from catch lottery sampling in 2022. | ||
#' | ||
#' The corresponding samples are provided in \code{\link[RstoxFDA]{CatchLotteryExample}} | ||
#' | ||
#' @docType data | ||
#' | ||
#' @usage data(CatchLotterySamplingExample) | ||
#' | ||
#' @format \code{\link[RstoxData]{StoxBioticData}} | ||
#' | ||
#' @keywords datasets | ||
#' @concept Analytical estimation | ||
#' | ||
#' @examples | ||
#' #all selected PSU that where actuall sampled are provided in CatchLotteryExample | ||
#' sum(!is.na(CatchLotterySamplingExample$SelectionTable$SamplingUnitId)) | ||
#' sum(CatchLotterySamplingExample$SelectionTable$SamplingUnitId %in% | ||
#' CatchLotteryExample$Haul$HaulKey) | ||
"CatchLotterySamplingExample" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#' @noRd | ||
PrepareHorvitzThompsonDomainEstimate <- function(){} | ||
|
Oops, something went wrong.