Description Usage Format Examples
The cat vocalisations in long (stacked) format (i.e., 100 rows per vocalisation)
1 | data("meowlong")
|
A data frame with 0 observations on the following 2 variables.
x
a numeric vector
y
a numeric vector
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(meowlong)
# The following example creates F0 curves (with an average) for every cat for "food" contexts.
# Change the word "food" to something else, to see other contexts.
library(lattice)
xyplot(f0~step.rescale|id,meow.long[meow.long$context=="food",],
pch=19,
cex=0.3,
ylim=c(0,1000),
panel=function(x,y){
panel.xyplot(x,y,pch=19,cex=0.4)
panel.loess(x,y,col="tomato3")})
# The following example creates F0 curves (with an average) for meows in different contexts.
xyplot(f0~step.rescale|context,meow.long[meow.long$type%in%c("Me","Mm"),],pch=19,cex=0.3,ylim=c(0,1000),panel=function(x,y){
panel.xyplot(x,y,pch=19,cex=0.4)
panel.loess(x,y,col="tomato3")})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.