xplot: Graph 'xplot'

Description Usage Arguments Details Value See Also Examples

View source: R/xplot.R

Description

Graph xplot, this graph compares the appearance of entities or relations during one period

Usage

1
  xplot(v1 = "", v2 = "", t = "")

Arguments

v1

O or 1 entity1 value

v2

a vector of entity2 value

t

a time value, format (mm.yyyy) or inteval of time value, for example: t=c("02.2010","02.2012")

Details

Result after calling the function xparse has the following format:

  1. file_name:entity:$:list_value_found

  2. ...

  3. file_name:entity1:entity2:...:$$:value_e1:value_e2:....:negation

Function xplot will convert the data format above to a data frame. The xplot uses this data frame to display graphs. The data frame format:

  1. column file : name of file

  2. column date : (format mm.yyyy)

  3. column value_date, this value is used for creating graph

  4. column visible: if visible = 1 then this record will be used in graph

  5. column value of entite v1 or v2 or v1 combined with v2

Value

This function returns a data frame so that users can check or use it to create new graphs.

dataframe

return a data frame

See Also

xhist type graphique histogram
xprop type graphique propotion
xshow displays results of extracted data

Examples

1
2
3
4
  xplot(v1="colza")
  xplot(v1="colza",v2=c("altice","rouille"))
  xplot(v1="colza",v2=c("altice","rouille"),t="09.2010")
  xplot(v1="colza",v2=c("altice","rouille"),t=c("09.2010","02.2011"))

x.ent documentation built on May 2, 2019, 2:14 p.m.

Related to xplot in x.ent...