Displaying 1 result from an estimated 1 matches for "pre96cr".
2008 Dec 21
1
Trouble with 'smooth' using xyplot in lattice
...n the lattice package to produce a scatter plot of count data versus time, such that the count data represent 8 different groups, and the plot produced has 8 unique "smoothed" lines for the different groups. This is the closest I can get to the desired plot:
xyplot(masmean ~ mas, data = Pre96CR.masmeans, groups = behavior,
type = 'smooth', span = 0.3, lwd =2,
xlab = "Minutes After Sunrise", ylab = "Behaviors at Castle"
key = simpleKey(levels(Pre96CR.masmeans$behavior), space = 'right'))
This code produces a plot, but one level of the gro...