search for: muhammad

Displaying 20 results from an estimated 343 matches for "muhammad".

2009 Dec 04
2
Standard deviation for each element in a set of matrices
...ollowing files, File1 File2 File3 1 1 1 4 4 4 7 7 7 2 2 2 5 5 5 8 8 8 3 3 3 6 6 6 9 9 9 I want to calculate the standard deviation for every cell in the file (I'm using gridded data). The desired output is Output 3 3 3 3 3 3 3 3 3 Thanks. Muhammad -- Muhammad Rahiz | Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography & the Environment Oxford University Centre for the Environment South Parks Road, Oxford, OX1 3QY, United Kingdom Tel: +44 (0)1865-285194 Mobile: +44 (0)7854-625974 Emai...
2008 Sep 10
6
request: most repeated component of a list
...2,] 4 4 1 0 0 [3,] 4 4 1 0 0 [4,] 4 4 0 0 0 For 200 components i want to make a frequency table. How can i make a frequency table of these components or the most repeated component out of all? Any help in this regard will be appreciated. Muhammad Azam [[alternative HTML version deleted]]
2016 Apr 09
3
[FORGED] Generating random data with non-linear correlation between two variables
Please specify your goal in the oracle/psql analytical functions you know or specify what you mean by nonlinear correlation Sent from my iPhone > On Apr 9, 2016, at 6:09 AM, Muhammad Bilal <Muhammad2.Bilal at live.uwe.ac.uk> wrote: > > No its not. I am doing all these experiments for my own learning purpose. I am Oracle SQL & PLSQL programmer and I can do these things with Oracle analytical functions. > > However at present I am keen to learn R, with no...
2009 Dec 30
2
select elements and transpose
...7 8 9 [[2]] V1 V2 V3 [1,]10 11 12 [2,]13 14 15 [3,]16 17 18 [[3]] V1 V2 V3 [1,]19 20 21 [2,]22 23 24 [3,]25 26 27 how do i extract elements in each file so that after transpose, it looks something like the following; 1 10 19 2 11 20 3 12 21 and so on.. Thanks.. -- Muhammad Rahiz | Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography & the Environment Oxford University Centre for the Environment South Parks Road, Oxford, OX1 3QY, United Kingdom Tel: +44 (0)1865-285194 Mobile: +44 (0)7854-625974 Email: muhammad.ra...
2006 Apr 11
2
About list to list - thanks
Thank you very much for your useful suggestions. These are exactly what I was looking for. foo <- list(foo1, foo2, foo3) lapply(foo, function(x) matrix(unlist(x), nrow = length(x), byrow = TRUE)) or lapply(foo, function(x) do.call('rbind', x)) Best, Muhammad Subianto On 4/11/06, Muhammad Subianto <msubianto at gmail.com> wrote: > Dear all, > I have a result my experiment like this below (here my toy example): > > foo1 <- list() > foo1[[1]] <- c(10, 20, 30) > foo1[[2]] <- c(11, 21, 31) > > foo2 <- list() > f...
2009 Dec 27
3
Scaling error
.../ sca[2] which is OK for a set of test data but not for my actual dataset. At the moment, I'm thinking of something in the lines of a for loop function i.e. for (i in ...){ statement... } Is there a syntax in the for loop that allows me to select the column/row in the file? Thanks. -- Muhammad Rahiz | Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography & the Environment Oxford University Centre for the Environment South Parks Road, Oxford, OX1 3QY, United Kingdom Tel: +44 (0)1865-285194 Mobile: +44 (0)7854-625974 Email: muhammad.ra...
2006 Aug 24
5
Check values in colums matrix
...6 0 1 5 -1 [6,] 1 1 1 4 6 0 1 6 -1 [7,] 1 1 1 4 6 0 1 7 -1 [8,] 1 1 1 4 6 0 1 8 -1 > How can I do to check columns 2,3,4,6,7 and 9 have the same value, and columns 1,5 and 8 have different values. Best, Muhammad Subianto
2010 Jan 02
1
Question on Reduce + rollmean
...re > x [[1]] V1 V2 V3 [1,] 1 1 1 [2,] 2 2 2 [3,] 3 3 3 [[2]] V1 V2 V3 [1,] 4 4 4 [2,] 5 5 5 [3,] 6 6 6 [[3]] V1 V2 V3 [1,] 7 7 7 [2,] 8 8 8 [3,] 9 9 9 The moving average is to be performed on 1,4,7 = (1+4)/2 , (4+7)/2 2,5,8 = .. 3,6,9 = .. Thanks Muhammad -- Muhammad Rahiz | Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography & the Environment Oxford University Centre for the Environment, University of Oxford South Parks Road, Oxford, OX1 3QY, United Kingdom Tel: +44 (0)1865-285194 Mobile: +44 (0)...
2010 Jan 06
1
Increment in loop
...ncrement incr <- function(x){ eval.parent(substitute(x <- x + 1)) print(x) } How do I apply it in a loop on my test dataset, x1, so that the procedure becomes x1[c(1:2)] x1[c(2:3)] x1[c(3:4)] where x1 = > m <- matrix(1:3,3,3) > x1 <- list(m, m+1, m+2, m+3, m+4) Thanks. Muhammad -- Muhammad Rahiz | Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography & the Environment Oxford University Centre for the Environment South Parks Road, Oxford, OX1 3QY, United Kingdom Tel: +44 (0)1865-285194 Mobile: +44 (0)7854-625974 Emai...
2004 Sep 15
2
Development on DSP 6711
...sub-band algorithm which only takes 3 million cycles. So my input buffer overflow as the data is slowly compressed. If you have experienced any such problem, then please let me know that what did you do to avoid it. I will be grateful to you. ----- Best Regards Muhammad Saad Saleem Research Associate University of Engineering and Technology, Lahore http://www.uet.edu.pk/saad -- Muhammad Saad Saleem saadsaleem@fastmail.fm
2005 Feb 22
4
does asterisk support menus?
Whenever some call comes in i want it to be automatically picked up and then it plays some message "Welcome to xyz, Press 1 for sales and 2 for support" and then it takes it to the particular extension of sales/support. can i achieve this thing using asterisk? Kindest Muhammad Muzzamil Luqman -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050222/03faa80d/attachment.htm
2006 Aug 24
3
How to compare rows of two matrices
...[,3] [,4] [1,] 1 0 1 1 [3,] 3 5 2 -1 [4,] 4 1 0 1 I have tried with matrix(train %in% test, dim(train)) apply(train, 1, paste, collapse="") %in% apply(test, 1, paste, collapse="") It doesn't work. How can I do. Thanks for any help. Best, Muhammad Subianto
2016 Apr 09
1
[FORGED] Generating random data with non-linear correlation between two variables
> On 09 Apr 2016, at 13:09 , Muhammad Bilal <Muhammad2.Bilal at live.uwe.ac.uk> wrote: > > The goal is to test a developed model against two sets of hypothetical data, where the relationship between on data set is linear whereas non-linear (e.g., polynomial) with another. However, the distributions of the v1 and v2 should...
2006 Jan 27
5
How to convert decimals to fractions
...20/75 22/75 1 10 40 24/75 25/75 26/75 45 61 117 28/75 62 Any suggestions would be appreciated. Thanks you. Best, Muhammad Subianto PS. I found this website: http://www.mindspring.com/~alanh/fracs.html
2005 Jun 15
4
how to change automatically 0=no and 1=yes
...8 x9 ... x1200 0 0 0 1 1 0 0 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 0 1 1 0 0 1 1 ... How can I change automatically 0=no and 1=yes. Thank you very much in advance. Kindly regards, Muhammad Subianto
2016 Apr 09
0
[FORGED] Generating random data with non-linear correlation between two variables
...ry with where clause (level <= no_of_rows) for the number of rows you want. After the rows are generated, we can write custom functions to spread the data points along the y-axis, so that they wouldn't overlap. I hope this may clear the use case further. Many Thanks and Kind Regards -- Muhammad Bilal Research Assistant and Doctoral Researcher, Bristol Enterprise, Research, and Innovation Centre (BERIC), University of the West of England (UWE), Frenchay Campus, Bristol, BS16 1QY muhammad2.bilal at live.uwe.ac.uk ________________________________________ From: David R Forrest <...
2013 Mar 25
2
[LLVMdev] MnemonicAliases and side-effects
...other, then do the 'Defs' and 'Uses' get "applied" to the alias as well? In other words, is it possible to define two instruction prefixes with the same "opcode" such that one prefix defines 'Defs' and 'Uses' while the other does not. Thanks! - Muhammad Tauqir
2006 Sep 03
3
Merge list to list - as list
...3 8 13 18 1 [4,] 4 9 14 19 1 [5,] 5 10 15 20 1 [[2]][[2]] [,1] [,2] [,3] [,4] [5] [1,] 1 6 11 16 1 [2,] 2 7 12 17 1 [3,] 3 8 13 18 -1 [4,] 4 9 14 19 1 [5,] 5 10 15 20 -1 Thanks you for any help. Best wishes, Muhammad Subianto #Gabor Grothendieck ggrothendieck at gmail.com #Mon Aug 28 13:53:52 CEST 2006 Here are two ways: 1. use indexes: lapply(seq(along = x), function(i) cbind(x[[i]], y[[i]])) 2. use mapply: mapply(cbind, x, y, SIMPLIFY = FALSE) On 8/28/06, Muhammad Subianto <msubianto at gmail.co...
2016 Apr 09
1
[FORGED] Generating random data with non-linear correlation between two variables
On 09/04/16 06:57, Muhammad Bilal wrote: > Hi All, > > I am new to R and don't know how to achieve it. > > I am interested in generating a hypothetical dataframe that is consisted of say two variables named v1 and v2, based on the following constraints: > 1. The range of v1 is 500-1500. > 2. The mean...
2011 Jan 03
3
optimize
Hi all, I'm trying to get the value of y when x=203 by using the intersect of three curves. The horizontal curve does not meet with the other two. How can I rectify the code below? Thanks Muhammad ts <- 1:10 dd <- 10:1 ts <- seq(200,209,1) dd <- c(NA,NA,NA,NA,1.87,1.83,1.86,NA,1.95,1.96) plot(ts,dd,ylim=c(1.5,2)) abline(lm(dd~ts),col="blue",lty=2) abline(v=203,col="blue",lty=2) xy <- lm(dd~ts) fc <- function(x) coef(xy)[1] + x*coef(...