compute_eafdiff_call {moocore}R Documentation

Same as eafdiff() but performs no checks and does not transform the input or the output. This function should be used by other packages that want to avoid redundant checks and transformations.

Description

Same as eafdiff() but performs no checks and does not transform the input or the output. This function should be used by other packages that want to avoid redundant checks and transformations.

Usage

compute_eafdiff_call(x, y, cumsizes_x, cumsizes_y, intervals, ret)

Arguments

x, y

matrix|data.frame()
Data frames corresponding to the input data of left and right sides, respectively. Each data frame has at least three columns, the last one is the set of each point. See also read_datasets().

cumsizes_x, cumsizes_y

Cumulative size of the different sets of points in x and y.

intervals

integer(1)
The absolute range of the differences [0, 1] is partitioned into the number of intervals provided.

ret

("points"|"rectangles"|"polygons")
The format of the returned EAF differences.

Value

With rectangle=FALSE, a data.frame containing points where there is a transition in the value of the EAF differences. With rectangle=TRUE, a matrix where the first 4 columns give the coordinates of two corners of each rectangle. In both cases, the last column gives the difference in terms of sets in x minus sets in y that attain each point (i.e., negative values are differences in favour y).

See Also

as_double_matrix() transform_maximise()


[Package moocore version 0.1.0 Index]