eValFun.plot: Marginal conditional expected value functions

Description Usage Arguments Value Examples

View source: R/Medbetareg.r

Description

Plot of the conditional expected value as a function of a continuous explanatory variable (given that all other explanatory variables take their respective neutral values).

Usage

1
eValFun.plot(B=1, yscale=NULL, xscale=NULL)

Arguments

B

The regression coefficient associated to the explanatory variable. Default is 1.

yscale

A vector including the 4 cut points of the response. If omitted, rescaled cut points are used.

xscale

A vector including the 4 cut points of the explanatory variable. If omitted, rescaled cut points are used.

Value

An object of class plot.

Examples

1
2
eValFun.plot(B=1)
eValFun.plot(B=1, yscale=c(0,15,25,40), xscale=c(0,0,30,100))

alessandromagrini/Medbetareg documentation built on March 7, 2021, 4:54 p.m.