adjusted_c_hat: Set the GP mean vector, taking TMM or other normalization...

View source: R/main-datautil.R

adjusted_c_hatR Documentation

Set the GP mean vector, taking TMM or other normalization into account

Description

Creates the c_hat input for lgp, so that it accounts for normalization between data points in the "poisson" or "nb" observation model

Usage

adjusted_c_hat(y, norm_factors)

Arguments

y

response variable, vector of length n

norm_factors

normalization factors, vector of length n

Value

a vector of length n, which can be used as the c_hat input to the lgp function

See Also

Other data frame handling functions: add_dis_age(), add_factor_crossing(), add_factor(), new_x(), split()


jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.