similar to: for loop

Displaying 20 results from an estimated 3000 matches similar to: "for loop"

2009 Apr 29
3
mode(x) <- "double"
Hi, I need your help!! I imported a big coloumn vector from a txt file but it results as mode :"list" I want to change it in numeric otherwise I can't do my analysis. This is what i get: mode (data) <- "double" Error in eval(expr, envir, enclos) : (list) object cannot be coerced to type 'double' > Thanks a lot!!! Alessandra -- View this message in
2009 Jun 29
2
re moving value from a vector
Hallo, I have a vector of several iterations and I have to remove /filter out all the values < than 10, how can I do this? Thanks a lot Alessandra -- View this message in context: http://www.nabble.com/removing-value-from-a-vector-tp24250608p24250608.html Sent from the R help mailing list archive at Nabble.com.
2009 Jul 07
2
rle
Hallo, I have an other problem, I have this vector signData with an alternation of 1 and -1 that corrispond to the duration of two different percepts. I extracted the durations like this: signData<- scan("dataTR10.txt") dur<-rle(signData)$length Now I would like to extract only the positive duration, e.g. signData <- c(1,1,1,1,-1,-1,-1,1,1,-1,-1) posduration <- c(4,2) I
2008 Feb 04
2
maybe a bug in the system.time() function? (PR#10696)
Full_Name: Alessandra Iacobucci Version: 2.5.1 OS: Mac OS X 10.4.11 Submission from: (NULL) (193.48.71.92) Hi, I am making some intensive simulations for the testing of a Population Monte Carlo algorithm. This involves also a study of the CPU times in two different case. What I am trying to measure is the "real" CPU time, the one which is independent on the %CPU. I'm using the
2009 Jul 03
3
Histogram
Hallo, How can I have the control of the width of each bin in the histogram? I would like to plot my data modifying the number and the width of the bins. Is there a good pdf or manual where i can learn to use the plot/hist in R very well? I find the help not always clear Thanks a lot Ale -- View this message in context: http://www.nabble.com/Histogram-tp24325261p24325261.html Sent from the R
2012 Mar 13
2
beginner's loop issue
Dear All, I hope you don't mind helping me with this small issue. I haven't been using R in years and I'm trying to fill in a matrix with the output of a function (I'm probably using the Matlab logic here and it's not working). Here is my code: for (i in 1:length(input)){ out[i,1:3] <- MyFunction(input[i,1],input[i,2], input[i,3]) out[i,4:6] <-
2007 Sep 14
1
Print to file
Hello list I'M new I need help about print to file How i can Print more table in a file (in append) using xtable and print functions? Tanks Alessandra
2005 Mar 22
2
bottlenecks
Hi I must to estimate the* performance. I am try to understand which can be the eventual bottlenecks. Have you some suggestion? Can you to signal to me some problems? Thanks Alessandra
2007 Oct 08
5
Specify plot size
Hello, I have another (possibly easy) question: How to specify the size of a plot? When I draw a plot, I can freely change the size of the window, which is nice for single plots to find the best height/width ratio, but as I need a lot of plots in my work, I want to look them all the same, so I need to specify the size in advance. Thanks for help, Christoph
2007 Aug 24
4
perception of graphical data
Hello, I apologize that this is off-topic. I am seeking information on perception of graphical data, in an effort to improve the plots I produce. Would anyone point me to literature reviews in this area? (Or keywords to try on google?) Is this located somewhere near cognitive science, psychology, human factors research? For example, some specific questions I have are: I recall as a child
2007 Aug 08
3
Subject: Re: how to include bar values in a barplot?
Greg, I'm going to join issue with your here! Not that I'll go near advocating "Excel-style" graphics (abominable, and the Patrick Burns URL which you cite is remarkable in its restraint). Also, I'm aware that this is potential flame-war territory -- again, I want to avoid that too. However, this is the second time you have intervened on this theme (previously Mon 6
2009 May 10
1
Function recommendation for this study...
Hi, I'm not used to thinking along these lines, and wanted to ask your advice: Suppose you have a sample of around 100, consisting of patients according to doctors, in which patients and doctors are given a questionnaire with categorical responses. Each patient somehow has roughly 3 doctors, or 3 rows of data. The goal is to assess by category of each question or DV the agreement between
2007 Aug 04
2
Invert Likert-Scale Values
Hi! I am using R to process some community survey data. Several item responses are recorded via a 7-point Likert-Scale. As I have coded the responses, 1 represents high agreement, and 7 high disagreement. This of course impacts the coefficients in a linear regression (of example agreement to self-perception measures on housing satisfaction). For some purposes, in order to make the coefficients
2011 Feb 01
3
[LLVMdev] Official git mirroring of llvm, clang, lldb, test-suite, etc.?
On Jan 31, 2011, at 7:27 PM, Óscar Fuentes wrote: >> >> If one is not supposed to use svn (the official blessed >> LLVM SCM) on "our side," pray tell, what _are_ we supposed to use? > > Because LLVM chose to use svn at some point on the past (when > distributed tools were not so mature and undestood as they are now) and > because there is no enough
2016 Apr 16
0
Mean of hexadecimal numbers
On 16/04/2016 8:47 AM, Atte Tenkanen wrote: > Hi, > > How would you calculate the "mean colour" of several colours, for > example c("#FF7C00","#00BF40","#FFFF00")? > Bert answered your subject line question. Your text is asking something else: if those are colours, you don't want to treat each of them as a single integer. A
2009 Apr 15
3
Kruskal's MDS results
Dear List, I'm trying to interpret the results of the Kruskal's Non-metric Multidimensional Scaling algorithm (isoMDS, MASS package). The 'goodness of fit' is reported as "The final stress achieved (in percent)". What does this mean exactly? I've tried to google for an answer but I've not come up with a definitive answer. Regards, Dieter -- Dieter Vanderelst
2005 Mar 07
2
Setting up asterisk with current PBX?
We currently have a Toshiba Perception EX and I would like to start moving toward VOIP. Is there anyway we can run these two systems in parrallel? Better yet, is there anyway we can run fully on asterisk using the current PBX hardware? The current PBX has a mix of analog, digital and electronic cards in it. I tried to google for advice but I didn't find anything that pertained to this.
2010 Jun 07
2
as.integer
Hi, Is there a way to recursively change the variables imported with read.table(..) - and then attached with attach(..) - from as.factor to as.integer? I have about 9 variables that are now recognized as factors but I need to do statistics on them so I need to change them in as.integer. It works, but I wonder if there is a way to to this for all the variables in one go. Thanks a lot for your
2006 Oct 18
2
multiline string continuation
Dear R experts, I wonder how can one input a string variable in multiple lines in a R script. I've seen solution to the command line continuation in the non-string situation (just continute at the new line). However, that doesn't work for strings because the new line character, "\n", is included in the resultant string. For example, if I type the following in a script:
2017 Nov 03
3
low end file server with h/w RAID - recommendations
On Fri, November 3, 2017 3:36 am, hw wrote: > Valeri Galtsev wrote: >> If you have not Dell server hardware my choice of [hardware] RAID cards >> would be: >> >> Areca > > Areca is forbiddingly expensive. Yes, and it is worth every dollar it costs. All good RAID cards will be on the same price level. Those cheaper ones I will not let into our stables (don't