search for: tranlm

Displaying 4 results from an estimated 4 matches for "tranlm".

2012 Jul 19
2
finding the values to minimize sum of functions
Hi fellow R users, I am desperately hoping there is an easy way to do this in R. Say I have three functions: f(x) = x^2 f(y) = 2y^2 f(z) = 3z^2 constrained such that x+y+z=c (let c=1 for simplicity). I want to find the values of x,y,z that will minimize f(x) + f(y) + f(z). I know I can use the optim function when there is only one function, but don't know how to set it up when there are
2011 Apr 03
3
Discretizing data rows into regular intervals
Hi guys, I'd like to thank you ahead of time for any help that you can offer me. I'm kind of stuck trying to do this. I have a data frame with dates and values (note: only two columns shown): head(test) date value stop 1 01/02/05 100 12/01/07 2 07/16/05 200 12/01/07 3 12/20/05 150 12/01/07 4 04/01/06 250 12/01/07 5
2011 Mar 05
3
subsetting data by specified observation number
Hi members, I'd like to thank you guys ahead of time for the help. I'm kind of stuck. I have a data frame with ID and position numbers: 1> head(failed.3) id position 1 10000997 2 4 1000RW_M 2 15 1006RW_G 2 24 1012RW_M 3 28 10160917 2 30 1016RW_M 13 I'd like to use this to subset out a large dataset and keep only the observation
2012 Aug 29
2
Problem installing Rmpi with Open MPI
Hi guys, I've spent a few days trying to install Rmpi with no luck. I originally tried using mpich, moved on to mpich2, and then to openmpi. I've gotten the furthest with openmpi, though am still running into this problem and can't figure it out. Can someone help!? Thanks so much in advanced. I'm using an HP Envy laptop with Ubuntu 12.04. Output is below, with the error at the