Hello everyone,
I am trying to write a code for bootstrap basic but unfortunately the code cannot read the data, even if I am writing the code like the example.
The error is argument 4 matches multiple formal arguments or Error in ni + 1 : non-numeric argument to binary operator.
Could you please help me find out where is the mistake?
‘‘‘r
#> Error in read_data(data4, ni = 4, no = 1, nd = 1) :
argument 4 matches multiple formal arguments
R_code data4 <- read.delim2("C:/...../data4.txt")
data_example <- read_data(data4,
ni = 4,
no = 1,
nd = 1)
result <- bootstrap_basic(datadea = data_example,
orientation = "io",
rts = "vrs",
B = 100)
result$score_bc
result$CI
‘‘‘