Displaying 2 results from an estimated 2 matches for "pairids".
Did you mean:
pairid
2012 Sep 27
3
Keep rows in a dataset if one value in a column is duplicated
...E. How do I do it? And how do I get past the error?
Thank you so much,
Diana
PairID<-c(Health2$pairid)
duplicated(PairID, incomparables=TRUE, fromLast=TRUE)
PairIDdup=duplicated(PairID)
cbind(PairID, PairIDdup)
PairID[which(PairIDdup)]
PairIDDuplicates<-PairID%in%PairID[which(PairIDdup)]
PairIDs<-cbind(PairID, PairIDDuplicates)
colnames(PairIDs)<-c("Pairid","Pairiddups")
Health2PairsOnly<-PairIDs[ which(PairIDs$Pairiddups=='TRUE'), ]
--
View this message in context: http://r.789695.n4.nabble.com/Keep-rows-in-a-dataset-if-one-value-in-a-column-is-du...
2001 Sep 08
1
multiple fitted curves plot
Dear Rusers,
How would I plot several (24) fitted curves (nonlinear least squares)
within a single plot? To get the parameters I use:
resff <- list()
for (s in levels(PairID)) {
resff[[s]] <- nls(Photo ~ SSasymp(Ci, Asym, lrc, c0),
subset = (PairID == s))
}
Is it also possible to plot two different groups (male, female) of curves
in the same plot, with different style lines?