lookup_olde: For looking up variables from one dataset and then add them...

Description Usage Arguments

View source: R/script - base tools.R

Description

Use to add a column (value) to a dataset (samples), from another dataset (lookup), based on an identifier that exists in both (id_lookup)

Usage

1
2
3
4
5
6
7
8
lookup_olde(
  df_samples,
  df_lookup,
  id_column,
  value_column,
  default = NA,
  overwrite = T
)

Arguments

df_samples

samples to look up

df_lookup

dataframe to look up against

id_column

common column between the two sets containing unique identifiers for rows

value

the value that is looked up and added to df_samples


Eiriksen/fishytools documentation built on April 4, 2020, 5:08 a.m.