Description Usage Arguments Details Value Examples
This function takes an epd.entity-class
object and transforms
data from tables in the object to new tables in the form of matrices.
Information in the new tables, are easier to understand and manipulate than
those in the native format of the EPD. Transformed data include samples,
ages of that samples, and counts for that samples (both biological and
no-biological particles).
1 2 3 4 | entity_to_matrices(x)
## S4 method for signature 'epd.entity'
entity_to_matrices(x)
|
x |
epd.entity Object of class |
The function return a epd.entity.df-class
object, which
is an expanded version of epd.entity-class
objects with
eight new slots. This new object are intended to be modified for
standardizations but keeping an unmodified version of the data and
structure of the epd.entity-class
object.
Four slots contains the data in the new format, while four others store
information to track changes made from standardization and modification
functions (e.g., counts_to_percentages
.
epd.entity.df object. Expanded version of x
with certain data
reformated into data matrices instead of the native EPD format.
1 2 3 4 5 6 7 | ## Not run:
epd.connection <- connect_to_epd(host="localhost", database="epd",
user="epdr", password="epdrpw")
epd.1 <- get_entity(1, epd.connection)
epd.1 <- entity_to_matrices(epd.1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.