Skip to content

Commit

Permalink
fix #13
Browse files Browse the repository at this point in the history
AparicioJohan committed Mar 28, 2024
1 parent 54b3d69 commit 03e7fd6
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/SpATSplus.R
Original file line number Diff line number Diff line change
@@ -835,7 +835,7 @@ varComp <- function(object, which = "variances") {

# SpATS coefficients

coef.SpATS <- function(model) {
coef_SpATS <- function(model) {
# coefficients
coef_spats <- model$coeff
coef_random <- attr(coef_spats, "random")
1 change: 0 additions & 1 deletion R/mod_GBLUP.R
Original file line number Diff line number Diff line change
@@ -188,7 +188,6 @@ mod_GBLUP_ui <- function(id) {
id = ns("results"),
bs4TabCard(
width = 12,
id = "tabcard",
maximizable = T,
closable = F,
status = "success",
5 changes: 3 additions & 2 deletions R/mod_distribution.R
Original file line number Diff line number Diff line change
@@ -79,8 +79,9 @@ mod_distribution_ui <- function(id) {
maximizable = T,
solidHeader = FALSE,
closable = F,
status = "success", side = "left", type = "tabs",
id = "tabcard",
status = "success",
side = "left",
type = "tabs",
tabPanel(
title = "Histogram",
icon = icon("chart-bar"),
3 changes: 2 additions & 1 deletion R/mod_info_spats.R
Original file line number Diff line number Diff line change
@@ -18,7 +18,8 @@ mod_info_spats_ui <- function(id) {
),
fluidRow(
bs4TabCard(
width = 6, id = "tabcard", maximizable = T, closable = F,
width = 6,
maximizable = T, closable = F,
status = "success", side = "left", type = "tabs",
tabPanel(
title = "Summary",
3 changes: 2 additions & 1 deletion R/mod_residuals_spats.R
Original file line number Diff line number Diff line change
@@ -48,7 +48,8 @@ mod_residuals_spats_ui <- function(id) {
column(
width = 6,
bs4TabCard(
width = 12, id = "tabcard", maximizable = T, solidHeader = FALSE, closable = F,
width = 12,
maximizable = T, solidHeader = FALSE, closable = F,
status = "success", side = "left", type = "tabs",
tabPanel(
title = "QQplot",
2 changes: 1 addition & 1 deletion R/mod_spats_single.R
Original file line number Diff line number Diff line change
@@ -503,7 +503,7 @@ mod_spats_single_server <- function(input, output, session, data) {
# Coefficients
co.spats <- reactive({
req(Modelo())
coef <- coef.SpATS(Modelo())
coef <- coef_SpATS(Modelo())
coef
})

0 comments on commit 03e7fd6

Please sign in to comment.