Learn R Programming

RZooRoH (version 0.4.1)

update_zres: Update one main zres object with new results

Description

The function is used for example when the main analysis failed for one individual. The analysis is repeated for that individual with other parameters. The function can then be used to insert the new results in the main zres object. To avoid generating to large files, the updated zres object can take the same name as zres1 doing zres1 <- update_zres(zres1,zres2).

Usage

update_zres(zres1, zres2)

Value

an updated zres object containing the results from zres1 updated by those from zres2.

Arguments

zres1

The main zres object that will be modified.

zres2

The new zres object, with the new results that will be inserted in the main zres object.