add_loc: Title Split rownames into the coordinate position of X and Y.

View source: R/general.R

add_locR Documentation

Title Split rownames into the coordinate position of X and Y.

Description

Title Split rownames into the coordinate position of X and Y.

Usage

add_loc(data = NULL, pattern = "_")

Arguments

data

the data need its rownames including the postion x and y

pattern

merge coord x and y use pattern as a split character,default is "a"

Value

data

Examples

#

wangjiaxuan666/Spat documentation built on Jan. 4, 2023, 8:35 a.m.