View source: R/read_asap3_dat.R
read_asap3_dat | R Documentation |
WHAM is built on ASAP ([Legault and Restrepo (1999)](http://sedarweb.org/docs/wsupp/S12RD06%20ASAPdoc.pdf)) and this
function provides functionality to use a preexisting ASAP3 input data file. The
output of read_asap3_dat
should then be passed to prepare_wham_input
.
If you are not familiar with ASAP3 input files, see the ASAP documentation
and code.
read_asap3_dat(filename)
filename |
character vector, names of ASAP3 .dat files. The file either needs to be
in the current working directory, or |
a named list with the following components:
dat
Named list of input data and parameters
comments
Comments at top of ASAP3 .dat file (indicated by "#")
prepare_wham_input
, fit_wham
, ASAP documentation
## Not run:
asap3 = read_asap3_dat("ASAP_SNEMAYT.dat")
input = prepare_wham_input(asap3)
mod = fit_wham(input)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.