Nothing
#' An internal function used in bootstrap global F test
#' @name globalFstat
#' @keywords internal
globalFstat <- function(xfit, Qobs, t_vec) {
Qmat_lm <- stats::lm(Qobs ~ xfit)
Qfitted = fitted(Qmat_lm)
n = nrow(Qobs)
Qmean = colMeans(Qobs)
ssr = sum(sapply(1:n, function(i) fdapace::trapzRcpp(t_vec, (Qmean - Qfitted[i, ])^2)))
return(ssr)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.