checkGATvariabletypes: Check GAT Variable Types

View source: R/checkGATvariabletypes.R

checkGATvariabletypesR Documentation

Check GAT Variable Types

Description

This function is used to create a list of either numeric or character variables in the data frame.

Usage

checkGATvariabletypes(mapdata, type = "number")

Arguments

mapdata

A data frame, intended to be read from a shapefile DBF.

type

Variable type. Options include "number", which returns a vector of names for all numeric variables, and "character", which returns a vector of names for all character variables.

Examples

# identify numeric variables
my_numericvars <-
  checkGATvariabletypes(
    mapdata = hftown,
    type = "number"
  )


ajstamm/gatpkg documentation built on Nov. 23, 2023, 9:44 a.m.