blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1cfacc1ce137648982d8108bc0108cd044c72dfe | ab0e26eeb1729125151a68dc9b4908eb5727223b | /man/genius.Rd | 1dd9a764986945734b35a884c43dc4d0210e428a | [] | no_license | eliph/genefu | 9dda0e14924f7038babd0bfe6a5ef129f6894931 | 040c6463eae2c57923f685206ac365ae4f90448a | refs/heads/master | 2021-01-04T12:38:49.347906 | 2020-02-14T16:52:56 | 2020-02-14T16:52:56 | 240,553,931 | 0 | 0 | null | 2020-02-14T16:38:27 | 2020-02-14T16:38:27 | null | UTF-8 | R | false | false | 2,853 | rd | genius.Rd | \name{genius}
\alias{genius}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Function to compute the Gene Expression progNostic Index Using Subtypes (GENIUS) as published by Haibe-Kains et al. 2010
}
\description{
This function computes the Gene Expression progNostic Index Using Subtypes (GENIUS)... |
c6e4d2a1f24c126ad96260a8f1c6f379db9f81d2 | a0b79ac6a4461a00d762c55d84b931587e14f453 | /Plot3.R | 86f7f824f932c2e7f7327ddd018ca6edde67a59a | [] | no_license | JLH2593/ExData_Plotting1 | 73c79987caa8931835c7feb6c949759e9400d9ad | ff13590e4e35c9435d523ed00f77ef2d20cac30b | refs/heads/master | 2022-11-24T12:13:10.819758 | 2020-08-01T18:17:10 | 2020-08-01T18:17:10 | 284,081,494 | 0 | 0 | null | 2020-07-31T16:30:16 | 2020-07-31T16:30:15 | null | UTF-8 | R | false | false | 755 | r | Plot3.R | library(dplyr)
library(lubridate)
data <- read.table("household_power_consumption.txt",sep = ";",header = TRUE,na.strings ="?")
data$Date_Time <-strptime(paste(data$Date,data$Time),"%d/%m/%Y %H:%M:%S")
data <-tibble(data) %>%
filter(Date == "1/2/2007"| Date == "2/2/2007")
data$weekday <- wday(data$Date_Time,label = T... |
4b59c09731ec3a4d07d0975a924784110e2f2bd8 | e847ab0ae68d4e0328d0755151bcf8a51168cd6e | /server.R | 9df3a8b40b37b18bafc843b197dd0512bd01e0c1 | [] | no_license | EmielGeeraerts/DevDataProd_Final | 038047052fd79a9b55779d857f514b3f50fdedd9 | b1df4af4eac082da7b3ab9bcf367d272483f6350 | refs/heads/master | 2020-06-23T11:39:44.909690 | 2019-07-24T10:25:48 | 2019-07-24T10:25:48 | 198,612,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,829 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(caret) #for machine learning
library("ggplot2") #for diamonds dataset
library("mgc... |
ce0af82bd89fc4e7ee2fb1c2c02fc4a6195bc3e8 | 70fd8ee5ed93f1de409322ffe62bb0318d1a55ea | /Hari_Panjwani_Section_1_Assignment_2/1. Plotly/San Francisco Crime Analysis/sfo.R | c58ed159560bb209e0d22663dbb5650c8c8e1ad4 | [] | no_license | Haricharanpanjwani/Engineering-Big-Data | 7f7b500a21d533fe4e02d50f0924ff688c1b4779 | 1cc405570aa5accd84a4526eb99a59a9501bbd63 | refs/heads/master | 2021-01-20T08:02:55.244408 | 2017-01-04T02:23:41 | 2017-01-04T02:23:41 | 68,549,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,695 | r | sfo.R | setwd("C:/Users/saksh/R Workspace/")
#setting the enviornment variable for the plotly
Sys.setenv("plotly_username"="panjwani.h")
Sys.setenv("plotly_api_key"="8w5f8e9g0f")
#importing the required library
library(plotly)
library(ggplot2)
library(plyr)
library(gridExtra)
library(RColorBrewer)
# Load the dataset
rawCrim... |
ab0a0d576b66a973dc1f32037eca150f646d8b7d | ab5d317c5a8d426c9d7f1523a759fbfd4fb60ed1 | /R/verbose_message.R | 04f81b045ae126397631bce6377c4e169361902c | [
"MIT"
] | permissive | acelt/aim.analysis | 5883f5bbb8c2b79825c7cb5326b79db1ffdea9dd | 1c8d2f2df49a336bb8cfeeb81bea4e80f6aa3daa | refs/heads/master | 2021-01-02T10:28:27.236985 | 2020-02-27T21:09:59 | 2020-02-27T21:09:59 | 239,578,777 | 0 | 0 | MIT | 2020-02-27T21:06:45 | 2020-02-10T18:07:27 | null | UTF-8 | R | false | false | 2,337 | r | verbose_message.R | #' Display the message if criteria are met
#' @description Sometimes you want to display a message not only when certain criteria are met but also only if you've asked a function to be verbose
#' @param string Character string. The text to display.
#' @param criteria Optional logical vector. One or more logical values ... |
85828026202ff2073c425ee337b9a344ea287eb6 | 653b8ba356ed50f74a442455e409f62976b4464d | /modelAnalyzeR/man/western_electric_TS_counts.Rd | 66c9a73de6fc73c6b681c3226544ac35f7e93ce4 | [
"MIT"
] | permissive | kiran1984/SCOPE-Anomaly-Detection-Case-Study | e5bcfaf981b78695f7ebebdfb8b40ed7871244c5 | 21a0bb9e16a200ba1fcf29354c544524cec9a154 | refs/heads/master | 2020-06-22T11:09:53.603581 | 2018-06-30T21:53:38 | 2018-06-30T21:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 751 | rd | western_electric_TS_counts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/case_study_results.R
\name{western_electric_TS_counts}
\alias{western_electric_TS_counts}
\title{Western Electric Rules TS Alert Counts}
\usage{
western_electric_TS_counts(beginning, middle, end, rule)
}
\arguments{
\item{beginning}{Dataframe... |
2fc334e57d577c53deb62a7360f4a27f33fc7b2f | b4af76cfa8a2fccdcd44af5fd403b84e43446aff | /man/af_get_aggregate_data.Rd | 22258ba4690df094fd6542c12e2a8429549bcdf6 | [] | no_license | DrSterling/r-appsflyer | 499f46c4bf333731ea71dbe0e06ef4fcc60796c0 | b21ec42e1b564d1358186b6d35b1c1788d7ff573 | refs/heads/main | 2023-03-27T02:15:18.979756 | 2021-03-24T08:55:04 | 2021-03-24T08:55:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,857 | rd | af_get_aggregate_data.Rd | \name{af_get_aggregate_data}
\alias{af_get_aggregate_data}
\title{
Get AppsFlyer aggregate data
}
\description{
Get AppsFlyer Aggregate (user acquisition and retargeting) data
}
\usage{
af_get_aggregate_data(
date_from = Sys.Date() - 8,
date_to = Sys.Date() - 1,
report_type = c("daily_report",
... |
99e256f3f037a9db29aca3352e9628d22744b83b | 7da718dc45c69be0dbf0409fe423f32f28151dff | /inst/shiny/server_4_evalMetrics/server_4_evalMetrics_funcs.R | dc3cbc23fec2d6ae9f7a7d5c51597305042df8d2 | [] | no_license | cran/eSDM | ac865dd1a35268c31a17be3e20d964b1882bb850 | 35c58df0a1d89e5c501ecd55cb3608c5ebda5101 | refs/heads/master | 2021-06-16T10:59:20.678147 | 2021-05-04T03:50:08 | 2021-05-04T03:50:08 | 199,010,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,686 | r | server_4_evalMetrics_funcs.R | ### Non-reactive functions for Evaluation Metrics tab
###############################################################################
# Process evaluation metric validation data
### Process data frame (x) with long, lat, and data column;
### processing method depends on data type (y)
eval_proc_df <- function... |
4c967b424e90eab45da8fd25ffe8f88e140fd69b | 3a90f2fd600e946e8ecc2dd11258cc13298e225e | /LOHSE/script_lohse_data_viz.R | f3f3f9257e6b8b1a9faad2ee0828936cd0d3ffc0 | [] | no_license | npnl/ASNR_2019 | 6da596b276e9e5e0ae27c01856f78a11a3ce5a1a | 4b3192e62f3d00ade4f94ce45be8281de0c8dc00 | refs/heads/master | 2020-08-08T12:45:38.169033 | 2020-06-25T19:09:32 | 2020-06-25T19:09:32 | 213,834,393 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 13,220 | r | script_lohse_data_viz.R | library(ggplot2); library(tidyverse);
# By treating this workshop as an R project, we can use relative file paths that
# allow you to open the data anywhere on any computer, provided you have downloaded
# the whole workshop folder.
getwd()
## 1.0 Plotting Discrete Data -----------------------------------------------... |
524652f6bf815d195ef7303b02c078bdbd9a09c0 | 9b3ce1ce05ab74a40d1f72e903a9848c7d6dee1c | /Covid19HcqSccs/R/SelfControlledCaseSeries.R | 75ec101e039c5aa7f3ef678e5a777017bd2cb2da | [
"Apache-2.0"
] | permissive | A1exanderAlexeyuk/Covid19EstimationHydroxychloroquine | aeaa6e5a9c6fa6166516f3949ea2c65b2eac5ca6 | d5ab703f48bec9aede5542f530b34a4260b67abf | refs/heads/master | 2023-08-23T21:11:07.681521 | 2020-10-28T18:40:56 | 2020-10-28T18:40:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,497 | r | SelfControlledCaseSeries.R | # Copyright 2020 Observational Health Data Sciences and Informatics
#
# This file is part of Covid19HcqSccs
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licen... |
b021a74383839ecf00bb63a033e0273b890d299c | c85471f60e9d5c462de6c60c880d05898ec81411 | /cache/gdatascience|tidytuesday|moores_law.R | cdf574a25240304f175fae5d27e6e266d7402f23 | [
"CC-BY-4.0",
"MIT"
] | permissive | a-rosenberg/github-content-scraper | 2416d644ea58403beacba33349ee127e4eb42afe | ed3340610a20bb3bd569f5e19db56008365e7ffa | refs/heads/master | 2020-09-06T08:34:58.186945 | 2019-11-15T05:14:37 | 2019-11-15T05:14:37 | 220,376,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,412 | r | gdatascience|tidytuesday|moores_law.R | ## ----setup, include=FALSE------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
## ----ttsetup, echo=FALSE, warning=FALSE, message=FALSE-------------------
# Load libraries, set the default theme & caption, and grab the data
library(tidyverse)
theme_set(theme_light())
default_caption <... |
25fa34626862c4370bb3f0268c8cd99c64361d86 | 43f0025d32c0415e40439ac2557b60fd6be81f28 | /index.R | 4a8deb44a8a91dadd9b16880d14ced8b3fa9bcea | [] | no_license | young-do/2019-Research-Papers-for-Graduation | 95ea86643d9568401f22584a03268d0f7d3416ef | e5c1bc24b60b7236dd38f84a249cda2d8f63537e | refs/heads/master | 2020-08-30T20:27:36.125368 | 2019-10-30T08:50:11 | 2019-10-30T08:50:11 | 218,480,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,653 | r | index.R | # Title: Improving Random Forest in Image Classification Using t-SNE and K-means Clustering
# Young-do Cho, 2019
# 0. Configuration
## Computing Environment
# - CPU: Intel i5 4690
# - RAM: 24GB
# - OS: Ubuntu Desktop 18.04.3
# - R version: 3.6.1
## Install packages
install.packages("tidyverse") # Metapackage with lo... |
b7d44ab3d10d5e06f961c49431f5cff00e6b5512 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CircNNTSR/examples/nntsplot.Rd.R | 4d291968cf8c6f0784db3c77914239ef57b81e51 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 490 | r | nntsplot.Rd.R | library(CircNNTSR)
### Name: nntsplot
### Title: Plots the NNTS density
### Aliases: nntsplot
### ** Examples
data(Turtles_radians)
#Empirical analysis of data
Turtles_hist<-hist(Turtles_radians,breaks=10,freq=FALSE)
#Estimation of the NNTS density with 3 componentes for data
est<-nntsmanifoldnewtonestimation(Turtl... |
bd1eca397b0d3b0f4a338e2244aeeedae47711b5 | 1f55eec948770d1a34bd41e6a9ff4b691944dfdf | /sir_lamp_function.R | 3542c5557507f5ea958f3fd253fff0df2fcc889d | [] | no_license | andyhoegh/LAMP_screen | 4f28068e0d4b39fae7d523dfc91ec68e65572a4a | b754a18b80b2e86e1ced0b0d588119b802e128fc | refs/heads/main | 2023-02-04T17:37:05.219101 | 2020-12-31T04:03:15 | 2020-12-31T04:03:15 | 325,709,468 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,710 | r | sir_lamp_function.R | #### SIR Step Function for Model objective 1 - identify role of LAMP specificity
# We assume a student model with on and off campus students with slightly different
# contact structures, but no real difference in transmission. We don't do much here
# with delays. Instead, we are focusing on how the testing sensitivi... |
c88867ad125ae8a15061fd4f809469dc57ec06ca | 51703d55be207df29decc17441c323be93b8adaf | /HW2/Solutions/1.R | 0ed97026afe07a6774667621c2025d660d5cf483 | [] | no_license | Mahbodmajid/DataAnalysis | b4ee16f39e91dff0bbeea058e92162f91f28d84c | 127e59a101d4847171fcb7728db38f4405a10e38 | refs/heads/master | 2021-06-10T02:04:52.153255 | 2019-11-25T00:58:18 | 2019-11-25T00:58:18 | 141,756,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 339 | r | 1.R | companies <- mobile %>%
group_by(company) %>%
summarise(n = n())
top_companies <- companies %>%
top_n(n = 20, wt = n)
top_companies$company <-
factor(top_companies$company,
levels = top_companies$company[order(top_companies$n)])
ggplot(top_companies, aes(x = company, y = n, fill = n)) +
geom_bar(... |
f1358527fa3c4a640ae7470a1f96147ec8d53447 | fab90001189c6512ea178a46539bd6558f035944 | /code/code_1_load_data.R | b1b4f76aa967a08327ae262561f7db6297b0c28f | [] | no_license | Juannadie/lwa_europe | 89428f68bf7c4a6ab6f2d9c5cf39c165b188a747 | bae066ef5bd3f5bd38957743c9db20ff4a83ba44 | refs/heads/master | 2022-12-20T05:34:37.451665 | 2020-10-02T10:06:42 | 2020-10-02T10:06:42 | 300,573,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,546 | r | code_1_load_data.R | #load all packages that we might use throughout the code
library(tidyverse)
library(readstata13)
library(reshape2)
library(dineq)
library(ggrepel)
library(matrixStats)
library(leaflet)
library(leaflet.providers)
library(ggplot2)
library(maptools)
library(rgeos)
library(Cairo)
library(ggmap)
library(scales)
library(RCol... |
094c78e07cb8683900d2089150395ab2513f76a3 | 14abfaec6c704d8ea1799fa8f2dfe834d66953b1 | /selection_score_audit/selection_score_audit.R | a4c6965461acb1ba12471fbbdc7bc870d4927fae | [] | no_license | jrliebster/getting-and-cleaning-data | d7d119125750006f74c52ff81f396fb91dd8ade5 | b30aa5f7a1287bd5dece503885cd0f74ff126aa0 | refs/heads/master | 2021-01-22T18:06:47.183111 | 2017-08-23T20:47:59 | 2017-08-23T20:47:59 | 100,740,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | selection_score_audit.R |
if (!require("pacman")) install.packages("pacman"); library(pacman)
p_load(tidyr, readxl, readr, dplyr, janitor, tidyr, stringr, zoo, magrittr)
dat <- read_excel("NYCTF File Review Week 1 for Robert.xlsx")
dat[dat== "E"] <- 5
dat[dat== "FA+"] <- 4
dat[dat== "FA"] <- 3
dat[dat== "FA-"] <- 2
dat[dat== ... |
9328fb6e4dc7aeb22ef784c0e3c7c9bdecff99fe | 78fb338b3a288c75f2f00e0e67ceaecdc5aeecdd | /R/standings.R | 0972b89c9ade4713c4e8d4275adf61023439cc33 | [
"MIT"
] | permissive | pbulsink/nhlRapi | f5b9c8f80b5030b9fc5ce92c811937ccb7c7f2f6 | 88c65b93dbf0e8b787ffbf02ef915f84330b50f9 | refs/heads/master | 2020-04-22T06:01:11.780541 | 2019-06-26T13:27:45 | 2019-06-26T13:27:45 | 170,176,071 | 0 | 1 | NOASSERTION | 2019-06-26T13:27:46 | 2019-02-11T18:03:09 | R | UTF-8 | R | false | false | 1,974 | r | standings.R | #' Get Standing
#'
#' @description Get the NHL standings, including historical standings. Or, get one single standing
#' @param standingsType Optional, get specific standing type. See \code{\link{getStandingsTypes}()} for allowed values
#' @param season Get statndings for a specific season. If null, current season retu... |
bd40bc067ac213f1a5b3105e695290db7bbf98cd | 8decd5c9ba82c372762b0e11486725ad1f8596e0 | /profile.R | f41f5918c759e2fa794d83bd594fd5587ca2c948 | [] | no_license | LiangZZZ123/dmpa | 22168d839d61af6370cc5d92cee90a06dcef9afb | 7e89a7c168235d544cf6c91acc8a1a48d8da1896 | refs/heads/master | 2020-04-24T06:40:29.435500 | 2017-02-27T02:55:24 | 2017-02-27T02:55:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 147 | r | profile.R | # Practise
site_path = R.home(component = 'home')
site_path
fname = file.path(site_path,'etc','Rprofile.site')
file.exists(fname)
file.edit(fname)
|
eef8b1cc02dc06b5ac8405bf4168a1bad568c2f4 | 7e5e5139f817c4f4729c019b9270eb95978feb39 | /Introduction to Tidyverse/Chapter 1-Data Wrangling/5.R | 2b2fd61a05891d24a93f014ac80bf3e955daa3d1 | [] | no_license | Pranav-Polavarapu/Datacamp-Data-Scientist-with-R-Track- | a45594a8a9078076fe90076f675ec509ae694761 | a50740cb3545c3d03f19fc79930cb895b33af7c4 | refs/heads/main | 2023-05-08T19:45:46.830676 | 2021-05-31T03:30:08 | 2021-05-31T03:30:08 | 366,929,815 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 572 | r | 5.R | # Filtering and arranging
# You'll often need to use the pipe operator (%>%) to combine multiple dplyr verbs in a row. In this case, you'll combine a filter() with an arrange() to find the highest population countries in a particular year.
#
# Instructions
# 100 XP
# Use filter() to extract observations from just the ... |
1c0592332eee374fa65cfa8f792d5f24956c8770 | c1d01cff0c002cdb20008e8776de1632ecca031b | /cachematrix.R | bbca2864843c5e067e8bf36ad32047292ffc99af | [] | no_license | hgunicamp/ProgrammingAssignment2 | 604175d4c3ae4be7bc5c85f9a2716d62345cb1dd | ad37abcbd8463a1a46bec262b38b081d26cf297f | refs/heads/master | 2021-01-24T00:54:47.705670 | 2015-02-16T16:40:12 | 2015-02-16T16:40:12 | 30,705,692 | 0 | 0 | null | 2015-02-12T14:19:31 | 2015-02-12T14:19:30 | null | UTF-8 | R | false | false | 2,088 | r | cachematrix.R | ## makeCacheMatrix(x): function
## - Arg:
## x: matrix()
## - Use:
## aMatrix <- makeCacheMatri(x)
## - Description:
## Returns a list of functions to manipulate a square matrix internally
## stored, and its inverse, created using the "x" argument.
## The functions are:
## - Get(): Returns the ... |
f5396515d3116359014f9b7022e6ba721c294750 | 3af91945083aa604efc778ea52a17ad60766948b | /allele_betabinomial_plot.R | 481b3a7edcd209ef65c6bd5f9e7745d9dfb30b86 | [] | no_license | cjieming/R_codes | fa08dd1f25b22e4d3dec91f4fb4e598827d7492f | 5b2bcf78dc217bc606c22f341e1978b5a1246e0c | refs/heads/master | 2020-04-06T03:53:50.030658 | 2019-06-30T07:31:35 | 2019-06-30T07:31:35 | 56,031,249 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 828 | r | allele_betabinomial_plot.R | library(VGAM)
colors <- c("red","blue","green","orange","cyan","pink","purple",
"brown","black","slategray1","violetred","tan","deeppink","darkgreen",
"orchid","darksalmon","antiquewhite3","magenta","darkblue","peru","slateblue",
"thistle","tomato","rosybrown1","royalblue","ol... |
c5f002395877e706942e444ea8799983dce12f11 | 29585dff702209dd446c0ab52ceea046c58e384e | /MultiRR/R/sd2.R | 77fdbded34312dd9c4e72f8398856a5e1f22b365 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36 | r | sd2.R | sd2 <-
function(x){apply(x, 2, sd)}
|
f721a3b73e2fee85f59aa7177d608d5bf7b2ec38 | 72e01915a0207d4971d7982dc02f7638162929cd | /R scripts/Metabolome DEA.R | b0a8ca61c39bc59f2903d515c39cad9db658fe32 | [] | no_license | sabdeolive/Sabrina_BMS_Bachelor-Internship | 1233a0b3bd4a1aa26ed7414d8707c225d7332188 | 81d7428e182ed917a7d8b47f6e0e4275fbe50a0d | refs/heads/master | 2021-06-13T16:01:36.242275 | 2020-07-02T13:52:51 | 2020-07-02T13:52:51 | 254,438,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,440 | r | Metabolome DEA.R | #Install Bioconductor
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.10")
#Install Biobase
BiocManager::install("Biobase")
#Assigning metabolome data to metabolome and creating matrix
metabolome <- metabolome_abundance.11
class(metabolome)
dim... |
da1f7e841764a84a309831c2fc5ea8c0968d5c8b | 6977e192700edbc39847f6069dba22d16ee6ae46 | /man/tse_codes.Rd | d271c4f340cdca9a204b46ddd3fc07e1334c9c67 | [
"MIT"
] | permissive | RobertMyles/partycodesbr | 0969525a206e289fc4f53d5161a65a492d013e49 | 93b75fb639e0b9988ccea44ba951b1fa0439588e | refs/heads/master | 2020-04-14T03:43:00.433753 | 2018-12-30T20:17:54 | 2018-12-30T20:17:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 369 | rd | tse_codes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tse_codes.R
\name{tse_codes}
\alias{tse_codes}
\title{Return Numerical codes for Brazilian political parties from the
Tribunal Superior Eleitoral (TSE).}
\usage{
tse_codes()
}
\description{
Return Numerical codes for Brazilian political parti... |
9d98ef561c2c7b272c11d3ea2549d056c6ec9de1 | a5b757b279966b9e86cef3e70092fd5b791b11f9 | /man/summarize_home_meds.Rd | 1e9e59fa83cfe5971cc63b268980b2933a6501e5 | [] | no_license | bgulbis/mbohelpr | 62c15326680e91a2d394614287770e101b13daf6 | e362dd59db37edb2c870a46d3389e7f95d9a745b | refs/heads/master | 2023-01-24T11:42:03.100949 | 2023-01-11T20:30:08 | 2023-01-11T20:30:08 | 197,245,899 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 837 | rd | summarize_home_meds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summarize_data.R
\name{summarize_home_meds}
\alias{summarize_home_meds}
\title{Summarize home meds}
\usage{
summarize_home_meds(x, ..., ref, pts = NULL, home = TRUE)
}
\arguments{
\item{x}{data frame}
\item{...}{columns}
\item{ref}{a refere... |
f6e1fa08bcb949f3f0b78ebe88366c1be7b954ef | c9ebc6872dfcd3dc6618c23d1c52c86c9bb298dd | /cachematrix.R | c0d897756479a82b135d83fef1c04a3fa43c7c12 | [] | no_license | Butterworks/ProgrammingAssignment2 | 785a9f71655eeeb27c75efbc53ce1ff775e86efd | 883465aedb9da1c838e5f5a2f99b2de52514f411 | refs/heads/master | 2021-01-22T05:32:39.830604 | 2015-12-24T00:02:04 | 2015-12-24T00:02:04 | 48,306,993 | 0 | 0 | null | 2015-12-20T04:19:13 | 2015-12-20T04:19:12 | null | UTF-8 | R | false | false | 2,282 | r | cachematrix.R | ## R Programming Assignment 2
## Butterworks, Rudolf J
## From the discussion board; thank you to Semhar for the great post to explain the example functions.
## 4 functions:
## makeVector, from assignment 2 example but added commentry to help me understand what whats being achieved.
## cacheMean, from assignment 2 ex... |
d4e03698ffd43bad6638a6c2b2666ffdd28384ac | f92b0a4bef9fa53e62fec46840d9ae20f48af32a | /03 Get data on BitCoin.r | 107479927ec9451eb56d6bd38e3b68d92ff96572 | [] | no_license | valecaio/Bitcoin | 3240e6925521d0dfd628f292bfe4354804ff7061 | d6a5bb051564db41060ed689fcb4df1819c4e654 | refs/heads/master | 2020-07-31T17:43:10.180928 | 2018-06-24T01:31:29 | 2018-06-24T01:31:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,545 | r | 03 Get data on BitCoin.r | #Gets Bitcoin Data from the web
#By Camilo Mora
#2018
#this code is for use in R. 3.5.0 and it requires the library RJSONIO to be installed.
#the code goes to blocktrail.com and takes data on the blocks needed. In this case all the information for the blocks in 2017
#Data are collected in groups of 1000 bloc... |
fbbf22d0f0a9da3c4ebea20c0ab9b6c7a8a9e17a | 74694fc3e2a8e5dbedf5297bc6f841dbe5000ad9 | /man/adjust_for_splits.Rd | a844d0b51be2d91183b8452073c44add81b877a3 | [
"MIT"
] | permissive | aljrico/rfinance | 2c5c1dce1b742f4fb9c07d1cd31888c8d78b693a | 473caf34dcaa7c349d037c74d71a2046f5795056 | refs/heads/master | 2021-12-27T08:32:31.002366 | 2021-11-11T11:13:34 | 2021-11-11T11:13:34 | 231,904,432 | 0 | 1 | NOASSERTION | 2020-02-23T12:15:42 | 2020-01-05T11:03:09 | R | UTF-8 | R | false | true | 425 | rd | adjust_for_splits.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adjust_for_splits.R
\name{adjust_for_splits}
\alias{adjust_for_splits}
\title{Adjust For Splits}
\usage{
adjust_for_splits(df, symbol)
}
\arguments{
\item{df}{data.frame containing the prices/dividends to be adjusted}
\item{symbol}{Ticker of... |
b2503c9e28dec83a096103c47de6783581626345 | 8a3a1a824f820e179c9bb8bd8b08bd6d3d9670d6 | /Cross Validation - Auto.R | 0c463c85dfe708152f3a057ba306af05d5a4ee98 | [] | no_license | hesham230/Data-Science-with-R | bee3f451706e0aab2f7666988ffb9e269430d8ec | ef7967150eba83d3c15c8cdbb0f8fbc179226f79 | refs/heads/main | 2023-06-27T06:53:55.000921 | 2021-07-26T06:31:57 | 2021-07-26T06:31:57 | 389,527,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,893 | r | Cross Validation - Auto.R | library(ISLR)
mpg = Auto
str(mpg)
##############################################################################
# Validation Set Approach ##
##############################################################################
# when a testing set is not available, we... |
efeffe285cb6cc70d455336e6b113dfd89b650e4 | 4d8cc64d5d7756b7824f0ecd4d985b797fecd57c | /R/is_err.R | 9bc13807d7114668ec47f5c865f746d8c59110ad | [] | no_license | cran/TeachNet | 226b84b4a53689745d562d706e541d7176b8635a | 45202a95b35c8ed7446a4b2487828ba929ce281a | refs/heads/master | 2020-04-14T03:35:59.188990 | 2018-11-27T15:30:11 | 2018-11-27T15:30:11 | 17,693,932 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 268 | r | is_err.R | is.err <- function(x){ # test for err.fct
if(!is.character(x)){stop("The err.fct you entered is not of type character!")}
if(!is.na(x[2])){stop("The err.fct you entered is a vector!")}
if(!(x %in% c("sse","ce") )){stop("The err.fct you entered is not valid!")}
} |
b37341bbfabe6527dd16e9843180a07929fbeaa4 | e2147faf5003816d6d26d430e3ca49c761642fa7 | /old_NC_DEM_scripts/NC_read_img_raster_v2.R | d7172b5461115833e0b0014ee02a91e7c0eba45c | [] | no_license | mschwaller/R_code | 053ba60710168f920cb4c83ddd2795eafabc15d3 | f5b989600f8bf4faaedb5ebe246d41cb80146f20 | refs/heads/master | 2020-04-22T06:42:38.339522 | 2019-05-14T20:30:54 | 2019-05-14T20:30:54 | 170,199,824 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 959 | r | NC_read_img_raster_v2.R | source_dir <- "/Users/mschwall/Desktop/impervious/nlcd_2006_to_2011_landcover_fromto_change_index_2011_edition_2014_10_10/"
source_file_img <- paste(source_dir, "nlcd_2006_to_2011_landcover_fromto_change_index_2011_edition_2014_10_10.img", sep="")
# load in map and locality data
NLCD<-raster (source_file_img)
sites<-r... |
f6171ca9914bda16ef5a8afc1040f8bee82469d7 | 3aa14a1f63b66cd23741b8ddbe91ee979e9d75b9 | /ui.R | fc34f217d1f3ef5c5a4da5ae3f1ad4a19cf32f6f | [] | no_license | kaloatanasov/JHU-Developing-Data-Products-Course-Project-Shiny-App | 1608b61512be9aaefd463ca9aa351c263088b511 | b4739fa06187113916176c8c6e81abd2f6e2b32a | refs/heads/master | 2020-03-23T08:20:31.046774 | 2018-07-17T18:28:43 | 2018-07-17T18:28:43 | 141,321,107 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 753 | r | ui.R |
library(shiny)
library(ggplot2)
shinyUI(fluidPage(
titlePanel("Predict Diamond Carat from Price"),
sidebarLayout(
sidebarPanel(
sliderInput("sliderPrice", "How much can you spend in USD?",
300, 20000, value = 5051)
... |
c43192226802a6a9a2cc6875fd1417b996435c5d | 6594403b535237e0bc2137b3e929427df3a4b51f | /2016/RJ-2016-031.R | 473e6d979cea7ac64c0e4301f06ebd6e79285190 | [] | no_license | MrDomani/WB2020 | b42b7992493721fcfccef83ab29703b429e1a9b3 | 2612a9a3b5bfb0a09033aa56e3a008012b8df310 | refs/heads/master | 2022-07-13T03:32:29.863322 | 2020-05-18T17:25:43 | 2020-05-18T17:25:43 | 264,994,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,097 | r | RJ-2016-031.R | var.eqn.x <- "(alpha * x) * (1 - (x / beta)) - ((delta * (x^2) * y) / (kappa + (x^2)))"
var.eqn.y <- "((gamma * (x^2) * y) / (kappa + (x^2))) - mu * (y^2)"
model.parms <- c(alpha = 1.54, beta = 10.14, delta = 1, gamma = 0.476,
kappa = 1, mu = 0.112509)
parms.eqn.x <- Model2String(var.eqn.x, parms = model.parms)
## Do n... |
545460b8c36cb5a7ddb743d8308cb4879c136e81 | 96b20aa9bc050c778a2814de604a0c6478f83030 | /R/crii.R | cfd3359d7fbe82392bd84700cf8dae3029d0ea8a | [] | no_license | IvanRicarte/Evidasp | 83723b64fcada4dc78e08130224c0a982038947c | 2b5fbd6864d5379aed92d1649bf2219b7cea1ece | refs/heads/master | 2020-06-04T11:57:44.416797 | 2015-04-13T19:22:03 | 2015-04-13T19:22:03 | 30,421,770 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 742 | r | crii.R | crii <- function(relev) {
frem <- levels(as.factor(relev$Resumo))
rescrii <- data.frame(resumo=frem, N=0, tot=0, par=0, not=0, CRII=0)
for (res in frem) {
comres <- subset(relev, Resumo==res)
totrel <- sum(comres$Relevancia==2)
parrel <- sum(comres$Relevancia==1)
notrel <- su... |
6864f6824fd97b8ef38bf2eec7f29ab623d91bcc | bf7836dca436a6cb1a5c4e3df5781914dff087ad | /scATAC/Sankey_Diagram.R | 5b1e75ba9a8a04704e2d2dbbbd6e0beada05c78a | [] | no_license | zang-lab/Single-cell-chromatin-profiling-of-the-primitive-gut-tube | 690e910c96e630d34cd2c580179d7caa176e052d | fea12666396c0f3adaaf2b7c42974bb97f8df843 | refs/heads/main | 2023-03-31T01:52:44.850155 | 2021-04-01T17:30:27 | 2021-04-01T17:30:27 | 366,777,354 | 3 | 0 | null | 2021-05-12T16:15:37 | 2021-05-12T16:15:36 | null | UTF-8 | R | false | false | 2,474 | r | Sankey_Diagram.R | library(ArchR)
library(tibble)
library(dplyr)
library(tidyr)
library(networkD3)
library(htmlwidgets)
set.seed(1)
proj <- loadArchRProject(path = "HemeTutorial")
Cdata <- getCellColData(ArchRProj = proj, select = NULL, drop = FALSE)
label1 <- Cdata$superClusters
label2 <- as.character(Cdata$predictedGroup_... |
755f1d3dcf1e2710b1a8b0e2b60a318f4122f4f6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RHPCBenchmark/examples/SparseQrMicrobenchmark.Rd.R | 2f26b5b0f0bc99edb367db810791b0ab5d50879c | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | r | SparseQrMicrobenchmark.Rd.R | library(RHPCBenchmark)
### Name: SparseQrMicrobenchmark
### Title: Conducts a single performance trial with the QR factorization
### sparse matrix kernel
### Aliases: SparseQrMicrobenchmark
### ** Examples
## Not run:
##D # Allocate input to the QR factorization microbenchmark for the
##D # Maragal_6 matrix
##D ... |
025a99dfd37fe9aff38996faaae9a26cc86a38f2 | 88ec4702de41df1fbdcd0c38cf06f8fb6461589c | /graphics.R | 29422416791ce32195037f10fcfe82fcbcb5a2e7 | [] | no_license | gwb/parallelMCMC | f14310ff93c8bd1f7d6e3ec8b54aa0fcd1c496b6 | 211f8583af40cf7886fa821283f1f5fb9f6bc721 | refs/heads/master | 2021-03-16T06:53:38.382346 | 2015-05-23T20:46:28 | 2015-05-23T20:46:28 | 20,383,560 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,158 | r | graphics.R |
require(ggplot2)
# # # # # # #
# FUNCTIONS #
# # # # # # #
get.numerical.intervals <- function(intervals){
res <- NULL
for(interval in intervals){
res <- rbind(res, as.numeric(strsplit(substr(interval, 2, nchar(interval) - 1), ',')[[1]]))
}
return(res)
}
add.rects <- function(clust.ints, my.colors){
l... |
5c68e0b0cf412ff850842ea79d79529c29d4df0f | a4329f3a3ef994cc900b0a0037a7f736aa441707 | /R_code/states.R | 5d30d60f4c34d25fedf7bf10bfb7f90a5b02147f | [] | no_license | aakashc/R-Project-Crime | f55d588ab7d18d5621dd9d3cba62113c88327121 | 4c03c4f7556822c129d0664294763d4d60323974 | refs/heads/master | 2021-01-25T10:14:18.796292 | 2014-02-27T17:31:29 | 2014-02-27T17:31:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,053 | r | states.R | rm(list=ls()) # to remove all objects and clean the workspace
# Read Data
raw <- read.table('data/crimeAgainstWomen.csv', sep=',', check.names=F,header=T,fill=TRUE)
names(raw) <- c('state', 'crimeType', seq(2001,2012,1))
# Remove columns
clean <- raw[,c(1,2,8:14)]
# Remove Rows
clean <- subset(clean,!clean$state=='A & ... |
39a1769b9f4016cb5c6b673453b0379f1a8aa9de | f1a7ab41ba3ce33c01a30e7283339c6432f9745f | /man/permtest.Rd | 3834b76173184665af05493108785c04c2238bec | [] | no_license | vishalbelsare/xnet | 3ccba84442ebbf411fd96dc5c02dfedfc794adbf | 4093905ae81281b6cf81c6a3425bdaf884e78fb4 | refs/heads/main | 2023-05-30T09:50:59.545097 | 2021-06-03T13:04:23 | 2021-06-03T13:04:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,133 | rd | permtest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/all_generics.R, R/Class_permtest.R,
% R/permtest.R
\name{permtest}
\alias{permtest}
\alias{print.permtest}
\alias{permtest,tskrrHeterogeneous-method}
\alias{permtest,tskrrHomogeneous-method}
\alias{permtest,tskrrTune-method}
\title{Calculat... |
c7c4cc5948a4e18510cb4f65f6838d5a3870388c | 886af47cad8dcd3920b556c7a0fe11265fc70648 | /cachematrix.R | ab76c4aaf9d2d0a1607ad2a197b2ee3f3f0c976c | [] | no_license | aflindst/ProgrammingAssignment2 | 48e0d1f781594c48e0e3c3645127610b08bb7402 | b7bdbb9ca9e3f09d65ba7b81ca329e51211ae3b4 | refs/heads/master | 2021-01-16T20:59:16.357164 | 2014-07-27T21:51:01 | 2014-07-27T21:51:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,678 | r | cachematrix.R | ## Programming assignment 2
## Adam Lindstrom
## These function construct and modify a variant of the matrix object which is able to cache its own matrix inverse.
## Use them for large matrices with long solve() times.
## makeCacheMatrix() takes a matrix as its only argument and returns a CacheMatrix object
## the Cac... |
4b47d60f6023368aa31770682b244151c35ad18a | c864a03e8a5a9b86ab74bdc97912b53febbac09c | /man/plotContrastPHists.Rd | 47bde582e2e687682e87124ba028c2157faabfd0 | [] | no_license | ComputationalProteomics/NormalyzerDE | 95bcbc18e77b07c855355a06b9bf062c6783e5f4 | 6bc9f977820cca02e02e77c502581c48854e7c9f | refs/heads/master | 2022-05-11T23:49:16.855983 | 2022-04-22T09:34:47 | 2022-04-22T09:34:47 | 127,118,099 | 14 | 5 | null | 2023-09-11T09:38:38 | 2018-03-28T09:38:27 | R | UTF-8 | R | false | true | 684 | rd | plotContrastPHists.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculateStatistics.R
\name{plotContrastPHists}
\alias{plotContrastPHists}
\title{Takes an NormalyzerStatistics instance and generates and prints a p-value
histogram for each onto the viewport}
\usage{
plotContrastPHists(nst, jobName, current... |
a7d51bacfa41206f4a47d94de5cf3cc41ed10e33 | bfc4dde4eac32663f768e75edde091d20676308f | /man/summary.mitml.Rd | a1cb711e91c0ba10793ebab65400a29a23d126b6 | [] | no_license | simongrund1/mitml | f33b4fda8e929a8652146ca7bcd8011d34f9ebc6 | 4f1e20daccf45da1ee157b3e2e78d7b250fd8203 | refs/heads/master | 2023-03-21T09:20:56.636023 | 2023-03-10T15:42:30 | 2023-03-10T15:42:30 | 68,100,636 | 28 | 9 | null | 2021-10-05T09:25:07 | 2016-09-13T11:01:02 | R | UTF-8 | R | false | false | 2,956 | rd | summary.mitml.Rd | \name{summary.mitml}
\alias{summary.mitml}
\title{Summary measures for imputation models}
\description{
Provides summary statistics and additional information on imputations in objects of class \code{mitml}.
}
\usage{
\method{summary}{mitml}(object, n.Rhat = 3, goodness.of.appr = FALSE, autocorrelation = FALSE, ...)
... |
4463a962ff9fa13b87cf29ff44343712a96fc5f7 | ba649a390fed05e64ad956dee1ccea869a9f3ae5 | /01.expr/03_test_b_all_samples.R | eebdae257c3968a628e05c0ffcc5ad474e1daadf | [
"MIT"
] | permissive | zhangyupisa/autophagy-in-cancer | 8d1ae581f5b5e17ad92b96812b4df6436e69de03 | 7510611e742ba451c9741ff3ca767c84bfce66f3 | refs/heads/master | 2020-03-28T17:09:28.092615 | 2018-09-13T10:29:40 | 2018-09-13T10:29:40 | 148,762,727 | 0 | 1 | MIT | 2018-09-14T08:55:44 | 2018-09-14T08:55:43 | null | UTF-8 | R | false | false | 9,671 | r | 03_test_b_all_samples.R | library(magrittr)
library(ggplot2)
# processed path
tcga_path = "/home/cliu18/liucj/projects/6.autophagy/TCGA"
expr <- readr::read_rds(file.path(tcga_path, "pancan_expr_20160513.rds.gz"))
#output path
expr_path <- "/home/cliu18/liucj/projects/6.autophagy/02_autophagy_expr/"
# Read gene list
# Gene list was compress ... |
6bbafeecdf7036ea37409d4eb41d5ec743bbc6ad | 13870924decf189e710c1883e91c72bd8b08f609 | /2018/Week_23/fast_food_calories.R | e4714ca3753a4aca31f0fe7fd946b95e559165f2 | [] | no_license | dallinwebb/tidy_tuesday | 7a5499433a89c3af9f207a79f52b2c047762bb83 | f7b5681744a4de921bd283148e05834fbebd4a78 | refs/heads/master | 2021-07-06T17:06:43.547791 | 2019-03-25T21:52:00 | 2019-03-25T21:52:00 | 133,426,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,439 | r | fast_food_calories.R | library(tidyverse)
# .png of burger
g <- png::readPNG(source = "burger.png") %>% grid::rasterGrob(interpolate = T)
# One pipeline
df <- read_rds("fastfood_calories.rds") %>%
as_tibble() %>%
select(restaurant, item, calories) %>%
mutate(is_over = ifelse(calories > 500, T, F)) %>%
group_by(restaurant, is_o... |
792baf9988bd33a799e2b61d78ae10e0d50286f9 | 005b697b8a291d2dae196e253930bda208d3eaad | /Fixed-7/DistCor_Same_Preg.R | c9824a4d345e37beb2ad76c539550e833d6dc9a4 | [] | no_license | abhijeetsingh1704/MOAB_private | 1bdeb5bc1c0411dfb3b7d55bbb742c927abf5d84 | a4b58a59439909e160c9b379ffb7dd071e50e9b9 | refs/heads/main | 2023-03-21T10:50:48.231536 | 2020-11-11T15:40:20 | 2020-11-11T15:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,935 | r | DistCor_Same_Preg.R | source('~/Clean_Multiomics/General/SampleEmbeddingCompact.R')
#only use this version when you remove duplicate data
Raw=readRDS('~/Clean_Multiomics/Fixed-7/FIxed_Sajjad_Multiomics/AllX_NoDup')
PointLab=readRDS('~/Clean_Multiomics/Fixed-7/FIxed_Sajjad_Multiomics/nodelabs_NoDup')
source('~/Clean_Multiomics/Compact_Func... |
d23bddbb3efda134f84e420b2eea1783b6df78c2 | e812a0825dd42bf6b6a98131ce1f406ca9f828f4 | /package/WaveCrest/man/WaveCrestENI.Rd | c9b756d25a660ff17b67329615fb90ffe75505fb | [
"Apache-2.0"
] | permissive | lengning/WaveCrest | 9dc6e1baef72ec58baf0b0e73e1a008eb3b0cd54 | ac819ba9803d06b387190914f4ae4b705094380d | refs/heads/master | 2020-05-22T01:27:36.518823 | 2017-10-17T16:46:46 | 2017-10-17T16:46:46 | 48,067,238 | 2 | 4 | null | 2017-10-17T16:46:50 | 2015-12-15T20:29:09 | R | UTF-8 | R | false | false | 2,229 | rd | WaveCrestENI.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/WaveCrestENI.R
\name{WaveCrestENI}
\alias{WaveCrestENI}
\title{Search for the optimal sample order for experiments with ordered conditions}
\usage{
WaveCrestENI(GeneList, Data, Conditions, Ndg=3,
N=20000, NCThre=1000)
}
\arguments{
\i... |
bc248e4704de6bbc84773003061f2217ba6f1753 | 9978cd1445ca2c95301169faadc6c1337649132a | /R/escapeContent.R | 9c94cbc5413ad1c8e04bb8c0657db941f47300ef | [] | no_license | cran/wyz.code.rdoc | f9e607ab38b89c62340388ad353d07fa553fb4b9 | 983f4cc651fe63f909a03caaa1089ca7254a49a0 | refs/heads/master | 2021-10-08T20:22:59.419778 | 2021-10-06T06:00:02 | 2021-10-06T06:00:02 | 213,606,275 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 996 | r | escapeContent.R | escapeContent <- function(content_s_1, escapeBraces_b_1 = FALSE) {
patchArobas <- function(x_s) {
if (stringr::str_count(x_s, '@') == 0L) return(x_s)
paste(strsplit(x_s, "@@|@")[[1]], collapse = '@@', sep = '@@')
}
patchPercent <- function(x_s) {
if (stringr::str_count(x_s, '%') == 0L) return(x_s)
... |
58ce8b2c3903aa32c865f457462bcb6134a796e9 | f1584cd634fe8a0ac556a22dd316839f38e67974 | /plot4.R | baddb575104937f54796c5f49b88ed6055040daa | [] | no_license | Sanches4733/ExData_Plotting1 | c38ef4e5d26e6dff8f662dffe019ab1f24cbe227 | 57af947023a0b5e7778e92a24dd9cdd59fafb51d | refs/heads/master | 2020-12-25T16:47:23.737886 | 2015-09-13T23:28:29 | 2015-09-13T23:28:29 | 42,416,297 | 0 | 0 | null | 2015-09-13T23:05:50 | 2015-09-13T23:05:50 | null | UTF-8 | R | false | false | 1,478 | r | plot4.R | # Please notice that in Russian weekdays are abbreviated just as they are
# on this plot. Thanks for understanding. :-)
# Considering that unzipped file is in your working directory.
# Reading data only about two required days.
# Creating one datetime variable.
mydata <- read.table(pipe('grep "^[1-2]/2/2007" "househol... |
e5d7d11d13d4677226eac72e27dba7893066f0b4 | 647ab9c839daa7c11bdbd4fac785c96cac563be6 | /simulation_degroot.R | 47a18ed78c67a719a5c939d1efcccec5ff41a00b | [] | no_license | hector-garrido/scripts-info-propagation | 8dcbf8d49eea422c2783814d53605ea2f31dddec | 8fc8a120e324b92aa9b08c6e5d570bd0e98a8b88 | refs/heads/main | 2023-02-25T17:14:38.573574 | 2021-02-07T02:35:29 | 2021-02-07T02:35:29 | 318,891,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,291 | r | simulation_degroot.R |
# install.packages('igraph')
#
# adjm <- matrix(sample(0:1, 100, replace=TRUE, prob=c(0.9,0.1)), nc=10)
# g1 <- graph_from_adjacency_matrix( adjm ,mode='undirected')
# adjm <- matrix(sample(0:5, 100, replace=TRUE,
# prob=c(0.9,0.02,0.02,0.02,0.02,0.02)), nc=10)
library(igraph)
################... |
1622e73d85687abbfe8e2c678d024c055418dd7e | facfce4925642abc520a19e66eca956296250f9c | /code for RNA-seq/03.merge.R | f54db700caff9edf0d01c141fab5a79d5cea52b4 | [] | no_license | ChengLiLab/T_cell_tolerance | 8cda1245b0ad7f2c3477b6211a18ed8f58918a90 | 4b09cb8a7c45669545f19844510e96d76c919744 | refs/heads/main | 2023-02-27T08:16:30.118981 | 2021-01-30T12:16:21 | 2021-01-30T12:16:21 | 334,325,854 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 918 | r | 03.merge.R | path = dir()
gene_bio = read.table("/lustre/user/liclab/lirf/Project/sunyj/RNA.and.CHIP.seq.data/2015.6.15/data/Tophat.out/Sample_PR10_SYJ_GFP-1.1.clean.fq.111/cufflinks/genes.fpkm_tracking",header = T)
gene_exp = read.table(paste0("./",path[1],"/cufflinks/genes.fpkm_tracking",collapse = ""),header = T)
gene = inter... |
3b1a6f27ca24f6b4fdaeab9341f51d53636db7be | 01a33c3170bf018372ee3fc7e77ee8dd52d028e5 | /compare_epp_spec_counts.R | ad530af31dbdb2ce63237437903b2353e4a7f3a2 | [] | no_license | deepajag/gbdeppaiml | 0adcc098c0e9436e39232a70f1ed0eca7400c568 | 3a21fd940d8a0a03847f59dd57de5a07750c2533 | refs/heads/master | 2021-09-09T22:06:25.669158 | 2021-09-03T17:17:49 | 2021-09-03T17:17:49 | 212,451,317 | 0 | 1 | null | 2019-10-02T22:15:53 | 2019-10-02T22:15:53 | null | UTF-8 | R | false | false | 1,364 | r | compare_epp_spec_counts.R | new_list = mclapply(loc.table[epp == 1 & !grepl("IND",ihme_loc_id) & most_detailed,ihme_loc_id],function(loc){
print(loc)
compiled = fread(paste0("/share/hiv/epp_output/gbd20/200713_yuka/compiled/",loc,".csv"))
compiled = compiled[year == 2019 & age %in% 15:49]
compiled[,plhhiv := pop_art + pop_gt350 + pop_200t... |
3067948da75be2ac1d999a35fdb46353c397e62e | 0a906cf8b1b7da2aea87de958e3662870df49727 | /esreg/inst/testfiles/G1_fun/libFuzzer_G1_fun/G1_fun_valgrind_files/1609889532-test.R | 7acf31e376eb3c6ad62736cf8cf1ba03d59ab02d | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 114 | r | 1609889532-test.R | testlist <- list(type = 1710618L, z = 8.28914734191549e-317)
result <- do.call(esreg::G1_fun,testlist)
str(result) |
309494a5c47274eb8202762edd2491e68d21d240 | 4950cf89023c981749c2fb1ceec95bd6e584cb32 | /scripts/util/__Util_QuantDOLFunctions.R | 804d7d25962eb5922df3fb42d8b9a0fe2cf8c23f | [] | no_license | christokita/socially-modulated-threshold-model | 372368a518dd55b2bb61ecdaeeac8e4005f5396e | 3112e4de8c794f079a6459fd5918c04db226ca75 | refs/heads/master | 2023-06-01T01:17:53.518760 | 2020-08-31T14:40:40 | 2020-08-31T14:40:40 | 108,687,450 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,241 | r | __Util_QuantDOLFunctions.R | ##################################################
#
# Qunatifying Division of Labor Functions
#
##################################################
####################
# Mutual Entropy DOL Measure
####################
# From Gorelick, Bertram, Killeen, & Fewell (2004)
mutualEntropy <- function(TotalStateMat) {
# No... |
8b305e9da28dfe24b54fa0f591c0ba3f4591eeb9 | 2e54809a2c3af44c5d460cb2eb2c8cebb2791af4 | /R/arg-homogenise.R | c51006105f4bbedf0199190cc3902b1b55bd3bee | [] | no_license | dpastoor/rlang | 289f58ee3379ecbf666776c5b9cd462c0a64af80 | 2376dd6b2cba1689710b16fe181879735a4a251d | refs/heads/master | 2020-05-24T23:16:13.239502 | 2017-03-13T21:07:15 | 2017-03-13T21:07:15 | 84,889,867 | 0 | 0 | null | 2017-03-14T01:04:17 | 2017-03-14T01:04:17 | null | UTF-8 | R | false | false | 6,936 | r | arg-homogenise.R | #' Standardise a call against formal arguments.
#'
#' This is a slower but more thorough version of
#' [lang_standardise()]. It is useful for tracing arguments across a
#' call stack (see [arg_inspect()] for an example).
#'
#' Compared to [match.call()], `lang_homogenise()`:
#'
#' * Always report dotted arguments as su... |
f849f5592e44c37fe869fe7d9260eef560deae8e | 2c170474a479f0582d1685a8df22ca98dd157798 | /tests/testthat.R | c9a5ad67f149091d91dee8ab16f234620e120379 | [] | no_license | wcmbishop/gogoplot | 80574a1161a44222265f9478d891ac6d4a696033 | 1857b750305c15a9bb90dfdb12b96230c14a0ff8 | refs/heads/master | 2021-03-27T17:13:16.813628 | 2018-03-30T18:08:07 | 2018-03-30T18:08:07 | 106,642,044 | 3 | 2 | null | 2018-03-30T18:08:08 | 2017-10-12T03:53:19 | R | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(gogoplot)
test_check("gogoplot")
|
bdbc69acad247941d613b8de2612e9f50af18017 | f5b72d9c57e50c7e95a56fd53fed4c18e6fe16b1 | /movie.R | 67de9497be58759db8419086a24cc816ba095eec | [] | no_license | Bio3SS/Compensation_models | 024151087ea3ee89a3edeeedadb0e03844e82a91 | e91d68cbbfbd94fd3a9ca72cb2cb5fdbb48b7567 | refs/heads/master | 2022-04-29T22:58:24.445887 | 2022-04-11T20:11:02 | 2022-04-11T20:11:02 | 49,981,204 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 97 | r | movie.R | Nc <- 40
for(R in seq(1.1, 4.0, by=0.02)){
simPlot(N=Nc, f0=exp(R), fDD=2*Nc, p0=0, pDD=NULL)
}
|
2f0e91fd374a018ca6e0565c80a1e836a1c12d1b | a15b798ee17686b617b1849db93086cfe0be9b47 | /plot2.R | 0c7191b7412b8c7256c26647d5ffed3d670a997c | [] | no_license | vtpanda/ExData_Plotting1 | 07fb737623fc131e2b8c7bdd55945441e3655220 | 8fbbcb32c63d463f825c60a74ebd075b313afd5d | refs/heads/master | 2021-01-21T08:51:22.088359 | 2016-01-09T03:38:07 | 2016-01-09T03:38:07 | 49,175,637 | 0 | 0 | null | 2016-01-07T02:28:39 | 2016-01-07T02:28:38 | null | UTF-8 | R | false | false | 403 | r | plot2.R |
mydata<-read.table("household_power_consumption.txt", sep=";", na.strings="?", header=TRUE, as.is=TRUE)
mybetterdata<-subset(mydata, Date=="1/2/2007" | Date=="2/2/2007")
png("plot2.png", width=480, height=480)
plot(as.POSIXct(paste(mybetterdata$Date, mybetterdata$Time), format="%d/%m/%Y %H:%M:%S"), mybetterdata$Global... |
787d54e596425b32a37d5cde25f3a913a857ab2a | 7584c4b6119cf7985b1ea152f03de0a2619fe13b | /man/read.newick.Rd | e6e930119c16655a367f08ae74c994b82dab6aea | [] | no_license | blueraleigh/macroevolution | 2e380d14d91c7312d6ce1298d808f32b4b1becbd | bfa0644f4941940d7812106914add06fd5540656 | refs/heads/master | 2021-12-09T20:12:57.472284 | 2021-11-10T22:43:14 | 2021-11-10T22:43:14 | 213,418,210 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 537 | rd | read.newick.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/treeio.R
\name{read.newick}
\alias{read.newick}
\title{Phylogenetic tree input}
\usage{
read.newick(file, text = NULL)
}
\arguments{
\item{file}{A filename pointing to a file containing a Newick character string.}
\item{text}{A Newick charac... |
448710c9f3fc7685f7eadb191bf50d3098ec527f | 9bdbe6236e0a9c59edd565079d383924061ee782 | /man/strogatz.Rd | a55c20624fd701fba56abe5eead7f9d25256526d | [
"MIT"
] | permissive | PabRod/sleepR | d2470acb6ea14f9d789991c2edc0bddedf39c348 | 0e8e92f0db62fb8723f55dc62d11e0254c7be5c5 | refs/heads/master | 2021-06-22T09:14:47.882072 | 2020-12-17T15:23:09 | 2020-12-17T15:23:09 | 153,459,732 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,131 | rd | strogatz.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/strogatz.R
\name{strogatz}
\alias{strogatz}
\title{Solve Strogatz's model}
\usage{
strogatz(ts, y0, parms = strogatz_default_parms(), ...)
}
\arguments{
\item{ts}{Vector of times (in h)}
\item{y0}{Initial condition}
\item{parms}{Model param... |
428ee287b72a7c09c4daacc6d4c65928ec8f7a71 | c5eebcd0f28922376621fe6f72cabafa6f58c59d | /man/eom.Rd | 7e337fef7d480bb92f154aba8fded33d48e26fc7 | [] | no_license | Hans213/ralibr | ef99afd9b6eefaea2d1ef6fa7f707572512177f1 | 8b5f636d84873465de502a92fb3429f374cf4fb3 | refs/heads/master | 2020-03-07T09:13:44.787956 | 2018-03-30T13:01:34 | 2018-03-30T13:01:34 | 127,402,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 414 | rd | eom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dates.R
\name{eom}
\alias{eom}
\title{The end of month date}
\usage{
eom(dates)
}
\arguments{
\item{dates}{a vector of dates.}
}
\value{
a date vector with the same class as \code{dates}
}
\description{
The \code{dates} are rounded to the end... |
72d59a25027f8025dfea75b1dc9958ee736fc632 | e6d4db5226182c63755e1fe8fb8677104218082b | /length副本.R | 261c27b0eb5aacfb872bed2de87ef2209e68e986 | [] | no_license | chihungfei/xuanti | 0a5f41091c73c1a7144710f2b61386a82859a113 | e1ac0a569d6279c42bccae43e35c47be8e236de4 | refs/heads/master | 2021-03-12T22:52:29.657741 | 2014-06-22T23:45:26 | 2014-06-22T23:45:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 613 | r | length副本.R | xunzilength <- c(5,4,4,4,8,9,12,6,9,5,4,8,11,10,10,12,7,7,10,7,11,7,5,5,8,7,6,5,5,7,10,4,4,5,11,13,4,4,4,12,11,7,4,4,9,4,3,3,3,6,6,4,4,5,7,5,6,6,6,5,6,6,4,4,8,8,7,5,5,5,3,3,9,6,6,8,3,6,8,8,11,7,11,11,13,12,12,4,10,7,18,7,16,8,6,4,4,6,7,9,6,8,10,4,10,5,7,4,3,4,4,4,7,7,5,4,4,4,4,7,4,4,7,8,4,5,8,4,5,4,8,7,3,7,3,4,10,3,5,4... |
de5d98dd45beb91794d41ef2c2d6d0eed89c19a7 | 3ba9af0c684713f3ff43b833e7631aaec1fb434c | /plot.R | 76c60c785f8f26f1fec8413e77b83cd17ea707d3 | [] | no_license | mllofriu/taxi | 4ff1b4f0329296ba583618e1a26b7b3f3588d9da | 4c952080f07a5cb291dfb97e8b2867136999a02b | refs/heads/master | 2021-03-12T19:21:33.710098 | 2017-04-07T22:10:48 | 2017-04-07T22:10:48 | 24,699,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 715 | r | plot.R | load(file = 'rte-1.Rdata')
require(ggplot2)
data <- rte
p <- ggplot(data = data, aes(x=factor(episode), y = steps, fill = method))
p <- p+ geom_boxplot(notch = TRUE)
p <- p + ylab("Completion time (s)") + xlab("Episode")
p <- p + theme_bw() #+ ylim(c(0,750))
p <- p + scale_x_discrete(breaks = c(1,5,10,15,20,25,30)) ... |
55e5d645e9a9871411c380c58d25b9673d206cfb | b45876b9933df3f5e21f348e13fd66a8f990950a | /0.1_Codes_Invivo/1_4_zscore-div-sqrtP_heatmap_barchart.R | 2af1233c50424d01b49c1c67d1cd61a98e17ee07 | [] | no_license | ScrippsPipkinLab/CRF_Screen | 91988991806fd3f526e013bb6c9e224160410860 | 80300511482fd3d2003cc4ec88ef1ee555b259ef | refs/heads/master | 2023-06-12T08:46:39.736104 | 2021-06-24T19:43:51 | 2021-06-24T19:43:51 | 164,017,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,781 | r | 1_4_zscore-div-sqrtP_heatmap_barchart.R | ########## Converted Data analysis ##########
# Author: Huitian (Yolanda) Diao
# May 15th, 2019
# For t-test with percentiles
# Reference: https://bioconductor.statistik.tu-dortmund.de/packages/3.1/bioc/vignettes/ComplexHeatmap/inst/doc/ComplexHeatmap.html
########## Libraries ##########
library(dplyr)
library(tidyver... |
5c7ab0775d06dfbb91f66cc213342b7a66284b3b | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/IceCast/man/reg_info.Rd | 876a9a7f1ab41970befc7413eb3e25f2ba560358 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,515 | rd | reg_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regionInformation.R
\docType{data}
\name{reg_info}
\alias{reg_info}
\title{List of information about each region}
\format{An object of class \code{list} of length 10.}
\usage{
reg_info
}
\description{
A region information list, \code{reg_info... |
159d689a2792593abb150eee6039d99fc2248cdc | d9dd343f826dbc5b9fc50657c99795a3dd434b5a | /app.R | d8602667b5777a485f10b308eaa0e0df613a5246 | [
"MIT"
] | permissive | b-tomhave/ShinyCensus | 84e3be075a57dbec70a1748a92db029895f53cee | ccc28fc8577edfeb2700448fbd869f28bdf9f5eb | refs/heads/main | 2023-06-22T23:37:45.865067 | 2021-07-23T17:09:49 | 2021-07-23T17:09:49 | 386,975,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,689 | r | app.R | # R Shiny App For ACS Census Data Viewing
##############################################################################
# Libraries
library(shiny)
library(shinyjs) #For javascript collapse box button
library(shinydashboard)
library(shinydashboardPlus)
library(shinythemes)
library(plotly)
library(tidytransit) # For rea... |
e8d48d382ee33328762770c45259628309f1c5da | 9e6dbca191e7ae538a467ca6941b8bb85ff0da5f | /inst/functions/utils.R | 026c1a02d246915d1058c8504ae8beaa34b1d92c | [
"MIT"
] | permissive | seabbs/covid19Vaccination | 7ca2f5ce8d3942bf4146bbd8d678d9e5aa676f15 | bb14013f76adea0d2886c2a812b65c25503100a4 | refs/heads/master | 2023-06-07T12:01:40.436239 | 2021-06-28T09:15:24 | 2021-06-28T09:15:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 287 | r | utils.R | download_vaccine_data_state = function()
{
data = read.csv(file = 'https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/vaccinations/us_state_vaccinations.csv')
write.csv(data, '~/git/covid19Vaccination/inst/data/us_state_vaccinations_210611.csv', row.names = F)
} |
34282dc44224621a6c4b641e6aa6b9d686f18989 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rtip/examples/arpt.Rd.R | f180742cf6d063f49a50c7b2010c672e5acf2ead | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 191 | r | arpt.Rd.R | library(rtip)
### Name: arpt
### Title: At-risk-of-poverty threshold
### Aliases: arpt
### ** Examples
data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT")
arpt(ATdataset)
|
d11f2a3187a0c945dfee048359c4615fc66ecfdf | 19aae92539022ec2989da3c86d47f52d9f3df297 | /packages/ATOdig/R/ATOdig-package.R | e4a45198cdf5948fb4e201d5078dd206f78a3541 | [] | no_license | jmp75/govhack2013 | f4c70b286141a1a9bf5821d3fd880071a755d856 | 1fef7253f2d7a6c6daf099a9b3d424890d7df44f | refs/heads/master | 2021-01-19T07:55:05.730513 | 2013-06-02T06:57:01 | 2013-06-02T06:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 524 | r | ATOdig-package.R | #' A package to access the ATO Excel based data from R
#'
#' \tabular{ll}{
#' Package: \tab ATOdig\cr
#' Type: \tab Package\cr
#' Version: \tab 0.1-3\cr
#' Date: \tab 2013-06-03\cr
#' License: \tab LGPL 2.1\cr
#' }
#'
#'
#'
#'
#' @imports rClr
#' @imports stringr
#' @name ATOdig-package
#' @aliases A... |
250423fc1b867ce3aaf788f0328d548f0523cf49 | ae8a72dd35911a3a9d6b472b152e22a382d67d3b | /varTest/results/assembleDiagnostics.R | e2c34aa7ac63e328b05d3bd5bd00d845031164d3 | [] | no_license | inspktrgadget/atlantis | 883a1555c3c930007ebc475dc3dd5fca14e2d717 | 3a324ea7194f2a93ad54f6f7ce0f4e55dc2419e6 | refs/heads/master | 2021-09-10T23:03:37.983689 | 2018-04-03T20:45:54 | 2018-04-03T20:45:54 | 116,151,163 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,128 | r | assembleDiagnostics.R | # code to assemble diagnostic data for varModels
library(plyr)
library(tidyverse)
library(grid)
library(Rgadget)
varmod_dir <- "~/gadget/models/atlantis/varTest"
modfiles <- dir(sprintf("%s/varModel/varModels", varmod_dir))
out_data <-
lapply(modfiles, function(x) {
load(sprintf("%s/varModels/%s/WGTS/WG... |
8cb4bfc4072d24bc0326c77774160526dc30b7b9 | 334145f4753d39c1024d6e4f256d30ee50fe657e | /man/KMedoids.Rd | e5810d39e7ed8389bc72cbac7310d5587468c7cd | [] | no_license | cran/TSdist | 6aaefaefd78c37fbfb07efe164cdb44c19fc2f53 | d28f6f0c3aa4c5004caf33724b5c7fc064846553 | refs/heads/master | 2022-09-15T21:13:30.275246 | 2022-08-31T08:40:02 | 2022-08-31T08:40:02 | 19,747,325 | 5 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,527 | rd | KMedoids.Rd | \name{KMedoids}
\alias{KMedoids}
\title{
K medoids clustering for a time series database using the selected distance measure.
}
\description{
Given a specific distance measure and a time series database, this function provides the K-medoids clustering result. Furthermore, if the ground truth clustering is pro... |
0981f1d5ec9f1fc34f1a18d06ccea5c0e836a9f6 | 6e7eed058c0dd6d0d777b54a6738d3458b8064be | /plot1.R | 844e65062c2f8e8ba064d3d09367906c06a097d5 | [] | no_license | bolognarossoblu/ExData_Plotting1 | 37ba57e040731db7fa1bad27402e2948657126c5 | d6627a4b1715e54f2f0c32ff6c48579da32017e9 | refs/heads/master | 2021-01-18T14:55:00.558238 | 2015-02-09T00:13:11 | 2015-02-09T00:13:11 | 30,487,737 | 0 | 0 | null | 2015-02-08T10:26:38 | 2015-02-08T10:26:38 | null | UTF-8 | R | false | false | 618 | r | plot1.R | # Plot 1. Course Project 1. Exploratory Data Analysis.
# Load package
# To install package enter: install.packages("sqldf")
require(sqldf)
# Load data and get subset
file <- c("household_power_consumption.txt")
data_subset <- read.csv.sql(file, header = T, sep=";", sql = "select * from file where (Date == '1/2/2007' ... |
57ff757a52789e6da77f73e8ae93978577e8a390 | 2aba8aef55e7cbf1a70565bddd386f680f1d3396 | /2019-10-17-fuel-poverty/script.R | 77d74d9920951a975bb17eef9d589cb872265a16 | [] | no_license | traffordDataLab/charticles | c45755fb1b2c404e9072f2bb19d45f42f01097ac | e6f19ac4d6a6e2acd2e6edcc54711af679160fed | refs/heads/master | 2023-04-30T21:58:49.526318 | 2023-04-20T14:38:20 | 2023-04-20T14:38:20 | 156,720,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,514 | r | script.R | ## Fuel poverty ##
# Source: Department for Business, Energy & Industrial Strategy
# URL: https://www.gov.uk/government/statistics/sub-regional-fuel-poverty-data-2019
# Licence: Open Government Licence 3.0
library(tidyverse) ; library(httr) ; library(readxl) ; library(sf) ; library(viridis)
source("https://github.com... |
61ba974182783cfd28b1637a7d652de0bce6c68f | c2cc9e7bde76f30f0c63f7068bdde39cf91aa0f8 | /Unit 5 - Text Analytics/Assignment 5/automating_reviews_in_medicine.R | 82daeefb8f0b5b6a4e19a818d61c1f796ec481ae | [] | no_license | arubino322/The_Analytics_Edge | 5319e3d538c682ace9c8c077792935581841cdfb | a6137fe80a8023eaab63a77700fb274f0785d4b6 | refs/heads/master | 2016-09-06T10:55:51.039815 | 2015-08-26T22:06:50 | 2015-08-26T22:06:50 | 41,329,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,847 | r | automating_reviews_in_medicine.R | trials = read.csv("clinical_trial.csv", stringsAsFactors=FALSE)
summary(trials)
str(trials)
which.max(nchar(trials$abstract))
nchar(trials$abstract[664])
#3708
#OR
max(nchar(trials$abstract))
sum(nchar(trials$abstract)==0)
#OR
table(nchar(trials$abstract)==0)
which.min(nchar(trials$title))
trials$titl... |
8f36c91433404d7d7a31266ddfb826d45b9dcca9 | 4c69d500aebcfd631f339aede54d0a2e54556274 | /Lab_Exercise_1.R | 616ae4d1e1c8cf62e146ae3320c3b823581b00a7 | [] | no_license | mvanger/data_viz_code | c20f94a9b072830b8befd0d46cea7194df402435 | a4a5e1a11f1e343f7f182533aef401978a083031 | refs/heads/master | 2021-01-15T21:10:03.523557 | 2014-06-05T18:10:26 | 2014-06-05T18:10:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,565 | r | Lab_Exercise_1.R | # Problem 1
# Set x and y values for each function
x1 = seq(-4,4,.1)
y1 = (sin(x1))
x2 = seq(-2,2,.1)
y2 = (x2^2)
x3.1 = c(-3:0)
y3.1 = c(rep(1,4))
x3.2 = c(0:3)
y3.2 = c(rep(0,4))
# Plot function a
plot(x1,y1,ylim=range(c(y1,y2)),xlim=range(c(-6,6)),main="Question 1", xlab="X Value", ylab="Y Value",type="n")
lines(x1... |
149ace49431a9de83a98a1720b6601123ee1e631 | 3737b9311c734efcad14b24f07914dc7188a1381 | /libr/switch_to_prop.R | 66fc5e9fb74dcb7d44ff919ee2b3a5a98069f33c | [] | no_license | jcccf/tlang | e38f64b45116c709ff528fbc7db49296499811b3 | 6fe67c1c550b23d19731bc41ebbaa20c953e6f48 | refs/heads/master | 2021-01-01T17:47:21.137247 | 2012-08-29T07:22:28 | 2012-08-29T07:22:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 216 | r | switch_to_prop.R | w <- read.csv("switch_to_prop.csv")
names(w) <- c('x', 'y')
attach(w)
reg <- lm(y~x+I(x^2), w)
summary(reg)
xx <- seq(min(x), max(x), len=200)
yy <- reg$coef %*% rbind(1,xx,xx^2)
plot(y~x, w)
lines(xx,yy,lwd=2,col=2) |
ef135e706e8725f6a3a3646b5ce65db3f0aa4268 | 87f01abc80a1da97ea9e3143981fcabb4192c370 | /Codigo Grafico Animado.R | 55891488d7c626a992db7554b27f2c8c985ebeb0 | [] | no_license | joakoestri/Laboratorio8 | eef41cbd75724547a8b70461d2aa7d835eaa416f | 522422b77cc02b627f2477bc48c794982f6da9d8 | refs/heads/master | 2020-09-22T15:15:40.457183 | 2019-12-02T01:14:05 | 2019-12-02T01:14:05 | 225,255,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,735 | r | Codigo Grafico Animado.R | #Leemos las mallas
mismanaged_vs_gdp <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-05-21/per-capita-mismanaged-plastic-waste-vs-gdp-per-capita.csv")
waste_vs_gdp <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019... |
4de3063dc6a6214810c5ba227a5ce7029091fe64 | 31953bf4daaf2e63a37963c823e314283eb27483 | /a71_election.R | e845c0b73b37d162b2ec8d582c99b400648e1705 | [] | no_license | mofas/r-note | b2c0692ab5693df341df82ea46c732ea1d17a1fd | 175019f5ec40ce37fa5dba73e9240c99c46a27f4 | refs/heads/master | 2020-04-05T13:05:05.294066 | 2017-08-17T20:40:50 | 2017-08-17T20:40:50 | 95,072,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,820 | r | a71_election.R | statesMap = map_data("state")
library(ggplot2)
library(maps)
library(ggmap)
# 1.1
str(statesMap)
length(table(statesMap$group))
# 1.2
polling = read.csv("PollingImputed.csv")
Train = subset(polling, Year < 2012)
Test = subset(polling, Year == 2012)
# 2.1
mod2 = glm(Republican~SurveyUSA+DiffCount, data=Train, fa... |
5245c5ad2887e3692bb69191bd2a2208d2fd0c71 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.analytics/man/gluedatabrew_update_project.Rd | c04d351d9eaacf196866dba99aa987e36bcb214c | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 696 | rd | gluedatabrew_update_project.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gluedatabrew_operations.R
\name{gluedatabrew_update_project}
\alias{gluedatabrew_update_project}
\title{Modifies the definition of an existing DataBrew project}
\usage{
gluedatabrew_update_project(Sample = NULL, RoleArn, Name)
}
\arguments{
\... |
6a335092e382446905a5fb0bd61af34940034b4b | 3b3bb9d7be4125a7790ec0282bc3501e494498ec | /podstawy_programowania/2017_2018/01_kalkulator.R | 444d33531fa1c2d796b40aa2ce44a91b1dc66b0b | [] | no_license | lwawrowski/cdv_bigdata | ee4c198c739ff6d8fdda966376ccf3be96987ce1 | e09183d300d56e0448ba853bb6165f9ed3c68126 | refs/heads/master | 2023-05-24T11:50:41.290672 | 2023-05-14T10:19:39 | 2023-05-14T10:19:39 | 183,685,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | r | 01_kalkulator.R | # sprawdzenie katalogu roboczego
getwd() # kom
?getwd
help("getwd")
2+2
4^(1/2)
sqrt(4)
factorial(3)
sign(-5)
sign(5)
exp(1)
exp(2)
pi
liczba_pi <- pi
liczba_5 <- 5
log(10)
log(10, base = 2)
log(10, 2)
abs(-5)
# ćwiczenie
2*sqrt(pi)+
log(8,2)
((2^3)*(6^2))/(((1/2)^2)*((4/5)^3)) # 1
((6-3.5)/(2^11))^(1/3) #... |
7b407c6057fae8cf6b9812227f534ca5657177be | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sensitivitymv/examples/amplify.Rd.R | a2dc821282fee635194a129a5c622182fd12c245 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 246 | r | amplify.Rd.R | library(sensitivitymv)
### Name: amplify
### Title: Amplification of sensitivity analysis in observational studies.
### Aliases: amplify
### ** Examples
data(erpcp)
senmv(erpcp,gamma=3.5,trim=1)
amplify(3.5,6)
amplify(3.5,c(4,6,8,11))
|
976190bce074b7f3e8443c6b8bc67adb7ed0921a | 06c91835ef96c077e8549e7948c36dc6775fdd52 | /man/get_observedprob.Rd | 41fa1fc736fad19a64ef6776990d9434f6681d3a | [] | no_license | sscogges/controlhet | 3293a7f0ad949108f90bea6278d6d61e231013dc | 0150cbb9fd2247baecf7513c7ea00db232442dae | refs/heads/master | 2021-01-20T04:53:51.475552 | 2017-08-25T10:32:35 | 2017-08-25T10:32:35 | 101,393,161 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 493 | rd | get_observedprob.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multipleversions_code_110316.R
\name{get_observedprob}
\alias{get_observedprob}
\title{Observed data quantities}
\usage{
get_observedprob(Y0, D0, Y1, D1)
}
\arguments{
\item{Y0}{observed outcomes in Z = 0 arm}
\item{D0}{observed treatment ty... |
0e5d9ad1a81ef4d3a714b7b5fe544444e49a04bb | c77069c2dc6dbf3f9449a44e06d70b540a1912b5 | /R/RI.R | 988087e4e032868c47cc203e410becb418058964 | [] | no_license | cran/phenology | 62b323a9231c3701568de58c57a804e043abe6a2 | 991d2c35dcbcf1fcff23cbcc0c2f82b74a868dfb | refs/heads/master | 2023-04-15T03:37:51.464388 | 2023-04-01T09:10:02 | 2023-04-01T09:10:02 | 17,698,504 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,547 | r | RI.R | #' RI returns an expected remigration interval
#' @title Return an expected remigration interval.
#' @author Marc Girondot
#' @return Return a remigration interval.\cr
#' @param s Time-conditional probability of survival
#' @param t Time-conditional probability of tag retention
#' @param r Time-conditional probability ... |
5c2b1969d20586b1e3f3dfb8de4a7381715272a6 | daa6105785845c70b06aef9760708ced491353e9 | /public/R/src/org/broadinstitute/sting/utils/R/gsalib/man/gsalib-package.Rd | dc7a08287f4ba134a70f876024704b54465635bd | [] | no_license | johandahlberg/gatk | 2f1b1c4909326480841d73dd07bb469e22cc7552 | b8f13082ca139e74caa887a05855e723430d1aad | refs/heads/master | 2021-01-18T07:36:54.199474 | 2012-12-17T17:54:03 | 2012-12-20T03:28:53 | 4,624,254 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,909 | rd | gsalib-package.Rd | \name{gsalib-package}
\alias{gsalib-package}
\alias{gsalib}
\docType{package}
\title{
GATK utility analysis functions
}
\description{
Utility functions for analyzing GATK-processed NGS data
}
\details{
This package contains functions for working with GATK-processed NGS data. These functions include a command-line pars... |
0481ce811eec63be81892f12de222adbbe74efde | 666f1cc22538362c71a404c6977c05c54d09d587 | /09_combine_crunch.R | 82e6f492dc248925ba9ca30f6db48a65555438b2 | [] | no_license | kuriwaki/cces_cumulative | 09c8b2548006e5b0abf6dfdecaa1816dc50be2a4 | 2449f5c76fb29b1f0ea88060189357b12c9cb53e | refs/heads/main | 2023-05-25T14:38:23.523698 | 2023-05-18T13:29:08 | 2023-05-18T13:29:08 | 93,090,050 | 19 | 1 | null | 2023-05-12T17:47:20 | 2017-06-01T19:00:36 | TeX | UTF-8 | R | false | false | 4,592 | r | 09_combine_crunch.R | library(tidyverse)
library(crunch)
library(dplyr)
library(haven)
library(googlesheets)
library(lubridate)
login()
if (writeToCrunch) {
login()
deleteDataset("CCES Cumulative Issues")
newDataset("https://www.dropbox.com/s/p8cx49h82coqfcs/cumulative_2006_2018_crunch.sav?dl=0",
"CCES Cumulative v4.0"... |
9bb925e7d7a93031319e7669af062890544ab407 | 64163746088c204483e85d54f428b31b891ce6ae | /R/SNR.R | 9e05e0b8a935f10681e6d4cf4d84955f526e5d05 | [] | no_license | peterccarl/TTR | af83e3940077ba64f75e253a6f38de5cbee9a1a4 | 93b316959116a4ec1a70c614a10658e0c0f93afe | refs/heads/master | 2021-01-15T13:07:30.222833 | 2016-04-07T14:21:43 | 2016-04-07T14:21:43 | 55,658,094 | 2 | 0 | null | 2016-04-07T02:46:39 | 2016-04-07T02:46:39 | null | UTF-8 | R | false | false | 1,403 | r | SNR.R | #' Signal to Noise Ratio
#'
#' The n-day SNR for a given market is calculated by taking the absolute
#' price change over an n-day period and dividing it by the average
#' n-day volatility.
#'
#' \deqn{SNR(n) = \frac{ABS(P_t - P_{t-n})}{ATR_n}}{SNR(n) = ABS(P_t - P_(t-n))/ATR_n}
#'
#' Using average true range as th... |
2eaaab0aef37c15024e118b1f6b45d73aaef7fa6 | 87d40842a98dc8d752f0babe560c51f99ebbc47b | /R/Updated/SVAR.R | ec6f53158bbadfcfaf59afbfef899b7cdfdeed30 | [] | no_license | Allisterh/SVARdoc | 83a2f6d30edd571d692a58c5279e6ffcdd0f1a40 | fc3eaa55bb4ebaf57f7f8c3ed8053df04a0e48bd | refs/heads/master | 2023-04-04T13:41:54.833426 | 2021-04-22T15:07:53 | 2021-04-22T15:07:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,834 | r | SVAR.R | #SVAR sel up
# there will be three models: the central SVAR model is model 1
# the othogonal model is model 2
# the othogonal random model is model 3
head(da)
#head(dan)
#Var1<-VAR(da,p=4, type='both',season=NULL, exog=dum)
#Var3 <- VAR(dan[, c(3:7, 9. 11)], p = 8, type = 'both', season = NULL, exog = dum)
#Setting up ... |
93e13561d654dbff1f97704ed7d85bf1eeb9ab41 | 1020e655f91b5f3ae5056f3a3006858ddaa92d3a | /modelo2/R_server/clustering0.R | 452606b26f56897c1af2e1da6f917134c9824057 | [] | no_license | ivomota/Olho-Passarinho | 578200e3c12a4c94c399b0455ef33ed61ca7619c | 5b531aebac3c4914f90586f4f163b42773a5b31d | refs/heads/master | 2021-01-18T11:25:50.284361 | 2014-06-28T13:24:19 | 2014-06-28T13:24:19 | 15,495,323 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,906 | r | clustering0.R | library('fpc')
library("stringr", lib.loc="/Library/Frameworks/R.framework/Versions/2.15/Resources/library")
set.seed(665544)
mainDir <- "~/Dropbox/FEUP/FEUP_13.14/Dissertacao/Olho-Passarinho/modelo2/matrix_combined/S0"
setwd(file.path(mainDir))
a <- c(1, 0.75, 0.75, 0.5, 0.5, 0.5, 0.25, 0.25, 0.25, 0.25, 0, 0, 0, 0, ... |
e771d5f228bea46bced74bf442272e5d167d2b70 | 114773ac779032e674a4246309e17187c6ed69f6 | /Project 101.R | 97ef67fafecd7d486d999ce698702fdb030326c2 | [] | no_license | shoshin-programmer/manning_agencies_geoplot | b23f9548126553be13541bb1851c87807389aabc | bc04581abb90f7975e14e6e6e9a998458ab0df92 | refs/heads/master | 2022-03-12T16:44:58.218634 | 2019-05-28T05:00:16 | 2019-05-28T05:00:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 586 | r | Project 101.R | library(dplyr)
library(ggmap)
library(leaflet)
ph <- read.csv("manning_agencies.csv")
ph <- ph %>% select(-X)
ph %>%
head(5) %>%
DT::datatable(options = list(
lengthMenu = c(5,3,1)
))
Ph.geo <- data.frame(120.98422, 14.599512)
names(Ph.geo) <- c("long", "lat")
leaflet(data = ph) %>%
addProviderTiles(... |
7c9d72c0d5897c422cb006724e82529ec9b59876 | b2307568018ef3ff904e3406f927a4cd5c0d8a26 | /R/utils.R | 64694e285c045367969ed62e7dfde57b4d3e07e0 | [] | no_license | ropensci-review-tools/pkgcheck | ad75d51c0baf573ec38b4911feb2febe459be4d9 | 21e6ac3aa530dacf7b4440f63d53f2374965ca1a | refs/heads/main | 2023-08-30T21:37:05.761840 | 2023-08-29T11:54:17 | 2023-08-29T11:54:17 | 264,203,707 | 15 | 4 | null | 2023-09-05T00:50:39 | 2020-05-15T13:40:55 | R | UTF-8 | R | false | false | 2,853 | r | utils.R |
#' Tick symbol for markdown output
#' @noRd
symbol_tck <- function () {
":heavy_check_mark:"
}
#' Cross symbol for markdown output
#' @noRd
symbol_crs <- function () {
":heavy_multiplication_x:"
}
get_Rd_meta <- utils::getFromNamespace (".Rd_get_metadata", "tools") # nolint
#' Decompose file paths into ch... |
71f9bc1caede371fbbebb0307ebfcf72bdbfe36a | ae5225814dde38b7a3e08e5aa984209cf47ff1ed | /R/installAlteryx.R | 401f31e4890170cd9a8ac90d15e8447306228612 | [
"MIT"
] | permissive | KrishAK47/jeeves | ccbba2d94b55d8325368b9f7e6c93a12fb440042 | c0ddecad35cdfee1763cf54c8fc61dd477a41e46 | refs/heads/master | 2020-06-02T17:22:25.335004 | 2018-06-28T16:21:37 | 2018-06-28T16:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,403 | r | installAlteryx.R | #' Download Installers
#'
#' Downloads installers automatically from the build repository.
#' @param buildRepo path to the build repo.
#' @param to directory to download the installers to. defaults to working dir.
#' @param buildDir the build directory.
#' @param branch string indicating the branch. defaults to Pred... |
550f34e605a28106a05b41c6d7f745f705206168 | 4f87ae5e7bb3a536eeea7af032d7b54efd00f19d | /man/prep_proposal_dist.Rd | f01e810add31813ffbedb049e6219d88ff7cac89 | [
"MIT"
] | permissive | ml-lab/LDATS | 5d3f176ea6bffa04b4b14fdcc81df229b6adba41 | 1422570a36777de7189b9c772eb8257985658883 | refs/heads/master | 2020-04-12T07:10:43.339295 | 2018-12-17T00:10:27 | 2018-12-17T00:10:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,785 | rd | prep_proposal_dist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ptMCMC.R
\name{prep_proposal_dist}
\alias{prep_proposal_dist}
\title{Pre-claculate the change point proposal distribution for the ptMCMC
algorithm}
\usage{
prep_proposal_dist(nchangepoints, control = TS_controls_list())
}
\arguments{
\item... |
814d4c522ba3f82b133a8735cfb7f2b8cc34c711 | 98098b9c75de0237c3324e4698d8231eecdaf5c3 | /data_structure_reduced.R | 32b6c1325035c5e0638cb9ae716189390aa64534 | [] | no_license | lnlroger/c19-behav | 8bbac306c22aaf6162b2ef305b175822c4b767ff | 1680867b4868beb1c1b81383fc8792597a2ff1b4 | refs/heads/master | 2022-12-23T21:56:16.611238 | 2020-10-06T17:49:33 | 2020-10-06T17:49:33 | 301,788,770 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,366 | r | data_structure_reduced.R | #Files that require regular updating
## Case Death
## Google
## Oxford
library("tidyverse")
library("countrycode")
`%notin%` <- Negate(`%in%`) # Defines logical operator "not in" for use below
# Import google mobility data ----
source("Google/import_mobility.R")
# Lockdown dates ----
source("LockDown/import_lock... |
6ce4d4110df33b0a534f3472c5cb8ab2b838319f | 3328b8263d0351041caebd290d2724702167b76b | /man/plotCorrectedCoverage.Rd | 53307fb05e134795db948c7691ab875c252df943 | [] | no_license | skillcoyne/BarrettsProgressionRisk | c006b9e62299a3e81996d30c511e4330b9548d49 | c2c5eb68b4be695f720f5eef1d39d552e37b1041 | refs/heads/master | 2023-06-07T12:43:47.565697 | 2021-06-22T08:51:02 | 2021-06-22T08:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 465 | rd | plotCorrectedCoverage.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_utilities.R
\name{plotCorrectedCoverage}
\alias{plotCorrectedCoverage}
\title{Plot genome-wide coverage from adjusted raw data}
\usage{
plotCorrectedCoverage(brr, as = c("plot", "list"))
}
\arguments{
\item{BarrettsRiskRx}{or SegmentedSW... |
a8af2dd66ea2cf6a36ae34daa416b438e6ff79aa | 8c3a282d3be3a23b45fef8069f45cffb23d3a6ee | /main.r | 20671a3f09907bc58b43dca40a37b1501ce35ff8 | [] | no_license | jrmdel/Metal100 | 8a2faebac9c04eb0d24e68f76ec958006eb7a2e8 | e6441a770767fb9517555e0e4cc6938304bbdccf | refs/heads/main | 2023-01-08T04:16:18.441843 | 2020-11-14T14:50:32 | 2020-11-14T14:50:32 | 306,159,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,388 | r | main.r | library(FactoMineR)
library(readxl)
library(dplyr)
library(tidyr)
library(ggplot2)
# Load data
dataAlbums <- read_excel("./data/metal_dataset_albums.xlsx")
dataSongs <- read_excel("./data/metal_dataset_songs.xlsx")
songsFromCsv <- read.csv("./data/dataAcpExtract.csv")
dataSongs100 <- data.frame(songsFromCsv)[,-c(1)]
... |
c8da8e754982cc98fc88524df630db1cecf9a53a | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/4695_0/rinput.R | 8aff45cf72e54901d9e3abfaffb7524475ffbddb | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("4695_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="4695_0_unrooted.txt") |
9f96e4d8bc9aa64142a293337f6ffb285921d4bd | bbb6d6f862dd460481e4c38917cfd3ff3c446480 | /Laying date analysis.R | 14f3a1160a4af63114f12a2a213eade989a227a5 | [] | no_license | 11arc4/Long-term-trends-TRES | 091e71751a4591e961987c742d83c21997693fcd | 938a726e3d4936d5ba13e2e74ee67c8964d64d86 | refs/heads/master | 2018-12-15T06:43:23.088908 | 2018-12-04T18:45:51 | 2018-12-04T18:45:51 | 120,344,942 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,851 | r | Laying date analysis.R | #First Egg date mini analysis
#Extract the date of first egg
# data <- as.data.frame(matrix(nrow= 12000, ncol=4))
# colnames(data) <- c("NestID", "Year", "LayDate", "FemaleAge")
#
# i=0
# for (nest in as.list(globalData$nests)){
# i=i+1
# data$NestID[i] <- paste(nest$siteID, nest$year, nest$renestStatus, sep="-"... |
a98ab4e1151dd4efc94089b6f0c696808846ce25 | c5666f152dfa294ad17eda5ecbb51b09af28faa6 | /R/nhs_connect.R | 8437c14d16d7c43000fc6e78d76e8aa3aec9fe2e | [] | no_license | DilyLong/nhanesR | 5fd29cfb08956f2b1f3af17f52690f1a6d1e4afe | 12f712cb5c0ddddb34d19512e80f3b4770674a7d | refs/heads/main | 2023-09-05T11:01:19.542345 | 2021-10-06T08:01:39 | 2021-10-06T08:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,405 | r | nhs_connect.R | #' Connect PostgreSQL
#'
#' @param user user, default is 'postgres'
#' @param password password, default is 'pg'
#' @param dbname database name, default is 'nhanes'
#' @param host default is 'localhost'
#' @param port default is 5432
#' @param ... passed to DBI::dbConnect()
#'
#' @return connection with PostgreSQL
#' @... |
ff5aa7666305eda1d1f2c4bf42b2085f549ea92d | 3d560900291b0b323d1c8f5512e47a785774141e | /man/scale_extrude_face_fill_manual.Rd | 4296b250ca9074a369e470c307f0f05d6d6f4a49 | [
"MIT"
] | permissive | hjanime/ggrgl | a4de12f6ede8471dbd542499d730e92e420318fa | 27ba63cc57102e1f410273f688ef7e4ea7a01d85 | refs/heads/main | 2023-02-01T16:17:22.454753 | 2020-12-21T20:00:05 | 2020-12-21T20:00:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,144 | rd | scale_extrude_face_fill_manual.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scale-extrude-manual.R
\name{scale_extrude_face_fill_manual}
\alias{scale_extrude_face_fill_manual}
\alias{scale_extrude_face_alpha_manual}
\alias{scale_extrude_edge_colour_manual}
\alias{scale_extrude_edge_alpha_manual}
\title{Create your ow... |
774c30b389bd8ddc9ca200609431a07627777199 | 239598b4d21b6d80367ec0655593f20e6e0a1c6a | /man/llog.Rd | e7f8b30b41ec601eeb42024536598fe37a8b82e5 | [
"Apache-2.0"
] | permissive | flor14/ssdtools | 35183e109c407424ccdb993f5c416de3f46e76b1 | bc1d13c2d929233d8113f4b5f019a85d45932fe8 | refs/heads/master | 2020-04-16T09:03:23.276006 | 2018-12-11T04:13:23 | 2018-12-11T04:13:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,343 | rd | llog.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llog.R
\name{llog}
\alias{llog}
\alias{dllog}
\alias{qllog}
\alias{pllog}
\alias{rllog}
\title{Log-Logistic Distribution}
\usage{
dllog(x, shape = 1, scale = 1, log = FALSE)
qllog(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.