I feel like a complete dolt, as I know this question has been asked by
others on a fairly regular basis, but I'm going in circles trying to get
the following to work:
id.prob-function (tt)
{
library(mvtnorm)
#
Makeham-function(tt)
{
a2=0.030386513
a3=0.006688287
Lyle W. Konigsberg wrote:
I feel like a complete dolt, as I know this question has been asked by
others on a fairly regular basis, but I'm going in circles trying to get
the following to work:
id.prob-function (tt)
{
library(mvtnorm)
#
Makeham-function(tt)
{
Mag. Ferri Leberl wrote:
What does this warning mean precisely?
Is there any reason to care about it?
Can I Avoid it by another way of programming?
As you have already gotten most of your questions answered, here is a
possible answer to the last. You may want to care about it, but not
On Wed, 29 Sep 2004 15:03:24 +0200, Mag. Ferri Leberl
[EMAIL PROTECTED] wrote :
What does this warning mean precisely?
You get this when you do something like this:
x - 1:11
y - 1:2
x[1:11] - y
In the last line, R makes 11 assignments, reusing the values in y[1]
six times and y[2] five times.
Mag. Ferri Leberl wrote:
What does this warning mean precisely?
When R replaces parts of a vector with another vector, it repeats the
replacing value until it is as long as the number of values it needs to
replace. For example:
x = 1:10
x[1:3]=1
- will do, effectively, x[1:3] = rep(1,3)
hi,
that means you're doing operation whith matrix or dataframe with row or
column with different length. this can be a real reason to care about
and sometimes it could be an error and not only a warning.
you'd better adjust the length of your vector (array) to be the same in
order to avoid