similar to: Improved HTML Reporting Functions

Displaying 20 results from an estimated 10000 matches similar to: "Improved HTML Reporting Functions"

2002 Mar 03
2
Small Functions for Writing HTML Files
Hello All, I wrote this small set of functions for writing HTML files on the fly so I could do reports from R. Nothing fancy. I may expand on this and make it more generic, but for now, it works and I'm happy with it. Thought I would share them with everyone to get some feedback. Also, I'm not sure if there is already something like this available. The html-test.r file shows you
2009 May 26
2
Using package "exams" and xtable
Hello, I am trying to use the package "exams" to construct problem sets. I have constructed an exercise which generates a list of integers and asks the student to compute the median. rx is the vector of n numbers >str(rx) num [1:16] 21 9 8 18 4 12 17 2 9 7 ... I want to print out the entire vector as part of the problem. When I use \Sexpr(rx) only the first value (in this case
2004 Jun 07
1
Xtable giving an interesting problem
I'm using the current version of xtable for 1.9.0 and I have an interesting error: Error in match.names(clabs, names(xi)) : names don't match previous names: F value, Pr(>F) In addition: Warning message: longer object length is not a multiple of shorter object length in: clabs == nmi This is produced in the following manner: >data.trans <-
2012 Dec 18
1
xtable with psych objects
Hello: I s there a way to use xtable with objects from the psych package, particularly principal()? Is there a difference between princomp and principal? xtable seems to play better with princomp. Thank you. Yours, Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9
2012 Feb 22
1
xtable prcomp
Hi, I need to export to LaTex the summary of a PCA. So: myPCA <- prcomp(myDF) mySummary <- summary(myPCA) # print(xtable(mySummary)) How can I export to LaTeX not all the summary but only the first nPCs?? Best Riccardo
2011 Sep 28
1
Printing an xtable with type = html
I have been playing around with producing tables using xtable and the type = "html" argument when printing. For example, if xtbl is the output of a dataframe which has been run through xtable, using the command: print(xtbl, type = "html", html.table.attributes = "border = '1', align = 'center'") I would be interested to see other examples of
2012 Oct 12
0
Creating a correlation matrix with significance levels
Hi there, I tried this code from homepage: http://myowelt.blogspot.de/2008/04/beautiful-correlation-tables-in-r.html <http://myowelt.blogspot.de/2008/04/beautiful-correlation-tables-in-r.html> corstarsl <- function(x){ require(Hmisc) x <- as.matrix(x) R <- rcorr(x)$r p <- rcorr(x)$P ## define notions for significance levels; spacing is important. mystars <- ifelse(p <
2004 Jul 15
1
formatting tables with long column names via package:xtable within Sweave
Hi, I use the excellent Sweave tools for writing documents but was wondering how to neatly print a data.frame with long column headings. I cant manage to do this via package:xtable. Typically the labels that I would like use for each column consist of more than one word, but even with just one word, the heading is often wider than the contents of the column. So the number of columns that fits
2012 Dec 09
1
defmacro and bwplot incompatibilities?
My macro doesn't work for bwplot. But is working elsewhere. What changes should i make to fix my macro. Thanks. The complete code sample is: library(gtools) library(lattice) pic <- defmacro(fn, plotfunc, expr={png(filename=fn); plotfunc; dev.off()}) # this one fails. pic("bw.png", {bwplot(Species ~ Sepal.Length, data=iris)}) # this one works pic("p.png",
2007 Feb 01
1
xtable and column headings
When I generate a LaTeX table using xtable I have been setting column names to strings with LaTeX code in order to get features like subscripts in the column headings. I recently had to reinstall xtable and discovered that all my LaTeX column headings were printing out in LaTeX code rather than with LaTeX formatting. For example, with the older xtable I could give my column a name something like
2004 Jan 18
0
xtable feature addition suggestion
Hi, attached follows a patch to add a feature that I think it would be useful having in the print.xtable function of the xtable package. It adds the option 'tabular.environment' to that function, which could be used to set an alternative tabular environment, as the name already suggests. This is particulary useful when dealing with long tables, which do not fit in a single page. In the
2008 Dec 05
2
xtable html links
Hi, I was trying to get hyperlinks using xtable, but couldn't get the hyperlinks to function properly. For example, if I use ## Try to link NY times website to every figure in column 4 mat <- matrix(1:43,6,5) mat[,5] <- "http://nytimes.com" for(i in 1:nrow(mat)){ strr <- paste('<a href="', mat[i,5],'">', mat[i,4], '</a>',
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg, Thanks for the new release. The decomposition of the SSQ is just what I need! Regards, Martin. Martin Hoyle, School of Life and Environmental Sciences, University of Nottingham, University Park, Nottingham, NG7 2RD, UK Webpage: http://myprofile.cos.com/martinhoyle >>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>> Version 0.7.3 of the gregmisc package
2003 Jan 31
0
Version 0.8.0 of the gregmisc package is now available
Version 0.8.0 of the gregmisc package is now (or will shortly be) available on CRAN. New in this release: - Enhanced and bug-fixed 'CrossTable' function (contributed by Marc Schwartz) - Augmented the 'barplot2' function with an 'add' argument to allow for the addition of a barplot to an existing graphic. (contributed by Marc Schwartz) - Added the
2016 Nov 11
0
.S3methods: issue in content of info data.frame
Hi, I was trying to get a list of S3 method for a given generic, along with the package in which they are defined, and I came across what looks like an issue in the data.frame returned in attribute 'info'. The column 'from' mostly gets the value "registered S3method for ..." except for visible methods. Is this the expected behavior? See code and output below. Thank you.
2009 Jun 17
0
vertical line in xtable
Hi everyone I have created a function that uses xtable to print table of frequencies and percentages with a heading and some sample information (the sample size and missing values). The function and example data is below. I want a vertical line that separates the results from the sample information i.e. a vertical line on the bottom of the line second from last
2023 Aug 04
2
print only first level directory name when copying files
Hello, I am copying /mnt/foo to /mnt/bar/ rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ /mnt/foo contains deep directory structure, ie: /mnt/foo/aaa/ /mnt/foo/aaa/somestuff/ /mnt/foo/aaa/somestuff/file1 /mnt/foo/bbb/ /mnt/foo/bbb/someotherstuff/ /mnt/foo/bbb/someotherstuff/file2 I am not interested in details which individual files were copied, just the main directory.
2008 Mar 08
5
Non-visible functions are asterisked
Dear R-Helpers, I suspect I'm about to ask a FAQ, but I haven't been able to find an answer in the FAQ, AItR or an R Site Search. When I look at the methods of summary (below) it says, "Non-visible functions are asterisked". I looked at the help file for summary.princomp, which did not comment on it being non-visible. I ran its help file example, which printed visible output. I
2009 Jun 17
1
Horisontal line in xtable
Hi everyone (Pardon the incorrect terminology of my previous post: "vertical line...). I have created a function that uses xtable to print table of frequencies and percentages with a heading and some sample information (the sample size and missing values). The function and example data is below. I want a horisontal line that separates the results from the sample information i.e. a
2009 Sep 20
2
xtable + print (html)
hi, I want html code via the xtable package. I have a data.frame and tried to use the print()-function. But I only get the data.frame printed - no html arround it. what do I have to change? thanks!