search for: fours

Displaying 20 results from an estimated 7969 matches for "fours".

Did you mean: hours
2023 Jan 27
1
implicit loop for nested list
I would use replicate() to do an operation with random numbers repeatedly: ``` mysim <- replicate(10, { two.mat <- matrix(rnorm(4), 2, 2) four.mat <- matrix(rnorm(16), 4, 4) list(two.mat = two.mat, four.mat = four.mat) }) ``` which should give you a matrix-list. You can slice this matrix-list just like normal, then cbind it in one step: ``` two.mat <-
2023 Jan 27
3
implicit loop for nested list
> > I am looking for a more elegant way to write below code. > > #Simulation results have different dimensions > mysim <- lapply(1:10, function(y) { > two.mat <- matrix(rnorm(4), nrow = 2) > four.mat <- matrix(rnorm(16), nrow = 4) > list(two.mat = two.mat, four.mat = four.mat) #results with different dimensions > }) > > #Collect different
2010 Dec 10
2
Could concurrent R sessions mix up variables?
Hi, I'm working in R 2.11.1 x64 on Windows x86_64-pc-mingw32. I'm experiencing a strange problem in R that I'm not even sure how to begin to fix. I've got a huge (forty-pages printed) simulation written in R that I'd like to run multiple times. When I open up R and run it on its own, it works fine. At the beginning of the program, there's a variable X that I set to 1,
2009 Apr 14
2
matching lists
Dear All,   Here's my problem. I have two lists:   > v [[1]] [1] "five" [[2]] [1] "four" [[3]] [1] "three" [[4]] [1] "two" [[5]] [1] "one" [[6]] [1] "six" [[7]] [1] "five"  "four"  "three" "two"   "one"   "six"  [[8]] [1] "four"  "three"
2011 Nov 12
1
Simulation over data repeatedly for four loops
Dear Contributors, I am trying to perform a simulation over sample data, but I need to reproduce the same simulation over 4 groups of data. My ability with for loop is null, in particular related to dimensions as I always get, no matter what I try, "number of items to replace is not a multiple of replacement length" This is what I intend to do: replicate this operation for four
2009 Mar 15
1
Contour plots of four two-dimensional matrices
I have four large two-dimensional matrices of which I want to create contour plots. Something like filled.contour(<matrix>) contourplot(<matrix>) works but only gives me one plot at a time. If I combine the four matrices into one three-dimensional matrix, which I'll name "seven", there should be a way of doing something like this contourplot(seven[,,k] for k in 1 to 4)
2013 Jul 05
7
how to use single login page for users in four models
how to use single login page for users in four models -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group,
2006 Aug 16
6
read.csv issue
I'm trying to read in some data from a .csv format and have come across the following issue. Here is a simple example for replication # A sample .csv format schid,sch_name 331-802-7081,School One 464-551-7357,School Two 388-517-7627,School Three \& Four 388-517-4394,School Five Note the third line includes the \ character. However, when I read the data in I get >
2008 Oct 10
4
Polycom 330 not dialing 4 digit extensions beginning with 11xx
I have four Polycom 330 phones connected to an asterisk system. There are other VoIP phones connected too. All of the extensions are four digits beginning with 11. From any of the phones, except the Polycom, picking up the handset to call extension 1103 for example works fine. With the Polycom 330, as I press the second 1 of 1103 it stops taking input and gives me an error. I tried
2011 Feb 07
1
Four paramete logistics.
Hi, I have to do a four point logistics for a dataset. All I have is the absorbance value for different proteins and need to get the four Point values. I have no idea where to start. Any suggestions would be much helpful. Thanks Ramya -- View this message in context: http://r.789695.n4.nabble.com/Four-paramete-logistics-tp3265251p3265251.html Sent from the R help mailing list archive at
2013 Oct 05
1
make a file from four individual files. but keys can be missing among files.
Hello, I have a list of four files. Each file is a list of gene models, and each gene model has attributes in file columns. The sample_week-over-sample_week fold change value foreach i in file is in column 5. The gene model ID is in column 1. To make it more complicated, each gene i may not be found in all four files. I've written R scripts to try to 1) write a function to iterate over each
2012 Oct 10
2
svyplot
Hello, Using the svyplot () function, I have plotted four graphs that are saved in four different .png files. I am looking for examples how to redraw the same four graphs within grid viewports so that they stay together on a page. The goal is to create one .png file that will include all four graphs (2 rows, 2 columns). Any help would be appreciated. Thanks, Pradip Pradip K. Muhuri,
2013 Aug 20
1
Samba 4.0.9 winbind isn't passing through uid and gid numbers from Win 2003 R2
List, I've seen this problem in the list archives before, but the only problems I can easily find are using Samba 4 as the DC. In my case, I'm trying to add a Debian Wheezy member server (running the 4.0.9 packages from enterprise samba) into an existing AD domain where the DC's are running Windows Server 2003 R2. Every GID and UID coming back out of getent passwd is coming out as
2006 Jun 27
3
looking for a more efficient R code.
Dear R-users I have four simple linear models, which are all in the form of a*X+b The estimated parameter vectors are a <- c(1,2,3,4) b <- c(4,3,2,1) My goal is to draw a plot where x-axis is X (range from -100 to 100) and y-axis is the sum of all four linear models X <- seq(-100,100, length=10000) plot(X, sum of the four linear functions) I started with a function for summing
2006 May 12
4
Title of page with multiple plots
I want to place four plots on a page, and I would like to have all four plots share a common title. I have tried the following code, but the title is centered over the fourth graph and not centered across all four plots. Does anyone have any suggestions? R 2.1.1 windows xp oldpar<-par(mfcol =c(1,4),ask=TRUE) plot(p,varp) plot(p,SEp) plot(p,CVp) plot(p,ppval) title(paste("P and 95%CI
2005 Dec 08
1
read.table error
Hey, Once again I ask for some quick help. Here is some code: ovendata<- read.table("ovens.dat",header=TRUE) attach(ovendata) print(ovendata) Here is the .dat file: D One Two Three Four Five Seven Eight 1130 254 252 375 384 252 375 876 127 250 250 384 386 251 378 875 Here is the R Console output: >
2005 Feb 27
12
Four Days on Rails
There are a number of really good beginner''s guides to Rails on the web now - covering installation through to running the first ''scaffold''. However, as a complete Ruby newbie, I found the next stage - moving on to producing ''real'' applications - quite hard going. To help others make the same journey, I''ve put together a ''next
2006 Jul 31
3
getting the last four digits of a string or number
I want to trim down a phone number to the last four digits before saving it to the db. How would I do this? For example, 800-555-1212 which could also be 8005551212, i want to save just 1212 (last four digits) only. -- Posted via http://www.ruby-forum.com/.
2014 Jul 30
1
Centos 7: printing four copies with Libreoffice prints garbage
I have a Xerox Phaser 3250 printer It worked perfectly under Centos 6 when I told cups that it was a Xerox Phaser 3150. It works under Centos 7, too. I can print pdf files from evince and whatnot with no problems, and printing one, two or three copies of a document from libreoffice works as well. However, if I tell libreoffice to print four copies of a document ("number of copies"
2004 Dec 09
12
four wildcards in a single pc
Hi. Please excuse me asking this again. But it really puzzles me. We're installing asterisk at a branch office at NJ (HQ is at Petach-Tikva) It'll need to support 5 POTS lines, 11 analog extensions and four VOIP phones. I wanted to go with a T1 card from digium and a channel bank, but we have a dead line. It has to be up and running by January 1st. I don't have the time to start