similar to: for loop

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

2010 Jul 09
2
split with list
Dear List I would like to ask you something concenting a better print of the R output: I have a bit data frame which has the following structure: CFISCALE RAGSOCB ANNO VAR1 VAR2......... 9853312 astra 2005 6 45 9853312 astra 2006 78 45
2010 Apr 20
1
local and global variables
Hi all, I have a question about global and local variables.First of all, a variable defined in a for loop is it a local or global variable?? Second, I'm trying to build a loop in the following way: I have these 3 data frames bilanci_2005<-bilanci1[ANNO==2005,] bilanci_2006<-bilanci1[ANNO==2006,] bilanci_2007 <--bilanci1[ANNO==2007,] LOOP: v=list(2005,2006,2007) for (a in v){
2010 Jul 01
2
Sweave function
Dear list, I have a question about the interaction between R code and Latex language trough the Sweave function in the package "utils". What I'm trying to do is to write a report. Contrary to the examples shown in the Sweave Manual in which table already constructed by R are "exported" on Latex files, what I would like to do is to build a table in which I combine text and
2005 May 27
3
Newbie here. Tips on setting up 100 phones w anted.
>It will be about 100 phones at about 20 locations all within >about 4 miles of each other. Perhaps a more pressing question might be how you are going to backhaul Ethernet in a 4-mile radius. You can't run a Cat 5 cable more than 100 metres reliably, and using Ethernet repeaters every hundred metres or so isn't practical. You will need a fiber backbone or something like that. What
2008 Aug 22
2
Coordinate systems for geostatistics in R
Hi, I read somewhere that when carrying out geostatistical analysis in R you should not use latitude and longitude...can anyone expand on this a little for me, and what would be the best coordinate system to use? I have my data in a geographic coordinate system, WGS84, decimal degrees....is this the wrong format for such analyses? I have also converted my data in the UTM projection and so have
2004 Oct 22
3
Convert a list in a dataframe
Hi, I've a list containing parameters (intercepts & coefficients) of 12 regressions fitted > coeff [[1]] (Intercept) anno -427017.1740 217.0588 [[2]] (Intercept) anno -39625.82146 21.78025 ..... [[12]] (Intercept) anno 257605.0343 -129.7646 I want create a data frame with two columns (intercept and anno)using data in these list. Any help
2012 Mar 16
1
Spatstat - coordinates in observation window
Dear R users, I wish to run spatial point pattern analysis (e.g. pair correlation function, mark correlation function) for which I need to create an observation window (window=owin) from which the spatial analysis is generated. The command I used to create this observation window as follows: X1<- ppp(x, y, window=owin(c(80.58,144.96),c(101.06,165.13)),
2008 Jun 30
3
newbie needs help plotting time series
Dear R help list I have recently started using R to visualize time series of water level measurements. The code I wrote does exactly what I want: plot(x, a$B112, axes=FALSE, ylim=c(405,410), col="red", pch=15, type="o", ylab="metres above sea level", main="Main Plot Title") axis(2, at=405:410, tck=1, col="gray60") axis.Date(1,
2009 Mar 11
3
Mixed models fixed effects
Dear All, This may sound like a dumb question but I am trying to use a mixed model to determine the predictors of bat activity along hedges within 8 sites. So my response is continuous (bat passes) my predictors fixed effects are continuous (height metres), width (metres) etc and the random effect is site - can you tell me if the fixed effects can be continuous as all the examples I have
2011 Apr 15
3
DESCRIPTION file and Rd examples
I have a confusing error from R CMD check that I don't get when running the example manually by hand. In the \examples section of an Rd file, I create a GRanges object, then I call a function with the GRanges object, whose first 2 lines are require(GenomicRanges) annoDF <- as.data.frame(anno) # anno is the GRanges object. and that second line gives: Error in
2008 Jul 02
1
FW: RES: bug in axis.Date? was (Re: newbie needs help plottingtimeseries)
Instead of x<-seq(as.Date("2004-01-01"), as.Date("2008-06-01"),by="month") from=iso2chron("2004-01-01") to= iso2chron("2008-06-01") from <-chron2UTCsecs(from) to<-chron2UTCsecs(to) delta##how many secs i.e month time in secs xx <- seq(from=from, to=to, by=delta) x <- UTCsecs2chron(xx) I think it will works
2006 Feb 23
5
OT: VoIP over bonded link
I have to provision several dozen * users to a seperate building on our campus in the same subnet. Ordinarily, I'd just run a gigabit cat6 cable to another switch if it doesn't violate the 100 metre rule, but this building is several hundred metres away from my backbone. My only option for cabling to the remote building is copper. My plan is to provision them with a Linux bridge with 4
2011 Jan 07
2
Anno 1404 Online - RAS support is not implemented!
Hi all, I would like to play Anno 1404 online. I use Ubutu Lucid with wine 1.3.10. When Anno 1404 tries to log in, terminal gives the following error: -----%<----- fixme:ras:RasEnumConnectionsW (0x12066ab0,0x33f734,0x14662004),stub! fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead! -----%<----- Can you help me to get the
2001 Apr 20
5
map projections
A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 905 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/20010420/61ada248/attachment.bin
2010 Jul 25
0
Anno 1503 issue
Hi folks, I've got a problem regarding the flawless gaming of Anno 1503. I use wine version 1.2 and the current winetricks (OS = archlinux). It is not possible to install it from original cd/dvd because of the missing data3.cab. This data is not stored on any of the both cd. But the game demands for it. I tried several times to reconfigure wine, but it doesn't help. Thus, I took the
2010 Aug 16
2
special settings for p5B-VM mainboard?
Hi there, I use P5B-VM mainboard with on baord GPU from manufacturer ASUS. Does anybody know if I have to set special settings in wine to play 3D games or older games like ANNO 1503? Especially Anno 1503 can be started but if the details are set to "high" it works very slow. Or could it be that this GPU "Integrated Intel? Graphics Media Accelerator X3000 (Intel? GMA X3000)"
2009 Feb 20
6
write.table
Hello, I tried to turn lists into vectors and then bind them together in order to create a dataframe but if, after this, I try to use the function write.table I get the following error message: Error in write.table(x, file, nrow(x), p, rnames, sep, eol, na, dec, as.integer(quote), : 'list' type not implemented in 'EncodeElement' Here is what I've done:
2006 Apr 06
4
OT: HOWTO: Create a 90mbit bonded link 600 metre s away with Cat 3 or telco wire [long]
I was given the challenge recently of creating a LAN-LAN bridge between two buildings several hundred metres from each other, using only existing Cat 3 wiring and without having to resort to an expensive and finicky 5 Ghz wireless link. I was able to create a 90 megabit link for about $3,000 Cdn with new PC's, CentOS 4.1, and the newly avaliable Black Box VDSL Ethernet Extender, which
2014 Jul 17
3
FW: Selección eficiente de individuos
Hola, Otra forma, utilizando la función de intervalos y la que comprueba si otro intervalo se solapa del paquete "lubridate": #---------------------- library(lubridate) fe.chas <- data.frame( entra=c('2001-01-01','2001-06-01','2003-01-01') ,sale=c('2002-01-01','2002-06-01','2004-01-01') ) ref <-
2005 May 27
6
Newbie here. Tips on setting up 100 phones wanted.
I'm looking at setting up Asterisk for a completely IP environment. All intercompany calls. I work for a ski area. I currently use a 3Com Superstack for in our office. And an old small town phone system for up at the mountain. The phone system is dying and I'm hoping to bring IP to replace the old phones. It will be about 100 phones at about 20 locations all within about 4 miles of each