Displaying 20 results from an estimated 1000 matches similar to: "exporting ftable"
2008 Jul 01
3
plot window
Hi list,
I want to know how can i creat a plot window with this configuration:
_______________________________
| |
| PLOT 1 |
| |
|-----------------------------|
| | |
| | |
| PLOT 2 | PLOT 3 |
| | |
| | |
2009 Mar 06
2
Numbers
Hi,
I know the function LETTERS, but, now I have some letters to convert it in numbers, like A=1,B=2, etc... Is any function to do that?
Atenciosamente,
Leandro Lins Marino
Centro de Avalia??o
Funda??o CESGRANRIO
Rua Santa Alexandrina, 1011 - 2? andar
Rio de Janeiro, RJ - CEP: 20261-903
R (21) 2103-9600 R.:236
( (21) 8777-7907
( leandro at cesgranrio.org.br
"Aquele que suporta o peso da
2008 Jul 17
3
Colours in R
Hi list,
I will help an person that will use some graphics of R in internet.
But this pearson want to specify the colours. This person want me to create
an pallete of colours like that:
Name of color - Code - Colour
White - 0xFFFFFF - color white (like an box with this color)
I know that is possible with R, but i don't know how.
Thanks for the advance.
Atenciosamente,
Leandro Lins
2009 Feb 03
1
color and fontfamily in lattice
Hi,
I am having some problems using bwplot(lattice) in my data. I want change some parameters:
1) Fontfamily to serif
2) The size of the font
3) Put it in a bold face
4) Change de color of the lines
How can I do that?! Now, I am using this to plot my boxplot.
dados <- data.frame(varsep=as.factor(rep(1:2,10)),i=runif(20))
2008 Jun 26
2
Read sas7bdat
Hi,
I was reading e-mail about one doubt that you were when you read files
.sas7bdat in R.
Now, I am with the same problem. But I don?t know how can i do that. I have
download de Sas Viewer and i am using this sintax in r:
> read.ssd("X:\\users\\Anresc07","que0411.sas7bdat")
SAS failed. SAS program at
C:\DOCUME~1\leandro\CONFIG~1\Temp\RtmpXR1Tid\file3d6c4ae1.sas
The log
2009 Jun 25
0
Problems with help
Hi,
I was trying to read some help of functions and in all functions I try to see is giving me this error:
> ?write.table
Erro em print.help_files_with_topic("C:/ARQUIV~1/R/R-29~1.0/library/utils/chm/write.table") :
CHM file could not be displayed
Anybody knows what is happening?
Atenciosamente,
Leandro Lins Marino
Centro de Avalia??o
Funda??o CESGRANRIO
Rua Santa Alexandrina,
2010 Jan 04
0
ggplot2 = bar size
Hi,
i am newbie into ggplot and i thow that i have to learn a lot about this package.
I am doing this function to draw an graphic:
library(ggplot2)
posx <- theme_text(angle=45,hjust=1,face='bold',size=12)
posy <- theme_text(angle=0,hjust=1,face='bold',size=12)
y1 <- c(1,4,6,1,8,10,6,1,5,4)
x <-
2009 May 12
2
SAS PROC SORT nodupkey
Hi,
I have the following data and I would like to delete douple names, it is almost similar to SAS PROC SORT nodupkey! Is there any function in R does this?
x1 <- rnorm(11,5,1)
x2 <- runif(11,0,1)
nam <-paste("A", c(1:4,4,5:9,9), sep=".")
mydata <- data.frame(x1,x2)
crownames(mydata) <- nam
Many thanks in advance,
Amor
[[alternative HTML version
2009 Mar 12
1
Removing rows
Hi All,
> act_2
Date Dtime Hour Min Second Rep
51 2006-02-22 14:52:18 14 52 18 useractivity_act
52 2006-02-22 14:52:18 14 52 18 4
55 2006-02-22 14:52:49 14 52 49 4
57 2006-02-22 14:52:51 14 52 51 4
58 2006-02-22 14:52:52 14 52 52 3
60 2006-02-22 14:54:42 14 54
2010 Jan 20
2
R help for read.table()
I've a table containing two columns
seperated by space, as shown below.
S:C 2.011085038928
S:A 21.496800549900762
S:J 0.183181039138149
P:E 9.641984304606304
I'm reading this table inside a loop
but unable to access the first column as file[i,1].
file <-
read.table("data.txt",header=FALSE)
for ( i in 1:nrow(file))
{
cat(file[i,1],":")
pvalue <-
2009 Jun 15
3
Hi
Hi I have a simple question. I want to run a "n times" a simple linear
regession and save beta in a matrix but I´m not able.
Imagine:
Data.txt is a 10*5 file and want to run 4 different stimations always
regressing first column on the rest.
So I try this:
First I run Data on memory
This is my function
mrp <- function(){
mr<-matrix(0,4,1)
for(i in 1:4)
2008 Aug 25
5
How to do a meta-analysis plot
Dear R-list,
I'd like to do a meta-analysis plot similar to
install.packages('rmeta')
require(rmeta)
data(catheter)
a <- meta.MH(n.trt, n.ctrl, col.trt, col.ctrl, data=catheter,
names=Name, subset=c(13,6,5,3,7,12,4,11,1,8,10,2))
summary(a)
plot(a)
(see attached file) by using my own OR (Odds Ratio) and 95% Confidence
Interval data set, which looks like
2006 Jul 15
1
Some problems with latex(ftable)
The ftable structure is not an ordinary matrix. Instead, it has the
body of the table with several cbind- and rbind-ed rows and columns of
label information. The example in ?ftable has two row factors and two
column factors.
Continuing with the example in ?ftable, enter
tmp <- ftable(mtcars$cyl, mtcars$vs, mtcars$am, mtcars$gear, row.vars = c(2, 4),
dnn =
2009 Nov 05
4
collumn error when exporting to Excel
Dear all,
I am attempting to export my results (data.frame) created with the help of a number of you to Excel.
In the procedure my column structure is however lost and all results are placed together into the first Excel column.
I have tried: write(), write.table(), write.matrix(), export() and have the same results. I Have checked the import/export FAQ and did a Google search to no avail.
Any
2012 Jan 26
1
ftable.formula
I apologize in advance if this is the wrong forum for this
report/request, and for the fact that I have not read the code for
ftable.formula in any detail.
>From reading the documentation for ftable.formula, I expected that the
following two calls to ftable would produce the same results:
data(UCBAdmissions)
ftable(UCBAdmissions, row.vars = "Dept", col.vars = c("Gender",
2012 Dec 17
2
Suggestion: 'method' slot for format.ftable()
Dear R-developers,
I would like to suggest a 'method' slot for format.ftable() (see an adjusted
'format.ftable()' below, taken from the source of R-2.15.2).
At the moment, format.ftable() contains several empty cells due to the way the
row and column labels are printed. This creates problems (= unwanted empty
columns/rows) when converting an ftable to a LaTeX table; see an
2011 May 27
1
How to convert an ftable object to a matrix including the row names?
Dear expeRts,
What's the easiest way to convert an ftable object to a matrix such that the
row names of the ftable object are shown in the first couple of columns of the
matrix? This is (typically) required, for example, when the final goal is to print
the matrix via xtable.
Below is a rather complicated example of how to do it...
Cheers,
Marius
## Goal: convert an ftable() to a
2011 Jun 24
1
Converting an ftable (contingency table) to a dataframe in R
I am generating an ftable (by running ftable on the results of a xtabs command) and I am getting the following.
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Var1? Var2
date ? ? ? ? ? ? ? ? group? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
2007-01-01? ? ? ? ? q1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1? ? 9
? ? ? ? ? ? ? ? ? ? ?q2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
2006 Mar 17
1
Wishlist: 'append' argument for write.ftable()
I would like to suggest that an 'append' argument be added to
write.ftable(). This would allow, for example, the user to
append ftable() output to a text report.
I have attached an svn patch to ftable.R that makes the proposed
change to write.ftable(). [A very trivial change since 'append'
is simply passed to cat().]
I have also attached a patch to read.ftable.Rd which documents
2008 Mar 12
1
ftable and xtabs
Hoping someone can help me with xtabs and ftable. I'm trying to get a pair
of ftables (possibly more) next to each other. For example:
> dunhill_lights_xtab<-ftable(xtabs(grossedupobs ~ gender+age_group +
dunhill_lights, data = ciggs))
> dunhill_lights_xtab
dunhill_lights No Yes
gender age_group
Female