checkWCE | R Documentation |
This function checks whether the arguments passed to the WCE function are in the correct format. If at least one argument is incorrectly specified, the function returns an error message specifying what needs to be fixed.
checkWCE(data, id, event, start, stop, expos)
data |
A data frame in the long (interval) format with one line per unit of time. |
id |
The name of the variable in |
event |
The name of the variable in |
start |
The name of the variable in |
stop |
The name of the variable in |
expos |
The name of the variable in |
The arguments passed to checkWCE
must be exactly those passed to WCE
.
checkWCE
returns a message on the screen indicating whether the arguments are correctly specified or not.
checkWCE(drugdata, id = "Id", event = "Event", start = "Start", stop = "Stop", expos = "dose")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.