antilog.pred: Back transforms the results if a logarithmic transformation...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/antilog.pred.R

Description

If the data are log-normal, the user can apply a logarithmic transformation. Then, antilog.pred will automatically back-transform (exponentiate) the data and the predictions (hyperbolic intervals) obtained by the BLS, CBLS, MD.horiz.lines, FullCIs.XY or FullCIs.MD functions.

Usage

1
antilog.pred(results = NULL, base = 10)

Arguments

results

an object of class BLS, CBLS, MD.horiz.lines, CIs.XY or CIs.MD.

base

a character string or a numeric value. Options available are: 10 (default value) or "e".

Details

antilog.pred is automatically called by the argument antilog in the functions XY.plot or MD.plot.

Value

An object of class BLS, CBLS, MD.horiz.lines, CIs.XY or CIs.MD.

Author(s)

Bernard G FRANCQ

See Also

BLS, CBLS, MD.horiz.lines, FullCIs.XY, FullCIs.MD

Examples

1
2
3
4
5
6
library(BivRegBLS)
data(SBP)
SBPlog=SBP
SBPlog[,2:10]=log(SBPlog[,2:10])
res.BLS.log=BLS(data=SBPlog,xcol=c("J1","J2","J3"),ycol=8:10)
res.BLS=antilog.pred(results=res.BLS.log,base="e")

Example output

Loading required package: ellipse

BivRegBLS documentation built on Oct. 11, 2019, 1:05 a.m.