x3p_to_df | R Documentation |
An x3p file consists of a list with meta info and a 2d matrix with scan depths. fortify turns the matrix into a data frame, using the parameters of the header as necessary.
x3p_to_df(x3p)
x3p |
a file in x3p format as returned by function x3p_read |
data frame with variables x, y, and value and meta function in attribute
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
logo_df <- x3p_to_df(logo)
head(logo_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.