R/print.ISEdata.R

Defines functions print.ISEdata

Documented in print.ISEdata

#' @title Prints ISE data
#' @description Prints tables of calibration data and experimental data (if present).
#' @param x ISE data (e.g. object of class ISEdata)
#' @param ... Other objects passed through.
#' @author Peter Dillingham, \email{peter.dillingham@@otago.ac.nz}
#' @seealso \code{\link{loadISEdata}}
#' @examples data(LeadStdAdd)
#' print(LeadStdAdd)
print.ISEdata = function(x, ...) {
###
# prints ISE calibration and (if loaded) sample experimental data
###
	if (!x$calibration.only) {
		print("Calibration data")
		print(x$data.calib)
		cat("\n")
		print("Experimental data")
		print(x$data.exp)
	}
	if (x$calibration.only) {
		print("Calibration data")
		print(x$data.calib)
		cat("\n")
	}
}

Try the ISEtools package in your browser

Any scripts or data that you put into this service are public.

ISEtools documentation built on Oct. 19, 2022, 5:29 p.m.