xdata {x.ent} | R Documentation |
Transform the results to data frame
Description
This is a function using transformation of results to data frame.
Usage
xdata(e = NULL)
xdata_value(v, sort = "a")
Arguments
e |
a vector of a entity or a list of entities, if it is nul, it shows all entities and relations that it is configured in the configuration file |
v |
a entity |
sort |
with the function |
Details
The data frame contains the columns of the name of entity or relationship and the rows of values of named entity.
Value
data frame |
return a data frame |
Author(s)
Tien T. Phan
See Also
xparse
call the main function of module extraction written by Perl
Examples
xdata() #show all entities
xdata(c("p","b")) #show two entities: "p", "b"
xdata_value("p") #show only values of entity "p"
#there are two columns "value" et "freq" in this data frame
xdata_value("p")[["value"]] #convert to a verctor
[Package x.ent version 1.1.7 Index]