Array.add {componentSkeleton}R Documentation

Add an element to the array

Description

Add an element to the array.

Usage

Array.add(array, key, file)

Arguments

array

Array instance as a data frame with at least columns Key and File.

key

A string used as a key for the array element. If the key exists in the array, the corresponding element is replaced. If the key does not exists the element is added to the end of the array.

file

A string giving the location of the file.

Value

Array instance as a data frame with at least columns Key and File with the added/replaced element.

Author(s)

Erkka Valo (erkka.valo@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]