Convert a data frame into an x3p file

unfortify_x3p(df)

Arguments

df

A data frame produced by fortify_x3p

Value

An x3p object

Examples

data(br411) br411_fort <- fortify_x3p(br411)
#> Warning: use x3ptools::x3p_to_df instead
#> Error in 1:info$num_profiles: argument of length 0
br411_unfort <- unfortify_x3p(br411_fort)
#> Warning: use x3ptools::df_to_x3p instead
#> Error in unfortify_x3p(br411_fort): object 'br411_fort' not found
identical(br411_unfort, br411)
#> Error in identical(br411_unfort, br411): object 'br411_unfort' not found