idf
-object), summarize its content and visualize subsets of two variables.idf.create(dat, var.labels = NULL)
## S3 method for class 'idf':
summary(object, ...)
## S3 method for class 'idf':
plot(x, y=NULL, ..., var = NULL, k.x = 1, k.y = 1,p.cex = 1, x.adj = 0.5, x.padj = 3, y.las = 0, y.adj = 1, y.padj = 0, x.lim = c(0, 0), y.lim = c(0, 0), x.lab = "X", y.lab = "Y")
data.frame
containing 2 neighboring columns for each variable, the first column for the left endpoints of the interval observations, the second for the right endpoints.data.frame
.idf
-object to be summarized.plot
and summary
: Other parameters.plot
. Here x
is the idf
-object to be plotted.plot
. Here y=NULL
.idf
-object to be plotted. (Optional)k.x
is the step width along the abscissa.k.y
is the step width along the ordinate.p.cex
is the point size to fill the rectangles with grey color.y.las=1
will turn the axis labels and the text in reading direction.y.adj
regulates the position of the text for the ordinate in reading direction, i.e. if y.las=0
it sets the vertical position and if y.las=1
the horizontal position.y.padj
regulates the position of the text for the ordinate orthogonal to the reading direction, i.e. if y.las=0
it sets the horizontal position and if y.las=1
the vertical position.idf
-object of m
variables, which is a list of m+1
entries.m
different data.frame
s with 2 columns each, one for each of the 1st to m
th variables.idf
-object does not contain this information.data('toy.smps')
toy.idf <- idf.create(toy.smps, var.labels=c("x","y"))
summary(toy.idf)
plot(toy.idf, k.x=10, k.y=10, p.cex=1.5, y.las=1, y.adj=6)
plot(toy.idf, k.x=10, k.y=10, x.adj=0.7, y.las=1, y.adj=6, y.padj=-3)
plot(toy.idf, k.x=10, k.y=10, x.adj=0.7, x.padj=4, y.adj=0.7, y.padj=-4)
Run the code above in your browser using DataLab