error.table.all {BCRA}R Documentation

List all records and errors

Description

A function to list all records with both raw values and recoded values (or indications for errors). For each of the records, the record is listed followed by a line which gives some indication as to where the error occured.

Usage

error.table.all(data, Raw_Ind=1)

Arguments

data

A data set containing all the required input data needed to perform risk projections, such as initial age, projection age, BrCa relative risk covariates and race. See exampledata for details.

Raw_Ind

The raw file indicator with default value 1. Raw_Ind=1 means RR covariates are in raw/original format. Raw_Ind=0 means RR covariates have already been re-coded to 0, 1, 2 or 3.

Value

A data frame listing all records and errors. If there is nothing wrong with the input data, the function will return "NO ERROR!".

See Also

recode.check, error.table


[Package BCRA version 2.1.2 Index]