Re: [R] Requesting solution for R package

2023-04-24 Thread Ivan Krylov
В Sat, 22 Apr 2023 07:44:11 +0900 Kasun Thalgaskotuwa пишет: > My research is based on dynamic causal modelling. Hence I am finding > some R package which is useful for me. There's a search system at

Re: [R] [External Email] Requesting solution for R package

2023-04-24 Thread Christopher Ryan via R-help
I may not be understanding your question, or what you mean by "activate this package," but in general terms, packages must first be installed, with install.packages("thepackageIwant") And then, for any given R session in which you want to use that package: library(thepackageIwant) My apologies

[R] Requesting solution for R package

2023-04-24 Thread Kasun Thalgaskotuwa
Dear R team, I am struggling with one application of R. My research is based on dynamic causal modelling. Hence I am finding some R package which is useful for me. that is “dcm”. I want to activate this package to work with dcm, DCM functions( dynamic causal model). I kindly expect your help in

Re: [R] Creating methods

2023-04-24 Thread Göran Broström
Den 2023-04-24 kl. 15:14, skrev Ivan Krylov: В Mon, 24 Apr 2023 15:07:50 +0200 Göran Broström пишет: First, you should only ever write a method if you own the generic or the class. I was stunned when I read it. I write methods all over the place for generics like print, summary, plot, etc.

Re: [R] Creating methods

2023-04-24 Thread Ivan Krylov
В Mon, 24 Apr 2023 15:07:50 +0200 Göran Broström пишет: >> First, you should only ever write a method if you own the generic >> or the class. > I was stunned when I read it. I write methods all over the place for > generics like print, summary, plot, etc. You most likely do that for your own

[R] Creating methods

2023-04-24 Thread Göran Broström
I am reading Hadley's "Advanced R", Section 13.4.3 (https://adv-r.hadley.nz/s3.html). It starts There are two wrinkles to be aware of when you create a new method: First, you should only ever write a method if you own the

Re: [R] Circular plot - polar plot code questions

2023-04-24 Thread Jim Lemon
Hi Bruce, Reading your message, I get the idea that you want a radial.plot with arcs to indicate "at least one bat is in this state'.This can be done with an addition to the rp.type= argument. If you already have what you want in this format, it may not be worth programming it. However, if you

Re: [R] Circular plot - polar plot code questions

2023-04-24 Thread Ebert,Timothy Aaron
1) If you do not need it do not plot it. However, also consider how others will use your content. Might it be a trivial piece of information for you, but a critical piece of information for someone trying to use your content. A meta analysis, or just wanting to try to relate your outcomes to

[R] Circular plot - polar plot code questions

2023-04-24 Thread Bruce Miller
Hi all... I assume there are a host of GGplot2 users out there. I have circular plot - polar plot code questions I needed to create circular – polar plots of reproductive status for bats.  I found a great sample of how to do this here:

[R] Help with bootstrap sampling with rms package in R

2023-04-24 Thread Munveer Thind via R-help
Hi all, I appreciate any help that can be offered and don’t mind sending a fee to anyone that can help. I am a physician and am writing a paper to be submitted to a medical journal and am performing bootstrap internal validation by the Harrell method using the R package called rms. It’s a