expandParams {splatter} | R Documentation

## Expand parameters

### Description

Expand the parameters that can be vectors so that they are the same length as the number of groups. Work is done by `paramsExpander` called from each method. Expansions are stored using `setParamsUnchecked`.

### Usage

    expandParams(object, ...)

    ## S4 method for signature 'BASiCSParams'
    expandParams(object)

    ## S4 method for signature 'LunParams'
    expandParams(object)

    ## S4 method for signature 'Params'
    expandParams(object, vectors, n)

    ## S4 method for signature 'SplatParams'
    expandParams(object)

    ## S4 method for signature 'SplatPopParams'
    expandParams(object)

    paramsExpander(object, vectors, n)

### Arguments

`object` | object to expand.
`...` | additional arguments.
`vectors` | names of vector parameters to expand
`n` | number of times to repeat each parameter

### Value

Expanded object.

[Package splatter version 1.18.2 Index]