info.names.lsd | R Documentation |
This function reads the variable names (columns) from a LSD results file (.res). The names returned are converted to the original LSD names whenever possible and duplicates are removed.
info.names.lsd( file )
file |
the name of the LSD results file which the data are to be read from. If it does not contain an absolute path, the file name is relative to the current working directory, |
Returns a character vector containing the names of all unique variables contained in the selected results file.
Not all names can be automatically reconverted to the original LSD names, using LSD/C++ naming conventions.
The conversion may be incorrect if the original LSD variable is named in the format "X_...".
Marcelo C. Pereira
list.files.lsd()
info.details.lsd()
,
info.init.lsd()
info.dimensions.lsd()
# get the list of file names of example LSD results
files <- list.files.lsd( system.file( "extdata", package = "LSDinterface" ) )
# get variable names from first file
info.names.lsd( files[ 1 ] )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.