feralaes / dampack Goto Github PK
View Code? Open in Web Editor NEWR package with useful functions to develop and analyze decision-analytic models
License: MIT License
R package with useful functions to develop and analyze decision-analytic models
License: MIT License
evppi_lrmm documents state require matrix or vector, but GAM needs data frame to run. Reproducible example:
library(dampack)
df_PSA <- data.frame(age = runif(100, min = 0 , max = 100),
utilities = runif(10))
nmb1 <- cbind("strat1" = runif(100),
"strat2" = runif(100))
dampack::evppi_lrmm(nmb =nmb1,params = df_PSA,sel.params = 1:dim(df_PSA)[2])
evppi
0.1
dampack::evppi_lrmm(nmb =nmb1,params = as.matrix(df_PSA),sel.params = 1:dim(df_PSA)[2])
Error in model.frame.default(formula = Loss[, d] ~ 1 + age + utilities + :
'data' must be a data.frame, not a matrix or an array
Hi guys,
I would like to use the rdirichlet function in the dampack package, but R keeps saying the function can't be found:
Error in rdirichlet() : could not find function "rdirichlet"
I already tried to update the package, but that did not help:
install_github("DARTH-git/dampack", force = TRUE)
p_load_gh("DARTH-git/dampack")
The function is shown in the R documentation in the help section.
Can you help me out?
Thanks!
Kind regards,
Simone
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.