Posts by Tags

R

R language learning 1

Published:

You can use the R compiler either in your own computer or in the site https://www.mycompiler.io/new/r

1. Learn to plot data

1.1 Use default plot function

Here is an example on plotting the cos curve. what is cosine curve?

x <- seq(-pi, pi, 0.1)
plot(x, cos(x))

After running this code, you can get a figure like

image-20231126130453338

TODO:

  • plot sin curve.

  • plot tan curve.

  • change to line graph and get a figure like

    image-20231126131258979

  • add title to the figure

    image-20231126132447346

  • try to plot both cos and sin with titles in the same layout and get a figure like

    image-20231126132609833

category1

Future Blog Post

Published:

This post will show up by default. To disable scheduling of future posts, edit config.yml and set future: false.

Blog Post number 4

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 3

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 2

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 1

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

category2

Future Blog Post

Published:

This post will show up by default. To disable scheduling of future posts, edit config.yml and set future: false.

Blog Post number 4

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 3

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 2

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

R language learning 1

Published:

You can use the R compiler either in your own computer or in the site https://www.mycompiler.io/new/r

1. Learn to plot data

1.1 Use default plot function

Here is an example on plotting the cos curve. what is cosine curve?

x <- seq(-pi, pi, 0.1)
plot(x, cos(x))

After running this code, you can get a figure like

image-20231126130453338

TODO:

  • plot sin curve.

  • plot tan curve.

  • change to line graph and get a figure like

    image-20231126131258979

  • add title to the figure

    image-20231126132447346

  • try to plot both cos and sin with titles in the same layout and get a figure like

    image-20231126132609833

Blog Post number 1

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

cool posts

Future Blog Post

Published:

This post will show up by default. To disable scheduling of future posts, edit config.yml and set future: false.

Blog Post number 4

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 3

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

Blog Post number 2

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.

R language learning 1

Published:

You can use the R compiler either in your own computer or in the site https://www.mycompiler.io/new/r

1. Learn to plot data

1.1 Use default plot function

Here is an example on plotting the cos curve. what is cosine curve?

x <- seq(-pi, pi, 0.1)
plot(x, cos(x))

After running this code, you can get a figure like

image-20231126130453338

TODO:

  • plot sin curve.

  • plot tan curve.

  • change to line graph and get a figure like

    image-20231126131258979

  • add title to the figure

    image-20231126132447346

  • try to plot both cos and sin with titles in the same layout and get a figure like

    image-20231126132609833

Blog Post number 1

Published:

This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.