View source: R/rxMemoryEstimate.R
| rxMemSummary | R Documentation |
Create a per-ID event summary for memory estimation
rxMemSummary(nobs, ndoses, id = seq_along(nobs))
nobs |
Integer vector of observation counts per ID. |
ndoses |
Integer vector of dose event counts per ID. |
id |
Integer or character vector of subject IDs (optional). |
A data.frame with class "rxMemSummary".
# Three subjects with known observation and dose counts
rxMemSummary(nobs = c(48L, 96L, 48L), ndoses = c(7L, 14L, 7L))
# Explicit subject IDs
rxMemSummary(nobs = c(10L, 20L), ndoses = c(5L, 5L), id = c(101L, 102L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.