similar to: how to modify and compile R sourse codes

Displaying 20 results from an estimated 7000 matches similar to: "how to modify and compile R sourse codes"

2005 Dec 15
2
Hmisc latex cell background color
Dear latex/R-Sweavers, Using the codel below, I can color text in individual cells for latex output. Is there a similar way to get a background shading? My attempts failed because I did not get the closing brace at the right place with Hmisc/latex. library(Hmisc) x <- as.data.frame(diag(rnorm(3),nrow=3)) cellTex <- matrix(rep("", NROW(x) * NCOL(x)), nrow=NROW(x)) cellTex[2,2]
2008 Jul 04
1
Hmisc latex: table column width
R users, I'm trying to set a column width to one of the columns in a latex table (using Hsmic package, latex function). My intention is to get \begin{tabular}{lp{1.2in}llllll}\hline\hline Here's an example ####### R code ######### DF <- data.frame(Titanic) DF$long <- paste("This is a veeeeeeeeeeryyyyyyyyyy long line") DF <- DF[, names(DF)[c(6,1:5)]] library(Hmisc)
2008 Jul 21
2
Output Nicely formatted tables from R
Hi there, I've spent a while searching for ways of outputting table data from R in presentable formats, such as colored backgrounds for column headings, bold fonts etc. It appears that this is not possible, but I would be interested to learn if in fact there was a way of achieving this. Many thanks! [[alternative HTML version deleted]]
2004 Oct 17
4
Descriptive statistics table
Greetings: I would like to make a table with descriptive statistics for a data.frame. I guess the question is how can I put together, in a table, the results from, say: apply(df, 2, mean, na.rm =T) apply(df, 2, median, na.rm =T) ....... Thanks, Mihai Nica Jackson State University 155 B Parkhurst Dr. Jackson, MS 39202 601 969 5423 601 914 0361 [[alternative HTML version deleted]]
2008 Aug 04
2
Is there any way to make pretty tables in R to pdf?
Hi, all, All your comments have been very useful. I was wondering if there was a package that can make pretty R tables to pdf. I guess I could use xtable, but I would like something a little more elegant. Your input is greatly appreciated. Best wishes, Art
2010 Apr 30
11
What is the best way to have "R" output tables in an MS Word format?
Dear "R" list, Our statisticians usually give us results back in a PDF format. I would like to be able to copy and past tables from "R" output directly into a Microsoft Word table since this will save us tons of time, be more accurate to minimize human copying errors and help us update data in our papers more easily. Do people have suggestions for the best way to do this? I
2010 Jun 26
7
Calculating Summaries for each level of a Categorical variable
Hi, I have a dataset which has a categorical variable "R",a count variable C (integer) and 4 or more numeric variables (A,T,W,H - integers) containing measures for "R". I would like to summarize each level of the variable R by the average for A,T,W and H. I have written a function to calculate weighted averages using C as the weight and this is given below. The function
2006 Oct 31
3
Missing data analysis in R
I am looking for a book that discusses the theory of multiple imputation (and other methods of dealing with missing data) and, just as importantly, how to implement these methods in R or S-Plus. Ideally, the book would have a structure similar to Faraway (Regression), Pinheiro&Bates (Mixed Effects) and Wood (GAMs) and would be very modern (i.e. published within the last couple of years).
2008 Jun 25
2
R alternative to SAS PROC REPORT
R has wonderful graphics but I am wondering whether there is anything in R to provide customization of tables like PROC Report does in SAS. A Smile costs Nothing      But Rewards Everything Happiness is not perfected until it is shared                                                               -Jane Porter   [[alternative HTML version deleted]]
2005 Mar 16
2
how to draw xyplot figure like figure 4.18 of MASS (4th) ?
Dear All: Could you please tell me how I can draw figure formatted like figure 4.18 of MASS (4th) with the attached data set? Thanks Zhongming Yang --------------------------------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sample.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050316/abfdb85e/sample.txt
2008 Oct 18
0
Several problems with hmisc latex function
Hi, I'm having several problems with the Hmisc latex function. First, there seems to be a conflict between the cellTexCmds and the cgroupTexComds. When I'm using both at the same time, I get an error message. Here's an example. I just added cellTexComds to the example on page 10 of this document: http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/latexFineControl.pdf x
2004 Jul 19
2
Evaluating the Yield of Medical Tests
Hello, I'm a biostatistician in Toronto. I would like to know if there is anything in survival analysis developed in R for the method "Evaluating the Yield of Medical Test" (JAMA. May 14,1982--Vol 247, No.18 Frank E. Harrell, Jr,PhD; Robert M. Califf, MD; David B. Pryor, MD;Kerry L.Lee, PhD; Robert A. Rosait,MD.) Hope to hear from you and thanks Lisa Wang, MSc Project Organiser
2006 Sep 13
9
R-question
Hello Colleagues, I programmed in SAS for 3 years and would like to switch to a not so costly software product. Hence I started to evaluate R, and my first test look promising. However I have some question: 1. Is it possible to query R files by SQL internally on data frames (not on a database) and how is the syntax (I have the RODBC package installed). I would like to extract year, Quarter,
2005 Mar 17
3
how to close trellis.device?
Dear All: I need draw some figure through trellis.device and save them as pdf files. How can I close trellis.device (something like dev.off() in nonlattice figure)? Many thanks Zhongming Yang --------------------------------- [[alternative HTML version deleted]]
2004 Jul 21
1
Sourse Code Of OGG/VORBIS Decoder
Can some one help me from where i can get the OGG/VORBIS Decoder source code.From VORBIS website i've downloaded some source code,but it have several project files.i'm puzzled about that. Please let me know which one is correct or from where i can down load this code. Thanks in advace. Regards Chiranjeevi DISCLAIMER: The information contained in this e-mail message and in any
2008 Feb 15
12
Transfer Crosstable to Word-Document
# Dear list, # I am an R-beginner and # spent the last days looking for a method to insert tables produced # with R into a word document. I thought about SPPS: copy a table from # an SPO-file and paste it into a word document # (if needed do some formatting with that table). # Annother idea was, to produce a TEX-file, # insert it and make it a word-table. # I found the following libraries, which
2010 Mar 03
1
: Three most useful R package
ad 1) ggplot2, Hmisc, RODBC ad 2) A package to produce high quality tables with summary statistics for publications in scientific journals. Regards, Frank >>> Ralf B <ralf.bierig@gmail.com> 02.03.2010 21:13 >>> Hi R-fans, I would like put out a question to all R users on this list and hope it will create some feedback and discussion. 1) What are your 3 most useful R
2006 Oct 28
1
(kein Betreff)
Frank Harrell rote in a message dating from Oct 8th: > n.group is an argument to latex.default in the Hmisc package I must admit that I can't find it in the function head, which reads on my installation: function (object, title = first.word(deparse(substitute(object))), file = paste(title, ".tex", sep = ""), append = FALSE, label = title, rowlabel = title,
2003 Jan 15
2
Exception Handling
R Users: How can I catch R errors and depend on this error call other R functions in Perl? The foolowing is the error message when I use perl call R. Error in nls(modout ~ exp(-b1 * modin)/(b2 + b3 * modin), trace = F, start = c(b1 = 0.005, : singular gradient Segmentation fault Thanks, Zhongming
2010 Mar 17
11
How good is R at making publication quality tables?
Hello Everyone,   I have just started learning R and am in the process of figuring out what it can and can't do. I must say I am very impressed with R so far and am amazed that something this good can actually be free.   Recently, I finished reading R for SAS and SPSS Users and have begun reading SAS and R and Data Manipulation with R. Based on what I've read in these books and elsewhere,