问题
I need a guidance related to plotting. with lattice package.I am trying to plot xyplot(median + Temp + Rule1 + Rule3 ~ time | factor(name),data=v1,pch=19,grid=19,grid=TRUE,main="Time Series Analysis",xlab="Time",layout=c(1,1),points=TRUE,size=50,fill="transparent"))
here Rule1,Rule2,Rule3 are categorical variable whereas median and temp are numerical my query is how can we show categorical plot as point plot and numerical variable as line plot in XYplot formatlattice
Hence Expected Plot is also specified Pardon me for made up visualisation
来源:https://stackoverflow.com/questions/42944033/plotting-point-and-line-plot-in-xyplot-lattice