71 |
|
|
72 |
/* |
/* |
73 |
There are usually multiple categorical variables to recode. Get rid |
There are usually multiple categorical variables to recode. Get rid |
74 |
of this immediately once the variable structure has been modified to |
of this structure immediately when the variable structure has been |
75 |
contain the binary encoding. |
modified to contain the binary encoding. |
76 |
*/ |
*/ |
77 |
struct recoded_categorical_array |
struct recoded_categorical_array |
78 |
{ |
{ |
118 |
const union value *cr_vector_to_value (const gsl_vector *, |
const union value *cr_vector_to_value (const gsl_vector *, |
119 |
struct recoded_categorical *); |
struct recoded_categorical *); |
120 |
|
|
|
gsl_vector_const_view cr_value_to_vector (const union value *, |
|
|
struct recoded_categorical *); |
|
|
|
|
121 |
void cr_value_update (struct recoded_categorical *, const union value *); |
void cr_value_update (struct recoded_categorical *, const union value *); |
122 |
|
|
123 |
int cr_free_recoded_array (struct recoded_categorical_array *); |
int cr_free_recoded_array (struct recoded_categorical_array *); |