Learn R Programming

bigGP (version 0.1.8)

alloc: Create Object with its Own Memory

Description

alloc is an internal auxiliary function that creates an object of the size of the input with the goal of allocating new memory for use in the C functions used by the package.

Usage

alloc(input, inputPos = '.GlobalEnv')

Value

A new numeric vector of the appropriate size.

Arguments

input

an object name, given as a character string, giving the name of the object whose size is to be mimiced in creating the output, or the length of the output vector to be created.

inputPos

where to look for the input, given as a character string (unlike get). This can indicate an environment, a list, or a ReferenceClassobject.