Question

I want to plot a contour of my data in R.

What is the difference between levelplot vs. contoutplot in package lattice and latticeExtra in R?

Était-ce utile?

La solution

The 'latticeExtra' package contains none of the functions you mention.

Briefly, 'levelplot' fills in colored squares, while 'contourplot' makes curved lines like a topographic map.

But the best way for you to see is to simply look at and run the code for the examples for the two functions in the lattice package.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top