calcScores {Scalelink} | R Documentation |
Calculates linking scores for a file of interest and linkage data file.
Description
This function calculates a score from two files, the file of interest (FOI) and linkage data file (LDF).
Usage
calcScores(FOI, LDF, missing.value = NA, min.parallelblocksize = 1,
output.varnames = NULL, debug = FALSE)
Arguments
FOI |
A |
LDF |
A |
missing.value |
Value used to represent missing data; Defaults to NA |
min.parallelblocksize |
The minimum block size when splitting up the data accross processors. You may wish to change this to optimise the allocation of processors. see (https://rcppcore.github.io/RcppParallel/#tuning). |
output.varnames |
Labels to apply to function output; Defaults to column names
of the FOI |
debug |
Boolean indicating whether to output additional debugging information |
Value
A list containing: An numeric vector
of scores, one for
each of the identifiers of interest and a matrix
containing A*.
Author(s)
Goldstein H., and Charlton, C.M.J., (2017) Centre for Multilevel Modelling, University of Bristol.