Skip to contents

Returns, for each image, its condition and the value of each pair that spicy() tested: for the cell method its effect (by default the extra fraction of to cells with a from cell within r; with effect = "count", the extra from cells per to cell), or the L-function summary for the image method. Use it for your own plots or models.

Usage

bind(results, pairName = NULL)

Arguments

results

The SpicyResults object returned by spicy().

pairName

A pair, as "from__to". If NULL, all pairs are returned.

Value

A data.frame with one row per image: imageID, condition, subject (if given) and one column per pair, named "from__to". NA where the pair could not be measured in an image.

Examples


data(spicyTest)
df <- bind(spicyTest)