Displaying 5 results from an estimated 5 matches for "tempres".
Did you mean:
temples
2010 May 28
2
if negative value, make zero
I have a data frame with both positive and negative values, and I want
to make all the negative values equal zero, so i can eventually take
an average.
I've tried
temp2 <- ifelse(tempr<0, 0, tempr)
but it doesn't seem to work.
Any suggestions?
Thanks!
2004 Nov 02
2
A little more on R, mdbtools and Access databases
Hi again,
I have played a little more with mdbtools and R. I downloaded the
latest version of mdbtools from sourceforge (version 0.6pre1). Quickly
scanning the mailing list suggests that ODBC seems to work with PHP
but I have not been able to get it to work with R. I can make a
connection to the database and when I do a query I get back the names
of the rows but not the data. I must admit I have
2008 Aug 13
5
subsetting matrix according to columns with character index
Hi,
I have a long matrix of the following form which I would like to subset according to the third column:
[x y z]:
a1 c1 1
a1 c1 2
a2 c1 1
a1 c2 1
a1 c2 2
. . .
The first two columns a characters ai and cj.
I would like to keep all the rows where there are two entries for z, 1 and 2.
That is, I want:
a1 c1 1
a1 c1 2
a1 c2 1
a1 c2 2
. . .
I try to use something like
1998 Oct 13
1
Assembler messages?
Up to now I have got the base R and about half of the packages
working on SuSe Linux 5.3 using gcc, g77 and xdevel.
The other half, for example: pspline, logspline, KernSmooth, akima,
tripack, ppr, principal.curve, cluster, funfit, repeated, event, etc.,
just won't install.
Some of them give warnings at expressions in subroutines (repeated,
event, pspline,etc.. I will ask about this in
1998 Oct 13
1
Assembler messages?
Up to now I have got the base R and about half of the packages
working on SuSe Linux 5.3 using gcc, g77 and xdevel.
The other half, for example: pspline, logspline, KernSmooth, akima,
tripack, ppr, principal.curve, cluster, funfit, repeated, event, etc.,
just won't install.
Some of them give warnings at expressions in subroutines (repeated,
event, pspline,etc.. I will ask about this in