solutions.RegressHaplo: Solve the RegressHaplo optimization repeatedly

View source: R/RegressHaplo_create_solutions.R

solutions.RegressHaploR Documentation

Solve the RegressHaplo optimization repeatedly

Description

For fixed y and P, generate solutions for every combination of rho and kk in rho_vals and kk_vals.

Usage

solutions.RegressHaplo(
  y,
  P,
  num_trials,
  rho_vals = c(0.1, 1, 2, 5),
  kk_vals = 2
)

Value

A matrix with each column corresponding to a solution. Within each column, the first four rows are fit, rho, K, and kk followed the computed solution.


SLeviyang/RegressHaplo documentation built on June 1, 2022, 10:48 p.m.