View source: R/selection-filtering.R
df.fill | R Documentation |
Create a data.frame with new rows or columns for the inputed data.frame that are filled with a constant
df.fill(DF, NameList, value = 0, type = "row", check = TRUE,
verbose = TRUE)
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 |
a completed data.frame (with the content of Namelist) and filled with the given value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.