[R] Lattice help (again?)

Fredrik Karlsson fredrik.karlsson at ling.umu.se
Fri Jul 12 16:45:44 CEST 2002


Thank you Marc for this information.

Being relatively nwe to the list, I had not realised that the delay was
that big. Had I known this, I would not have re-posted.

However, the last post does contain a somewhat restructured version of
the code, as well as the data involved.

I still haven't found the problem with it, so any suggestion is greatly
appriciated.

/Fredrik

On Fri, Jul 12, 2002 at 07:21:15AM -0500, Marc Schwartz wrote:
> Frederik,
> 
> I am sending this offline, but wanted to let you know that there is
> commonly anywhere from a 1 to 3 hour delay in getting copies of posts on
> the list back.
> 
> Those who are recent subscribers and therefore towards the end of the
> distribution list will experience longer delays than those who are the
> top of the list.  Also, the Core group folks have a priority and so will
> see posts first.
> 
> This is why it is common to copy the author of a post when you reply, so
> they see the reply right away, as opposed to waiting for the message to
> come from the list, which they will eventually see as well.
> 
> One thing that I also do, is to check on the R Project web site in the
> message archives to see if a message has already been replied to.  For
> me, the delay is typically about 1.5 hours, so before I reply, I check
> the archive to see if someone has already done so.
> 
> This has been discussed on the list before (I raised it one time) and I
> know that the Core folks have looked into more efficient systems but
> have not yet implemented anything to my knowledge.
> 
> I have not yet begun to use Lattice, so my apologies for not being able
> to offer help on your actual problem.
> 
> Regards,
> 
> Marc
> 
> > -----Original Message-----
> > From: owner-r-help at stat.math.ethz.ch
> [mailto:owner-r-help at stat.math.ethz.ch] On
> > Behalf Of Fredrik Karlsson
> > Sent: Friday, July 12, 2002 5:45 AM
> > To: R-help
> > Subject: [R] Lattice help (again?)
> > 
> > I appologize if this post is a duplicate, but I did not get my first
> > post myself..
> > 
> > Here is my original post:
> > ---------------------------------
> > Hi all,
> > 
> > I've got some troubles with a Lattice plot. The error I get is
> > 
> > Error in Ops.factor(groups[subscripts], vals[i]) :
> >         Level sets of factors are different
> > 
> > which sort of doesn't make sense to me. Can you please help me
> > figure out what it means?
> > 
> > Here is the code:
> > 
> > my.panelconstr = function(x,y,...){
> >     points(x,y)
> > 	  panel.loess(x,y,span=1)
> > 		panel.superpose(x,y,...)
> > }
> > 
> > subset(m1data,! is.na(votms) & !is.na(age) & !is.na(Cplace) &
> > 			!is.na(tokentype)& !is.na(voicing),
> > 			select=c(votms,age,Cplace,tokentype,voicing)) ->
> > sampledata
> > 
> > xyplot(votms ~ age | Cplace +
> > 			tokentype,data=datasample,xlab="Subject Age
> > (months)",ylab="Voice
> > 			Onset Time
> (ms)",panel="my.panelconstr",groups=voicing)
> > 
> > 
> > Some information on the data set:
> > 
> > > sapply(sampledata,levels)
> > > $votms
> > > NULL
> > >
> > > $age
> > > NULL
> > >
> > > $Cplace
> > > [1] "bilabial" "dental"   "velar"
> > >
> > > $tokentype
> > > [1] "CC"          "voiced C"    "voiceless C"
> > >
> > > $voicing
> > > [1] "voiced"    "voiceless"
> > >
> > 
> > (The entire data set follows below..)
> > 
> > Please, help  me with this. The solution is probably an easy one..
> > 
> > /Fredrik
> > 
> > 
> > 
> > > sampledata
> > >          votms age   Cplace   tokentype   voicing
> > >          0    15.954326  24    velar voiceless C    voiced
> > >          1     6.710849  24    velar          CC    voiced
> > >          2    14.364436  24    velar          CC    voiced
> > >          3   -33.844981  24 bilabial    voiced C    voiced
> > >          4   -18.158754  24 bilabial    voiced C    voiced
> > >          5    53.878500  24   dental    voiced C    voiced
> > >          7     4.257577  24    velar voiceless C    voiced
> > >          10  -49.215803  24 bilabial voiceless C    voiced
> > >          11   24.412121  24 bilabial voiceless C    voiced
> > >          15  -24.208462  24 bilabial          CC    voiced
> > >          16  -10.129738  24 bilabial          CC voiceless
> > >          17    1.530824  24   dental          CC    voiced
> > >          18    5.754966  24   dental voiceless C    voiced
> > >          19   15.910566  24 bilabial    voiced C    voiced
> > >          20    8.951559  24   dental    voiced C    voiced
> > >          21   13.411571  24    velar    voiced C    voiced
> > >          24    1.061967  24 bilabial voiceless C    voiced
> > >          25   11.252349  24    velar voiceless C    voiced
> > >          27   18.613304  24 bilabial          CC    voiced
> > >          28    7.065712  24   dental voiceless C    voiced
> > >          29   16.273826  24    velar voiceless C    voiced
> > >          31   10.542812  24   dental voiceless C    voiced
> > >          32   18.929595  24   dental          CC    voiced
> > >          34   92.640000  24    velar voiceless C    voiced
> > >          35    9.072296  24 bilabial          CC    voiced
> > >          36    3.987829  24   dental voiceless C    voiced
> > >          37  -29.741057  24 bilabial voiceless C    voiced
> > >          38  -35.235355  24   dental voiceless C    voiced
> > >          40   17.915961  24 bilabial voiceless C    voiced
> > >          41  -44.849629  24 bilabial          CC    voiced
> > >          42   11.534454  25    velar    voiced C    voiced
> > >          43    8.814480  25 bilabial voiceless C    voiced
> > >          44   28.353609  25 bilabial voiceless C voiceless
> > >          45   31.009542  25    velar voiceless C    voiced
> > >          47   -1.723251  25 bilabial          CC    voiced
> > >          48   26.588373  25   dental voiceless C    voiced
> > >          49   77.686766  25   dental voiceless C voiceless
> > >          50   14.329650  25   dental voiceless C    voiced
> > >          51  -21.985267  25 bilabial    voiced C    voiced
> > >          52    8.830956  25   dental voiceless C    voiced
> > >          53   14.491379  25 bilabial    voiced C    voiced
> > >          54   11.218807  25   dental    voiced C    voiced
> > >          56   72.241633  25    velar          CC    voiced
> > >          57  -29.219088  25 bilabial          CC    voiced
> > >          59   11.422903  25    velar voiceless C    voiced
> > >          60   25.581157  25   dental          CC    voiced
> > >          62   20.957003  27 bilabial    voiced C voiceless
> > >          63   12.664048  27 bilabial    voiced C    voiced
> > >          64   26.069895  27   dental    voiced C    voiced
> > >          67   12.634800  27 bilabial voiceless C    voiced
> > >          68    8.232476  27 bilabial voiceless C    voiced
> > >          69  316.579179  27    velar voiceless C voiceless
> > >          70    7.939195  27    velar          CC    voiced
> > >          73   10.283447  27 bilabial          CC    voiced
> > >          74    7.690974  27 bilabial          CC    voiced
> > >          75   14.828804  27   dental          CC    voiced
> > >          76    2.071590  27   dental voiceless C    voiced
> > >          77   15.017524  27   dental voiceless C    voiced
> > >          78   36.405154  27   dental voiceless C voiceless
> > >          79    7.621855  27 bilabial    voiced C    voiced
> > >          82   12.406816  27 bilabial voiceless C    voiced
> > >          86   15.936522  27 bilabial          CC voiceless
> > >          88    5.334834  27   dental voiceless C    voiced
> > >          90   12.254666  27    velar    voiced C    voiced
> > >          91   19.531705  27    velar voiceless C    voiced
> > >          92   21.945019  27    velar    voiced C    voiced
> > >          94    3.716871  27    velar voiceless C    voiced
> > >          95   12.121338  27 bilabial voiceless C    voiced
> > >          98   -3.525175  28 bilabial    voiced C    voiced
> > >          99   12.893467  28 bilabial    voiced C    voiced
> > >          100   4.674544  28   dental    voiced C    voiced
> > >          101  -5.404834  28    velar    voiced C    voiced
> > >          105   3.232809  28    velar          CC    voiced
> > >          108  27.599286  28 bilabial voiceless C    voiced
> > >          109   6.862059  28 bilabial          CC    voiced
> > >          110   5.858169  28   dental          CC    voiced
> > >          111   2.739856  28   dental voiceless C    voiced
> > >          112 -38.698842  28   dental voiceless C    voiced
> > >          113   5.447914  28    velar    voiced C    voiced
> > >          114   8.391119  28    velar voiceless C    voiced
> > >          117   1.979944  28    velar voiceless C    voiced
> > >          118  17.974069  28 bilabial voiceless C    voiced
> > >          122   6.959839  29 bilabial    voiced C    voiced
> > >          123   2.209952  29   dental    voiced C    voiced
> > >          124  13.489543  29    velar    voiced C    voiced
> > >          125  12.613704  29    velar voiceless C    voiced
> > >          127   7.102228  29 bilabial voiceless C    voiced
> > >          128  11.265065  29 bilabial voiceless C    voiced
> > >          130   8.524358  29   dental voiceless C    voiced
> > >          132  15.399187  29   dental voiceless C    voiced
> > >          133   8.581753  29 bilabial    voiced C    voiced
> > >          134   6.983810  29   dental    voiced C    voiced
> > >          135 -52.456936  29   dental voiceless C    voiced
> > >          136   7.063439  29    velar          CC    voiced
> > >          137   6.961839  29   dental voiceless C    voiced
> > >          140 -53.125911  29 bilabial    voiced C    voiced
> > >          143  15.711247  29 bilabial voiceless C    voiced
> > >          145   3.359106  29 bilabial    voiced C    voiced
> > >          146  12.390004  29   dental    voiced C    voiced
> > >          147   9.964120  29   dental voiceless C    voiced
> > >          149   5.720067  29 bilabial          CC    voiced
> > >          150  16.754006  29   dental voiceless C    voiced
> > >          151   8.740509  29    velar          CC    voiced
> > >          152  10.348791  29 bilabial          CC    voiced
> > >          153   7.808633  29   dental          CC    voiced
> > >          154   3.024170  29   dental          CC    voiced
> > >          155   9.928435  29 bilabial          CC    voiced
> > >          157  54.333177  29   dental voiceless C    voiced
> > >          158  11.889378  29    velar          CC    voiced
> > >          160  32.880320  30 bilabial    voiced C voiceless
> > >          161  32.885067  30 bilabial    voiced C voiceless
> > >          162  13.429712  30   dental    voiced C voiceless
> > >          163  40.299000  30    velar    voiced C voiceless
> > >          166   5.855356  30 bilabial voiceless C voiceless
> > >          167  10.412418  30   dental voiceless C    voiced
> > >          168  16.889134  30   dental voiceless C voiceless
> > >          169 -59.224149  30    velar voiceless C    voiced
> > >          171  99.767957  30    velar          CC voiceless
> > >          176  18.722669  30   dental    voiced C    voiced
> > >          177  19.755000  30    velar    voiced C    voiced
> > >          183  11.884398  30   dental voiceless C    voiced
> > >          184  36.009200  30 bilabial voiceless C voiceless
> > >          185  14.201996  30 bilabial          CC    voiced
> > >          186  12.287322  30 bilabial          CC    voiced
> > >          187  17.453539  30 bilabial voiceless C    voiced
> > >          190  26.808391  30    velar          CC voiceless
> > >          191  17.295361  30   dental          CC    voiced
> > >          193  48.171823  31 bilabial    voiced C voiceless
> > >          194  12.190815  31 bilabial    voiced C    voiced
> > >          195  40.820515  31    velar voiceless C voiceless
> > >          201  29.808337  31   dental    voiced C    voiced
> > >          205  20.972073  31   dental voiceless C voiceless
> > >          206  88.281232  31    velar voiceless C voiceless
> > >          211  61.456342  31    velar    voiced C voiceless
> > >          212  15.711172  31 bilabial voiceless C voiceless
> > >          214  53.239000  31   dental          CC voiceless
> > >          216  33.841200  31 bilabial          CC    voiced
> > >          217  42.051951  31    velar    voiced C voiceless
> > >          218  30.176308  31    velar          CC    voiced
> > >          219  30.186293  31 bilabial          CC    voiced
> > >          220  21.998930  31 bilabial voiceless C voiceless
> > >          222  40.653390  31    velar voiceless C voiceless
> > >          223  11.798986  31   dental          CC    voiced
> > >          224  60.585705  32 bilabial    voiced C voiceless
> > >          225   7.973256  32 bilabial    voiced C    voiced
> > >          228  95.824252  32    velar voiceless C voiceless
> > >          230  11.469333  32 bilabial voiceless C    voiced
> > >          236  18.062884  32 bilabial    voiced C    voiced
> > >          238  69.997263  32 bilabial voiceless C voiceless
> > >          240 -80.599336  32   dental    voiced C    voiced
> > >          241  20.279421  32 bilabial voiceless C voiceless
> > >          245 202.795327  32    velar voiceless C voiceless
> > >          247  19.944309  32 bilabial voiceless C voiceless
> > >          248  11.503982  32 bilabial voiceless C    voiced
> > >          249  11.545439  32 bilabial          CC voiceless
> > >          250  12.887457  32   dental voiceless C voiceless
> > >          251  45.991986  32    velar voiceless C voiceless
> > >          253  75.917893  32 bilabial          CC voiceless
> > >          254  18.824056  32   dental voiceless C voiceless
> > >          256 101.095335  32    velar          CC voiceless
> > >          257  32.398865  32   dental          CC voiceless
> > >          259  30.852728  32   dental          CC voiceless
> > >          266  12.579714  19 bilabial voiceless C voiceless
> > >          271   7.399954  23    velar          CC    voiced
> > >          274  11.557411  23    velar          CC voiceless
> > >          275  10.397010  23   dental          CC    voiced
> > >          276   6.646640  23   dental          CC    voiced
> > >          277  10.367765  23   dental          CC    voiced
> > >          278  13.635147  23   dental          CC    voiced
> > >          279   3.585918  23   dental          CC    voiced
> > >          280  24.559838  23   dental          CC    voiced
> > >          282   5.509939  23   dental    voiced C    voiced
> > >          283  13.230395  23   dental    voiced C    voiced
> > >          285  25.633231  23   dental    voiced C voiceless
> > >          289  16.842630  23 bilabial voiceless C voiceless
> > >          291  11.666541  23   dental          CC    voiced
> > 
> > 
> >
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-
> > r-help mailing list -- Read
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > Send "info", "help", or "[un]subscribe"
> > (in the "body", not the subject !)  To:
> r-help-request at stat.math.ethz.ch
> >
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list