buildPointls {blackbox}R Documentation

Read a data file


This reads a data file into a data frame, performs various checks, assign namesto columns, and can select rows.


buildPointls(dataFile = blackbox.getOption("dataFile"), respCols = NULL,
             subsetRows = NULL, ycolname, cleanResu = "")



Name of data file


A way to select response columns in later analyses (see Details). NULL or a numeric vector.


A set of rows to select. All rows are retained if this is NULL


A name to be given to the response variable; willbe used in many further outputs.


A connection, or a character string naming a file for some nicely formated output. If "" (the default), print to the standard output connection.


The input file is a an ASCII numeric data table with the following columns. The first columns contain values of all canonical parameters of the model in canonical order, as given by blackbox.getOption{"ParameterNames"}. Pairs of lines may have identical parameter vectors, but not more than pairs. The next columns may all be used as response variables.

respCols identifies columns that will be used to construct the smoothed response (but all columns are retained in this function's return value). If it is NULL, then the last column will be used. If a numeric vector, it identifies response columns (where column 1 is the first column after the parameters columns) which values will be summed to construct the response variable.


A data frame with as many columns as the input table. As a side effect, the function sets the blackbox.options ycolname and respCols to respectively the input ycolname and to the column names deduced from the input respCols indices.

[Package blackbox version 1.1.43 Index]