Learn R Programming

BayesianFROC (version 0.2.1)

error_message: Error Message for Data Format

Description

This function is excellent! I fear my own great genius. How great I am ,... Is there someone? Who read this? I always feel vanity when write this mannual, who read? ha,.... This function is only reture plot to let user know the data format is error.

Usage

error_message(h, NL)

Arguments

h

A non-negative integer vector

NL

A positive number, indicating Number of lesions

Value

Plot of error message by the generic function plot(). So, return value is not required.

Details

Why the author use the generic funtion plot instead of such as message() or cat() is for Shiny. So, this error message is shown in the plot plane in the Graphical User Interface in which message() or cat() cannot use. Ha,..who read? I feel empty. In mathematics empty set is very vain. My heart is now, empty set. ha,,, I love you.

See Also

fit_GUI()

Examples

Run this code
# NOT RUN {
#----------------------------------------------------------------------------------------
#            If   number of hits > number of lesion,  then error message appears.
#----------------------------------------------------------------------------------------

 # Make an example such that sum(h) > NL, that is, the sum of the number of hits is
 # greater than the number of lesion, then, it launced error message.

 h <- c(50,30,20)
 NL <- 3


 error_message(h,NL)

 # Then, in imaging device, the error message are shown.
 # In shiny, even if plot cannot be done causing some error, Graphical User Interface
 # can not change, so I have to use the graphical user interface.
 # Thus. in such case, I chose this function rather than the message() or cat().

 # Who read this? My heart will be more empty when I wrote this mannual.
 # Now, today, my health is good, so I want to go to eat Sushi,...ha,  yari_ika_geso.

 # This function is made in 2019 July, 6.

# }

Run the code above in your browser using DataLab