Às 05:30 de 09/08/2023, Andreas Noviyanto escreveu:
Dear Daniel,
I was use this script to calculate replicateBE with R software, its
worked. when i use the same script with similar data (xlsx) i got error
messages like below, do you have any suggest? thanks anyway
my script:
library(replicateBE)
path.in <- "Z:/Personil Omega"
path.out <- path.in
method.A(path.in=path.in, path.out=path.out, file="lans",
set="01", ext="xlsx", header=1, ola=TRUE)
method.A(path.in=path.in, path.out=path.out, file="lans",
set="02", ext="xlsx", header=1)
ABE(path.in=path.in, path.out=path.out, file="lans",
set="01", ext="xlsx", header=1)
ABE(path.in=path.in, path.out=path.out, file="lans",
set="02", ext="xlsx", header=1)
result:
> library(replicateBE)
> path.in <- "Z:/Personil Omega"
> path.out <- path.in
> method.A(path.in=path.in, path.out=path.out, file="lans",
+ set="01", ext="xlsx", header=1, ola=TRUE)
Error in method.A(path.in = path.in, path.out = path.out, file = "lans",
:
unused argument (header = 1)
> method.A(path.in=path.in, path.out=path.out, file="lans",
+ set="02", ext="xlsx", header=1)
Error in method.A(path.in = path.in, path.out = path.out, file = "lans",
:
unused argument (header = 1)
> ABE(path.in=path.in, path.out=path.out, file="lans",
+ set="01", ext="xlsx", header=1)
Error in ABE(path.in = path.in, path.out = path.out, file = "lans", :
unused argument (header = 1)
> ABE(path.in=path.in, path.out=path.out, file="lans",
+ set="02", ext="xlsx", header=1)
Error in ABE(path.in = path.in, path.out = path.out, file = "lans", :
unused argument (header = 1)
Warm Regards,
Andreas
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Hello,
That error message means that there is no argument 'header' to function
method.A.
Simply remove it and you should be fine.
Hope this helps,
Rui Barradas
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.