Skip to contents

Replace an element in the graphs slot of a Region/Analysis object. Replace the entire slot. Replacement value should be an NN object.

Usage

NN(x, nn_name) <- value

# S4 method for Analysis,character,list
NN(x, nn_name) <- value

Arguments

x

A Region or Analysis object

nn_name

The name of a nearestNeighborGraph

value

The new NN object

Value

A Region object

Scroll to top