Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

15 results for “from:michaelyb”

Use quotes on a FOR LOOP R
michaelyb · Apr 24, 2012 · r-help

Mercier - That is it! Thank you vey much! -- View this message in context: http://r.789695.n4.nabble.com/Use-quotes-on-a-FOR-LOOP-R-tp4584438p4584627.html Sent from the R help mailing list archive at Nabble.com.

Using a FOR LOOP to name objects
michaelyb · Feb 29, 2012 · r-help

Michael - thank you so much! Just what I needed! -- View this message in context: http://r.789695.n4.nabble.com/Using-a-FOR-LOOP-to-name-objects-tp4430454p4433903.html Sent from the R help mailing list archive at Nabble.com.

understanding the FUNCTION function
michaelyb · Apr 26, 2012 · r-help

Any solution for that type of problem? I did read the ?"<<-", and seems very similar to the "assign" function, if I am not mistaken.... -- View this message in context: http://r.789695.n4.nabble.com/Using-FUNCTION-to-create-usable...

Filling empty List in a FOR LOOP
michaelyb · Apr 1, 2012 · r-help

Ok. I appreciate your help. i don't understand what you guys mean by "reproducible example", if you explained better, I will be more than glad to post it. Regards, -- View this message in context: http://r.789695.n4.nabble...

understanding the FUNCTION function
michaelyb · Apr 26, 2012 · r-help

Ista, Since you seem to know your stuff very well, how would you get 120 out of a function that gives you the factorial of 5, without using factorial(5)? > Meanwhile, look at this example instead: > fac<-function(x){a...

Filling empty List in a FOR LOOP
michaelyb · Apr 1, 2012 · r-help

Basically I need to read the data from an external source using many R commands. The problem is that sometimes the source is empty, and I get a list with empty values, and I need to substitute them by "NA...

gWidgets - gtable returning multiple values
michaelyb · Jun 14, 2012 · r-help

To whoever is looking for the same thing as I was, I found a solution, or sort of. Here is the code: flavors<-c("vanilla", "chocolate", "strawberry") w <- gwindow("checkbox example") gp <- ggroup(container=w) glabel("Favorite flavors:",cont=gp...

gWidgets - gtable returning multiple values
michaelyb · Jun 13, 2012 · r-help

Hello, I am having some trouble finding a solution for a probleIm I am facing with the package gWidgets. Here is the code: flavors<-c("vanilla", "chocolate", "strawberry") f<-function(h,...)print(svalue(h$obj)) w <- gwindow("checkbox example") gp...

understanding the FUNCTION function
michaelyb · Apr 26, 2012 · r-help

David - My question to you may sound (actually, it really is) silly, but please do take your time to answer it. What is the difference between: fac<-function(x){a<-1 for (i in 1:x){ a<-a*i }a...

Getting reliable financial ratios
michaelyb · May 15, 2012 · r-help

Hello all, I am having some trouble finding a good csv file or even any kind of table with the financial ratios (i.e. P/E ratio, ROI, ROA etc.) from the Internet. I was able to find a good...

understanding the FUNCTION function
michaelyb · Apr 25, 2012 · r-help

Hello, I am trying to understand why the FUNCTION used in several codes, won't create the object after it finishes running the code. For instance, look at the following: Number<- function(x) {MyNumberIs<-x} When I run Number(5...

Using a FOR LOOP to name objects
michaelyb · Feb 28, 2012 · r-help

Hello, I am trying to use a for loop to name objects in each iteraction. As in the following example (which doesn't work quite well) my_list<-c("A","B","C","D","E","F") for(i in c(1...

understanding the FUNCTION function
michaelyb · Apr 26, 2012 · r-help

Peter, your solution is actually very interesting. I have never seen or heard of before. I will look into it. Meanwhile, look at this example instead: fac<-function(x){a<-1 for(i in 1:x){ a<-a*i print...

Use quotes on a FOR LOOP R
michaelyb · Apr 24, 2012 · r-help

Hello All! I need some help to get a FOR LOOP to print the interactor with the quotation mark. Let me be more specific: I have the following: cbind("Michael","Dana","Rob")->LIST outcome: [,1] [,2] [,3] [1,] "Michael" "Dana...

Filling empty List in a FOR LOOP
michaelyb · Mar 31, 2012 · r-help

Hello all, I am trying to automate a list to be filled in a FOR LOOP. Basically I need to load info from a third source and store it into a list. This list goes to object "A"; The next...

Can't find what you're looking for? Try searching with Google .