Coder Social home page Coder Social logo

mauroce / compass Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 784 KB

Example package for Statistical Computing 1 portfolio at the University of Bristol.

License: Other

R 100.00%
r rstudio package compass compass-phd compass-cdt compass-bristol bristol university-of-bristol computational-statistics

compass's Introduction

compass

Build Status codecov

The goal of compass is to exemplify a toy R package for the personal portfolio of the Statistical Computing 1 course attended by first year PhD students in Computational Statistics and Data Science (COMPASS) at the University of Bristol.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("MauroCE/compass")

Example

This is a basic example which shows how to use the compass package.

# Attach the package
library(compass)
# Find the sum of the squares of two numbers
z <- sumsquares(2, 4)
# and tilt the head of a dataframe
df <- data.frame(matrix(1:30, 10, 3))
tilted_head <- tilt_head(df, 3)

we can check the output

#> [1] 20

and

#>     1  2  3
#> X1  1  2  3
#> X2 11 12 13
#> X3 21 22 23

License

This project is licensed under the terms of the MIT license. The full license can be found here.

compass's People

Contributors

mauroce avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.