% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rxMemoryEstimate.R
\name{rxMemSummary}
\alias{rxMemSummary}
\title{Create a per-ID event summary for memory estimation}
\usage{
rxMemSummary(nobs, ndoses, id = seq_along(nobs))
}
\arguments{
\item{nobs}{Integer vector of observation counts per ID.}

\item{ndoses}{Integer vector of dose event counts per ID.}

\item{id}{Integer or character vector of subject IDs (optional).}
}
\value{
A data.frame with class \code{"rxMemSummary"}.
}
\description{
Create a per-ID event summary for memory estimation
}
\examples{

# 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))
}
