# NOT RUN {
# Importing from a CSV-file, using most of the defaults: variable
# separator comma, decimal separator period, print to file.
# Note: You must adapt the path-variables. The example reads from
# the data provided by the library. Write-permissions must be granted
# for 'path.out' in order to save the result file. Here the deafault
# (R's temporary folder) is used. If you don't know where it is,
# type tempdir() in the console.
path.in <- paste0(find.package("replicateBE"), "/extdata/")
ABE(path.in = path.in, file = "DS", set = "02", ext = "csv")
# Should result in:
# BE-limits : 80.00% ... 125.00%
# Confidence interval: 97.32% ... 107.46% pass
# Point estimate : 102.26%
# }
# NOT RUN {
# Generate the data.frame of results (7-digits precision) and show
# in the console. Use an internal dataset.
x <- ABE(details = TRUE, print = FALSE, data = rds02)
print(x, row.names = FALSE)
# }
# NOT RUN {
# Assuming a NTID and assess BE with narrower limits for one
# of the internal datasets.
ABE(data = rds02, theta1 = 0.90)
# Should result in:
# BE-limits : 90.00% ... 111.11%
# Confidence interval: 97.32% ... 107.46% pass
# Point estimate : 102.26%
# }
Run the code above in your browser using DataLab