saveDigitizedImage {RFishBC}R Documentation

Save to a file the structure image saved in an R data file with selected points.

Description

Save to a file the structure image with points to represent annuli that were saved to an R data file using digitizeRadii. This allows the user to create a file of their selections that could be printed.

Usage

saveDigitizedImage(
  nms,
  fileType = c("jpeg", "png", "pdf"),
  suffix = "_marked",
  res = 72,
  pch.show,
  col.show,
  cex.show,
  connect,
  col.connect,
  lwd.connect,
  col.scaleBar,
  lwd.scaleBar,
  showScaleBarLength,
  cex.scaleBar,
  showAnnuliLabels,
  annuliLabels,
  col.ann,
  cex.ann,
  offset.ann
)

Arguments

nms

A string (or vector of strings) that indicates the R data file(s) created with digitizeRadii. If missing the user will be provided a dialog box from which to choose the file(s). The file(s) must be in the current working directory (see getwd result). May also be a single RFishBC object created with digitizeRadii.

fileType

Choose file type to be jpeg, png, or pdf.

suffix

A string that will be appended to each saved filename prior to the extension. Defaults to “_marked”.

res

Device (for jpeg and png) resolution. Defaults to 72.

pch.show

See details in RFBCoptions.

col.show

See details in RFBCoptions.

cex.show

See details in RFBCoptions.

connect

See details in RFBCoptions.

col.connect

See details in RFBCoptions.

lwd.connect

See details in RFBCoptions.

col.scaleBar

See details in RFBCoptions.

lwd.scaleBar

See details in RFBCoptions.

showScaleBarLength

See details in RFBCoptions.

cex.scaleBar

See details in RFBCoptions.

showAnnuliLabels

See details in RFBCoptions.

annuliLabels

See details in RFBCoptions.

col.ann

See details in RFBCoptions.

cex.ann

See details in RFBCoptions.

offset.ann

See details in RFBCoptions.

Details

None.

Value

None, but a file is created in the working directory.

Author(s)

Derek H. Ogle, DerekOgle51@gmail.com

See Also

showDigitizedImage, digitizeRadii, RFBCoptions, and jpeg, png, and pdf.

Examples

## None because this requires interaction from the user.
## See the link to the extensive documentation in the Details.


[Package RFishBC version 0.2.7 Index]