rplusarithm: vectorial arithmetic for data sets with rplus class In compositions: Compositional Data Analysis

Description

The positive quadrant forms a manifold of the real vector space. The induced operations +,-,*,/ give results valued in this real vector space (not necessarily inside the manifold).

Usage

 1 2 3 4 5 6 7 8 9 mul.rplus(x,r) ## Methods for class rplus ## x+y ## x-y ## -x ## x*r ## r*x ## x/r

Arguments

 x an rplus composition or dataset of compositions y an rplus composition or dataset of compositions r a numeric vector of size 1 or nrow(x)

Details

The functions behave quite like +.rmult.

Value

rmult-objects containing the given operations on the rcomp manifold as subset of the R^D. Only the addition and multiplication with positive numbers are internal operation and results in an rplus-object again.

Note

For * the arguments x and y can be exchanged.

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de
{"ft_lang_label":"__label__en","ft_lang_prob":0.6276925,"math_prob":0.8491218,"size":1031,"snap":"2022-05-2022-21","text_gpt3_token_len":294,"char_repetition_ratio":0.11295034,"word_repetition_ratio":0.1,"special_character_ratio":0.26770127,"punctuation_ratio":0.13333334,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9732826,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-18T11:23:01Z\",\"WARC-Record-ID\":\"<urn:uuid:2db232ea-1ef7-4fee-bafb-dcf96339bb95>\",\"Content-Length\":\"49887\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0792d3dc-b66f-45ab-9b92-641ccffe2ba7>\",\"WARC-Concurrent-To\":\"<urn:uuid:0b8a9862-300e-44fe-8cc1-0813a9f970d9>\",\"WARC-IP-Address\":\"51.81.83.12\",\"WARC-Target-URI\":\"https://rdrr.io/cran/compositions/man/rplusarithm.html\",\"WARC-Payload-Digest\":\"sha1:7QAQSZRYEISAKDCE4VT7PWJQZP2QDCAC\",\"WARC-Block-Digest\":\"sha1:NTOB6NPATJ23XWWOKKDF2373WWLONO3A\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320300810.66_warc_CC-MAIN-20220118092443-20220118122443-00577.warc.gz\"}"}