Let’s make it simple:
df[nrow(df) + 1,] = c("v1","v2")
More Related Contents:
- Reshaping data.frame from wide to long format
- Quickly reading very large tables as dataframes
- Combine two data frames by rows (rbind) when they have different sets of columns
- Counting unique / distinct values by group in a data frame
- Convert a list to a data frame
- How to combine multiple conditions to subset a data-frame using “OR”?
- cbind a dataframe with an empty dataframe – cbind.fill?
- Split a large dataframe into a list of data frames based on common value in column
- Splitting a dataframe string column into multiple different columns [duplicate]
- Convert data.frame column format from character to factor
- How to convert a table to a data frame
- How do I combine two data-frames based on two columns? [duplicate]
- R Apply() function on specific dataframe columns
- Count NAs per row in dataframe [duplicate]
- Changing Column Names in a List of Data Frames in R
- Define and apply custom bins on a dataframe
- Subset of rows containing NA (missing) values in a chosen column of a data frame
- rbind dataframes with a different column name
- Converting two columns of a data frame to a named vector
- Collapsing data frame by selecting one row per group
- Creating a new variable from a lookup table
- Practical limits of R data frame
- rbind data frames based on a common pattern in data frame name
- Read and rbind multiple csv files
- How I can select rows from a dataframe that do not match?
- Join two data frames in R based on closest timestamp
- How to append a whole dataframe to a CSV in R
- Difference between `names(df[1])
- How to create a new variable in a data.frame based on a condition?
- Data.frame Merge and Selection of values which are common in 2 Data.frames