bugfix reshape + LMM #326
Annotations
10 warnings
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:5-11
```@example Main
using Unfold, DataFrames
using UnfoldSim
data_epoch,evts = UnfoldSim.predef_2x2(;n_items=52,n_subjects=40,return_epoched=true)
data_epoch = reshape(data_epoch,1,size(data_epoch)... )
times = range(0,1,length=size(data,1))
```
value = UndefVarError: `data` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:14-20
```@example Main
f0 = @formula 0~1+A + (1+A|subject);
f1 = @formula 0~1+A+B + (1+A|subject); # could also differ in random effects
m0 = fit(UnfoldModel,Dict(Any=>(f0,times)),evts,data_epoch);
m1 = fit(UnfoldModel,Dict(Any=>(f1,times)),evts,data_epoch);
```
value = UndefVarError: `times` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:23-26
```@example Main
uf_lrt = likelihoodratiotest(m0,m1)
uf_lrt[1]
```
value = UndefVarError: `m0` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:30-32
```@example Main
pvalues(uf_lrt)
```
value = UndefVarError: `uf_lrt` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:37-42
```@example Main
pvals_lrt = vcat(pvalues(uf_lrt)...)
nchan = 1
ntime = length(times)
reshape(pvals_lrt,ntime,nchan)' # note the last transpose via ' !
```
value = UndefVarError: `uf_lrt` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:49-55
```@example Main
res = coeftable(m1)
# only fixef (what is not in a ranef group is a fixef)
res = res[isnothing.(res.group),:]
#calculate t-value
res[:,:tvalue] = res.estimate ./ res.stderror
```
value = UndefVarError: `m1` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:66-69
```@example Main
using Distributions
res.pvalue = pdf.(TDist(df),res.tvalue)
```
value = UndefVarError: `res` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/HowTo/lmm_pvalues.md:73-82
```@example Main
df = DataFrame(:walds=>res[res.coefname .== "B: b_tiny",:pvalue],:lrt=>pvals_lrt)
f = Figure()
scatter(f[1,1],times,res[res.coefname .== "B: b_tiny",:estimate])
scatter(f[1,2],df.walds,df.lrt)
scatter(f[2,1],times,df.walds)
scatter(f[2,2],times,df.lrt)
f
```
value = UndefVarError: `res` not defined
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/_literate/explanations/nonlinear_effects.md:100-102
```@example nonlinear_effects
term_spl.fun([0.2])
```
value = type BSplineTerm has no field fun
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/_literate/explanations/nonlinear_effects.md:106-108
```@example nonlinear_effects
lines(disallowmissing(term_spl.fun([0.2]))[1,:])
```
value = type BSplineTerm has no field fun
|
The logs for this run have expired and are no longer available.
Loading