compute_solution.RegressHaplo: Fit regression for a given rho

View source: R/RegressHaplo_util.R

compute_solution.RegressHaploR Documentation

Fit regression for a given rho

Description

Fit regression for a given rho

Usage

compute_solution.RegressHaplo(df, h_full, rho, verbose = T)

Arguments

df

read table

h_full

haplotype matrix

rho

rho to be used in regression

Value

A list with entries pi and fit. pi gives the frequencies estimated for h_full and fit gives a fit value.


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