Displaying 2 results from an estimated 2 matches for "jlhoward".
Did you mean:
jhoward
2017 Jul 25
0
Using nls.lm to fit a non-continuous dates range
...r is always produced.
Warning messages:
1: In log(parS$c - xx) : NaNs produced
2: In log(parS$c - xx) : NaNs produced
3: In log(parS$c - xx) : NaNs produced
4: In log(parS$c - xx) : NaNs produced
5: In log(parS$c - xx) : NaNs produced
then the nls.out should integrated in nls.final as proposed by jlhoward
# use output of L-M algorithm as starting estimates in nls(...)
par <- nls.out$par
nls.final <- nls(Y~a+b*log(tc-days),data=df,
start=c(a=par$a, b=par$b, tc=par$tc))
summary(nls.final) # display statistics of the fit
# append fitted values to df
df$pred <- predict(n...
2013 Nov 12
0
geom_abline does not seem to respect groups in facet_grid [ggplot2]
Just trying to understand how geom_abline works with facets in ggplot.
By way of example, I have a dataset of student test scores. These are in a data table dt with 4 columns:
student: unique student ID
cohort: grouping factor for students (A, B, . H)
subject: subject of the test (English, Math, Science)
score: the test score for that student in that subject
The goal is to compare