summary.grpoutputs: Summary method for grouped outputs

View source: R/grpoutputs.R

summary.grpoutputsR Documentation

Summary method for grouped outputs

Description

Summary method for objects of class grpoutputs.

Usage

## S3 method for class 'grpoutputs'
summary(object, ...)

Arguments

object

Object of class grpoutputs.

...

Currently ignored.

Value

A list with the following components:

output.dims

Dimensions for each output, i.e. number of observations and number of variables (i.e. output length).

group.sizes

Number of output observations in each group.

Examples

# Determine paths for data folders, each containing outputs for 10 runs of
# the PPHPC model
dir_nl_ok <- system.file("extdata", "nl_ok", package = "micompr")
dir_jex_noshuff <-
 system.file("extdata", "j_ex_noshuff", package = "micompr")
files <- glob2rx("stats400v1*.tsv")

# Create a grpoutputs object
go <-
 grpoutputs(c("o1", "o2"), c(dir_nl_ok, dir_jex_noshuff), c(files, files))


fakenmc/micompr documentation built on Aug. 6, 2024, 8:29 p.m.