Displaying 6 results from an estimated 6 matches for "mcnda839".
2009 May 16
3
How to save R "clean" sessions in BATCH mode?
Thanks a lot for all of you that have reply me about opening and
ending R workspaces in BATCH mode. However replies were a king general
and I?m afraid I could not take the entire message from them.
Therefore I chose to expose here a representative fraction of my work.
I have 50 Rdata files (F1,F2,F3,F4,
,F50) with objects inside.
I need to:
open F1:
- perform some simple operations
2009 Apr 03
2
Basic doubts on the use of several script files in R batch mode
I already searched for information regarding the batch file operations
within R. But I could not locate the information I need.
Basically I have a doubt regarding the procedures on the batch use of
several script files (*.R).
How can I do this?
How can I define the order of files?
My intention is to programme openings, math operations and savings of
*.Rdata sessions, but in a sequential
2008 Aug 21
1
[dist]how to analise a large matrix?
Hi all,
I have a matrix of about 100.000?x 4?that I need?to classify using
euclidean metric. For that I am using dist?or daisy functions, but I
am afraid that the message: Error in vector("double", length) : vector
size specified is too large, means too much lines.
Can anyone suggest me how should I analyse this matrix?
Thanks in advance,
Diogo Andr? Alagador
MNCN,CSIC, Madrid, Spain
2008 Nov 06
2
comparing matrices using max or min
Dear all,
I have 3 matrices with the same dimension, A,B,C and I would like to produce
a matrix D where in each position would retrieve the max(or min) value along
A,B,C taken from the same position.
I guess that apply functions should fit, but for matrices objects I am not
getting it.
thanks in advance,
Diogo André Alagador
[[alternative HTML version deleted]]
2008 Mar 02
1
an efficient pairwise matrix cell's comparison function
To all,
I am undergoing an analysis involving big matrices of about 30000x200 which
I have to handle in a more efficient way. So I would like some advice to
build such efficient function to deliver the following result:
- starting with 2 matrices of the same dimension (eg. A and B)
0 0 3 5 6 0 0 5
A= 0 0 6 4 B= 0 4 3 5
2008 Oct 31
4
[ifelse] how to maintain a value from original matrix without probs?
Dear all,
I have a matrix with positive and negative values.
>From this I would like to produce 2 matrices:
1st - retaining positives and putting NA in other positions
2nd - retaining negatives and putting NA in other positions
and then apply rowMeans for both.
I am trying to use the function ifelse in the exemplified form:
ifelse(A>0,A,NA)
but by putting A as a 2nd parameter it