The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
R package that contains Irucka Embry’s miscellaneous functions:
This package can be used in academia by students and faulty alike and/or in professional settings.
install.packages("iemisc")
With credit due to the matlab
package, for a complete
list of functions and the package DESCRIPTION file, use:
library(help = "iemisc")
With credit due to Getting Help with R for the following 2 methods of help:
help(shm, package = "iemisc") # sample harmonic mean function help
help(package = "iemisc") # help for the iemisc package
If you wish to browse the iemisc
Vignettes, please
copy-and-paste the following code into R:
library(iemisc)
::browseVignettes("iemisc") utils
# 1)
::load_package("iemisc", "rando")
install.load
set_n(200) # makes the example reproducible
<- r_norm(.seed = 200) # sample
samp
# Calculate the sample harmonic mean (SHM) of the 200 values
# Using the default value of na.rm = FALSE
# using a matrix of the numeric vector obs1
<- matrix(data = samp, nrow = length(samp), ncol = 1, byrow = FALSE,
samp1 dimnames = list(c(rep("", length(samp))), "Sample"))
shm(samp1)
# 2)
::load_package("iemisc", "rando")
install.load
# Compute the relative error of the 210 values
set_n(210) # makes the example reproducible
<- r_norm(.seed = 210) # true
true
<- r_norm(.seed = 210) # approximation
approx
relerror(true, approx)
# 3)
library(iemisc)
# Are any of the following right triangles?
righttri(2, 7) # a = 2, b = 7
righttri(a = 4, c = 11)
righttri(b = 4, c = 5)
# 4)
library(iemisc)
# What is the future worth of $2,390.90 in the present 13 years from now with a
# 0.25% interest rate compounded annually?
FgivenP(2390.90, 13, 0.25, frequency = "annual") # the interest rate is 0.25%
This software is provided “AS IS”. See the GPL License for more information.
iemisc
is distributed under the GPL-3 (or later)
license, as stated in the DESCRIPTION file. For more info, see the GNU General Public
License (GPL) page.
Please refer to the CITATION file for the correct way to cite
iemisc
.
If you want to support the continued development of this and my other R packages, feel free to:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.