df.fill: Create a data.frame with new rows or columns for the inputed...

View source: R/selection-filtering.R

df.fillR Documentation

Create a data.frame with new rows or columns for the inputed data.frame that are filled with a constant

Description

Create a data.frame with new rows or columns for the inputed data.frame that are filled with a constant

Usage

df.fill(DF, NameList, value = 0, type = "row", check = TRUE,
  verbose = TRUE)

Arguments

DF

data.frame

NameList

the header of the new rows or columns

value

what the new cells in the data.frame should be filled with

type

'row' to create rows otherwise creates columns

check

boolean

verbose

print the different steps

Value

a completed data.frame (with the content of Namelist) and filled with the given value


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.