create_dummy_attributes_dataframe: Create test attributes data.frame

View source: R/helpers.R

create_dummy_attributes_dataframeR Documentation

Create test attributes data.frame

Description

Create a test data.frame of attributes.

Usage

create_dummy_attributes_dataframe(numberAttributes, factors = NULL)

Arguments

numberAttributes

(integer) Number of attributes to be created in the table.

factors

(character) Optional vector of factor names to include.

Value

(data.frame) A data.frame of attributes.

Examples

## Not run: 
# Create dummy attribute dataframe with 6 attributes and 1 factor
attributes <- create_dummy_attributes_dataframe(6, c("Factor1", "Factor2"))

## End(Not run)

NCEAS/arcticdatautils documentation built on Aug. 28, 2023, 12:10 p.m.