powered by
This function plots the latent distributions of sensory intensity corresponding to the items or products tested in the discrimination test.
# S3 method for samediff plot(x, main = TRUE, length = 1000, limits, fig = TRUE, ...)
The samediff object whose latent distributions are to be plotted
samediff
include an automatically generated title on the plot? Default is TRUE
TRUE
the length of the vectors to be plotted. Longer vectors gives more smooth curves, but can take a little time.
optional limits on the x-axis; vector of length two.
logical: Should the function create the plot? Defaults to TRUE.
additional arguments to plot and lines
plot
lines
If fig = TRUE, the function will produce the plot. The function invisibly returns a data.frame with elements
fig = TRUE
values for the x-axis of lenght length.
length
y-values for the base distribution of same-samples, ie. a standard normal distribution
y-values for the distribution of different-samples, ie. a normal distribution centred at delta with unit variance.
delta
# NOT RUN { ## Make same-diff object: sadi <- samediff(8, 5, 4, 9) ## Plot distributions of sensory intensity: plot(sadi) # }
Run the code above in your browser using DataLab