Displaying 20 results from an estimated 223 matches for "alaio".
Did you mean:
alain
2010 Nov 17
2
How to catch warnings
Hello when my code executes I receive the message that were some warnings. I want to catch warning messages at run time so to print some local variables and try to understand why this warning happens.
I searched on internet and I tried withCallingHandlers(
which seems to work but as I used Rkward the result is awful. I get a prompt to copy paste a value only while at the same time my background
2012 Jul 30
6
Convert variable to STring
Dear all,
I have a variable that I would like also to use it as a string. The reasons is that I want to collect results from different function to one table.. So when I use the
colnames(mymatrix) <-c(function1.function2,function3)
the function1, function2, function3 to be "converted" to simple strings so as
colnames(mymatrix)
2011 Jan 26
0
Fwd: MAtrix addressing
Begin forwarded message:
> From: David Winsemius <dwinsemius at comcast.net>
> Date: January 26, 2011 8:32:30 AM EST
> To: Alaios <alaios at yahoo.com>
> Subject: Re: [R] MAtrix addressing
>
>
> On Jan 26, 2011, at 7:58 AM, Alaios wrote:
>
>> Unfortunately right now is convoluted... by I was trying to find
>> some solution.
>> Bring again this picture in front of u
>> http://img...
2010 Nov 18
3
Sample covariance matrix in R
Hello everyone.
I would like to find the sample covariance matrix using R.
So far I read on the wikipedia what a sample_covariance is
http://en.wikipedia.org/wiki/Sample_covariance
according to wikipedia one vector is enough to calculate the sample covariance matrix.
In R I tried cov(myvector) and I get the reply that I need to pass either two argument or one matrix with x,y values .
How can I
2011 May 28
2
reduce printing accuracy
Dear all,
I would like to print a few values with less digits than the default.
How I can reduce how many digits are printed ?(warning: not the real integer resolution but what is shown in screen)
Best Regards
Alex
2010 Oct 26
5
Zoom in in a plot
in a simple plot. When i do plot is it possible to zoom in or out or this is not
possible at all?
Best Regards
Alex
[[alternative HTML version deleted]]
2013 Mar 06
2
lm and Formula tutorial
Dear all,
I was reading last night the lm and the Formula manual page, and 'I have to admit that I had tough time to understand their syntax. Is there a simpler guide for the dummies like me to start with?
I would like to thank you in advance for your help
Regards
Alex
[[alternative HTML version deleted]]
2005 Jun 29
6
statistics + c code
Good morning :)
I want to use some c code to read statistics as well
as the configured settings ... .. Just give me some
links for starting reading :)
Have a nice day
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
2011 Mar 08
4
Make R 'Beep'
Dear all,
I would like to ask you if R can produce any kind of sound. It would be useful when code execution stops R to notify me by playing some sound.
Is that possible in R?
I would like to thank you in advance for your help
Best Regards
Alex
2011 May 09
3
Recursive Indexing Failed
Dear all,
I would like to ask your help concerning an error message I get.
I have the following struct
str(CRagentInTime[[1]])
List of 2
$ timelag: int 0
$ CRagent:List of 50
..$ :List of 3
.. ..$ CRmap: num [1:256, 1:256] NA NA NA NA NA NA NA NA NA NA ...
.. ..$ xy : num [1:2] 10 177
.. ..$ sr : num [1:49] -94.9 -92.8 -79.5 -97.6 -78.4 ...
and I wanted to select all the sr fields
2011 Dec 08
3
simple fit
Dear all,
I have a formula of the form
y=ax+b
I know everything except b. How I can ask R to do fitting to find only the value of b?
I already know the lm() but it always return both an intercept point (b) and the a.
What should I do ?
I would like to thank you in advance for your help
B.R
Alex
[[alternative HTML version deleted]]
2012 Mar 03
4
Sliding a Window in R
Dear all,
I am having a vector of around 300.000 elements and I Want to slide fast a window from the first element until the last-Windowsize
what I have so far is the following for statement:
for (i in 1:(length(data[,1]) - windowSize)) {
out[i] <- mean(data[i:(i + windowSize - 1), ])
elements[i]<-length(i:(i + windowSize - 1))
}
but this of course takes ages to
2012 Mar 07
3
GPS handling libraries or (String manipulation)
Dear all,
I would like to ask you if R has a library that can work with different GPS formats
For example
I have a string of this format
N50° 47.513 E006° 03.985
and I would like to convert to GPS decimal format.
that means for example converting the part N50° 47.513
to 50 + 47/60 + 513/3600.
Is it possible to do that with R?
What is the name of such a library?
I would like to thank you in
2011 Dec 02
3
find and replace string
Dear all,
I would like to search in a string for the second occurrence of a symbol and replace the symbol after it
For example my strings look like
sta_+1+0_field2ndtry_0000$01.cfg
I want to find the digit that comes after the second +, in that case is zero
and then over a loop create the strings below
sta_+1+0_field2ndtry_0000$01.cfg
sta_+1+1_field2ndtry_0000$01.cfg
2006 Jun 23
4
Limit my bandwidth
Hi i am sharing my connection in my office with my partners ... I want to limit my connection to 20kilobyte but i dont know how to do that :(
Can u plz hep me ?
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
2010 Nov 20
2
Merge two ggplots
Hello everyone.
I am using ggplot and I need some help to merge these two plots into one.
plot_CR<-function(x,y,agentid,CRagent){
library(ggplot2)
agent<-CRagent[[agentid]] # To make following expression shorter
ggplot((data.frame(x=CRX,y=CRY,sr=agent$sr)))+
geom_point(aes(x,y,colour=cut(sr,c(0,-10,-20,-30,-40,-50,-60,-70,-80))))+
geom_text(aes(x,y,color=cut(sr,
2011 Apr 27
6
Assignments inside lapply
Dear all I would like to ask you if an assignment can be done inside a lapply statement.
For example
I would like to covert a double nested for loop
for (i in c(1:dimx)){
for (j in c(1:dimy)){
Powermap[i,j] <- Pr(c(i,j),c(PRX,PRY),f)
}
}
to something like that:
ij<-expand.grid(i=seq(1:dimx),j=(1:dimy))
unlist(lapply(1:nrow(ij),function(rowId) { return
2010 Sep 16
4
help me understand how things work.
Hello I have some strange output from R and I try to understand how R works.
Could you please help me with that?
temp <- rbind (c(10,1),c(99,98))
> temp
[,1] [,2]
[1,] 10 1
[2,] 99 98
> dist(temp)
1
2 131.6435
> sqrt(dist(temp))
1
2 11.47360
so far so good.
until the nex line: when I try to do what i did before but adding the 1/(what I
did
2013 Feb 14
2
Plot a Matrix as an Image with ggplot
Dear all,
I am trying to plot a matrix I have? as an image
str(matrixToPlot)
?num [1:21, 1:66] 0 0 0 0 0 0 0 0 0 0 .
?that contains only 0s and 1s,
where the xlabel will be Labeled as
str(xLabel)
?num [1:66] 1e+09 1e+09 1e+09 1e+09 1e+09 ...
and the yLabels will be labeled as
str(yLabel)
?num [1:21] -88 -87 -86 -85 -84 -83 -82 -81 -80 -79 ...
I have found on the internet that I can do
2011 Feb 02
2
Help me apply mapply
Hello all I would like to ask your help use mapply.
I have a function called findCell that takes two arguments(x,sr)
where x is a vector of size two (e.g x<-c(2,3) and sr is a matrix.
I would like to call many times the findCell function (thus I need mapply) for different x inputs but always for the same sr.
as x is a vector of size two (two cells) I want to pass inside inside the following