polyfreq.leem | R Documentation |
Plot the frequency polygon curve.
## S3 method for class 'leem'
polyfreq(
x,
freq = "a",
type = "b",
bars = TRUE,
bg = TRUE,
main = NULL,
xlab = NULL,
ylab = NULL,
grids = grid(col = "white"),
bgcol = "gray",
bgborder = NA,
barcol = "yellow",
barborder = "gray",
lpcol = "black",
lwd = 2,
pch = 19,
lty = 2,
...
)
x |
R object (list) of class leem. Use |
freq |
Character argument. Type of frequency with options: |
type |
Type of plot. The default is |
bars |
Logical argument. Default is |
bg |
Logical argument. Default is |
main |
Insert the plot title. The default is |
xlab |
Insert the title of the x-axis graphic label. The default is |
ylab |
Insert the title of the y-axis graphic label. The default is |
grids |
Insert grids to plot. The default is |
bgcol |
Insert the background color. This argument is only valid when |
bgborder |
Insert the background border color. This argument is only valid when |
barcol |
Insert the barplot color. The default is |
barborder |
Insert the barplot border color. This argument is only valid when |
lpcol |
Type of line color. The default is |
lwd |
numeric argument. The line width. The default is |
pch |
Type of point. The default is |
lty |
Type of line. The default is |
... |
further arguments passed to or from other methods. |
# Example 1
library(leem)
rnorm(36, 100, 50) |> new_leem(variable = "continuous") |> tabfreq() |> polyfreq()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.