Used to fit monotonically increasing non-parametric dose-response relationship following the method of owen2015;textualMBNMAdose)

dnonparam(direction = "increasing")

Arguments

direction

Can take either "increasing" or "decreasing" to indicate the monotonic direction of the dose-response relationship

Value

An object of class("dosefun")

References

Examples

# Monotonically increasing dose-response
dnonparam(direction="increasing")
#> $name
#> [1] "nonparam"
#> 
#> $direction
#> [1] "increasing"
#> 
#> $fun
#> ~d.1
#> <environment: 0x559bf59a88b0>
#> 
#> $jags
#> [1] "d.1[dose[i,k], agent[i,k]]"
#> 
#> $apool
#> [1] NA
#> 
#> $bname
#> [1] NA
#> 
#> attr(,"class")
#> [1] "dosefun"

# Monotonically decreasing dose-response
dnonparam(direction="decreasing")
#> $name
#> [1] "nonparam"
#> 
#> $direction
#> [1] "decreasing"
#> 
#> $fun
#> ~d.1
#> <environment: 0x559bf59345f8>
#> 
#> $jags
#> [1] "d.1[dose[i,k], agent[i,k]]"
#> 
#> $apool
#> [1] NA
#> 
#> $bname
#> [1] NA
#> 
#> attr(,"class")
#> [1] "dosefun"