[R] Trucated Normal Function

Spencer Graves spencer.graves at structuremonitoring.com
Thu Jun 5 18:52:14 CEST 2014


 > library(sos)
 > tn <- findFn('truncated normal', 999)
found 421 matches;  retrieving 22 pages
2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22
Downloaded 305 links in 138 packages.
 > tn # opens the list of 305 links in a web browser
 > installPackages(tn) # installs the packages with the most links
 > writeFindFn2xls(tn) # creates an Excel file in
 > getwd() # the working directory
# the first sheet is a package summary
# providing more info for installed packages
# See also
 > sos <- vignette('sos')
 > sos


NOTES:

       1.  Many of the 305 links may not reference a "truncated 
normal",  but some of them do.


       2.  The directory "sos$Dir" contains "doc/sos.R", which contains 
the lines of code that appear in "sos.pdf", which the print method for 
"sos" above opens in a PDF reader.


       Hope this helps.
       Spencer


On 6/5/2014 5:10 AM, thanoon younis wrote:
> Dear all members
> The following function is truncated normal distribution function i wrote it
> by using winbugs so now i want to write it by using R - program.
>
> for(j in
> 1:P){y[i,j]~djl.dnorm.trunc(mu[i,j],psi[j],thd[j,z[i,j]],thd[j,z[i,j]+1])}
>
> where   y:underlying continuous variables and treated as a missing variable
> and augmented wit the posterior analysis.
> mu: mean
> psi: variance
> z:ordered categorical variables
> the : preassigned values for thresholds and represent matrix(10*6)
> dimention.
>
> I hope anyone help me
> Many thanks in advance
>
> Thanoon
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list