Learn R Programming

spam (version 0.11)

.Spam: spam specific parameters

Description

.Spam is a list holding information used for constructing and displaying spam objects.

Usage

.Spam

Arguments

Value

  • eps=.Machine$double.epsvalues smaller than this are considered as zero. This is only used when creating spam objects.
  • drop=FALSEdefault parameter for drop when subsetting
  • printsize=100the max number of elements of a matrix which we display as regular matrix.
  • imagesize=10000the max number of elements of a matrix we display as regular matrix with image or display. Larger matrices are represented as dots only.
  • trivaluesa flag whether to return the structure (default, FALSE or the values themselves (TRUE) when returning the upper and lower triangular part of a matrix.
  • cexdefault dot size for image or display.
  • versiona list containing the (major and minor) version number and the release date.
  • bcksl=TRUEdefault parameter for "solve" routines. FALSE would solve the system without using the permutation.
  • safemode=TRUEverify double and integer formats when constructing spam objects. TRUE is safe but only slightly slower.

Details

The user should only change eps, printsize, imagesize and drop. bcksl and safemode are rather developing flags. It is the users responsibility to use a safemode=FALSE. In many cases, all runs smoothly but there might be instances (especially when assigning directly to slots) that crash R. The verification is done with the functions icheck and dcheck.

See Also

print, display, image, upper.tri.

Examples

Run this code
smat <- diag.spam( 1:8)
smat
.Spam$printsize <- 49
smat

Run the code above in your browser using DataLab