Restyled files
Ran through styler::style_dir() in the R and tests directories in preparation for #23.
This commit is contained in:
parent
a9c7211465
commit
fca9caa731
101 changed files with 3856 additions and 3869 deletions
|
|
@ -12,7 +12,7 @@ calculatePopLogml(points, fii)
|
|||
\item{fii}{fii}
|
||||
}
|
||||
\description{
|
||||
Calculates fuzzy (log) marginal likelihood for a population of
|
||||
Calculates fuzzy (log) marginal likelihood for a population of
|
||||
real values using estimate "fii" for the dispersion value, and Jeffreys prior
|
||||
for the mean parameter.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ learn_simple_partition(ordered_points, fii)
|
|||
\item{fii}{fii}
|
||||
}
|
||||
\description{
|
||||
Goes through all the ways to divide the points into two or
|
||||
Goes through all the ways to divide the points into two or
|
||||
three groups. Chooses the partition which obtains highest logml.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,9 +19,8 @@ Loads a fasta file into matrix format ready for
|
|||
running the hierBAPS algorithm.
|
||||
}
|
||||
\examples{
|
||||
msa <- system.file("ext", "seqs.fa", package="rBAPS")
|
||||
msa <- system.file("ext", "seqs.fa", package = "rBAPS")
|
||||
snp.matrix <- load_fasta(msa)
|
||||
|
||||
}
|
||||
\seealso{
|
||||
rhierbaps::load_fasta
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@ log_gamma(x)
|
|||
log(gamma(x)) for x > 0, Inf otherwise
|
||||
}
|
||||
\description{
|
||||
Equal to log(gamma(x)) with special handling of x < 0 for
|
||||
Equal to log(gamma(x)) with special handling of x < 0 for
|
||||
Matlab compatibility
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@ a 4-mark presentation of proportion
|
|||
Convert proportion to string
|
||||
}
|
||||
\note{
|
||||
The `round` function in R, being ISO-compliant, rounds 8.5 to 8. The
|
||||
The `round` function in R, being ISO-compliant, rounds 8.5 to 8. The
|
||||
Matlab equivalent rounds it to 9.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue