rsq: Calculate $R^2$

View source: R/utils.R

rsqR Documentation

Calculate $R^2$

Description

Calculate $R^2$

Usage

rsq(y, yhat, offset)

Arguments

y

numeric vector of observed expression values.

yhat

numeric vector of predicted expression values.

offset

numeric vector giving basal expression level.

Value

numeric vector


bkaczkowski/xcore documentation built on Jan. 26, 2024, 6:24 p.m.