Displaying 10 results from an estimated 10 matches similar to: "Barplot help"
2008 Jul 09
1
outlining symbol in legend with blackline
# I would like to outline the squares in the legend with a black line. Does
anyone know how to do this?
x.t <- structure(c(5987.387, 4354.516, 3685.789, 6478.592, 5924.315,
NA, 8386, 5559.468, NA, 4651.273, 3967.5, NA, 4339.167, 5053.56,
NA, 4631.978, 4808.694, NA, 5217.306, 4017.632, NA, 5846.903,
3969.883, NA, 3867.825, 3910.236, NA, 3886.434, 3782.094, NA,
3959.668, 3961.286, NA, 3848.853,
2010 Nov 17
3
stacking consecutive columns
I have a file, each column of which is a separate year, and each row of each column is mean precipitation for that month. Looks like this (except it goes back to 1964).
month X2000 X2001 X2002 X2003 X2004 X2005 X2006 X2007 X2008 X2009
1 1.600 1.010 4.320 2.110 0.925 3.275 3.460 0.675 1.315 2.920
2 2.960 3.905 3.230 2.380 2.720 1.880 2.430 1.380
2013 Apr 22
2
subset dataframe
I can't understand what is happening. This is the code and results:
> agoa <- read.table(file = "C:/Users/HTPC/Documents/_Documents/Research/WithDidia/AGOAUSImports.txt", header = T, sep = "\t", dec = ".", na.strings = "NA", stringsAsFactors = T)#
> str(agoa); names(agoa)
'data.frame':109 obs. of 19 variables:
$ X : Factor w/ 39
2009 Jun 12
2
Sweave recode(car) and Lyx, compiling but not executing on Mac
I am just beginning to use Sweave with Lyx on a Mac (R2.8.1). I have
12 chunks of Sweave code that work fine, but this piece:
<<>>=
library(car)
2012 Jan 13
1
apply transformation
Hello All,
I have the following dataset:
Year 2006 2007
Jan Jan 0.0204 0.0065
Feb Feb 0.0145 0.0082
Mar Mar 0.0027 0.0122
> dput(d_tmp)
structure(list(Year = c("Jan", "Feb", "Mar"), `2006` = c(0.0204,
0.0145, 0.0027), `2007` = c(0.0065, 0.0082, 0.0122)), .Names =
c("Year",
"2006", "2007"), row.names = c("Jan",
2012 Nov 07
8
Aggregate data frame across columns
Folks,
I have a data frame with columns 200401, 200402, ..., 201207, 201208.
These represent years/months. What would be the best way to sum these columns by year? What about by quarter?
Thanks for your time,
KW
--
[[alternative HTML version deleted]]
2008 Aug 17
1
Allocated Memory Warnings in Vista 32 bit with 4 GB (PR#12557)
Hello
I am running Windows Vista 32 with 4 GB (installed, though Windows of cours=
e only recognizes 3326 MB, as reported by Windows "My Computer")
I am running R 2.7.1
I was trying to read in a comma delimited single column CSV file, assign th=
at file to a variable ("data") and then extract a sample (assigned to "part=
ial"). I was getting memory allocation
2014 Apr 28
2
pregunta
Estimados
¿Cómo puede emitirse un comando para leer estos datos así como están? , yo
solo lo sé hacer cuando unos están detrás de otros en una sola columna .
Saludos
José
--
Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el
2006 Oct 27
3
How to best divide table by table
Hi all,
how can I divide two tables of the same dimension so that all names are
preserved, ie do not become NA? I have "tab1" and "tab2", each having
names in the first column. I want "tab3" with the same names and values
"tab1/tab2".
Thanks,
Serguei
2008 Aug 18
0
Allocated Memory Warnings in Vista 32 bit with 4 GB (PR#12560)
I see no bug here. R is telling you that you have insufficient memory
available: see also ?"Memory-limits".
See also rw-FAQ Q2.9.
Note that we don't have a reproducible example and in particular have no
idea of how many columns this data frame has.
The 'R Data Import/Export' manual gives you many hints on how to do this
more efficiently, and it is referenced from the