{"id":13844,"date":"2019-05-06T09:51:25","date_gmt":"2019-05-06T09:51:25","guid":{"rendered":"http:\/\/cio.edu.umh.es\/?p=13844"},"modified":"2019-05-06T09:51:25","modified_gmt":"2019-05-06T09:51:25","slug":"usando-r-como-calculadora","status":"publish","type":"post","link":"https:\/\/cio.umh.es\/en\/2019\/05\/06\/usando-r-como-calculadora\/","title":{"rendered":"Usando R como Calculadora"},"content":{"rendered":"<p>[:es]<span style=\"color: #000000\">\u00bfSabias que R puede usarse <strong>como una calculadora<\/strong>? Te mostramos algunas operaciones b\u00e1sicas para que veas c\u00f3mo funciona:<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000\">Podemos hacer las <strong>operaciones<\/strong> desde la consola de R:<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cio.umh.es\/en\/files\/2019\/05\/Imagen-1.jpg\/\"><img loading=\"lazy\" class=\"aligncenter  wp-image-13845\" src=\"https:\/\/cio.umh.es\/files\/2019\/05\/Imagen-1.jpg\" alt=\"Imagen 1\" width=\"904\" height=\"336\" \/><\/a><a href=\"https:\/\/cio.umh.es\/en\/files\/2019\/04\/Captura-de-pantalla-2019-04-02-a-las-18.56.33.png\/\"><br \/>\n<\/a><\/p>\n<ul>\n<li><span style=\"color: #000000\"><strong>Sumas, restas y multiplicaciones.<\/strong> Simplemente escribiendo sus operadores cl\u00e1sicos:<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cio.umh.es\/en\/files\/2019\/05\/Imagen-2.jpg\/\"><img loading=\"lazy\" class=\"aligncenter  wp-image-13846\" src=\"https:\/\/cio.umh.es\/files\/2019\/05\/Imagen-2.jpg\" alt=\"Imagen 2\" width=\"366\" height=\"278\" \/><\/a><\/p>\n<ul>\n<li><span style=\"color: #000000\"><strong>Divisiones.<\/strong> Tenemos el operador \u201c\/\u201d para hacer la divisi\u00f3n con decimales, el operador \u201c%\/%\u201d para divisiones enteras y el operador \u201c%%\u201d para obtener el resto de una divisi\u00f3n:<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"aligncenter  wp-image-13847\" src=\"https:\/\/cio.umh.es\/files\/2019\/05\/Imagen-3.jpg\" alt=\"Imagen 3\" width=\"365\" height=\"300\" \/><\/p>\n<ul>\n<li><span style=\"color: #000000\"><strong>Ra\u00edces y potencias.<\/strong> Para hacer potencias en R podremos usar tanto el operador \u201c^\u201d como \u201c**\u201d. Para las ra\u00edces escribiremos el comando \u00absqrt()\u00bb:<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cio.umh.es\/en\/files\/2019\/05\/Imagen-4.jpg\/\"><img loading=\"lazy\" class=\"aligncenter  wp-image-13848\" src=\"https:\/\/cio.umh.es\/files\/2019\/05\/Imagen-4.jpg\" alt=\"Imagen 4\" width=\"359\" height=\"301\" \/><\/a><\/p>\n<ul>\n<li><span style=\"color: #000000\">Podemos combinar todo esto para hacer <strong>c\u00e1lculos m\u00e1s avanzados<\/strong>:<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cio.umh.es\/en\/files\/2019\/05\/Imagen-5.jpg\/\"><img loading=\"lazy\" class=\"aligncenter  wp-image-13849\" src=\"https:\/\/cio.umh.es\/files\/2019\/05\/Imagen-5.jpg\" alt=\"Imagen 5\" width=\"363\" height=\"168\" \/><\/a>[:]<\/p>","protected":false},"excerpt":{"rendered":"<p>[:es]\u00bfSabias que R puede usarse como una calculadora? Te mostramos algunas operaciones b\u00e1sicas para que veas c\u00f3mo funciona:<\/p>\n<p>Podemos hacer las operaciones desde la consola de R:<\/p>\n<p>Sumas, restas y multiplicaciones. Simplemente escribiendo sus operadores cl\u00e1sicos:<\/p>\n<p>Divisiones. Tenemos el operador \u201c\/\u201d para hacer la divisi\u00f3n con decimales, el operador \u201c%\/%\u201d para divisiones enteras y el operador \u201c%%\u201d para [&#8230;]<\/p>","protected":false},"author":3477,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[371382],"tags":[],"_links":{"self":[{"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/posts\/13844"}],"collection":[{"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/users\/3477"}],"replies":[{"embeddable":true,"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/comments?post=13844"}],"version-history":[{"count":0,"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/posts\/13844\/revisions"}],"wp:attachment":[{"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/media?parent=13844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/categories?post=13844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cio.umh.es\/en\/wp-json\/wp\/v2\/tags?post=13844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}