q_to_point: Convert quadrat codes to coordinates of points

View source: R/utils.r

q_to_pointR Documentation

Convert quadrat codes to coordinates of points

Description

Convert quadrat codes to coordinates of points

Usage

q_to_point(
  Q,
  Q1 = NA,
  Q2 = NA,
  SQ1 = NA,
  SQ2 = NA,
  pos = c("center", "topleft", "topright", "bottomleft", "bottomright")
)

Arguments

Q

vector of quadrat code(s). When Q is specified, Q1, Q2, SQ1 and Q2 are ignored.

Q1

vector of capital alphabet part of quadrat code.

Q2

vector of first numerical part of quadrat code.

SQ1

vector of lower alphabet part of quadrat code.

SQ2

vector of second numerical part of quadrat code.

pos

position of the quadrat, can be one of "center", "topleft", "topright", "bottomleft", "bottomright".

Value

list of x and y coordinates of the point(s).


Marchen/r_ogawa documentation built on July 5, 2025, 6:29 a.m.