Displaying 7 results from an estimated 7 matches for "c18g".
Did you mean:
18g
2004 Dec 17
1
reshape and split
Dear R-users,
I am trying to reshape the DF "dat2" in the "long" format,
but can't figure out how to use the "split"-option:
> dat2
a.1995.z b.1995.z a.1996.z var
1 100.00000 100.00000 100.00000 Neue Anlagen insgesamt
2 40.09904 23.60890 40.88960 Neue Ausr??stungen
3 59.90096 76.39110 59.11040 Neue Bauten
This
2007 Nov 16
0
Odp: R: ave and quantile
Hi
Patrick Hausmann <c18g at uni-bremen.de> napsal dne 15.11.2007 18:59:06:
> Hello Petr,
>
> one question solved, the next is standing in front of me... If you
> have a minute to look .... great!
>
> > x
> V1 V2 F1
> 1 A 2 0.1552277
> 2 A 3 0.1552277
> 3 A 4 0.155227...
2005 Jun 22
10
How to read an excel data into R?
Hi all,
Does anybody know the easiest way to import excel data into R? I copied
and pasted the excel data into a txt file, and tried read.table, but R
reported that
Error in read.table("data_support.txt", sep = " ", header = T) :
more columns than column names
Thanks!
Ling
2007 Nov 23
0
R users in Cyprus
...rwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
</FONT></DIV>
------------------------------
Message: 6
Date: Wed, 21 Nov 2007 12:59:42 +0100
From: Petr PIKAL <petr.pikal at precheza.cz>
Subject: [R] Odp: ave and sd
To: Patrick Hausmann <c18g at uni-bremen.de>
Cc: r-help at r-project.org
Message-ID:
<OF912463EB.5AFB29F4-ONC125739A.0040F30A-C125739A.0041E265 at precheza.cz>
Content-Type: text/plain; charset="US-ASCII"
Hi
r-help-bounces at r-project.org napsal dne 21.11.2007 10:45:55:
> Dear list,
>
&...
2007 Nov 21
1
ave and sd
Dear list,
I'm still trying to calculate the sd for V2 for
each group in V1 if V3 is '0':
> x
V1 V2 V3
1 A01 2.40 0
2 A01 3.40 1
3 A01 2.80 0
4 A02 3.20 0
5 A02 4.20 0
6 A03 2.98 1
7 A03 2.31 0
8 A04 4.20 0
# Work
x$vmean <- ave(x$V2, x$V1, x$V3 == 0, FUN = mean)
# Work
x$vsd2 <- ave(x$V2, x$V1, FUN = sd)
# Doesn't work
x$vsd <- ave(x$V2, x$V1, x$V3
2011 Oct 26
1
Calculate the difference using ave
Dear R users,
It may be very simple but it is being difficult for me.
I'd like to calculate the difference in percent between to measures.
My data looks like this:
set.seed(123)
df1 <- data.frame(measure = rep(c("A1", "A2", "A3"), each=3),
water = sample(c(100:200), 9),
tide = sample(c(-10:+10), 9))
df1
# What I want to calculate is:
2012 Jun 02
2
Add a dim to an array
Dear list,
I'm trying to add a new dim to a multidimensional array. My array looks
like this
a1 <- array(1:8, c(2, 2, 2))
dimnames(a1) <- list(A = c("A1", "A2"),
B = c("B1", "B2"),
D = c("D1", "D2"))
I would like to add a new dim 'group' with the value "low".