index2xy: Converts a matrix index into a sex of x,y coordinates.

Description Usage Arguments Examples

View source: R/xy2index.R

Description

This function converts a matrix index into unit x,y plotting coordinates.

Usage

1
index2xy(data, index)

Arguments

data

Matrix or data frame.

index

A vector of index values.

Examples

1
2
M = matrix(1:20,4,5)
index2xy(data = M, index = c(3,4))

BoardGames documentation built on May 2, 2019, 3:45 a.m.