adjustScore: Get the score from the first PC

adjustScoreR Documentation

Get the score from the first PC

Description

Get the score from the first PC

Usage

adjustScore(
  responseDf,
  scoreColumn = "phenoScore",
  confounderColumns,
  responseColumns
)

Arguments

responseDf

the data frame that contains the time blocks and the scores and the confounders per time block

scoreColumn

name of the column that contains the score

confounderColumns

names of the columns that contain confounding information

responseColumn

names of the columns containing the patient block value for a biomarker (e.g. vector of string names). The score will be based only on these columns.

Value

the response data frame with an adjusted score


smm52/timeBlocks documentation built on Nov. 27, 2022, 3:54 a.m.