Skip to contents

Reverse xmap direction

Usage

xmap_reverse(.xmap, weights_into)

# S3 method for xmap_df
xmap_reverse(.xmap, weights_into = "r_weights")

Arguments

.xmap

xmap object to be reversed

weights_into

A string specifying the name of a new or existing column to store reverse weights in.

Value

xmap object of same class as x, or throws an error if x is not reversible

Methods (by class)

  • xmap_reverse(xmap_df): Reverse a xmap_df