1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * analysis-kaplan-meier.h:
6 * Andreas J. Guelzow <aguelzow@pyrshep.ca>
8 * (C) Copyright 2008 by Andreas J. Guelzow <aguelzow@pyrshep.ca>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, see <https://www.gnu.org/licenses/>.
26 #ifndef ANALYSIS_KAPLAN_MEIER_H
27 #define ANALYSIS_KAPLAN_MEIER_H
31 #include <tools/dao.h>
33 #include "analysis-tools.h"
35 /* typedef struct { */
36 /* analysis_tools_error_code_t err; */
37 /* WorkbookControl *wbc; */
38 /* GnmValue *range_1; */
39 /* GnmValue *range_2; */
40 /* gboolean labels; */
41 /* gnm_float alpha; */
42 /* } analysis_tools_data_generic_b_t; */
45 analysis_tools_data_generic_b_t base
;
54 gboolean logrank_test
;
56 } analysis_tools_data_kaplan_meier_t
;
62 } analysis_tools_kaplan_meier_group_t
;
65 gboolean
analysis_tool_kaplan_meier_engine (GOCmdContext
*gcc
, data_analysis_output_t
*dao
,
67 analysis_tool_engine_t selector
,