Description Usage Arguments Author(s) References See Also Examples
Values below a specified limit of detection are stacked in rows in order to reduce overplotting and create a clear graphical representation of your data.
1 2 3 4 5 |
... |
vector(s) containing the data which to perform the limitplot on. This data set can not contain missing data, and vectors can be of varying lengths. |
lod |
a value that indicates the lower limit of detection. Any value within your data set below this value is reassigned a value of |
CI |
specifies the confidence interval for the boxplot. This interval is calculated from the altered data set after conversion based on the specified limit of detection. |
ratio |
the ratio of the distance between the stacked points below the limit of detection and the distance between the limit of detection and the largest value in the data set. |
shape |
specifies the shape of the points below the limit of detection. |
size |
specifies the size of the points below the limit of detection. |
col |
specifies the color of the points below the limit of detection. |
main |
an overall title for the plot. |
xlab |
label for the x-axis. |
ylab |
label for the y-axis. |
names |
a vector of names for the groups. |
axis |
See the |
stack |
an integer indicating the number of points below the limit of detection to be stacked per row. |
jitterwidth |
specifies the width of the jitter points. |
jittershape |
specifies the shape of the jitter points. |
jittersize |
specfies the size of the jitter points. |
jittercol |
specifies the color of the jitter points. |
log |
use |
blod |
a value indicating the fraction of the limit of detection used to calculate the reassigned values for those below the limit of detection. Any value within your data set below the limit of detection is reassigned a value of |
Omar E. Olmedo
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
plot,points,rect,par
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Create a basic limitplot with four different categories
## from log-normally distributed data and set the limit of detection to 0.35:
conc<-rlnorm(150,0.5,5)
category<-sample(4,150,replace=TRUE)
limitplot(conc[category==1],conc[category==2],
conc[category==3], conc[category==4],
lod = 0.35, log = "y")
## Add labels and change the graphical parameters:
limitplot(conc[category==1], conc[category==2],
conc[category==3], conc[category==4],
lod = 0.35, log = "y",
ylab = "Bla g 2 (ug/g)", xlab = "Report of Cockroach in homes",
names = c("Never","Rarely","Weekly","Daily"),
main = "Exposure to Cockroach in homes",
size = 0.5, shape = 16,
jittersize = 0.5, jittershape = 16, jittercol = "red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.