Hi, there
I have a loop that is producing data, but is also generating an error message
that I can't understand.
Here's the loop and the error message:
bio-matrix(NA, ncol=9, nrow=366)
W-NULL
M- length(Day) #number of days iterated
for (i in 1:M)
+ {
+
+
+ if (Day[i]==1) W[i] - Wo
Michael Rennie [EMAIL PROTECTED] writes:
+ }
There were 50 or more warnings (use warnings() to see the first 50)
warnings
function (...)
{
if (!(n - length(last.warning)))
return()
names - names(last.warning)
cat(Warning message, if (n 1)
s, :\n, sep
Michael
1) Those are not errors, but warnings. You need to use warnings() (with
the brackets) to see what they were. By typing warnings (without the
brackets) you are asking R to print out the source code for the
warnings() function.
2) try ?options and see option digits in that help file