formatHE | R Documentation |
This function formats the results outputted from the powerHE function. See below (pdf) or use ?powerHE (in R) to view its documentation.
formatHE(result)
result |
A list (return object of powerHE). |
A data frame containing the information from parameter 'result' with columns "Label" and "Value".
# Example TTE endpoint with formatting:
endpoints_input <- list(
list(type = "TTE",
hr = 0.8,
er.b = 0.25,
s = 12,
tte.winning.direction = "GT")
)
results <- powerHE(endpoints_input,
sample.size = 100,
alpha = 0.05,
rratio = 0.5,
output = "ALL")
formatHE(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.