Displaying 6 results from an estimated 6 matches for "mixdata".
Did you mean:
maxdata
2010 Feb 25
1
Updating a hexbinplot
Dear all,
Considering this simple example of hexbinplot:
mixdata <-
data.frame(x = c(rnorm(5000), rnorm(5000,4,1.5)),
y = c(rnorm(5000), rnorm(5000,2,3)),
a = gl(2, 5000))
fig <- hexbinplot(y ~ x | a, mixdata)
print(fig)
update(fig, colramp = BTC)
produces a bad (non-updated) legend. Compare it with:
hexbinplot(y ~ x...
2009 Jan 03
1
hexbin plot
Hello,
I would like some help to plot a vertical line on a scatterplot build with
hexbin package.
I just need to plot a vertical line on the graph to mark a threshold value
on x axis.
It would be better if the parameter of the plot line function respect
the x axis scale.
Thanks,
Rodrigo
[[alternative HTML version deleted]]
2008 Feb 29
1
barplot and pca plot in mvpart/rpart
Hello,
I'm using the R package called mvpart, which is about the multivariate
regression trees.
The function I wrote is:
mrt1<- mvpart(coefmat~sChip+sScreen+sMem,data=mixdata, xv="pick",
plot.add=TRUE,uniform=TRUE,which=4,all=TRUE,xadj=2,yadj=2,rsq=TRUE,big.pts=TRUE,wgt.ave.pca=TRUE,legend=TRUE,bars=F,
pca=TRUE)
where "coefmat" is a matrix(of dimension N*K) to store the coefficients of
my functional data object; and the predictors in the formula are...
2008 Feb 29
0
barplot and pca plot in mvpart
Hello,
I'm using the R package called mvpart, which is about the multivariate
regression trees.
The function I wrote is:
mrt1<- mvpart(coefmat~sChip+sScreen+sMem,data=mixdata, xv="pick",
plot.add=TRUE,uniform=TRUE,which=4,all=TRUE,xadj=2,yadj=2,rsq=TRUE,big.pts=TRUE,wgt.ave.pca=TRUE,legend=TRUE,bars=F,
pca=TRUE)
where "coefmat" is a matrix(of dimension N*K) to store the coefficients of
my functional data object; and the predictors in the formula are...
2009 Sep 25
0
Error with Mixdist in R
...d the constituent Gaussian distribution curves fitting the data attached in Workbook1.txt here. I tried to use Mixdist on R but ran into following problem. Can you suggest me where I am going wrong?
> super <-read.table("Workbook1.txt",,sep ="\t")
> plot(super)
> fitmixdata <-as.mixdata(super)
> plot(fitmixdata)
> plotfit1<-mix(super,mixparam(c(-75,-67,-38),10),"norm",mixconstr(consigma="NONE"))
Error in nlm(mixlike, lmixdat = mixdat, lmixpar = fitpar, ldist = dist, :
missing value in parameter
I get this error.
Awaiting a reply...
2012 Nov 20
0
double gaussian with mixdist: what's wrong?
...2,8,12,18,24,39,48,64,88,101,132,198,253,331,419,563,781,1134,1423,1842,2505,374,6099,9343,13009,
? ? ? ? ? ? ? ? ? ?15097,13712,9969,6785,4742,3626,3794,4737,5494,5656,4806,3474,2165,1290,799,431,213,137,66,57,41,35,27,27,27)
? data.df <- data.frame(time=time, counts=counts)
? data.mix <- as.mixdata(data.df)
? plot(data.mix)
? startparam <- mixparam(c(699,707),1
? data.fit <-?mix(data.mix, startparam, "norm")
--- end code ---
This results in:
? Error in nlm(mixlike, lmixdat = mixdat, lmixpar = fitpar, ldist = dist, ?:?
? ? missing value in parameter
I have used this fit met...