extract_drop_out_from_df: Extract Drop Out from a Data.Frame

Description Usage Arguments Examples

View source: R/extract_drop_out_from_df.R

Description

Find drop in Data.frame that contains multiple questions that had been asked sequentially.

Usage

1

Arguments

df

a data.frame

q_pos

columns that contain questions

Examples

1
2
3

Example output

   [1] 9 9 9 8 9 9 8 7 8 9 9 9 9 8 9 8 7 9 9 8 9 9 9 9 8 9 8 9 9 9 9 9 8 9 8 9 9
  [38] 9 8 9 9 9 8 7 9 8 8 8 6 9 9 8 9 9 6 7 7 9 9 9 8 8 9 8 8 9 7 8 8 8 8 8 9 9
  [75] 8 8 9 8 9 7 9 8 9 8 9 9 9 9 9 9 8 7 9 9 8 9 8 8 6 9 8 9 8 8 8 8 9 9 7 9 8
 [112] 9 8 8 7 8 9 9 9 9 9 9 8 8 9 9 9 9 9 9 8 8 9 9 8 8 9 8 8 8 9 8 7 9 9 9 9 9
 [149] 9 9 9 9 8 9 9 9 9 9 9 9 9 7 8 8 9 7 9 9 8 7 7 8 8 9 9 9 8 7 9 9 9 9 9 9 9
 [186] 9 9 9 9 9 9 9 8 8 8 8 8 9 8 9 9 9 9 9 8 8 9 8 8 9 8 8 9 9 9 8 8 8 8 9 8 8
 [223] 9 9 9 8 7 8 9 7 7 8 8 9 9 8 8 9 8 9 9 9 9 8 9 9 8 7 8 9 8 9 8 8 7 9 9 9 9
 [260] 8 9 8 9 9 9 8 9 9 8 9 9 9 9 8 9 9 9 8 9 9 9 9 8 8 7 9 9 8 9 8 7 9 9 9 8 9
 [297] 8 9 9 8 8 9 9 9 8 7 8 8 9 7 8 9 9 8 9 9 8 8 9 8 9 9 7 9 8 7 9 9 8 8 9 8 8
 [334] 8 8 9 9 9 9 9 9 8 8 8 8 9 9 9 9 8 9 9 9 8 9 9 9 7 8 8 9 8 8 9 9 9 9 8 9 8
 [371] 8 9 8 8 6 9 9 7 8 6 9 8 8 9 9 9 9 9 8 9 9 9 9 8 8 9 9 9 8 8 9 7 8 8 9 9 8
 [408] 8 8 9 8 9 8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