View source: R/main-datautil.R
| adjusted_c_hat | R Documentation |
Creates the c_hat input for lgp,
so that it accounts for normalization between data points in the
"poisson" or "nb" observation model
adjusted_c_hat(y, norm_factors)
y |
response variable, vector of length |
norm_factors |
normalization factors, vector of length |
a vector of length n, which can be used as
the c_hat input to the lgp function
Other data frame handling functions:
add_dis_age(),
add_factor(),
add_factor_crossing(),
new_x(),
split()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.