read_mbmdr: Reading MBMDR-files

Description Usage Arguments Details Value

Description

The function call_mbmdr has created some files (including the calculated MBMDR-models) and stored them on hard drive permanently.

The aim of this function is to reload all data properly, even after memory has been cleared (e.g. by shutdown of your machine).

Usage

1
read_mbmdr(where_to_find)

Arguments

where_to_find

The directory in which the MBMDR-files are stored, encoded as character. The directories must contain the files named in details below. If where_to_find is a vector, each element will be evaluated and the results will be merged.

Details

In the directory given by parameter where_to_find, the following files are expected

Do not edit theese files by hand.

Value

A data.frame of class "mbmdr_output", with the columns

$First_Marker

The name of first variable in interaction

$Second_Marker

The name of second variable in interaction

$Chi.square

The strength of interaction measured by chi square test

$p.value

The strength of interaction measured by significance level in maxT-test

$source

The directory, in which MBMDR stores the files

$models

A matrix showing the mbmdr-tables.


imbs-hl/MDRDist documentation built on May 18, 2019, 4:45 a.m.