textSummary: textSummary function

View source: R/outputSummary.R

textSummaryR Documentation

textSummary function

Description

A function to print a text description of the inferred paramerers beta and eta from a call to the function lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars, lgcpPredictSpatioTemporalPlusPars or lgcpPredictMultitypeSpatialPlusPars

Usage

textSummary(
  obj,
  digits = 3,
  scientific = -3,
  inclIntercept = FALSE,
  printmode = "LaTeX",
  ...
)

Arguments

obj

an object produced by a call to lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars, lgcpPredictSpatioTemporalPlusPars orlgcpPredictMultitypeSpatialPlusPars

digits

see the option "digits" in ?format

scientific

see the option "scientific" in ?format

inclIntercept

logical: whether to summarise the intercept term, default is FALSE.

printmode

the format of the text to return, can be 'LaTeX' (the default) or 'text' for plain text.

...

other arguments passed to the function "format"

Value

A text summary, that can be pasted into a LaTeX document and later edited.


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.