当前位置: 首页 > news >正文

表白网站建设厦门做网站多少

表白网站建设,厦门做网站多少,企业网站建设 详细方案,蓝色企业网站API的的调用目前来说不限制地区#xff0c;但是OpenAI的API的申请限制了地区。运行的时候#xff0c;如果出现了429#xff0c;意味着你被限流了#xff0c;需要等一会才行。 前提是#xff0c;你需要注册一个OpenAI的账户#xff0c;然后在https://openai.com/api/ 里申… API的的调用目前来说不限制地区但是OpenAI的API的申请限制了地区。运行的时候如果出现了429意味着你被限流了需要等一会才行。 前提是你需要注册一个OpenAI的账户然后在https://openai.com/api/ 里申请OpenAI的密钥。 在页面左上角点击头像选择View API Keys 然后新建一个密钥并复制。 接着我们需要在R语言中设置一个环境变量OPENAI_API_KEY。 这有两种方式一种是每次启动RStudio后手动运行如下代码 Sys.setenv(OPENAI_API_KEY 你复制的密钥) 另一种是利用usethis包通过如下代码在项目目录下创建一个.Renviron文件 library(usethis) usethis::edit_r_environ(scope project) 在该文件中设置OPENAI_API_KEY并保存该文件。 之后从github上安装gptstudio #install.packages(devtools) devtools::install_github(MichelNivard/gptstudio)安装完毕后你的RStudio中的Addins就会出现GPTSTUDIO工具栏 如我们所见它的功能主要有7项。 我们可以让它帮我们写代码例如你写了一段注释 # write a R code for volcano plot with result from # DESeq2然后选择插件的Write/Code from prompt过了一会就能生成如下的代码 # install and load the DESeq2 package install.packages(DESeq2) library(DESeq2)# read the data data - read.csv(data.csv)# create a DESeqDataSet dds - DESeqDataSetFromMatrix(countData data,colData data$condition,design ~ condition)# run the DESeq2 dds - DESeq(dds)# extract the results res - results(dds)# create the volcano plot plot(res$log2FoldChange, -log10(res$padj),xlab log2 Fold Change,ylab -log10 Adjusted p-value,main Volcano Plot)# add points points(res$log2FoldChange, -log10(res$padj),pch 20,col ifelse(res$padj 0.05, red, black))# add lines abline(h -log10(0.05), lty 2, col blue) abline(v 0, lty 2, col blue)此外可以让它帮我们给代码写注释比如说你在Rstudio中输入如下内容 set.seed(1) mtcars2 - transform(mtcars, mpg ifelse(runif(32) 0.2, NA, mpg)) ggplot(mtcars2, aes(wt, mpg)) geom_point()选择代码后在Addins中选择了 Comment your code我们就会得到如下的内容。 # load the ggplot2 package library(ggplot2) # set the seed for the random number generator set.seed(1) # create a new variable called mtcars2, which is a copy of the mtcars dataset # with 20% of the mpg values replaced with NA mtcars2 - transform(mtcars, mpg ifelse(runif(32) 0.2, NA, mpg)) # create a scatterplot of mpg vs wt, with mpg on the y-axis and wt on the x-axis ggplot(mtcars2, aes(wt, mpg)) geom_point()其他功能可以通过官方文档进行了解哦https://github.com/MichelNivard/gptstudio
http://www.tj-hxxt.cn/news/232437.html

相关文章:

  • 网站收录图片动漫制作专业学校前十名
  • 介绍营销的网站郑州航海路网站建设
  • 做淘宝客网站推广被骗广州建设执业资格注册中心网站
  • dw建网站怎么做珠海网站建设网络公司怎么样
  • 网站建设服务要交印花税吗wordpress 模版安装教程
  • 网站国际化建设方案建站公司推荐首推万维科技
  • 如何注册网站免费注册好123上网主页
  • 闸北网站建设公司wordpress 标题重复
  • 网上开店电商平台有哪些网站建设及seo
  • 重庆重庆网站建设网络管理系统的基本组成和功能
  • 做水果的网站企业网站模板用哪个
  • 县总工会网站建设情况介绍网站模块在线制作
  • 长春市城建网站最新新闻热点国际
  • 金昌市建设局官方网站洛阳做网站的
  • 企业做推广哪些网站比较好产品线上营销方案
  • 空调维修网站建设wordpress付费开通站点
  • 漳州正规网站建设公司泰安网站制作电话
  • 手机网站返回跳转页面代码做网站SEO用什么电脑方便
  • 网站开发方案目录第三方平台网站的建设规划
  • 重庆好的推广网站外销网站怎么做的
  • 涂料网站模版python做的网站如何打开
  • 常州网站推广软件信息上海网页设计报价
  • 2024年最新时政热点网站个别页面做seo
  • 建设手机网站报价免费 网站 模板
  • win8扁平化网站前端网站开发一个月多少钱
  • 自己做个网站怎么赚钱网站建设 技术 哪些
  • 聚美优品网站建设的特点建设公积金网站
  • 自适应网站价格安徽茶叶网站建设
  • 免费自创网站运维工程师主要做什么
  • 怎么给网站做后台网站版面的美化原则