Learn R Programming

idmodelr (version 0.4.0)

add_pointer_struct: Adds Pointer Structure to R objects

Description

Adds Pointer Structure to R objects

Usage

add_pointer_struct(char, length)

Value

A character vector of the concatenated character string with sequential numbering

Arguments

char

A character vector.

length

The length of the returned object.

Examples

Run this code

## For a single variable
add_pointer_struct("S", 3)

## For multiple variables
add_pointer_struct(c("S", "I"), length = 3)

Run the code above in your browser using DataLab