我的 MacBook 上安装了 R 软件,但问题是默认语言设置为“俄语”,我真的不知道为什么。当我从终端呼叫 R 时,我看到以下消息
Giulios-MBP:~ opisthofulax$ R
R version 3.2.4 (2016-03-10) -- "Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
R version 3.2.4 (2016-03-10) -- "Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)
R -- ??? ????????? ??, ? ??? ???????????? ???? ?????? ????????.
?? ?????? ?????????????? ??? ??? ?????????? ????????? ???????.
??????? 'license()' ??? ????????? ????? ????????? ??????????.
Natural language support but running in an …Run Code Online (Sandbox Code Playgroud) 我试图适应这个数据集:
#Mydataset damped sine wave data
#X ---- Y
45.80 320.0
91.60 -254.0
137.4 198.0
183.2 -156.0
229.0 126.0
274.8 -100.0
320.6 80.0
366.4 -64.0
412.2 52.0
458.0 -40.0
503.8 34.0
549.6 -26.0
595.4 22.0
641.2 -18.0
Run Code Online (Sandbox Code Playgroud)
所以我首先设置了适合的宏
f(x) = exp(-a*x)*sin(b*x)
Run Code Online (Sandbox Code Playgroud)
然后我做了适当的合身
fit f(x) 'data.txt' via a,b
iter chisq delta/lim lambda a b
0 2.7377200000e+05 0.00e+00 1.10e-19 1.000000e+00 1.000000e+00
Current data point
=========================
# = 1 out of 14
x = -5.12818e+20
z = 320
Current set of parameters …Run Code Online (Sandbox Code Playgroud) 我正在尝试epslatexgnuplot 中的终端。在互联网上冲浪我发现了很多使用命令行的term例子set
set terminal epslatex size 9cm,7cm color colortext standalone header
Run Code Online (Sandbox Code Playgroud)
这是否会给我的情节带来一些好处,或者如果我不输入命令,它会改变什么吗standalone?
color编辑:和 之间有什么区别colortext?我需要两者吗?