# Convert OTSoft bias file to data frame format
otsoft_file <- system.file(
"extdata", "sample_bias_file_otsoft.txt", package = "maxent.ot"
)
df_output <- otsoft_bias_to_df(otsoft_file)
# Save data frame to a file
tmp_output <- tempfile()
otsoft_bias_to_df(otsoft_file, tmp_output)
Run the code above in your browser using DataLab