Skip to content

feat : revise plot function of 'hgf_ibrb' and 'hgf_ibrb single' #177

Open
juhajulia wants to merge 4 commits intoCCS-Lab:feat/ehgffrom
juhajulia:fix/hgf_plot
Open

feat : revise plot function of 'hgf_ibrb' and 'hgf_ibrb single' #177
juhajulia wants to merge 4 commits intoCCS-Lab:feat/ehgffrom
juhajulia:fix/hgf_plot

Conversation

@juhajulia
Copy link
Copy Markdown

  • Let fixed parameters do not appear when plotting results
  • Changed variable names in plot function (kappa (phasic volatility) -> kappa (coupling between level A-B))

@bugoverdose bugoverdose changed the title chore : revise plot function of 'hgf_ibrb' and 'hgf_ibrb single' feat : revise plot function of 'hgf_ibrb' and 'hgf_ibrb single' Feb 4, 2026
@bugoverdose bugoverdose self-requested a review February 4, 2026 03:50
Copy link
Copy Markdown
Member

@bugoverdose bugoverdose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions

Comment on lines +600 to +603
sample_all <- zeta
if (length(unique(sample_all)) >1) {
plots[[k]] <- plotDist(
sample = pars$omega[, i],
sample = zeta,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the sample_all part needed?

Suggestion: removing sample_all and add whitespace in the condition.

Suggested change
sample_all <- zeta
if (length(unique(sample_all)) >1) {
plots[[k]] <- plotDist(
sample = pars$omega[, i],
sample = zeta,
if (length(unique(zeta)) > 1) {
plots[[k]] <- plotDist(
sample = zeta,

Comment on lines +588 to +589
if (length(unique(sample_all)) >1) {
plots[[k]] <- plotDist(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding whitespace

Suggested change
if (length(unique(sample_all)) >1) {
plots[[k]] <- plotDist(
if (length(unique(sample_all)) > 1) {
plots[[k]] <- plotDist(

Comment on lines +574 to +575
if (length(unique(sample_all)) >1) {
plots[[k]] <- plotDist(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding whitespace

Suggested change
if (length(unique(sample_all)) >1) {
plots[[k]] <- plotDist(
if (length(unique(sample_all)) > 1) {
plots[[k]] <- plotDist(

Comment on lines +550 to +553
sample_all = mu_zeta
if (length(unique(mu_zeta))>1) {
plots[[k]] <- plotDist(
sample = mu_omega[, i],
sample = mu_zeta,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: sample_all doesn't seem to be used + adding whitespace

Suggested change
sample_all = mu_zeta
if (length(unique(mu_zeta))>1) {
plots[[k]] <- plotDist(
sample = mu_omega[, i],
sample = mu_zeta,
if (length(unique(mu_zeta)) > 1) {
plots[[k]] <- plotDist(
sample = mu_zeta,

juhajulia and others added 3 commits February 4, 2026 13:48
Co-authored-by: Jinwoo Jeong <jwjeong96@gmail.com>
Co-authored-by: Jinwoo Jeong <jwjeong96@gmail.com>
Co-authored-by: Jinwoo Jeong <jwjeong96@gmail.com>
@bugoverdose bugoverdose changed the base branch from develop to feat/ehgf February 26, 2026 09:41
@bugoverdose
Copy link
Copy Markdown
Member

bugoverdose commented Feb 26, 2026

Let's merge this to feat/ehgf branch before merging it directly to develop/master branch.

#180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants