Skip to content

Commit

Permalink
rough in two wrapper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkapur-noaa committed Dec 11, 2024
1 parent 0f68831 commit 98a2c8d
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ export(Deriv)
export(check_Deriv)
export(check_data)
export(confint_Deriv)
export(get_Breaks)
export(refit_Growth)
14 changes: 14 additions & 0 deletions R/get_Breaks.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Wrapper function to to fit gams & evaluate first derivatives
#' @param x vector of values over which derivatives were evaluated
#' @param d vector output of {Deriv()}
#' @param upper upper confidence interval; output of {confint_Deriv()}
#' @param lower lower confidence interval; output of {confint_Deriv()}
#' @param eval the value that you would like to examine. default 0

#' @return matrix of detected breakpoints and plots
#' @export


get_Breaks <- function(dat, axes = 'both'){

}
14 changes: 14 additions & 0 deletions R/refit_Growth.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Function to re-fit growth data at putative breaks and return estimates for validation
#' @param x vector of values over which derivatives were evaluated
#' @param d vector output of {Deriv()}
#' @param upper upper confidence interval; output of {confint_Deriv()}
#' @param lower lower confidence interval; output of {confint_Deriv()}
#' @param eval the value that you would like to examine. default 0

#' @return Von B growth parameters at input breakpoints; plots with uncertainty of growth curves
#' @export
#'
#'
refit_Growth<-function(){

}
25 changes: 25 additions & 0 deletions man/get_Breaks.Rd

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

25 changes: 25 additions & 0 deletions man/refit_Growth.Rd

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

0 comments on commit 98a2c8d

Please sign in to comment.