𝑃(🦋; 𝜽) = 𝘩(🦋) exp{𝜼(𝜽) · 𝒔(🦋)} / 𝜅(𝜽)
👨🏻🏫 Statistics at UNSW 🇦🇺
👨🏻💻 10 #RStats 📦
ex-🪑 @ANSNA.org.au
https://krivitsky.net
https://statnet.org
https://github.com/krivit
sim <- piecemeal::Piecemeal$new(dir)
or
sim <- Piecemeal::Piecemeal$new(dir)
Thoughts?
sim <- piecemeal::Piecemeal$new(dir)
or
sim <- Piecemeal::Piecemeal$new(dir)
Thoughts?
* base::solve() treats diag(c(1e10, 1e-10)) as computationally singular.
* Even when V is, in fact, singular, a unique and sensible answer still exists if x is in the span of V.
* base::solve() treats diag(c(1e10, 1e-10)) as computationally singular.
* Even when V is, in fact, singular, a unique and sensible answer still exists if x is in the span of V.
> inc <- function(x){
modify_in_place(x, x+1)
}
> x <- 1:3
inc(x[1])
> x
[1] 2 2 3
> inc <- function(x){
modify_in_place(x, x+1)
}
> x <- 1:3
inc(x[1])
> x
[1] 2 2 3
x |> replace(is.na, 0)
does exactly what you would want it to, as does `replace<-`, for
replace(x, is.na) <- 0
.
I tried to make the whole process user-friendly and robust, so we won't need to reinvent this particular wheel again.
I tried to make the whole process user-friendly and robust, so we won't need to reinvent this particular wheel again.