大家好 最近在上程式語言的課 教授請我們跑bootstrap 但不使用sample的function 而是自己寫function 條件為 Create a function call my.sample with three arguments: x:the data to be resampled n:number of data points to sample Replacement:resample with replacement or not Only ‘runif’ ‘order’ and ‘if else’ statements are allowed 請問這要怎麼撰寫呢? 想破頭還是想不出來