ProjectMOSAIC / mosaic

Project MOSAIC R package
http://mosaic-web.org/
93 stars 26 forks source link

Resampling vignette #46

Closed nicholasjhorton closed 12 years ago

nicholasjhorton commented 12 years ago

I've crafted a resampling vignette, based on Danny's lovely handout from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the example in the inst/doc directory. These could also be added to the package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share what I had at this juncture (merged into beta).

rpruim commented 12 years ago

Can we use knitr instead of sweave for this? I want to abandon sweave.

On Mar 1, 2012, at 2:40 PM, Nicholas Horton wrote:

I've crafted a resampling vignette, based on Danny's lovely handout
from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the
example in the inst/doc directory. These could also be added to the
package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index
properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share
what I had at this juncture (merged into beta).


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46

Randall Pruim rpruim@gmail.com

rpruim commented 12 years ago

Things are broken and the package does not build cleanly.

On Mar 1, 2012, at 2:40 PM, Nicholas Horton wrote:

I've crafted a resampling vignette, based on Danny's lovely handout
from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the
example in the inst/doc directory. These could also be added to the
package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index
properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share
what I had at this juncture (merged into beta).


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46

Randall Pruim rpruim@gmail.com

nicholasjhorton commented 12 years ago

Will that work when it gets automatically generated as part of the package creation process? If so, that's fine with me, but I was working to try to conform to R-core community standards.

Nick

On Mar 1, 2012, at 2:54 PM, Randall Pruim wrote:

Can we use knitr instead of sweave for this? I want to abandon sweave.

On Mar 1, 2012, at 2:40 PM, Nicholas Horton wrote:

I've crafted a resampling vignette, based on Danny's lovely handout
from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the
example in the inst/doc directory. These could also be added to the
package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index
properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share
what I had at this juncture (merged into beta).


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46

Randall Pruim rpruim@gmail.com


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4268877

Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton

nicholasjhorton commented 12 years ago

Fixed (I merged in the beta release).

Nick

On Mar 1, 2012, at 3:10 PM, Randall Pruim wrote:

Things are broken and the package does not build cleanly.

  • checking package vignettes in ‘inst/doc’ ... WARNING Package vignette(s) without corresponding PDF: ‘Form2Fun.Rnw’ ‘Resampling.Rnw’

On Mar 1, 2012, at 2:40 PM, Nicholas Horton wrote:

I've crafted a resampling vignette, based on Danny's lovely handout
from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the
example in the inst/doc directory. These could also be added to the
package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index
properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share
what I had at this juncture (merged into beta).


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46

Randall Pruim rpruim@gmail.com


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4269186

Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton

rpruim commented 12 years ago

I don't know. If not, I say we just make PDFs externally and drop
them in. I don't want to maintain anything in Sweave. knitr seems to
be a better tool.

On Mar 1, 2012, at 3:25 PM, Nicholas Horton wrote:

Will that work when it gets automatically generated as part of the
package creation process? If so, that's fine with me, but I was
working to try to conform to R-core community standards.

Nick

On Mar 1, 2012, at 2:54 PM, Randall Pruim wrote:

Can we use knitr instead of sweave for this? I want to abandon
sweave.

On Mar 1, 2012, at 2:40 PM, Nicholas Horton wrote:

I've crafted a resampling vignette, based on Danny's lovely handout from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the example in the inst/doc directory. These could also be added to the package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share what I had at this juncture (merged into beta).


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46

Randall Pruim rpruim@gmail.com


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4268877

Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4269485

Randall Pruim rpruim@gmail.com

nicholasjhorton commented 12 years ago

That's fine with me, if we can figure out how to index them appropriately on CRAN.

Note that the Form2Fun.Rnw stub is just that: it does nothing in R.

Nick

On Mar 1, 2012, at 3:34 PM, Randall Pruim wrote:

I don't know. If not, I say we just make PDFs externally and drop
them in. I don't want to maintain anything in Sweave. knitr seems to
be a better tool.

On Mar 1, 2012, at 3:25 PM, Nicholas Horton wrote:

Will that work when it gets automatically generated as part of the
package creation process? If so, that's fine with me, but I was
working to try to conform to R-core community standards.

Nick

On Mar 1, 2012, at 2:54 PM, Randall Pruim wrote:

Can we use knitr instead of sweave for this? I want to abandon
sweave.

On Mar 1, 2012, at 2:40 PM, Nicholas Horton wrote:

I've crafted a resampling vignette, based on Danny's lovely handout from USCOTS.

I'm guessing that I should include Robin Lock's csv files from the example in the inst/doc directory. These could also be added to the package (but it's simpler to leave them in the directory.

I also did some work to Form2Fun.pdf so that it should index properly on CRAN.

I have some editing to do in Resampling.Rnw, but wanted to share what I had at this juncture (merged into beta).


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46

Randall Pruim rpruim@gmail.com


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4268877

Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4269485

Randall Pruim rpruim@gmail.com


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-4269641

Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton

nicholasjhorton commented 12 years ago

I've updated the Resampling vignette so that it works with the current version of the package.

There's still a problem shading the two-sided interval on page 12 of this document.

My proposal would be to try to fix this, and defer migrating to knitr at this point in time.

rpruim commented 12 years ago

I've built a knitr version. It's in the vignettes directory. Along the way I've built a style file and a setup.R file for our vignettes. Still not entirely happy with the knitr settings, but we'll get that worked out.

nicholasjhorton commented 12 years ago

Now ready for Danny's red pen (but ready for the 0.4 release IMHO, and so I've removed the milestone)

dtkaplan commented 12 years ago

I've revised the resampling vignette. The main change is to situate the Lock problems a little more centrally, using them both to introduce resampling and as a kind of fulcrum for moving on beyond means and proportions.

The result is pushed to beta, but you'll have to go to the vignettes/ directory to see the PDF file.

nicholasjhorton commented 12 years ago

This looks great.

I've fit some minor typos as well as added a reference for the sleep memory example.

Any thoughts about adapting this for TISE?

Nick

On Apr 7, 2012, at 7:17 PM, Daniel Kaplan wrote:

I've revised the resampling vignette. The main change is to situate the Lock problems a little more centrally, using them both to introduce resampling and as a kind of fulcrum for moving on beyond means and proportions.

The result is pushed to beta, but you'll have to go to the vignettes/ directory to see the PDF file.


Reply to this email directly or view it on GitHub: https://github.com/rpruim/mosaic/issues/46#issuecomment-5012232

Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton