DTA301Xuất hiện trong 1 đề thi
Which of the following is the correct statement used to add an additional column to a dataset in R?
Các lựa chọn
Asales%per_order <- sales$Sales_total/sales$num_of_orders
Bsales+per_order <- sales$Sales_total/sales$num_of_orders
Caddcol(per_order) <- sales$Sales_total/sales$num_of_orders
Dsales$per_order <- sales$Sales_total/sales$num_of_orders