Thank you for your reply.
I do understand that I am working in log space with the default link
function of the binomial being "logit." My problem is, I thought that they
way I had written the code, when I did the "lines" command, it should plot
the best-fit line (found by 'glm') on top of my gr
No, this is related to my own data.
Yes, 'fflies' the dataset - here I am working with two columns: # of fruit
flies alive vs # of days these flies are alive.
There is no error, it's just that the best-fit line does not plot nicely on
top of my data (see figure attached).
http://r.789695.n4.nabb
I am trying to plot the logistic regression of a dataset (# of living flies
vs days the flies are alive) and then fit a best-fit line to this data.
Here is my code:
plot(fflies$living~fflies$day,xlab="Number of Days",ylab="Number of Fruit
Flies",main="Number of Living Fruit Flies vs Day",pch=16)
a
Hi Everyone,
I want to make 3 lines on the same graph (not as subplots, all in the same
window, one on top of each other) and I want them to be quantile-quantile
plots (qqplot). Essentially, I am looking for the equivalent of Matlab's
"hold on" command to use with qqplot. I know I can use 'point
Hi Again,
I am writing a 'for loop' to create a matrix of randomly sampled colors.
I've written this loop in matlab and it works fine. I then tried to do it
in R and apparently there is something wrong with my syntax b/c every time I
run the script, the for loop "blows up" at a different point i
Hi,
Please excuse my ignorance, but I am just learning R (this is my very first
day programming in R) and having a really hard time figuring out how to do
the following:
I have a matrix that is 1000 row by 6 columns (named 'table.combos') and a 1
row by 6 column vector (named 'mine'). I want to
6 matches
Mail list logo