rbind_df_in_list: Row-bind data frames which are inside a list and keep the...

Description Usage Arguments Value Examples

View source: R/a0_pagalbines_funkcijos.R

Description

Row-bind data frames which are inside a list and keep the names of the list fields

Usage

1

Arguments

x

A named list of data frames (all data frames must have the same structure.)

Value

A data frame with field names of input list as a first column (called '.group').

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Data:

data <- list(
  A = read.table(
    text =
      "           intercept    slope      type conf
qq_refline -39.55714 1.123535 quartiles 0.95"
  ),

  B = read.table(
    text =
      "           intercept     slope      type conf
qq_refline  29.42192 0.7940267 quartiles 0.95"
  )
)


rbind_df_in_list(data)

# .group intercept     slope      type
# 1      A -39.55714 1.1235350 quartiles
# 2      B  29.42192 0.7940267 quartiles

GegznaV/BioStat documentation built on Aug. 14, 2020, 9:30 p.m.