User Tools

Site Tools


rstudio_plugin

This is an old revision of the document!


R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

k ← c(-1,4,9,14,19)
Px ← c(.977,.008,.008,.006,.001)
k*Px

[1] -0.977 0.032 0.072 0.084 0.019

sum(k*Px)

[1] -0.77

exp ← sum(k*Px)

exp

[1] -0.77

rstudio_plugin.1570767407.txt.gz · Last modified: 2019/10/11 13:16 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki