Learn R Programming

micompr (version 1.1.4)

summary.grpoutputs: Summary method for grouped outputs

Description

Summary method for objects of class grpoutputs.

Usage

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

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.

Arguments

object

Object of class grpoutputs.

...

Currently ignored.

Examples

Run this code
# 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))

Run the code above in your browser using DataLab