R/cpp4r.R

Defines functions compute_sandwich_vcov_ fepoisson_asymmetric_fit_ fenegbin_fit_ feglm_offset_fit_ feglm_fit_matrix_ feglm_fit_ felm_fit_ center_variables_

# Generated by cpp4r: do not edit by hand

center_variables_ <- function(V_r, w_r, fe_codes, tol, max_iter, grand_acc_period) {
	.Call(`_capybara_center_variables_`, V_r, w_r, fe_codes, tol, max_iter, grand_acc_period)
}

felm_fit_ <- function(formula_str, df, w_r, control) {
	.Call(`_capybara_felm_fit_`, formula_str, df, w_r, control)
}

feglm_fit_ <- function(formula_str, df, beta_r, eta_r, wt_r, offset_r, theta, family, control) {
	.Call(`_capybara_feglm_fit_`, formula_str, df, beta_r, eta_r, wt_r, offset_r, theta, family, control)
}

feglm_fit_matrix_ <- function(X_r, y_r, beta_r, eta_r, wt_r, offset_r, theta, family, term_names_r, fe_vars_r, cluster_vars_r, df, has_intercept, control) {
	.Call(`_capybara_feglm_fit_matrix_`, X_r, y_r, beta_r, eta_r, wt_r, offset_r, theta, family, term_names_r, fe_vars_r, cluster_vars_r, df, has_intercept, control)
}

feglm_offset_fit_ <- function(eta_r, y_r, offset_r, wt_r, family, control, fe_codes) {
	.Call(`_capybara_feglm_offset_fit_`, eta_r, y_r, offset_r, wt_r, family, control, fe_codes)
}

fenegbin_fit_ <- function(formula_str, df, w_r, link, beta_r, eta_r, init_theta, offset_r, control) {
	.Call(`_capybara_fenegbin_fit_`, formula_str, df, w_r, link, beta_r, eta_r, init_theta, offset_r, control)
}

fepoisson_asymmetric_fit_ <- function(formula_str, df, w_r, beta_r, eta_r, offset_r, control) {
	.Call(`_capybara_fepoisson_asymmetric_fit_`, formula_str, df, w_r, beta_r, eta_r, offset_r, control)
}

compute_sandwich_vcov_ <- function(MX_r, resid_r, H_r, vcov_type, cluster1_r, cluster2_r) {
	.Call(`_capybara_compute_sandwich_vcov_`, MX_r, resid_r, H_r, vcov_type, cluster1_r, cluster2_r)
}

Try the capybara package in your browser

Any scripts or data that you put into this service are public.

capybara documentation built on June 15, 2026, 9:10 a.m.