-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nice inline export for Rmd documents #78
Comments
I'm not opposed to the idea, but there are a few questions I would want resolve prior to taking on a project like this. For instance
Questions 1-4 seem like they would need pretty firm answers before committing any serious code effort. 5 and 6 are things I think could become headaches in the future. Just brainstorming out loud, but would be interested in your thoughts on 1-4. |
All excellent points. Some thoughts below.
|
As I've thought about it more, I've decided that this really ought to be a generic for which additional methods may be written. For the generic, I propose the flolling functional requirement's
For now, I would set As an example of the
How would this work for getting started? |
If you are using LaTeX just use knitR. Here is my chi-sq reported values from the lm objects: It doesn't give you the label for the value, but it's there and easy. Edit: For percents look at something like this first: http://stackoverflow.com/questions/7145826/how-to-format-a-number-as-percentage-in-r |
Here's a first attempt. How does this look as proof of concept? use The source code to generate the document displayed below is at https://gist.githubusercontent.com/nutterb/bcc3c04bc4c807cb9753f74820584cf5/raw/dfe78db875de0a314d4e87126ab2cdf5548173d8/dust_inline_example.Rmd |
I don't know if I was doing something wrong, or whether it was something else, I just had to update R to 3.3.2 and reinstall all my libraries. When trying to install pixiedust as above, I also had to install the packages below, one-by-one. Formula |
This sounds like something in the dependency chain. A dependency in one of the dependencies is not being installed. When upgrading R, I would recommend using |
I was thinking that it would be great if R had a set of functions for including regression output in body text and was wondering whether you thought this would be a good fit for pixiedust, or whether it would be out of scope for the package?
I imagine it working something like the following:
where
x
is a regression model andy
an independent variable.The output would look like
What do you think?
The text was updated successfully, but these errors were encountered: