meanRBC.function_NewEndpoints: Mean red blood cell age

View source: R/MeanRBC.function_NewEndpoints.R

meanRBC.function_NewEndpointsR Documentation

Mean red blood cell age

Description

Estimates the mean red blood cell age from an estimated survival curve. Accounts for when we do not have enough data to define the endpoint, based on the criteria.

Usage

meanRBC.function_NewEndpoints(time, APE)

Arguments

time

A vector of time points at which the relative APE is collected

APE

A vector of relative APE for each time measurement

Value

The mean red blood cell age over the time measured

Examples

time <- c(0,1,7,14,21,28,42,56,70,84,98,105,112,119,126,140,161,182); 
APE <- c(NA,2.3, 56.62, 87.15, 86.56, 90.60, 98.46, 89.64, 100, 81.19, 86.95,83.69, 83.88, 63.53, 64.30, 33.97, 22.84, 18.43);
mrbc <- meanRBC.function_NewEndpoints(time, APE)

hennec1/MRBC_package documentation built on July 20, 2023, 3:54 p.m.