Displaying 20 results from an estimated 200 matches similar to: "ggplot2 = bar size"
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,
2005 Oct 06
3
playing with R: make a animated GIF file...
Hello all
I am playing with R for to make a animated GIF.
any suggestions, improvements are welcome :-)
case somebody could help me, i thanks!
Cleber N. Borges ( klebyn )
my objective:
(steps TODO)
-------------------
1) to save PNG files;
-----> i don't know the best way to make this;
2) transform the PNG files into GIF files (easy! no problem! ... i
think ...)
3)
2003 Apr 10
1
Starcraft Patch
I've done some work getting the patches from
http://starcraft-wine.sourceforge.net/ working with CVS wine. Using the
patch I'm including, starcraft works perfectly on my machine, run as
root using DGA on a 640x480 XF86 layout.
In particular the changes to event.c enable the mouse and keyboard with
DGA. The changes to input.c make the mouse acceleration work the same
in all directions.
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
2008 Jul 02
1
exporting ftable
How can I export an ftable object in the same format that appears in R
command window?
For testing that i was using this example that is in help of this function.
## Start with a contingency table.
ftable(Titanic, row.vars = 1:3)
ftable(Titanic, row.vars = 1:2, col.vars = "Survived")
ftable(Titanic, row.vars = 2:1, col.vars = "Survived")
## Start with a data frame.
x <-
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
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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)
2018 Apr 12
3
Bivariate Normal Distribution Plots
R-Help
I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ...
# Standard deviations and correlation
sig_x <- 1
sig_y <- 1
rho_xy <- 0.0
# Covariance between X and Y
sig_xy <- rho_xy * sig_x *sig_y
# Covariance matrix
Sigma_xy <- matrix(c(sig_x ^ 2, sig_xy, sig_xy, sig_y ^ 2), nrow = 2, ncol = 2)
2009 Jun 04
0
[LLVMdev] Structure Alignment
Hi,
I have a problem using structs, when calling a function written in C from
a LLVM function or calling a LLVM function from a C one.
I noticed that the LLVM align double with 4 bytes and our run time routines
use 8, in MS Windows.
If a use #pragma pack(4) in my C programs, the routines run fine, but
I must ensure that all external call should use the #pragma directive.
If I change the llvm
2009 Jun 04
1
[LLVMdev] Structure Alignment
struct xfirstStru
{
int var1;
double var2;
int var3;
char *var4;
};
%FIRSTSTRU_PLUSPLUS_TOTVS. = type { i32, double, i32, i8* }
Hi,
I had not applied the layout at run time, only during the emission of the .bc.
Now it's running ok when I allocate the structure point at LLVM side, but, when I allocate the structure pointer in the C
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
2008 Jul 03
1
Migrating from S-Plus to R - Exporting Tables
Does something like this get you close:
x <- list()
keys <- LETTERS[1:6]
# create
for (i in keys){
x[[i]] <- data.frame(a=1:5, b=1:5, c=1:5)
}
# output
output <- file('tempxx.txt', 'w')
for (i in keys){
write.table(i, row.names=FALSE, col.names=FALSE, file=output, quote=FALSE)
write.table(x[[i]], file=output, quote=FALSE)
}
close(output)
On Wed, Jul 2,
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
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