andrew-edwards / sizeSpectra

R package for fitting size spectra to ecological data (including binned data)
9 stars 6 forks source link

Issue with eight.methods.plot() methods function #12

Open JPoppyRomera opened 2 months ago

JPoppyRomera commented 2 months ago

Hi Andrew,

I'm wanting to run only the MLE method (i.e., panel h) from the eightMethodsMEE() function but I can't seem to find the code for how to do this? Would you be able to direct me to the code for this?

Thanks for your help, Poppy

andrew-edwards commented 1 month ago

Hi Poppy, Thanks for the question. Yes, I realise it's not as user-friendly as it could be (as mentioned in Issue #9 ). How quickly do you need this? I can make up a vignette that would be helpful for others also.

JPoppyRomera commented 1 month ago

Hi Andrew,

I’m not in any major rush for it at this stage I only wanted to know if a function already existed. I do believe it would be usefully in future though!

Cheers, Poppy

On Sat, 11 May 2024 at 5:25 AM, Andrew Edwards @.***> wrote:

Hi Poppy, Thanks for the question. Yes, I realise it's not as user-friendly as it could be (as mentioned in Issue #9 https://github.com/andrew-edwards/sizeSpectra/issues/9 ). How quickly do you need this? I can make up a vignette that would be helpful for others also.

— Reply to this email directly, view it on GitHub https://github.com/andrew-edwards/sizeSpectra/issues/12#issuecomment-2104993946, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIJLICIZMCN4JGAWMVU5BQTZBT7I5AVCNFSM6AAAAABHMAL33OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUHE4TGOJUGY . You are receiving this because you authored the thread.Message ID: @.***>

andrew-edwards commented 1 month ago

Thanks. I'll do something in the next few weeks. Useful for others also.

PoppyRomera commented 1 month ago

Hi Andrew,

Sounds great! I'm also having another related issue with the eightMethodsMEE() function which I was hoping you might also be able to help me with.

When I run the function across my data, which I have grouped by plot (i.e., it runs this function for every plot in my data set), I get this error, "Caused by error in eightMethodsMEE(): ! Need to make bvec larger"

Is it an error associated with the MLE function or another method? I'm not able to figure our what bvec is.

Thanks for any help with this!