Write a R program to create a list of heterogeneous data, which include character, numeric and logical vectors. Print the lists
- برمجة R
- 2021-09-04
- adonis77j
الأجوبة
my_list = list(Chr="Python", nums = 1:15, flag=TRUE)
print(my_list)
Sample Output:
$Chr [1] "Python" $nums [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 $flag [1] TRUE
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة