Displaying 10 results from an estimated 10 matches for "tvecs".
Did you mean:
bvecs
2004 Sep 16
1
Newbie q. need some help understanding this code.
dear all.
Would someone be kind and willing to explain the code
below for a person who has never used R? ( that is if
one has enough time and inclination)
It implements gillepsie's stochastic algorithm for
Lotka Volterra model.
What would help me tremendously is to see the
breakdown of the line by line code into plain english.
thanks for any insights or other comments.
sean
2011 Apr 29
1
Handling of irregular time series in lineChart
Hi,
I realized that when I have irregular series to feed into lineChart,
the interval of each point in the chart does not seem to take care of
irregular time interval I specified in my input xts time series. But
rather, lineChart seems to take each point as equal spaced time
series. For example, I have the following code:
library(quantmod)
options(digits.sec=3)
t0 <-
2011 Jul 26
1
nls - can't get published AICc and parameters
Hi
I'm trying to replicate Smith et al.'s
(http://www.sciencemag.org/content/330/6008/1216.abstract) findings by
fitting their Gompertz and logistic models to their data (given in
their supplement). I'm doing this as I want to then apply the
equations to my own data.
Try as a might, I can't quite replicate them. Any thoughts why are
much appreciated. I've tried contacting the
2010 Jul 14
1
Converting POSIXct vales to real values
I have a dataframe that contains time values in the form of yyyy-mm-dd hh:mm i.e. 2010-07-14 13:00. When I convert this to numeric via tvec <- as.numeric(Time) I get a number that is in seconds. So far so good. When I then divide the numeric value by the number of seconds in a day eg tvec/(60*60*24) I only get integer values and not fraction of a day which is what I want.
What do I need to
2007 Apr 05
2
Likelihood returning inf values to optim(L-BFGS-B) other options?
Dear R-help list,
I am working on an optimization with R by evaluating a likelihood
function that contains lots of Gamma calculations (BGNBD: Hardie Fader
Lee 2005 Management Science). Since I am forced to implement lower
bounds for the four parameters included in the model, I chose the
optim() function mith L-BFGS-B as method. But the likelihood often
returns inf-values which L-BFGS-B
2011 Aug 26
3
How to vectorize a function to handle two vectors
Dear R-users
I am trying to "vectorize" a function so that it can handle two vectors of
inputs. I want the function to use phi (a function), k[1] and t[1] for the
first price, and so on for the second, third and fourth price. I tried to do
the mapply, but I dont know how to specify to R what input I want to be
vectors (k and t)(see in the bottom what I tried). I have read the help
file,
2004 Jan 07
1
keystroke logging
>
>
>What do you recommend for keeping track of user
>activities? For preserving bash histories I followed
>these recommendations:
>
>http://www.defcon1.org/secure-command.html
>
Interesting reading but, as others have noted, of limited use.
Keystroke logging can be disabled by - as others have noted - either
spawning another (perhaps different) shell, using a remote
2000 Apr 10
1
Kernel Bug in file.c 69 (experimental kernel)
...018
Process smbd (pid: 18877, stackpage=c28b7000)
Stack: c020213b c020227f 00000045 00000000 00000200 0000050c c28b7e8c
00000000
c013251e c2099900 00000000 c2e7d7c0 00000001 c2099900 00000000
0000050c
00000000 c28b7f54 00000513 00000000 c28d5000 c2e7d7c0 00000200
00000000
Call Trace: [tvecs+35755/73400] [tvecs+36079/73400]
[__block_prepare_write+238/544] [cont_prepare_write+473/736]
[fat_get_block+0/288] [fat_prepare_write+38/48] [fat_get_block+0/288]
[generic_file_write+929/1344] [default_fat_file_write+34/96]
[fat_file_write+45/64] [sys_write+214/256] [system_call+52/64]
[sta...
2011 Oct 04
2
adding a dummy variable...
Hi all,
I have a dataset of individuals where the variable ID corresponds to the
identification of the household where the individual lives. rel.head stands
for the relationship with the household head. so rel.head=1 is the household
head, rel.head=2 is the spouse, rel.head=3 is the children.
Here is an example to see how it looks like:
df<-data.frame(ID=c("17100",
2006 Feb 24
2
[LLVMdev] gcc like attributes and annotations
hi all,
out of a matter of fact I am still using llvm version 1.5. I don't know
how 1.6 works in this matter.
When translating a complex c application to llvm bytecodes, some
semantics are lost:
Take for isntance the interesting attribute to put a variable in the
thread local data section (.tdata), this would be interesting to have in
llvm.
like in GCC you write:
int x