Description Usage Arguments Details Value Author(s)
importGamry
imports a Gamry .dta file and returns a data frame with
each column corresponding to a column in the data file.
1 | importGamry(inputfile = file.choose(), ncols = 0)
|
inputfile |
File to be imported. |
ncols |
Number of expected data columns. The default of 0 has the function make an educated guess about how many columns there are. |
This function needs to know which lines in the .dta file to import. The default behavior is to count each line in the file and assume that the number that appears the most times is where the data is stored in the file. Sometimes this fails because Gamry adds extensive header documentation to their files. The ncols parameter can be used to manually specify which lines to import based on how many columns each line has.
A data frame with all the data in the .dta file.
Mike Gerhardt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.