Learn R Programming

mudata2 (version 1.1.3)

update_datasets: Add documentation to mudata objects

Description

Add documentation to mudata objects

Usage

update_datasets(x, ...)

# S3 method for default update_datasets(x, datasets, ...)

update_locations(x, ...)

# S3 method for default update_locations(x, locations, datasets, ...)

update_params(x, ...)

# S3 method for default update_params(x, params, datasets, ...)

update_columns(x, ...)

# S3 method for default update_columns(x, columns, tables, datasets, ...)

Value

A modified version of x

Arguments

x

A mudata object

...

Key/value pairs (values of length 1)

datasets

One or more datasets to update

locations

One or more locations to update

params

One or more params to update

columns

One or more columns to update (columns table)

tables

One or more tables to update (columns table)

Examples

Run this code
kentvillegreenwood %>%
  update_datasets("ecclimate", new_key = "new_value") %>%
  tbl_datasets()

Run the code above in your browser using DataLab