search for: donmac

Displaying 4 results from an estimated 4 matches for "donmac".

2018 Apr 25
0
Can't Get Lattice Histogram Minor Tick Marks to Work
Per the Posting Guide, why didn't you post the reproducible R code example? On April 24, 2018 8:22:15 PM PDT, Donald Macnaughton <donmac at matstat.com> wrote: >I'm drawing a paneled histogram using the lattice package. I've >succeeded in >adding minor tick marks to the vertical axis, but I can't get the >desired >number of minor tick marks between the major tick marks. > >I've attached a sel...
2018 Apr 25
3
Can't Get Lattice Histogram Minor Tick Marks to Work
I'm drawing a paneled histogram using the lattice package. I've succeeded in adding minor tick marks to the vertical axis, but I can't get the desired number of minor tick marks between the major tick marks. I've attached a self-contained program to illustrate the problem. Thanks for your help, Don Macnaughton Here's my sessionInfo: R version 3.4.3 (2017-11-30) Platform:
2018 Apr 25
1
Can't Get Lattice Histogram Minor Tick Marks to Work
...e percent. # The yscale.components.subticks function in the latticeExtras package # has arguments to contol the minor tickmarks, but I can't get them to work. # How can a get a single minor tickmark between the major tickmarks on # the vertical axis? # Thanks for your help, # Don Macnaughton donmac at matstat.com # Generate data in an 20 x 2 matrix for left panel. In my real application # the data file contains many more rows, but that's not necessary here. for (i in 1:20) { if (i == 1) {pmat = c(0.045,0)} else { pmat = rbind(pmat,c(i*0.05-0.001,0))}...
2017 Jun 13
3
How Can I Execute a String Expression?
I have the string ggstr that I've built with string manipulation: ggstr = "ggplot(df1, aes(x,y)) + geom_smooth(se=FALSE, span=0.01)" Assuming df1 is properly defined, this string will execute properly if I submit it manually without the quotes. How can execute the command as a string, so that I can run it repeatedly (with minor modifications) in a loop? Presumably, it would be