diff --git a/app/calculator.R b/app/calculator.R index 2924d8a..00a3710 100644 --- a/app/calculator.R +++ b/app/calculator.R @@ -70,7 +70,7 @@ calculatorServer <- function(input, output, session) { } z=-5.3718+0.0354*as.numeric(input$slider1)+1.6159*as.numeric(input$select1)+1.1768*as.numeric(input$select2)+0.0697*p+0.9586*as.numeric(input$select3)-2.9486*as.numeric(input$select4) x=round(1/(1+exp(-z)),3) - params <- list(n = input$slider1,k=input$slider2,l=input$select1,m=input$select2,p=input$select3,r=input$select4,z=x,y=) + params <- list(n = input$slider1,k=input$slider2,l=input$select1,m=input$select2,p=input$select3,r=input$select4,z=x) # Knit the document, passing in the `params` list, and eval it in a # child of the global environment (this isolates the code in the document diff --git a/app/profil_module.R b/app/profil_module.R index 0147bf8..e53f77f 100644 --- a/app/profil_module.R +++ b/app/profil_module.R @@ -120,7 +120,7 @@ profilServer <- function(input, output,session) { dateInput("editAge", label = strong("Data urodzenia") ,value=response$profil$datebirth), selectInput("editGender", label = strong("Plec"), - choices = list("?enska" = 0, "meska" = 1), + choices = list("Zenska" = 0, "meska" = 1), selected = as.numeric(response$profil$gender)), ), diff --git a/app/report.Rmd b/app/report.Rmd index 5caf2c8..69ba586 100644 --- a/app/report.Rmd +++ b/app/report.Rmd @@ -9,7 +9,6 @@ params: p: NA r: NA z: NA - y: NA --- Wiek pacjenta(w latach): diff --git a/app/report.aux b/app/report.aux index 62837d9..50551d9 100644 --- a/app/report.aux +++ b/app/report.aux @@ -1,6 +1,5 @@ \relax \providecommand\hyper@newdestlabel[2]{} -\providecommand\BKM@entry[2]{} \providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} \HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined \global\let\oldcontentsline\contentsline @@ -17,3 +16,4 @@ \gdef\HyperFirstAtBeginDocument#1{#1} \providecommand\HyField@AuxAddToFields[1]{} \providecommand\HyField@AuxAddToCoFields[2]{} +\gdef \@abspage@last{1} diff --git a/app/report.pdf b/app/report.pdf index b467f59..ebd6ec2 100644 Binary files a/app/report.pdf and b/app/report.pdf differ diff --git a/backend/.idea/compiler.xml b/backend/.idea/compiler.xml index d9688a7..c665e75 100644 --- a/backend/.idea/compiler.xml +++ b/backend/.idea/compiler.xml @@ -2,6 +2,7 @@ + diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml index 62a23be..19108ce 100644 --- a/backend/.idea/workspace.xml +++ b/backend/.idea/workspace.xml @@ -4,9 +4,7 @@ - - - + -