Learn R Programming

roar (version 1.2.0)

checkStep: Private/inner/helper method to check the order of the invoked analysis methods

Description

This method should not be used by package users. It gets an rds object and a required number of analysis step and, if possible, calls the requested method to reach that step. It returns the object and a logical value that tells if the analysis can go on.

Usage

checkStep(rds, neededStep)

Arguments

rds
A RoarDataset object.
neededStep
The analysis step where rds should be/arrive.

Value

A list containing a logical that shows if the needed step could be reached with rds and the object at the requested step. Check step won't repeat a step already done and the logical value will be FALSE in this case (and rds won't be returned modified).