
Summarize COS Package Objects
cos_summary_methods.RdS3 summary() methods for the main objects returned by
cosTapered, together with matching print() methods for the
returned summary objects. These methods report fuller diagnostics and
posterior or prediction summaries than the compact overviews printed by
cos_print_methods.
Usage
# S3 method for class 'cos_prep'
summary(object, digits = 3, ...)
# S3 method for class 'summary.cos_prep'
print(x, ...)
# S3 method for class 'cos_recovery_B'
summary(object, probs = c(0.5, 0.025, 0.975),
digits = 3, include_eta_B = TRUE, ...)
# S3 method for class 'summary.cos_recovery_B'
print(x, ...)
# S3 method for class 'cos_prediction_fine'
summary(object, digits = 3, ...)
# S3 method for class 'summary.cos_prediction_fine'
print(x, ...)
# S3 method for class 'cos_areal_blocks'
summary(object, digits = 3, ...)
# S3 method for class 'summary.cos_areal_blocks'
print(x, ...)
# S3 method for class 'cos_prediction_areal'
summary(object, digits = 3, ...)
# S3 method for class 'summary.cos_prediction_areal'
print(x, ...)
# S3 method for class 'cos_cv_observed'
summary(object, digits = 3, ...)
# S3 method for class 'summary.cos_cv_observed'
print(x, ...)Arguments
- object
A
"cos_prep"object fromcos_prepare, a"cos_recovery_B"object fromcos_recover_B, a"cos_prediction_fine"object fromcos_predict_fine, a"cos_areal_blocks"object fromcos_make_areal_blocks, a"cos_prediction_areal"object fromcos_predict_areal, or a"cos_cv_observed"object fromcos_cv_observed, matching the method being dispatched.- x
The matching
"summary.*"object returned by one of thesummary()methods documented here, for use by the correspondingprint()method.- digits
Number of digits used when rounding numeric summaries.
- probs
Quantile probabilities used for the beta and observed-support effect summaries in
summary.cos_recovery_B().- include_eta_B
Logical; if
TRUE,summary.cos_recovery_B()also summarizes recovered observed-support latent meanseta_B.- ...
Additional arguments passed to methods. Currently unused.
Value
Each summary() method documented here returns a list with class
"summary.<x>" matching the input object's class, and each matching
print() method prints a compact overview and invisibly returns its
input.
summary.cos_prep()returnsn_B,n_A,p,x_names,spatial,gamma,taper_code,missing, androw_sum_summary.summary.cos_recovery_B()returnsn_samples,n_B,spatial,beta_summary, andomega_B_summary. Wheninclude_eta_B = TRUE, it also returnseta_B_summary.summary.cos_prediction_fine()returnsspatial_uncertainty,uncertainty,target,n_pred,n_samples,keep_samples,spatial, rounded five-number summaries foretaandomegameans and standard deviations, and the fullprediction_summarydata frame. Whentarget = "observed", it also returns rounded five-number summaries fory.summary.cos_areal_blocks()returnsn_U,x_names,missing,row_sum_summary, andn_cell_summary.summary.cos_prediction_areal()returns the same fields assummary.cos_prediction_fine(), describing areal prediction units in place of fine prediction cells, plusrow_sum_summaryandn_Uin place ofn_pred.summary.cos_cv_observed()returnsk,target,spatial,n, and roundedsummary,fold_summary, andpredictionsdata frames.