All functions

bdi_compute() bdi_compute_sum() bdi_factorise()

Calculate BDI scores

bdi_restructure()

Restructure BDI questions from wide format

bfi_compute() bfi_compute_domains() bfi_compute_facets()

Big 5 Inventory

bfi_domain_extravers() bfi_domain_agreeable() bfi_domain_conscient() bfi_domain_negemotion() bfi_domain_openminded()

BFI-2 Domain computations

bfi_facet_sociability() bfi_facet_assertive() bfi_facet_energy() bfi_facet_compassion() bfi_facet_respectful() bfi_facet_trust() bfi_facet_organization() bfi_facet_productive() bfi_facet_responsibility() bfi_facet_anxiety() bfi_facet_depression() bfi_facet_emovolatility() bfi_facet_intcuriosity() bfi_facet_aestheticsens() bfi_facet_imagination()

BFI-2 Facet computations

bfi_reversal()

Big-5 Item reversals

edu_compile()

Compile education across sources

edu_compute()

Fill inn Education in MOAS

edu_factorise() edu4_factorise() edu9_factorise()

Create factor from education vector

edu_levels() edu4_levels() edu9_levels()

Get education levels scheme

edu_levels2name() edu4_levels2name() edu9_levels2name()

Alter levels to name

edu_map() edu_map_chr() edu_map_num()

Create a mapped table for conversion

edu_recode()

Recode new 9 levels into old

edu_reduce() edu9_reduce()

Reduce education categories

edu_to_years() edu4_to_years() edu9_to_years()

Turn education data to years

ehi_change()

Create vector with only correct values

ehi_compute()

Edinburgh handedness inventory

ehi_compute_lq()

Laterality Quotient

ehi_factorise_lq() ehi_factorise_lqa()

Factorise laterality quotient

ehi_factorise_nominal()

Nominal laterality factor

ehi_values()

Sum ehi columns

gds_alter_values()

Change coding of GDS to correct numeric values

gds_binary()

Binarise GDS values

gds_compute_sum() gds_factorise() gds_compute()

Compute the GDS sum

gds_values()

Specify coding scheme for GDS questions

income_bin2nok()

Turn income bins to mean of bin

income_nok2other()

Translate NOK to other currency

ipaq_compute_met() ipaq_compute_sum() ipaq_compute()

Compute met from IPAQ

ipaq_mets()

IPAQ mets

ipaq_time_alter()

Alter the time instant columns to decminals

is_hm()

Utility function to locate hm columns

is_hms()

Utility function to locate hms columns

psqi_compute_comp2() psqi_compute_comp3() psqi_compute_comp4() psqi_compute_comp5() psqi_compute_comp7() psqi_compute_global() psqi_compute()

Compute all PSQI components and global score

psqi_compute_time_in_bed()

PSQI compute time in bed

tas_compute()

Compute the TAS factors

time_alter()

Turn strings of H:M to time

time_deci2period()

Turn time into period

time_factor()

Factor time of day

time_hms2deci()

Turn string time into decimal

time_of_day()

Create list of time of day break points

zygo_calc()

Zygocity - Calculate item

zygo_compute()

Compute weighted zygocity

zygo_recode()

Zygocity - recode variables

zygo_type()

Find how many twins have answered

zygo_weighted()

Calculate weighted zygocity item