الأجوبة
df = data.frame(Ints=integer(),
Doubles=double(),
Characters=character(),
Logicals=logical(),
Factors=factor(),
stringsAsFactors=FALSE)
print("Structure of the empty dataframe:")
print(str(df))
Sample Output:
[1] "Structure of the empty dataframe:" 'data.frame': 0 obs. of 5 variables: $ Ints : int $ Doubles : num $ Characters: chr $ Logicals : logi $ Factors : Factor w/ 0 levels: NULL
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة