t;correct" result:
NUM_A NAME_A
1 1 Andy
2 2 Andrew
3 3 Angus
4 4 Alex
5 5 Argo
NUM_B NAME_B
2 2 Barn
3 3 Bolton
4 4 Bravo
NUM_C NAME_C
1 1 Candy
3 3 Cecil
4 4 Crayon
5 5 Corey
NUM_D NAME_D
1 1 David
2 2 De
rect assignment like myData$xDate2 <- seq(xDate
- 5, xDate + 5, by="day") and the like, but without result.
Any idea is appreciated.
Thanks much,
Ferry
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
c c1 11 31
7 c c2 39 99
8 c c3 15 35
9 d d1 16 36
10 d d2 17 37
11 d d3 18 38
12 d d4 39 79
In any case, did I do something wrong using the aggregate function?
Thanks,
Ferry
On Thu, Mar 19, 2009 at 6:09 PM, Ferry wrote:
> Hi,
it to my real data, it failed. It seems that
aggregate require more memory that I have currently (I am using WinXP,
R2.8.0, 2GB RAM).
Basically I want to perform aggregate sum on my numeric fields (in the above
case, n1 and n2) based on condition of v1 and v2.
Problem is, I have a lot more of than
Sorry, the data is:
temp <- data.frame(type1 = c("male", "female", "male", "female", "female"),
type2 = c("low", "med", "high", "low", "med"), a = c(1,2,4, NA, 3), b =
c(5,NA,5,1,2), c = c(0,
w 1 5 0
2 female med 2 0 0
3 male high 4 5 1
4 female low 0 1 1
5 female med 3 2 0
I've been trying with which() but without success.
Any pointer is appreciated.
Thank you,
Ferry
[[alternative HTML version deleted]]
Hi,
Is there a package I can use to write to multiple sheets on xls file,
other than using the paid version of xlsReadWrite package
(xlsReadWritePro)?
Thank you,
Ferry
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
how to do so in R.
I tried all.equal, diff, and identical, but they don't give me the
actual data difference.
Thank you beforehand,
Ferry
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
"pre_test p-value:",
each_pretest$p.value, sep = ""))
print(paste(each_group, "post_test p-value:",
each_pretest$p.value, sep = ""))
}
and the same thing with t-test.
Any idea is appreciated.
Thank you.
Ferry
__
12345,23456,34567
Jane 13242,22123
Any idea/pointer is appreciated.
Thanks a bunch,
Ferry
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
gt; newrows[,"myID"] <- "+"
> rbind ( DF2, newrows)
>
>
>
>
>
> - Original message -
> From: "Gabor Grothendieck" <[EMAIL PROTECTED]>
> To: "Ferry" <[EMAIL PROTECTED]>
> Cc: r-help@r-project.org
> D
12.0
> Single.2 b Single 15.0 25.0 35.0
> Single.myNum1 Single 12.5 18.0 23.5
>
>
> On Fri, Dec 5, 2008 at 3:21 PM, Ferry <[EMAIL PROTECTED]> wrote:
> > Dear R users,
> >
> > Suppose I have the following data.frame:
> >
>
6 8
fDouble 13 19.5 28
Any idea is appreciated. Thanks beforehand.
Ferry
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
that I am not accustomed (which is very like, since I am such
as newbie with R, much less with R-graphics).
Any idea is appreciated,
Thanks,
Ferry
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch
;(^[[:punct:]]+)"
but it doesn't work.
or, possibly it just my stupidity ?
On Mon, Nov 3, 2008 at 5:59 PM, John Fox <[EMAIL PROTECTED]> wrote:
> Dear Ferry,
>
> You're almost all the way there. Just apply each substitution in turn:
>
> varReg <- "* &
h gsub, as below:
patReg <- "([ >* ]+)"
gsub(patReg, '', varReg)
but it returned "thisismytext"
any idea is appreciated.
thanks,
ferry
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Thank you Deepayan.
Still on lattice, can the same overlap function be applied to categorical
variable plot such as barchart? I mean, can I create an overlap barchart
plot?
On Tue, Oct 28, 2008 at 5:41 PM, Deepayan Sarkar
<[EMAIL PROTECTED]>wrote:
> On Tue, Oct 28, 2008 at 4:31
key = TRUE)
Instead of having 2 * 3 panel, I want to have just 3 panel, overlapping the
"Mode" into the same panel.
I tried the following:
histogram( ~Value | AgeGroup, data = stuff, groups = Mode, auto.key = TRUE)
but I think it gave me incorrect result.
Any help is appreciated.
Dear Deepayan, Haris, and Baptiste,
Thank you !!!
Ferry
On Tue, Oct 14, 2008 at 10:06 AM, Deepayan Sarkar <[EMAIL PROTECTED]
> wrote:
> On 10/13/08, Ferry <[EMAIL PROTECTED]> wrote:
> > Dear R users,
> >
> > How to change lattice panel label/text from the a
Dear R users,
How to change lattice panel label/text from the automatically generated
label (based on the conditioning) to our own set of label?
for example:
someStuff <- data.frame(area = rep(c("SOUTH", "NORTH", "EAST", "WEST"), each
= 25),
group = rep(c("A","B","C","D"), each =
Hello,
I have 4 data frames, say A, B, C, D. Each A, B, C has different columns
set, and D has all of what A, B, and C have.
So, here is the example:
A has c1, c2, and c3
B has c4 and c5
C has c1, c5, and c6
D has c1, c2, c3, c4, c5, and c6.
I want to load these data frames into an Oracle SQL ser
x[!(x %% 2 == 0)]
On Thu, Jul 31, 2008 at 10:01 PM, Gundala Viswanath <[EMAIL PROTECTED]>wrote:
> Dear all,
>
> How can I remove the even number from the following vector
>
> > x
> [1] 4 5 6 8 17 20 21 22 23 25 26 31 35 36 38 40 41 42
> 43
> [20] 44 50 74 75 82 84 89
Hi,
I want to plot something the R opens. I created .First as follow:
.First <- function() {
plot(rnorm(100))
# do other stuff
}
But instead, I got error like below:
Error in .First() : could not find function "plot"
Any idea?
Thanks.
[[alternative HTML version deleted]]
, then I would
like the second gdroplist automatically populated with state that belong in
the category of MidWest for further selection.
Is this possible with pmg in R?
I've tried reading all available manual and examples, but could not find
similar case.
Thank you,
Ferry
[[altern
24 matches
Mail list logo