Nothing
#' @title groupSizes - Group Sizes
#'
#' @description
#' Extract the group size information from
#' an Rdistance model frame.
#'
#' @inheritParams startLimits
#'
#' @param ... Ignored
#'
#' @return A vector containing group sizes contained
#' in the Rdistance model frame or fitted object.
#'
#' @examples
#'
#' data("sparrowDf")
#' sparrowModel <- parseModel( sparrowDf, dist ~ observer )
#' stats::model.offset(sparrowModel$mf)
#' groupSizes(sparrowModel) # same, but future-proof
#'
#' sparrowModel <- parseModel( sparrowDf
#' , dist ~ observer + groupsize(groupsize) )
#' groupSizes(sparrowModel)
#'
#' @export
#' @importFrom stats model.offset
#'
groupSizes <- function(ml, ...){
#ml$mf[, attr(terms(ml$mf), "offset")]
stats::model.offset(ml$mf)
}
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.