load_data {crone}R Documentation

Load observed structure factors from 1D structure data in workspace.

Description

Function to load structure factors corresponding to one of the many 1D structures available within the crone package. The structure factors amplitudes have been generated from calculated data with some simulated error, so that they mimic observed data. Phases are calculated from the correct structure.

Usage

load_data(sname = NULL)

Arguments

sname

A character string. Name of the structure whose data are to be loaded in the workspace. It can be one of:

  • beryllium_fluoride

  • carbon_dioxide

  • cyanate

  • nitronium

  • thiocyanate

  • xenon_difluoride

  • pinkerton2015

Default is NULL, in which case the function returns a list of all structures available.

Value

A named fdata-type list with the following elements:

Examples

# Load thiocyanate data
fdata <- load_data("thiocyanate")
print(fdata)

# Default returns all names of structures included
load_data()


[Package crone version 0.1.1 Index]