Remove All Rows of Data Frame in R (Example) | How to Drop & Delete | Create an Empty Data Matrix

preview_player
Показать описание
R code of this video:

x2 = 5:1,
x3 = 10:14)
data # Print example data frame

data_empty <- data[0, ] # Drop all rows from data frame
data_empty # Print empty data frame

Follow me on Social Media:

Рекомендации по теме