Search Results:

Showing results 11 to 20 of 98.


Function throw.error [R.oo v1.22.0]
keywords
error
title
Throws (rethrows) an object of class 'error'
description
Rethrows an 'error' object. The 'error' class was introduced in R v1.8.1 with the new error handling mechanisms.
Function error_vars [SimMultiCorrData v0.2.2]
keywords
error,
title
Generate Variables for Error Loop
description
This function simulates the continuous, ordinal (r >= 2 categories), Poisson, or Negative Binomial variables used in error_loop. It is called in each iteration, regenerates all variables, and calculates the resulting correlation matrix. This function would not ordinarily be called directly by the user.
Function error_loop [SimMultiCorrData v0.2.2]
keywords
error,
title
Error Loop to Correct Final Correlation of Simulated Variables
description
This function corrects the final correlation of simulated variables to be within a precision value (epsilon) of the target correlation. It updates the pairwise intermediate MVN correlation iteratively in a loop until either the maximum error is less than epsilon or the number of iterations exceeds the maximum number set by the user (maxit). It uses error_vars to simulate all variables and calculate the correlation of all variables in each iteration. This function would not ordinarily be called directly by the user. The function is a modification of Barbiero & Ferrari's ordcont function in GenOrd-package. The ordcont has been modified in the following ways: 1) It works for continuous, ordinal (r >= 2 categories), and count variables. 2) The initial correlation check has been removed because this intermediate correlation Sigma from rcorrvar or rcorrvar2 has already been checked for positive-definiteness and used to generate variables. 3) Eigenvalue decomposition is done on Sigma to impose the correct interemdiate correlations on the normal variables. If Sigma is not positive-definite, the negative eigen values are replaced with 0. 4) The final positive-definite check has been removed. 5) The intermediate correlation update function was changed to accommodate more situations. 6) A final "fail-safe" check was added at the end of the iteration loop where if the absolute error between the final and target pairwise correlation is still > 0.1, the intermediate correlation is set equal to the target correlation (if extra_correct = "TRUE"). 7) Allowing specifications for the sample size and the seed for reproducibility.
Function assertCondition [tools v3.6.1]
keywords
error
title
Asserting Error Conditions
description
When testing code, it is not sufficient to check that results are correct, but also that errors or warnings are signalled in appropriate situations. The functions described here provide a convenient facility for doing so. The three functions check that evaluating the supplied expression produces an error, a warning or one of a specified list of conditions, respectively. If the assertion fails, an error is signalled.
Function onErrorCell-methods [XLConnect v0.2-15]
keywords
error
title
Behavior when error cells are detected
description
This function defines the behavior when reading data from a worksheet and error cells are detected.
Function jTryCatch [XLConnect v0.2-15]
keywords
error
title
Standard Java exception handling for XLConnect
description
Catches Java exceptions to create nicer error messages.
Function bug.report [utils v3.6.1]
keywords
error
title
Send a Bug Report
description
Invokes an editor or email program to write a bug report or opens a web page for bug submission. Some standard information on the current version and configuration of R are included automatically.
Function debugger [utils v3.6.1]
keywords
error
title
Post-Mortem Debugging
description
Functions to dump the evaluation environments (frames) and to examine dumped frames.
Function help.request [utils v3.6.1]
keywords
error
title
Send a Post to R-help
description
Prompts the user to check they have done all that is expected of them before sending a post to the R-help mailing list, provides a template for the post with session information included and optionally sends the email (on Unix systems).
Function warnErrList [utils v3.6.1]
keywords
error
title
Collect and Summarize Errors From List
description
Collect errors (class "error", typically from tryCatch) from a list x into a “summary warning”, by default produce a warning and keep that message as "warningMsg" attribute.