Learn R Programming

resde (version 1.1)

userphi: Examples of optional external transformation and derivative functions

Description

Templates for user-supplied transformation and drivative functions, used by sdefit() if specified in parameters phi and/or phiprime. To be completed by the user.

Usage

userphi(x, theta)

userphiprime(x, theta)

Value

Transformed variable

Transformation derivative

Arguments

x

Numeric vector, variable to be transformed.

theta

Named list of transformation parameters

Functions

  • userphi(): transformation

  • userphiprime(): derivative