Nothing
#' @description The class \code{LogNormal} implements the LogNormal distribution.
#' @title LogNormal
#' @inheritParams Distribution
#' @include Distribution.R
#' @export
LogNormal = new_class( "LogNormal", package = "PFIM", parent = Distribution )
#' adjustGradient: adjust the gradient for the log normal distribution.
#' @name adjustGradient
#' @param distribution An object \code{Distribution} giving the distribution.
#' @param gradient The gradient of the model responses.
#' @return The adjusted gradient of the model responses.
#' @export
method( adjustGradient, LogNormal ) = function( distribution, gradient ) {
gradient = gradient * prop( distribution, "mu" )
return( gradient ) }
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.