Man pages for LCBC-UiO/Questionnaires
Package with functions to calculate components and sums for LCBC questionnaires

bdiCalculate BDI scores
bdi_restructureRestructure BDI questions from wide format
bfiBig 5 Inventory
bfi_domainBFI-2 Domain computations
bfi_facetBFI-2 Facet computations
bfi_reversalBig-5 Item reversals
edu_compileCompile education across sources
edu_computeFill inn Education in MOAS
edu_factoriseCreate factor from education vector
edu_levelsGet education levels scheme
edu_levels2nameAlter levels to name
edu_mapCreate a mapped table for conversion
edu_recodeRecode new 9 levels into old
edu_reduceReduce education categories
edu_to_yearsTurn education data to years
ehi_changeCreate vector with only correct values
ehi_computeEdinburgh handedness inventory
ehi_compute_lqLaterality Quotient
ehi_factorise_lqFactorise laterality quotient
ehi_factorise_nominalNominal laterality factor
ehi_valuesSum ehi columns
gds_alter_valuesChange coding of GDS to correct numeric values
gds_binaryBinarise GDS values
gds_computeCompute the GDS sum
gds_valuesSpecify coding scheme for GDS questions
income_bin2nokTurn income bins to mean of bin
income_nok2otherTranslate NOK to other currency
ipaq_computeCompute met from IPAQ
ipaq_metsIPAQ mets
ipaq_time_alterAlter the time instant columns to decminals
is_hmUtility function to locate hm columns
is_hmsUtility function to locate hms columns
psqi_computeCompute all PSQI components and global score
psqi_compute_time_in_bedPSQI compute time in bed
tas_computeCompute the TAS factors
time_alterTurn strings of H:M to time
time_deci2periodTurn time into period
time_factorFactor time of day
time_hms2deciTurn string time into decimal
time_of_dayCreate list of time of day break points
zygo_calcZygocity - Calculate item
zygo_computeCompute weighted zygocity
zygo_recodeZygocity - recode variables
zygo_typeFind how many twins have answered
zygo_weightedCalculate weighted zygocity item
LCBC-UiO/Questionnaires documentation built on July 18, 2023, 6:45 p.m.