set_sample: set Sample Information

View source: R/set_sample.R

set_sampleR Documentation

set Sample Information

Description

Function to create new samples objects for analysis. The new object will not be uploaded to the database.

Usage

set_sample(
  x = NA,
  ages = list(),
  igsn = NA_character_,
  datum = data.frame(),
  depth = NA_integer_,
  sampleid = NA_integer_,
  thickness = NA_integer_,
  samplename = NA_character_,
  sampleanalyst = list(),
  analysisunitid = NA_integer_,
  analysisunitname = NA_character_
)

Arguments

x

Object to be set as a sample

ages

ages

igsn

IGSN character

datum

dataframe of datum

depth

integer representing depth

sampleid

ID for sample

thickness

thickness of core

samplename

sample's name

sampleanalyst

Analyst's contact name

analysisunitid

Which analysis unit it is

analysisunitname

Analysis Unit's name

Value

sample object

Examples

{
# Set an empty sample
my_sample <- set_sample()
}

neotoma2 documentation built on May 29, 2024, 6:21 a.m.