HealthCal

Introduction

****
The HealthCal R package is designed to find out different parameters like basal metabolic rate, body mass index etc. related to fitness and health of a person. This package shows the values of the parameters with the present health status (healthy or not) according the WHO prescribed norms.

****

#Example how the package works
library(HealthCal)

#BFP calculation

# The body fat percentage (BFP) of a human or other living being is the total mass of fat divided by total body mass, multiplied by 100; body fat includes essential body fat and storage body fat.

#Input data that includes height, weight and age of a female
dataset47=c(175,90,25)

#The body fat percentage (BFP) of female can be found using
BFPF(dataset47)
#> [1] " The Body Fat Percentage (BFP) is 35.62 % and You are Obese catagory."

#Input data that includes height, weight and age of a male
dataset46=c(175,90,25)

##The body fat percentage (BFP) of male can be found using
BFPF(dataset47)
#> [1] " The Body Fat Percentage (BFP) is 35.62 % and You are Obese catagory."

#BMR calculation
#Basal metabolic rate (BMR) is the rate of energy expenditure per unit time by endothermic animals at rest. The basal metabolic rate (BMR) of a person can be calculated using the Harris-Benedict equation, also known as the Harris-Benedict principle (1918). The function was created using this Harris-Benedict principle.The amount that should be consumed each day in kilocalories to maintain one's present weight can be calculated by multiplying the predicted BMR value by a factor that reflects the person's level of activity.
# Input data that includes height, weight and age of a person (male/female)
dataset45=c(175,90,25)

#BMR of the person can be found using
BMR(dataset45)
#> [1] " The Basal Metabolic Rate (BMR) for Male is 1873.75 calories/day.  and  for female is 1807.75 calories/day. "

#The body mass index (BMI) is a measurement based on a person's mass (weight) and height. The BMI is calculated by dividing the body weight by the square of the height, and it is expressed in kilogrammes per square metre (kg/m2) since weight is measured in kilogrammes and height is measured in metres. The function was created using formula given by Keys et al. (1972).

#BMR calculation
#Input data that includes height and weight of a person
dataset44=c(175,90)

#BMI of the person can be found using
BMI(dataset44)
#> [1] "The Body Mass Index (BMI) is  29.39 kg/m^2 and You are overweight."

mirror server hosted at Truenetwork, Russian Federation.