[R] Problem Mixstock in R
FIORAVANTI TATIANA
t.fioravanti at pm.univpm.it
Fri Sep 23 16:54:31 CEST 2016
I know that currently the Mixstock package is not available on CRAN, I have downloaded the Mixstock v.0.9.5.1 from CRAN's archive, but this version is not supported by R v.3.3.1, for this reason I have used an older version of R (v. 2.14). I have followed, without any problems, all the passages described in "Mixed stock analysis in R: getting started with the mixstock package" (2012), and I performed my mixed stock analysis used the MCMC. At the end of the analysis I would get all the statistical results (mean, standard deviation, median, 2.5 and 97.5 percentile, etc). I have read on the manual of the package mixstock v.0.9.5.1 that the mysum() function could be useful to calculate summary statistics of one or more columns of MCMC output, but I am not able to set it correctly because I do not understand which are the arguments of the functions ("x" and "names"). I tried with: mysum(mydata.mcmc, myvec = NULL) where "mydata.mcmc" is the result of the mixed stock analysis with MCMC and "myvec" is a vector that contain all the column names but I obtained only an error message. Following your instructions I wrote to the maintener of the package and I hope for an answer, but if someone could help me it would be great.
Thank you so much
Tatiana
________________________________
Da: R-help <r-help-bounces at r-project.org> per conto di Nordlund, Dan (DSHS/RDA) <NordlDJ at dshs.wa.gov>
Inviato: mercoledì 21 settembre 2016 22.33
A: r-help at r-project.org
Oggetto: Re: [R] Problem Mixstock in R
Googling "mixstock CRAN" I found the following:
Package 'mixstock' was removed from the CRAN repository.
Formerly available versions can be obtained from the archive.
Archived on 2014-08-30 as long-term memory-access errors were not corrected.
You might want to contact the maintainer of the package directly with your questions.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Marc
> Girondot via R-help
> Sent: Wednesday, September 21, 2016 12:18 PM
> To: r-help at r-project.org; t.fioravanti at pm.univpm.it
> Subject: Re: [R] Problem Mixstock in R
>
> Le 19/09/2016 à 10:53, FIORAVANTI TATIANA a écrit :
> > Dear members of the R-project
> >
> > I am doing a mixed stock analysis with the Mixstock Package in R, at
> > the end of the analysis I would summarize all my results (mean,
> > standard deviation, median, percentile, etc...) using the mysum(x,
> > name=NULL) function, but I don't understand which is the correct
> > manner to set up it, what "x" and "name"are? ..Can you help me? Thank
> > you very much,
> >
> > Tatiana
> >
> Dear Tatiana,
>
> First: I don't find the Mixstock package in CRAN. You should indicate how to
> install it.
> Second: I don't find anywhere a function mysum(). Is it part of the Mixstock
> package?
> Third: Send a reproducible exemple to show what you tried to use the
> function.
>
> Finaly you should read the posting guide in this list to have more chance to
> have answers.
>
> Sincerely,
>
> Marc
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help
mailing list