Nothing
#' Fast fit Poisson regression
#'
#' @param Ny vector of counts
#' @param x regressor
#' @param degree degree of the polynomial
#' @param offset offset
#' @importFrom stats glm.fit poisson
#' @return see glm.fit
fitPoisGlm = function(Ny, x, degree, offset){
desMat = buildXmat(x, degree+1)
glm.fit(y = Ny, x = desMat, family = poisson(), offset = offset)
}
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.