Compilation: fix up tools includes.
[gnumeric.git] / src / tools / analysis-kaplan-meier.h
blobadb05c01849c0d44b3d79f60cd0024b80dffed83
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * analysis-kaplan-meier.h:
5 * Author:
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
29 #include "gnumeric.h"
30 #include "numbers.h"
31 #include <tools/dao.h>
32 #include "tools.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; */
44 typedef struct {
45 analysis_tools_data_generic_b_t base;
46 GnmValue *range_3;
47 gboolean censored;
48 int censor_mark;
49 int censor_mark_to;
50 gboolean chart;
51 gboolean ticks;
52 gboolean std_err;
53 gboolean median;
54 gboolean logrank_test;
55 GSList *group_list;
56 } analysis_tools_data_kaplan_meier_t;
58 typedef struct {
59 char *name;
60 guint group_from;
61 guint group_to;
62 } analysis_tools_kaplan_meier_group_t;
65 gboolean analysis_tool_kaplan_meier_engine (GOCmdContext *gcc, data_analysis_output_t *dao,
66 gpointer specs,
67 analysis_tool_engine_t selector,
68 gpointer result);
70 #endif