~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to src/tools/analysis-kaplan-meier.h

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-07 11:10:47 UTC
  • mfrom: (1.1.19 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090607111047-l3rtbzfjxvmi1kx0
Tags: 1.9.8-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/*
 
3
 * analysis-kaplan-meier.h:
 
4
 *
 
5
 * Author:
 
6
 *   Andreas J. Guelzow  <aguelzow@pyrshep.ca>
 
7
 *
 
8
 * (C) Copyright 2008 by Andreas J. Guelzow  <aguelzow@pyrshep.ca>
 
9
 *
 
10
 *
 
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.
 
15
 *
 
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.
 
20
 *
 
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.
 
24
 */
 
25
 
 
26
 
 
27
#ifndef ANALYSIS_KAPLAN_MEIER_H
 
28
#define ANALYSIS_KAPLAN_MEIER_H
 
29
 
 
30
#include "gnumeric.h"
 
31
#include "numbers.h"
 
32
#include "dao.h"
 
33
#include "tools.h"
 
34
#include "analysis-tools.h"
 
35
 
 
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; */
 
44
 
 
45
typedef struct {
 
46
        analysis_tools_data_generic_b_t base;
 
47
        GnmValue *range_3;
 
48
        gboolean censored;
 
49
        int censor_mark;
 
50
        int censor_mark_to;
 
51
        gboolean chart;
 
52
        gboolean ticks;
 
53
        gboolean std_err;
 
54
        gboolean median;
 
55
        gboolean logrank_test;
 
56
        GSList *group_list;
 
57
} analysis_tools_data_kaplan_meier_t;
 
58
 
 
59
typedef struct {
 
60
        char *name;
 
61
        guint group_from;
 
62
        guint group_to;
 
63
} analysis_tools_kaplan_meier_group_t;
 
64
 
 
65
 
 
66
gboolean analysis_tool_kaplan_meier_engine (data_analysis_output_t *dao, 
 
67
                                            gpointer specs,
 
68
                                           analysis_tool_engine_t selector, 
 
69
                                            gpointer result);
 
70
 
 
71
#endif