{"id":2895,"date":"2023-07-20T04:47:53","date_gmt":"2023-07-20T04:47:53","guid":{"rendered":"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/"},"modified":"2023-07-20T04:47:53","modified_gmt":"2023-07-20T04:47:53","slug":"y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/","title":{"rendered":"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, \u2026) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R \u3092\u4f7f\u7528\u3059\u308b\u3068\u304d\u306b\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30a8\u30e9\u30fc\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong>Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...): \n  NA\/NaN\/Inf in 'y'\n<\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001 <a href=\"https:\/\/statorials.org\/ja\/r\u306elm\u95a2\u6570\/\" target=\"_blank\" rel=\"noopener\">lm()<\/a>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u306e\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u8fd1\u4f3c\u3057\u3088\u3046\u3068\u3057\u305f\u304c\u3001\u4e88\u6e2c\u5909\u6570\u307e\u305f\u306f\u5fdc\u7b54\u5909\u6570\u306b<strong>NaN<\/strong>\u307e\u305f\u306f<strong>Inf<\/strong>\u5024\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001\u3053\u306e\u30a8\u30e9\u30fc\u3092\u5b9f\u969b\u306b\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u30a8\u30e9\u30fc\u3092\u518d\u73fe\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">R \u306b\u3001\u3055\u307e\u3056\u307e\u306a\u30d0\u30b9\u30b1\u30c3\u30c8\u30dc\u30fc\u30eb\u9078\u624b\u306e\u30d7\u30ec\u30fc\u6642\u9593\u3068\u5f97\u70b9\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u542b\u3080\u6b21\u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#create data frame with some NA, NaN, Inf values\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (minutes=c(4, NA, 28, 12, 30, 21, 14),\n                 dots=c(12, NaN, 30, Inf, 43, 25, 17))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n  minutes points\n1 4 12\n2 NA NaN\n3 28 30\n4 12 Lower\n5 30 43\n6 21 25\n7 14 17\n<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u306f<strong>NaN<\/strong>\u5024\u3068<strong>Inf<\/strong>\u5024\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u3053\u3053\u3067\u3001\u4e88\u6e2c\u5909\u6570\u3068\u3057\u3066\u300c\u5206\u300d\u3001\u5fdc\u7b54\u5909\u6570\u3068\u3057\u3066\u300c\u30dd\u30a4\u30f3\u30c8\u300d\u3092\u4f7f\u7528\u3057\u3066\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u8fd1\u4f3c\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/span><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#attempt to fit regression model\n<\/span>lm(points ~ minutes, data=df)\n\nError in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...): \n  NA\/NaN\/Inf in 'y'\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><strong>NaN \u5024<\/strong>\u3068<strong>Inf<\/strong>\u5024\u304c\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u5b58\u5728\u3059\u308b\u305f\u3081\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u5185\u306e<strong>NA<\/strong>\u5024\u306f\u554f\u984c\u3067\u306f\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5b9f\u969b\u3001R \u306f\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u30d5\u30a3\u30c3\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u3068\u304d\u306b<strong>NA<\/strong>\u5024\u3092\u5358\u306b\u7121\u8996\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u672c\u5f53\u306e\u554f\u984c\u306f\u3001 <strong>NaN \u5024<\/strong>\u3068<strong>Inf<\/strong>\u5024\u306b\u3088\u3063\u3066\u5f15\u304d\u8d77\u3053\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u3092\u4fee\u6b63\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001 <strong>NaN \u5024<\/strong>\u3068<strong>Inf<\/strong>\u5024\u3092<strong>NA<\/strong>\u5024\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#Replace NaN &amp; Inf with NA\n<\/span>df[is. <span style=\"color: #3366ff;\">na<\/span> (df) | df==\" <span style=\"color: #ff0000;\">Inf<\/span> \"] = NA\n\n<span style=\"color: #008080;\">#view updated data frame\n<\/span>df\n\n  minutes points\n1 4 12\n2 NA NA\n3 28 30\n4 12 NA\n5 30 43\n6 21 25\n7 14 17<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u3053\u308c\u3067\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u9069\u5fdc\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#fit regression model<\/span>\nlm(points ~ minutes, data=df)\n\nCall:\nlm(formula = points ~ minutes, data = df)\n\nCoefficients:\n(Intercept) minutes  \n      5,062 1,048<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u306f\u56de\u5e30\u30e2\u30c7\u30eb\u306e<a href=\"https:\/\/statorials.org\/ja\/\u56de\u5e30\u4fc2\u6570\u3092\u3068\u3099\u3046\u89e3\u91c8\u3059\u308b\u304b\/\" target=\"_blank\" rel=\"noopener\">\u4fc2\u6570<\/a>\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u5185\u306e<strong>NaN<\/strong>\u5024\u3068<strong>Inf<\/strong>\u5024\u3092\u7f6e\u304d\u63db\u3048\u305f\u305f\u3081\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u4ed6\u306e\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/r-\u4e88\u671f\u3057\u306a\u3044\u6587\u5b57\u5217\u5b9a\u6570\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u306e\u4fee\u6b63\u65b9\u6cd5: \u4e88\u671f\u3057\u306a\u3044\u6587\u5b57\u5217\u5b9a\u6570<\/a><br \/>R \u3067\u306e\u4fee\u6b63\u65b9\u6cd5: ExtractVars \u306e\u7121\u52b9\u306a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5f0f<br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u5f15\u6570\u306f\u6570\u5024\u307e\u305f\u306f\u8ad6\u7406\u5024\u3066\u3099\u306f\u3042\u308a\u307e\u305b\u3093\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u4fee\u6b63\u3059\u308b\u65b9\u6cd5: \u5f15\u6570\u304c\u6570\u5024\u3067\u3082\u8ad6\u7406\u3067\u3082\u306a\u3044: na \u3092\u8fd4\u3059<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u3092\u4f7f\u7528\u3059\u308b\u3068\u304d\u306b\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30a8\u30e9\u30fc\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, &#8230;): NA\/Na [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2895","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, ...) \u306e\u30a8\u30e9\u30fc: &#039;y&#039; \u306e na\/nan\/inf - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) \u306e\u30a8\u30e9\u30fc: na\/nan\/inf in &#039;y&#039;\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ja\/y-\u306e-lm-fitx-na-nan-inf-\u3066\u3099\u306e-r-\u30a8\u30e9\u30fc\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, ...) \u306e\u30a8\u30e9\u30fc: &#039;y&#039; \u306e na\/nan\/inf - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) \u306e\u30a8\u30e9\u30fc: na\/nan\/inf in &#039;y&#039;\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/y-\u306e-lm-fitx-na-nan-inf-\u3066\u3099\u306e-r-\u30a8\u30e9\u30fc\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-20T04:47:53+00:00\" \/>\n<meta name=\"author\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/\",\"url\":\"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/\",\"name\":\"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, ...) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-20T04:47:53+00:00\",\"dateModified\":\"2023-07-20T04:47:53+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) \u306e\u30a8\u30e9\u30fc: na\/nan\/inf in &#39;y&#39;\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, \u2026) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, ...) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) \u306e\u30a8\u30e9\u30fc: na\/nan\/inf in &#39;y&#39;\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/ja\/y-\u306e-lm-fitx-na-nan-inf-\u3066\u3099\u306e-r-\u30a8\u30e9\u30fc\/","og_locale":"ja_JP","og_type":"article","og_title":"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, ...) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) \u306e\u30a8\u30e9\u30fc: na\/nan\/inf in &#39;y&#39;\u3002","og_url":"https:\/\/statorials.org\/ja\/y-\u306e-lm-fitx-na-nan-inf-\u3066\u3099\u306e-r-\u30a8\u30e9\u30fc\/","og_site_name":"Statorials","article_published_time":"2023-07-20T04:47:53+00:00","author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/","url":"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/","name":"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, ...) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-20T04:47:53+00:00","dateModified":"2023-07-20T04:47:53+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) \u306e\u30a8\u30e9\u30fc: na\/nan\/inf in &#39;y&#39;\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/y-%e3%81%ae-lm-fitx-na-nan-inf-%e3%81%a6%e3%82%99%e3%81%ae-r-%e3%82%a8%e3%83%a9%e3%83%bc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"\u4fee\u6b63\u65b9\u6cd5: lm.fit(x, y, offset = offset, \u2026) \u306e\u30a8\u30e9\u30fc: &#39;y&#39; \u306e na\/nan\/inf"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/2895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=2895"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/2895\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=2895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=2895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=2895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}