diff.stars: Diff STARs

Description Usage Arguments Value See Also Examples

View source: R/diff.stars.R

Description

Show the differences between two STAR templates/objects.

Usage

1
2
## S3 method for class 'stars'
diff(x, y, full = FALSE, width = 20, ...)

Arguments

x

STAR template filename or STAR object, a list containing Metadata and TimeSeries.

y

another STAR template/object to compare.

full

whether to also show the parts that are similar in both.

width

maximum column width in output.

...

passed to identical.

Value

A list of data frames showing the differences, or NULL if the STAR objects are identical.

See Also

identical.stars checks if STAR templates/objects are identical.

identical is the underlying function used to compare each data element.

gfcmSTAR-package gives an overview of the package.

Examples

1
2
3
4
5
## Not run: 
diff.stars(star1, star2)
diff.stars("STAR_1.xlsx", "STAR_2.xlsx")

## End(Not run)

gfcm/gfcmSTAR documentation built on Feb. 5, 2022, 2:14 p.m.