Skip to content
Prev 30227 / 398506 Next

trellis.graphic in for-loop

Martina Pavlicova <pavlicov at stat.ohio-state.edu> writes:
Actually the preferred approach is to use print(), not
print.trellis().  That is, call the generic function, not the specific
name of the method.  With namespaces, available in R-1.7.0 and later,
package authors have the option of hiding direct access to methods.
If Deepayan Sarkar added a namespace to the lattice package (and I
think he does plan to do that at some point) then using print() would
work as expected but using print.trellis() would no longer work.