repeat_df {YAPSA} | R Documentation

## Create a data frame with default values

### Description

Create a data frame with default values

### Usage

    repeat_df(in_value, in_rows, in_cols)

### Arguments

`in_value` | Default entry to be repeated in the data frame
`in_rows, in_cols` | Dimensions of the data frame to be created

### Value

The created data frame

### Examples

    ## 1. Initialize with numeric value:
    repeat_df(1,2,3)
    ## 2. Initialize with NA value:
    repeat_df(NA,3,2)
    ## 3. Initialize with character:
    repeat_df("a",4,3)

[Package YAPSA version 1.8.0 Index]