ptrvSameTimePoints: ptrvSameTimePoints returns a dataframe with the same...

View source: R/ptrvSameTimePoints.r

ptrvSameTimePointsR Documentation

ptrvSameTimePoints returns a dataframe with the same timepoints

Description

ptrvSameTimePoints returns a dataframe with the same timepoints

Usage

ptrvSameTimePoints(
  df,
  npoints = 100,
  meanBySubject = TRUE,
  meanByRep = FALSE,
  normalizeByTime = FALSE,
  breakTimes = NULL
)

Arguments

df

a data frame whose colnames are time, product, subject,rep, duration and intensity

npoints

number of timepoints to be obtained

meanBySubject

boolean indicating whether the mean by subject should be computed

meanByRep

boolean indicating whether the mean by replicate should be computed

normalizeByTime

boolean indicating whether the data should be normalized (T) or not

breakTimes

indicating the breaking time points. Default to seq(0,max(df$time),length.out=npoints)


ChemoSens/PTRMSR documentation built on June 15, 2025, 10:40 a.m.