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, write to the Free Software
23
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27
#ifndef ANALYSIS_KAPLAN_MEIER_H
28
#define ANALYSIS_KAPLAN_MEIER_H
34
#include "analysis-tools.h"
36
/* typedef struct { */
37
/* analysis_tools_error_code_t err; */
38
/* WorkbookControl *wbc; */
39
/* GnmValue *range_1; */
40
/* GnmValue *range_2; */
41
/* gboolean labels; */
42
/* gnm_float alpha; */
43
/* } analysis_tools_data_generic_b_t; */
46
analysis_tools_data_generic_b_t base;
55
gboolean logrank_test;
57
} analysis_tools_data_kaplan_meier_t;
63
} analysis_tools_kaplan_meier_group_t;
66
gboolean analysis_tool_kaplan_meier_engine (data_analysis_output_t *dao,
68
analysis_tool_engine_t selector,