View source: R/OpenStatsReport.R
OpenStatsReport | R Documentation |
Wrapper for the output of 'OpenStatsAnalysis'. Returns model fitting and results in a list or JSON format (StatPacket).
OpenStatsReport( object , othercolumns = NULL , JSON = FALSE , RemoveNullKeys = FALSE , ReportNullSchema = FALSE , ... )
object |
'Mandatory argument'. An instance of the OpenStatsAnalysis result object |
othercolumns |
A list of column names that must be included in the results. Default NULL |
JSON |
Logical flag. Setting to TRUE for the JSON (StatPacket) output otherwise, the function returns a list |
RemoveNullKeys |
Logical flag. Setting to TRUE will remove all NULL elements from the output. Default is FALSE |
ReportNullSchema |
logical flag. Setting to TRUE forces the function to return results even if the OpenStatsAnalysis returns a failure message |
... |
Other parameters that can be passed to 'toJSON()' function in the "jsonlite" library |
OpenStatsReport function can be used to extract the key elements of the analysis from the OpenStatsMM/FE/RR objects (the output from OpenStatsAnalysis function). The output from OpenStatsReport has schemed that makes it easy to be populated to the downstream processes such as storing and accessing results from a database.
A list of values or a JSON object depends on the "JSON" parameter
Hamed Haseli Mashhadi <hamedhm@ebi.ac.uk>
OpenStatsAnalysis
example(OpenStatsAnalysis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.