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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a5f229c5dfe7f9923700cba85eb523054158c42 | 6c7976f09cbb750dd665e51682bc814a70d101e6 | /PA2_CacheMatrix/test_cachematrix.R | 7dd7565f1d79b88bb5f5d4df20e4b4d206b19c0b | [] | no_license | nan-wang/Coursera_RProgramming | ca05433a210bf4044c204c0e399944d75b0a95b4 | e26bd4804186706f3e7313d29c47b52b3b3a38d1 | refs/heads/master | 2021-01-01T19:43:05.820801 | 2015-04-07T10:33:07 | 2015-04-07T10:33:07 | 33,536,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,287 | r | test_cachematrix.R | ## This is a test file for checking the basic functions of the implementations.
## Basically, we initialize the cached matrix with
# [,1] [,2]
# [1,] 1 3
# [2,] 2 4
## First, we calculate the inverse by directly using `makeCacheMatrix`
## and check the functions in `makeCacheMatrix`.
## Afterwards, we set ... |
991d1f00eb5fe9bd3e0a0a5ede6b28bb4bb22966 | e0a4d33951863115ed7bd190e1330683c011b9ba | /Miniscreen05/MaGeCK_stats/S8B_c0_t1.R | b171bf49544e1dcbc9e28bd4df239e1a0b8a9fd6 | [] | no_license | davidchen0420/Miniscreen | 83c04943e7a449f20e2392f236e117aeb0dd3c87 | 9269589cdf91435a9f5672382d6fad51d5bc619b | refs/heads/main | 2023-03-19T12:17:31.376911 | 2021-03-16T23:00:27 | 2021-03-16T23:00:27 | 348,514,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,769 | r | S8B_c0_t1.R | pdf(file='S8B_c0_t1.pdf',width=4.5,height=4.5);
gstable=read.table('S8B_c0_t1.gene_summary.txt',header=T)
#
#
# parameters
# Do not modify the variables beginning with "__"
# gstablename='__GENE_SUMMARY_FILE__'
startindex=3
# outputfile='__OUTPUT_FILE__'
targetgenelist=c("SOX9","LRIG1","ROSA26","KRT20","mKate2","AAVS... |
85543ac3ee8fbd6563f735bc399a3a0afaafd8c8 | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /inst/apps/figure2_1/ui.R | 686e7a58211723f4c8d52561106fc3c3661da381 | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 733 | r | ui.R | ui = fluidPage(theme = SMRD::add_theme(getShinyOption("theme")),
SMRD::add_css(),
sidebarLayout(
sidebarPanel(width = 5,
shinyAce::aceEditor(fontSize = 16,
wordWrap = T,
outputId = "fig1plot",
mode = "r",
... |
4ed98e5634faf7e78d7bec9759e4d9f8de461b09 | 6712bba926f2849df7121018791f1217cf8c448e | /tests/testthat/test-compute_rf_lp.R | a705fca22be134e47de60c8f27346b7033676e56 | [] | no_license | minghao2016/Rforestry | 96277dec9d354483850056430f1ef94e872422c6 | 0fe69ef17c10a3adf3de1a887b5f8e5e177ac2e4 | refs/heads/master | 2023-03-28T11:51:57.771759 | 2021-04-01T18:29:34 | 2021-04-01T18:29:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,626 | r | test-compute_rf_lp.R | test_that("Tests that compute the lp distances works correctly", {
context('Test lp distances')
# Set seed for reproductivity
set.seed(292313)
# Use Iris Data
test_idx <- sample(nrow(iris), 11)
x_train <- iris[-test_idx, -1]
y_train <- iris[-test_idx, 1]
x_test <- iris[test_idx, -1]
# Create a ran... |
7acca9a8abf666041d7e62a19dbf9a7b3be7f156 | 305d48a0ec1fc0829e53751aa11bf69471942edb | /CO2project.R | dd0d634cf61050a7aef1627d35835b76692043e8 | [] | no_license | nathanbrunner/timeseries | e6146dbfea5186a42dbedf1a5d64e17b5b56f16f | 9ab29bebd6c6d5139d610dcd355b797b77b646d3 | refs/heads/master | 2020-04-29T19:30:12.136083 | 2019-03-19T19:00:16 | 2019-03-19T19:00:16 | 176,356,942 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 465 | r | CO2project.R | ## We read the table
jubany <- read.table("JubanyCleaned.txt", header = TRUE, sep="\t")
## We make the time series
?ts
co2 <- ts(jubany[,2],frequency=12,start=c(1994,3))
## We plot the data
plot(co2,main="CO2 in Jubany",xlab="Years", ylab="Atmospheric CO2 (ppmv)")
# STL decomposition with approximation for... |
02dfe15a3631d524929620f4cb871ce90438fd2e | c9ad1f541dcc62dd8731e616d57d7aa3c9415a57 | /scripts/Cleaning and Organize.R | 4a6f979e594084ebe3014ce32f3d8df656bf1472 | [] | no_license | xiaofeifei1800/Car-price-Prediction | b941cc97303cc06eea112786b8c3772a30b1f183 | 4cd35f8c4ac871611f19e5ece0a0e86b50a8d011 | refs/heads/master | 2020-04-15T16:35:41.188500 | 2016-02-01T18:27:58 | 2016-02-01T18:27:58 | 50,702,280 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,903 | r | Cleaning and Organize.R | ```{r setup}
library(knitr) # for changing workspace
library(stringr) # for using some regex functions
opts_chunk$set(root.dir = 'I:/R Data/141')
options(width = 110)
load("vehicles.rda")
vehicle = vposts # make a copy of the orignial data
body = vehicle$body
model_google = read.csv("model-google.csv")
```
```{r... |
a4a8fe0d3b7bef0a709dc7f88fb26cd564cbe445 | 047a9613723e6477e68624cb9c3aeb08bc1d4c8a | /gui/server_logic/align.R | c08022bf3efb70820bf8537f2a46890230f98530 | [
"MIT"
] | permissive | phoenixding/cellar | 512ca1c8fe580081b49ceadf7dfa81648739658d | 4736b207e2b40a135f88cc2e677af620ea5ef20d | refs/heads/master | 2023-02-22T05:42:30.902617 | 2021-01-31T16:39:20 | 2021-01-31T16:39:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,180 | r | align.R | align <- function(input, output, session, adata, selDatasetAlign,
replot, reset, relabel, resubset, reinfo,
second_plot_path, double_plot) {
adataAlign <- reactiveVal(0)
observeEvent(input$align_btn, {
if (py_to_r(is_active(adata())) == FALSE) {
showNotif... |
f9147ba325364354b3c0457f0bf38573e152eafa | 3f5bb254c513db86480f5e38dafb3dc58b6d652a | /app.R | 830313061adb1a674104220fe47b81e347e42d8f | [] | no_license | Karagul/finance-1 | 28f79a7c8e03f0038041eba005cd1ed13403a86b | 167cfebc7f6ac929f2945f0a0b9d74232237c6d1 | refs/heads/master | 2020-06-15T08:45:35.645011 | 2019-06-13T17:53:17 | 2019-06-13T17:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,686 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(dplyr)
library(ggplot2)
library(scales)
library(ggthemes)
library(reshape2)
... |
a9259a360225842cfc09816c370f2c0dcc2fae1e | 38d166ede31183e2121388be0f66fe9d7ac4e93a | /man/parse_taxonomy_amptk.Rd | 0a11518806e4f1cf2d232dccf7db033130b52173 | [
"MIT"
] | permissive | vmikk/metagMisc | a01151347b620745b278265700e503dc74669af5 | 310b1a40951de46348084e150d7471ed66feb0c8 | refs/heads/master | 2023-08-31T08:41:27.684905 | 2023-08-28T10:09:50 | 2023-08-28T10:09:50 | 76,531,351 | 38 | 12 | MIT | 2019-07-29T06:12:12 | 2016-12-15T06:40:05 | R | UTF-8 | R | false | true | 1,606 | rd | parse_taxonomy_amptk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_amptk_taxonomy_table.R
\name{parse_taxonomy_amptk}
\alias{parse_taxonomy_amptk}
\title{Parse taxonomy string from AMPtk (for single OTU)}
\usage{
parse_taxonomy_amptk(x, custom_ranks = NULL)
}
\arguments{
\item{x}{Character vector of le... |
99d0636cd25d716efbcaf4ba79191521c7721b62 | c2cda77b5f11d371184ab932dbea876085fdb1da | /R/slices.R | 4380846ed8f878e1dc87e75e217573795fe02b50 | [] | no_license | kkholst/neurocdf | 2b14d25d7c5546ea3971a496f26143c957af8eba | 44578e586d7f4c493c1b489a3f69c29696b5c8e2 | refs/heads/master | 2021-01-23T13:30:30.527274 | 2014-11-13T12:08:37 | 2014-11-13T12:08:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,208 | r | slices.R | ##' @export
slices <- function(object,...) UseMethod("slices")
##' Plot neuroimaging slices in three planes
##'
##' Wrapper of misc3d::slices3d
##' @title Plot neuroimaging slices in three planes
##' @param object Volume
##' @param olay Overlay (optional)
##' @param rlim1 Limits of voxel-values to plot of volume
##'... |
f26da85556bfbcc2ab24e85f1d78c62b7e636b3e | c8e592289288db7d3de88d2b05a1fe48439b7386 | /src/03-eda-abovegroud_biomass.R | e417412955e38203dd8f24aefe800eab0ecebe59 | [] | no_license | garlandxie/roots_greenroofs | 0845f61ecf18f687f765f2ab6c73ececd14b41a7 | c60dd74fc52931b6cfd1cab39a28783782e98ac1 | refs/heads/master | 2020-03-22T15:57:26.677634 | 2019-06-10T00:36:44 | 2019-06-10T00:36:44 | 140,291,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,990 | r | 03-eda-abovegroud_biomass.R | # libraries ----
library(here)
library(tidyverse)
library(visdat)
# import ----
abov_bm_df <- readRDS(here("data/project_data/working",
"above_biomass_clean.rds"))
# check packaging ----
glimpse(abov_bm_df)
head(abov_bm_df, n = 5)
tail(abov_bm_df, n = 5)
# data validation ----
# visualiz... |
914f711b0412f645e81318cc65ee30a578b78ad3 | 7999c9b45958805c0bbd80f2c5903e55428d33bc | /code/ssgsea.analysis.R | 006634af0b720ac7937d00507d6fb0c560b6ce44 | [] | no_license | dreamfishes/CancerToCellLine | bac53cf45a8e7a365a8390d872199e0c41c50f52 | b44285c9f907b54ad64f8330a500b17f0639c081 | refs/heads/main | 2023-06-17T14:29:11.651886 | 2021-07-11T18:56:39 | 2021-07-11T18:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,440 | r | ssgsea.analysis.R | ### R code to perform ssGSEA analysis ###
require(GSVA)
require(GSA)
require(org.Hs.eg.db)
require(dplyr)
require(stringr)
require(foreach)
load('server-side/RData/CCLE.RData')
load('server-side/RData/MET500.RData')
load('server-side/RData/TCGA.breast.cancer.RData')
load('client-side/output/CCLE.breast.cancer.cell.li... |
3991cb44379c19483c259ee3fb4e4cc5d156b044 | eb74dde34a3b6b9f337e33a033ca27a119034245 | /R/Loan_amortization.R | c4ae34f6ec23021b9e6cc12b72e72102e9961b3d | [] | no_license | cran/DetLifeInsurance | 3c9a1632fb0ddd78ae9c7dcc4a633ef429e281d8 | d0b5d3a696c5bc72ce0692d6cf7d4e9921336cfc | refs/heads/master | 2022-12-17T07:44:43.324629 | 2020-09-12T08:20:07 | 2020-09-12T08:20:07 | 278,226,350 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,346 | r | Loan_amortization.R | #' @title Loan Amortization
#' @description Calculates the amortization schedule.
#' @param V0 A numeric type value. Loan value.
#' @param n A numeric type value. The number of payments.
#' @param i A numeric type value or a vector of them. The interest rate of the loan.
#' @param i2 A numeric type value. The ... |
248c964aece4a379bec9365e6e0ac8a5bba630c8 | 9b4fe46e6cc9a16669ef721e44d5d995b5fdb885 | /helpers/find-coords.R | 08db522a1c8a9a02ed3fcfa70c15f5aa2961178d | [
"MIT"
] | permissive | edridgedsouza/photogenic-finder | ca3f13f730c769dc6ed7d136f2b7231756aa0b83 | 4e4bd9502fe27f111bb17f6e8948bae542e7676d | refs/heads/master | 2021-01-12T00:48:08.301810 | 2017-01-08T00:30:34 | 2017-01-08T00:30:34 | 78,295,869 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 765 | r | find-coords.R | library(dplyr)
library(httr)
filename <- "./GOOGLE_TOKEN.txt"
apikey <- readChar(filename, file.info(filename)$size)
# Use Google Places API to find the coordinates given a place's name
getCoords <- function(placeName) {
params <- list(key = apikey, query = placeName)
r <-
GET("https://maps.googleapis.com... |
9d525b756353a81f744dff9d592acee24edc681e | f89c621ea18f70f6ac2462eae1c43122b9a26d28 | /drill/data_types_matrices.R | 6258a6434358cc43aa43405d16804aaf0043e13c | [] | no_license | smstaneva/datasciencecoursera | 5c828ac4467ffa76286eafd0709edca2d842ea52 | 5a74432696ee41e543f9e04faa59b9b0503d44ef | refs/heads/master | 2021-09-11T19:32:07.391859 | 2018-04-11T14:39:46 | 2018-04-11T14:39:46 | 75,734,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 176 | r | data_types_matrices.R | m <- matrix(nrow = 2, ncol = 3)
m
dim(m)
attributes(m)
m <- matrix(1:6, nrow = 2, ncol = 3)
m
m <- 1:10
m
dim(m) <- c(2, 5)
m
x <- 1:3
y <- 10:12
cbind(x, y)
rbind(x, y) |
006806fca72400ff79ad8d260c6fe7462454b8ba | e82166f722db2c1d2ba531a4d40fa700f9e46339 | /raw_data/source_data/SR_sample_and_resample.R | 14ab5b269e7b055ae995883d9d3a577c863dbd04 | [] | no_license | amscheel/positive_result_rates | c730f9540cc57e280d7b2475c0e5ab7e27d20abc | 442ef4c78c921ffa8f5b3ec1d0f2c55a852467be | refs/heads/master | 2022-04-29T00:03:34.439599 | 2022-03-10T08:24:42 | 2022-03-10T08:24:42 | 188,072,964 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 566 | r | SR_sample_and_resample.R | # Load all 1919 search results
allSRs <- read.csv("SR_search_results_WoS_20190107.csv")
# Draw a random sample of 150 papers and put them into a new dataframe
set.seed(20190120)
x <- sample(c(1:1919), 150)
SRsample <- allSRs[x, ]
# Sample 8 additional papers and put them into a new dataframe
set.seed(20190120)
replac... |
1f2626bcef3a16a1939bca68f986c456484449de | 74c89c59d46180835543e00818181b47a0c7e423 | /man/Generate_Monte_Carlo_Inputs.Rd | 87cd3ce6258a0de824137288d184787288f2d36f | [
"CC0-1.0"
] | permissive | JerryHMartin/MonteCarloInputs | a22e8ec81cae5a8f7f419aa2d249b5020080b623 | 384850c708d709317b8d69bc94a62f5a38222ef5 | refs/heads/master | 2022-12-02T02:10:34.186125 | 2020-07-30T02:41:23 | 2020-07-30T02:41:23 | 283,578,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,276 | rd | Generate_Monte_Carlo_Inputs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Generate_Monte_Carlo_Inputs.R
\name{Generate_Monte_Carlo_Inputs}
\alias{Generate_Monte_Carlo_Inputs}
\title{Generate Monte Carlo Inputs}
\usage{
Generate_Monte_Carlo_Inputs(
base_values,
deviations,
n,
distribution = "normal"
)
}
\arg... |
2dd1c748136d355cf8d73e8065f368f6595e3e22 | 17b5cfdd983bcfb6f2426e4eebdf27477e34dce9 | /run_analysis.R | 8b3882077d39ef7742c85b8acceb85c2648d45ae | [] | no_license | alexthomas93/Getting-and-Cleaning-Data-Course-Project | f47933a84a95ec420dcaf12572593d64dec4adbe | 1a0d3d89639bed6eedecb4f9417ea2d36cceb304 | refs/heads/master | 2020-07-28T22:36:47.332272 | 2019-09-23T10:30:34 | 2019-09-23T10:30:34 | 209,563,679 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,487 | r | run_analysis.R | # 1. Merge the training and the test sets to create one data set
# Load the feature names
features <- read.table("features.txt")$V2
# Load the training features using the feature names as the column names
X_train <- read.table("train/X_train.txt", col.names = features)
# Load the activity column of the training ... |
a6a793a67d8734a80997d4d9951ed5f8b5b7388e | ba31fbf49621850f74b663290b5a72c7f0373c8f | /script/kmer_analysis/analysis.R | 998fdeaac5f9d04211f13251d115cc71b7ebaec2 | [] | no_license | bschiffthaler/aspen-v2 | fa650976a6cd85ae3bede42f35b6590fc858f9c0 | 081fcb255e580f1315568a4ee1580c9256888561 | refs/heads/master | 2021-12-23T01:18:53.257473 | 2021-09-19T08:15:13 | 2021-09-19T08:15:13 | 214,961,462 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,607 | r | analysis.R | setwd("/mnt/picea/projects/aspseq/nstreet/kmer_ml/sex/selected_kmers/")
library(tidyverse)
library(magrittr)
library(ranger)
library(caret)
library(GenomicAlignments)
library(see)
library(UpSetR)
counts <- scan("count_data.txt", "")
ss1 <- read_delim("../meta/sex_set_metadata.tsv", "\t")
ss2 <- read_delim("../meta/sc... |
81d2855f858d4b383f2ba11457c55ac11ab06078 | 3853c7c2aec2afda0e14bf57c76aae4408ee74d2 | /R/data_partition.R | 39b4269c7f3799114d104daf7dd608d5d0a20411 | [] | no_license | lenamax2355/shinyr | 9342a439046517f4dd836f0b38dcc41b2d3dd6e0 | 5f1194b9ca6f39a2446aed166c31b68196bec108 | refs/heads/master | 2023-06-09T01:53:26.610183 | 2021-06-23T04:38:34 | 2021-06-23T04:38:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 679 | r | data_partition.R | #' dataPartition
#' @title Data Partition
#' @description Partition data for training and test
#' @author Jayachandra N
#' @param df data.frame which need to be devided into train and test subset
#' @param train_data_perc numeric value between 1 to 100
#' @return list of length 2 which contains Train data and Test data... |
d51ddffe0d53b1efe454713ff91828a89f828764 | fd9a1c997e3671e103328a0b501903c439f9282e | /Twitter and the cross section of stock returns.R | 9d54085d869f7771a0473a9cb71e6b9fd9b77d59 | [] | no_license | filippotesta24/twitter-R-analysis | f2e59c452153487b15bd48d24344d0e4dad52e80 | 7d55a867de97c2548adb7ba024715469daecd67c | refs/heads/main | 2023-03-03T18:32:45.641513 | 2021-02-08T10:12:31 | 2021-02-08T10:12:31 | 337,033,439 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,295 | r | Twitter and the cross section of stock returns.R | #PREPARE THE ENVIRONMENT
BBdate_A_U<-as.Date("YYYY-MM-DD") #The user sets the date in which start the bullish and
#bearish and the over and under-tweeted analysis.
#The Twitter API doesn't allow to access datas older
... |
1cea555da43918591cb79f80d9144c2c9a21dc84 | b0012f570faf3405b6d2309f1ddf72273db150e1 | /man/plus-.sparse.matrix.Rd | 3a016369dd9f82fe8733ef99a02c2c47c2bb9f7a | [] | no_license | ShiyingWang1014/bis557 | 1336fd232ea0141f0be840c717e4bacef666310e | 59632c22835722743fa3e9d025409e5c237d6e99 | refs/heads/master | 2021-08-09T01:50:49.950809 | 2018-12-20T06:03:43 | 2018-12-20T06:03:43 | 148,364,495 | 0 | 0 | null | 2018-09-11T18:51:00 | 2018-09-11T18:51:00 | null | UTF-8 | R | false | true | 612 | rd | plus-.sparse.matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sparse.matrix.R
\name{+.sparse.matrix}
\alias{+.sparse.matrix}
\title{Use for adding two "sparse.matrix" objects}
\usage{
\method{+}{sparse.matrix}(a, b)
}
\arguments{
\item{a}{A "sparse.matrix object"}
\item{b}{A "sparse.matrix object"}
}
\... |
6c6da99035c7ba709261de66cddcf34f6d7ced4b | b0741e778ed928d690fe053dcbc2651208957154 | /man/confirmed_cases_data.Rd | 6d559f8cecadfc84b050ae5d51fdf29c7af415f2 | [] | no_license | Auburngrads/CHAD3 | 7c9f9469874156ee5edab70e45b4b854d22fdd6e | d8e4413150fac16bc3322705059448df771aaadb | refs/heads/master | 2022-04-23T21:23:40.231738 | 2020-04-27T05:00:53 | 2020-04-27T05:00:53 | 255,694,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 281 | rd | confirmed_cases_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/confirmed_cases_data.R
\name{confirmed_cases_data}
\alias{confirmed_cases_data}
\title{Reads in and prepares COVID data}
\usage{
confirmed_cases_data()
}
\description{
Reads in and prepares COVID data
}
|
bc8544ae5b17afce81a87fd718a545c611625d8e | 3299cd3d84a4dd486d75fc6c918d6c13f6e56731 | /Machine Learning A-Z Template Folder/Part 5 - Association Rule Learning/Section 28 - Apriori/Apriori-R/apriori.R | 67ec0c1d78302d2ed5ff3b8f4a41c3870a2c9c8b | [] | no_license | knohyou/MachineLearningUdemy | dd085fadfb3de0be408152c7cbae3f7777e4cb77 | de7872aca2a06e1fabbbcc0c4e0a53cc1f9dea66 | refs/heads/master | 2021-09-03T02:06:55.162204 | 2018-01-04T19:27:03 | 2018-01-04T19:27:03 | 113,613,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,487 | r | apriori.R | # Apriori
# Data Preprocessing
# Extract DAta
dataset = read.csv('Market_Basket_Optimisation.csv', header = FALSE)
# Header = FALSE First row is not the header
# Apriori train using sparse matrix
# Have a product for each column 120 products
# rows correspond a 1 or 0 whether the product was purchased for that parti... |
e2fb657dbd4efabbffc326213f094f4c1b6c8547 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/R/get_admin_shapefile.R | ed524ee54d275edc111b9efc7e1ff932bfe48799 | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,451 | r | get_admin_shapefile.R | ## get_admin_shapefile
#' @title Return path to world admin shapefile at specified admin level
#'
#' @description
#' Returns path to world admin shapefile given \code{admin_level}. stop()s if
#' no file exists at that admin_level. Defaults to returning the ".shp" file
#' path, but will substitute any other file \code{s... |
63c92d22a73a19aca3177f4bb79681fac7713449 | d8e1ee9e53ed0890dec9c5245590de173c20c117 | /code/6summary.R | 8b8e68901db993e3bd9f7e8309e566b57e1bc170 | [] | no_license | jhelvy/solar-learning-2021 | c9b9af2c7056c76c35caae65be4016c2f4132aac | cb730d490eab03a22c709190c171ace0fc4da06d | refs/heads/main | 2023-07-25T15:50:25.197543 | 2023-07-06T15:30:09 | 2023-07-06T15:30:09 | 373,634,772 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,310 | r | 6summary.R | # Load libraries, functions, and dir paths
source(here::here('code', '0setup.R'))
data <- readRDS(dir$data_formatted)
# Global installed capacity over period -----
cat(
"China, Germany, and the U.S. combined comprised",
data$irenaCumCapacityMw %>%
filter(year == year_model_world_max) %>%
mu... |
9f2fcf6eb0b97c7cf6e7145fc0fec6be767ac3b7 | 04a907126ffc34ae1e3aacde07c133e41436649d | /man/getCABCM.Rd | 5aaa2399f9985f191f4eba9d0bdad8a8849e5358 | [
"MIT"
] | permissive | mbjoseph/climateR | a21bfb03d3f697cff1c77d59dc63ad61fee6a5e2 | 98327be6c3ad2b6f86c7fdcab3b4967853c981fc | refs/heads/master | 2021-06-27T12:42:02.393323 | 2021-01-14T16:19:11 | 2021-01-14T16:19:11 | 201,987,234 | 1 | 0 | MIT | 2021-01-14T16:05:53 | 2019-08-12T18:31:31 | R | UTF-8 | R | false | true | 1,238 | rd | getCABCM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getCABCM.R
\name{getCABCM}
\alias{getCABCM}
\title{Get CABCM Climate Data for an Area of Interest}
\usage{
getCABCM(
AOI,
param,
model = "CCSM4",
scenario = "rcp85",
startDate,
endDate = NULL
)
}
\arguments{
\item{AOI}{a spatial p... |
98047223d80c3b719df484fa00023febbf31e929 | 5a6dba0953606fb675620888bbbd0a66b12192ab | /R/scraps.r | 3c7f6de9477d11a73a330a3b8813ef78dd9e0914 | [] | no_license | peterkuriyama/mrag_indicators | 36298f35fd758a982af1a4b3fc3d527d7c7f63e4 | 912414cff73d6fc59657c582ecc32972c86d52ca | refs/heads/master | 2020-05-25T09:40:58.582097 | 2014-09-16T19:18:15 | 2014-09-16T19:18:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,102 | r | scraps.r | # data <- subset(data, year <= years[2] & year >= years[1])
# all.stocks <- data %.% group_by(region, year) %.% summarise(arit.b.ratio = mean(b.ratio),
# arit.f.ratio = mean(f.ratio, na.rm = T),
# ... |
91ba410eda0989f9a9af650304b671e7a58d891a | 8595a36008553d29feb6bdc5e95012d7a4324404 | /CommonItemEquating.R | e9d975496a0f9f2a958fe094ef95a164426bc53a | [] | no_license | toby270205/Equating | 0baab5beed6d1949d41b0dab7bc575ca211e3243 | 652a497feb0896be7dffbf8371db8a9306b0f740 | refs/heads/master | 2021-01-23T04:38:58.040787 | 2017-09-06T00:38:38 | 2017-09-06T00:38:38 | 102,442,868 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,307 | r | CommonItemEquating.R | rm(list=ls()) #remove all current variables
library(TAM)
setwd("C:\\G_MWU\\R Projects\\Equating")
#read in the data files
resp1 <- read.csv("test1.csv")
resp2 <- read.csv("test2.csv")
#separately scale each test
mod1 <- tam(resp1)
mod1$xsi #check item parameter
mod2 <- tam(resp2)
#find common items between test 1... |
d3982e4f9d182d638457f359e7ada34b381b6d7f | b8c43e421f7216167380682c06ed9040db053627 | /scripts/go_summary.R | e1c35dd5d8d21f09a7568c2e07ab2fcf5290fa44 | [] | no_license | hmtzg/geneexp_mouse | 5a896cb4722794c85f464a75d459caf84021ffa0 | 1f2434f90404a79c87d545eca8723d99b123ac1c | refs/heads/master | 2022-02-22T13:31:09.135196 | 2022-02-02T09:02:15 | 2022-02-02T09:02:15 | 267,553,488 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,573 | r | go_summary.R | library(tidyverse)
#library(clusterProfiler)
sgo = readRDS('./data/processed/raw/dc_gse.rds')
#ddc = readRDS('./data/processed/raw/dev_divergent_genes_dc_rank.rds')
#sum(sapply(sgo@geneSets, function(x) sum(is.na(x)))) # no empty go
## get all genes for all go groups:
allgo = reshape2::melt(sgo@geneSets) %>%
set_na... |
a301fc12551750c2563a79b2f9b58a073455e339 | bcf1f90c437ffbb6d114b4822d4aa77fcea73245 | /add_three.R | c1f229ff3dca3ccfe1218eafbcdd4d6d03a199df | [] | no_license | kmcguire2/chem160module10 | 65086d58769699fb54d4592f9e26021c21b871a2 | c133af90e9c37450b3a7ba50aa09c067385ddf81 | refs/heads/main | 2023-01-01T15:31:03.221964 | 2020-10-08T19:11:27 | 2020-10-08T19:11:27 | 302,438,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52 | r | add_three.R | add_three <- function(a,b,c) {
return(a + b + c)
}
|
3200828d8b757db8bb1f9be9e7563d088370a349 | ce5146b3ee83cc72a440702a1571c05f3770d9b1 | /Figures.R | f026a030cf4a1a2d920b9e4c4bb1dc988af3153b | [] | no_license | YusukeKinari/Kurokawa-et-al.-2021- | aae3a4af056c29d9fa3ff65d40db4bee335e2907 | 35391e2c85938474e9c5fffa60d46ea78382fd8e | refs/heads/main | 2023-03-30T01:10:41.923818 | 2021-04-07T00:37:09 | 2021-04-07T00:37:09 | 343,637,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,311 | r | Figures.R | setwd("C:/Users/Hirofumi Kurokawa/Box/201710_オキシトシン実験/Paper/TrustGame/Submission/FNeuroendocrine/R2/DataCode")
setwd("C:/Users/Kurokawa/Box Sync/201710_オキシトシン実験/Paper/TrustGame/Submission/FNeuroendocrine/R2/DataCode")
if(!require("ggplot2")){
install.packages("ggplot2")
}
if(!require("ggsgnif")){
install.... |
d02923ed9b83149ae291b231198d382db8d458b5 | aca57b591b2125b715f2805bcfab9248c1962918 | /man/dataVerlaat.Rd | 48c67db05366539212644f1eb3de644503c98f19 | [] | no_license | markvdwiel/GRridge | 2e673f4140d67373ff4f8c3037a4cc7e67373a07 | ef706afe241d95223ad473d1716e33a45dd73307 | refs/heads/master | 2021-01-17T17:52:22.203747 | 2019-04-16T10:23:05 | 2019-04-16T10:23:05 | 56,672,534 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,331 | rd | dataVerlaat.Rd | \name{dataVerlaat}
\alias{dataVerlaat}
\alias{datcenVerlaat}
\alias{CpGann}
\alias{diffmeanFarkas}
\alias{respVerlaat}
\alias{pvalFarkas}
\docType{data}
\title{
Contains 5 R-objects, including the data and the binary response
}
\description{
The five objects are:
datcenVerlaat: methylation data for cervix ... |
a93142a37020d25c3a3eb3396a30a8d3e3bb4e70 | 747d15b4f5e63734c3f8d1f2c3d1ae4884b77edd | /plot2.R | de9555584e5b2caa424d32f26d4d97a8b417195b | [] | no_license | mbmiola/ExData_Plotting1 | 95959b40144024f7c386f3dc989dcf64f798cf63 | 23ca6d1a6d9bcf62ef73122c6c8785adbec73df3 | refs/heads/master | 2021-01-22T09:26:31.468827 | 2014-09-02T18:30:28 | 2014-09-02T18:30:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 181 | r | plot2.R | source("load.R")
##Plot 2
png("plot2.png",width=480,height=480)
plot(dataset$Global_active_power~dataset$Datetime,type="l",ylab="Global Active Power (kilowatts)",xlab="")
dev.off() |
45741da654c3d3da8d8e78ffd38805e3bb0ee704 | 6d490e7ebd7df0c9aded876b0056662bf798f0ec | /tests/testthat.R | c237bbb2e6e8a1826bf5c6649fd6e2521694666c | [
"MIT"
] | permissive | seanpm2001/TrendMiner_TrendMiner | 4a82a6e78de0dfe59fd968fd6071414d40a3bd84 | ed986c3ce8a0a9d42deacfeebf851b5b5a51aa8c | refs/heads/master | 2023-08-08T08:06:46.641185 | 2020-01-29T21:32:10 | 2020-01-29T21:32:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(trendminer)
test_check("trendminer")
|
7c0adeeb00a3c21c8cb952dd63e14d88983e60b6 | 2adbca9f422aa7ce8f6da6066d45f2d636f2691f | /reactive/ui.R | 731a2ec8695dd4d2af32e237f93fbca9c0d5f618 | [] | no_license | brianstamper/ShinyApps | ba030f5200c47cc01b806ef45861cbb6187d6cdb | 42efc91a483cf2cf8db03ac88239ebdcadc0143e | refs/heads/master | 2021-01-10T12:55:50.394926 | 2016-03-23T16:59:16 | 2016-03-23T16:59:16 | 50,589,432 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 567 | r | ui.R |
library(shiny)
shinyUI(fluidPage(
sidebarLayout(
sidebarPanel(
sliderInput("sliderA",
"A:",
min = -50,
max = 50,
value = a_new),
sliderInput("sliderB",
"B:",
min = -50,
max =... |
3a7fe16d98e9caf3d6f86b5a857ee088607931dd | 8c01a0252181ce53a94e0cc69fc48b288c9c8f91 | /ipl_script.R | 5f4831240fa520f25f54f89a177d9259c26559ab | [] | no_license | Sk2307/ipl_data | 131080e41dfb638523a3019fb68ea25b5153320b | a5aa00d1d1548abf98983f412c11e9bdd8723439 | refs/heads/master | 2020-03-23T13:23:40.048630 | 2018-07-19T18:51:43 | 2018-07-19T18:51:43 | 141,615,646 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,952 | r | ipl_script.R | # IPL Project
# Importing Libraries
library(ggplot2)
library(readr)
library(dplyr)
library(gridExtra)
library(treemap)
library(RColorBrewer)
library(tidyr)
library(radarchart)
# Importing Dataset
deliveries <- read.csv('deliveries.csv')
matches <- read.csv('matches.csv')
matches <- matches[matches$resu... |
e5e1a733b8da5c36eaab62e0226f1173f958337a | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query55_query42_1344/query55_query42_1344.R | e62881f84b286769ed8424a92cc0c4846e39f69c | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 71 | r | query55_query42_1344.R | 0f7d8610a87492ea64e73add5c0bca86 query55_query42_1344.qdimacs 1146 2951 |
96ecddcb211a55df7091d34aceed4060ba01e0c4 | d2a90abc19ee4e17ff1fd77647fc5999b9e1bb40 | /dentalAffinities/R/D2.R | f061c4363640420f5d7eec857a2d1302f72d0948 | [] | no_license | pbiecek/dentalAffinities | 6bf31768eab4568cd832876f4e369a85ea1c7a8a | 950bc4a9282c7033e48d40a471713fc1a1b7a3c1 | refs/heads/master | 2021-06-12T09:08:57.810635 | 2017-02-20T02:59:47 | 2017-02-20T02:59:47 | 81,302,713 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,065 | r | D2.R | #' Calcuate Mahalanobis D2 Measures
#'
#' Based on Lyle W. Konigsberg scripts (tdistR.zip) http://lylek.ucoz.org/index.html
#' with some additional cleaning and regularisation
#'
#' @param binary_trait_data a data frame with binary data
#' @param deltamin will replace any negative distance
#'
#' @export
calculateD2 <- ... |
813c80dbe431e59d98d5761824bc07d8d6f3ceff | 681ea8b254221dd5c89b70c22f0db91b03befc32 | /explore/03-prep-reported-diversions.R | 17f30f5025ca698f48ad1abc37ce4beb7fc29a70 | [
"MIT"
] | permissive | dhesswrce/dwr-wasdet | 481f123e2da7b169c4debef4f6a654e3b780ad5a | 03f16732e7967b472279f581247e0c66805cd69d | refs/heads/main | 2023-05-01T05:50:42.628528 | 2021-05-12T21:13:24 | 2021-05-12T21:13:24 | 360,266,689 | 0 | 0 | MIT | 2021-04-21T18:21:51 | 2021-04-21T18:21:50 | null | UTF-8 | R | false | false | 2,502 | r | 03-prep-reported-diversions.R |
## Load library packages.
if(!("package:tidyr" %in% search())) {
suppressMessages(library(tidyr))
}
if(!("package:dplyr" %in% search())) {
suppressMessages(library(dplyr))
}
if(!("package:readr" %in% search())) {
suppressMessages(library(readr))
}
if(!("package:lubridate" %in% search())) {
suppressMessages(li... |
22392b5cfc404be7618b85636e6efcb9338eeae0 | b2b18dc1c271042a2c48463361c7cf17da787f66 | /man/Read.Data.Rd | 7ed60b8b3bf99cb5bc4ca27d402dcbdd4a1d512d | [] | no_license | vivianaayus/jrich | 286ad9624872ba7c286af38ea8ddadd1be492bb1 | 14f93b4f4c4439d6e643b2dccd4e0486728a2362 | refs/heads/master | 2020-12-25T02:30:28.692004 | 2015-03-16T15:08:42 | 2015-03-16T15:08:42 | 32,331,073 | 0 | 0 | null | 2015-03-16T14:35:48 | 2015-03-16T14:35:48 | null | UTF-8 | R | false | false | 279 | rd | Read.Data.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{Read.Data}
\alias{Read.Data}
\title{Read distributions as a csv with two columns species and area}
\usage{
Read.Data(data.File)
}
\description{
Read distributions as a csv with two columns species and area
}
|
ec500170ba40f5dc03ffbdf3c8be753430c6f8e0 | 9ec5fb4553164a88bace89c9efd6b847e57dcf71 | /scripts/f test.R | 66c056ae651763e56265ad5c96a4e1eaf52a2dac | [] | no_license | doerlbh/eye-tracking-orientation-categorization | caed0432ad7ed6a783964f8aa4981021b896755c | 64a0ed3781bec8d1a2263197c7701ee4f195de58 | refs/heads/master | 2020-06-19T23:55:32.059509 | 2019-04-03T02:02:23 | 2019-04-03T02:02:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,490 | r | f test.R | # This is the first part to run, read stimuli files
# set up working directory for each participant
setwd("/Users/TBB/Desktop/eye-tracking data")
master <- read.csv("master.csv", header = TRUE, stringsAsFactors = FALSE)
colnames(master)
mas <- master[, c(3, 4, 5, 6, 7, 8, 10, 11, 12, 18, 19, 20, 21)]
## No ... |
d7aff55ad1e18d78b4a5c3fd8a149fb7fa62ddac | ea18d64407ee0b44cadbe8f756ca078a9c9cc7e4 | /RandomForest_script_Final_trial4.R | 8e24dd9617d652cf243b89a5a563f290ed2d8226 | [] | no_license | A-Why-not-fork-repositories-Good-Luck/Automatic-Detection-of-Building-Damages-following-the-Beirut-Port-Explosion-using-Satellite-Data | a9159d512482ed240b1356da23552f4bedabc77a | 4dcf51f049cc15ab0150042a7bebce380cdf20f4 | refs/heads/main | 2023-08-01T06:20:05.526326 | 2021-09-19T08:12:19 | 2021-09-19T08:12:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,787 | r | RandomForest_script_Final_trial4.R | #############################################################################
# Code is adapted from:
# https://bitbucket.org/rsbiodiv/randomforestclassification/src/master/rf_classification.R
# The script reads an ESRI Shapefile (defined by the "shapefile" variable) with
# training polygons and then either selec... |
80826dc817b6b7e790a1b23822afeb5142554bbf | eb944c49fc400a35785673b8e5c2a396c54e020b | /Code/Session_7_cluster_stud.R | aaa2d6fa8e9b6c90d4b0eb3a729ca1727f65d20f | [] | no_license | rbslandau/statistics_multi | 290064b26e613b2f71fc47ae28fd599c5ec731b6 | a6f0de239a6f763379f86cc611bd040af611cba0 | refs/heads/master | 2022-05-03T01:19:43.731965 | 2022-04-13T20:46:11 | 2022-04-13T20:46:11 | 103,508,951 | 17 | 13 | null | null | null | null | UTF-8 | R | false | false | 15,522 | r | Session_7_cluster_stud.R | ###################################################################################
# Script for Session 7 of the course: Applied multivariate Statistics with R #
# by Ralf B. Schäfer, WS 2018/19 #
# Cluster analysis #
###############################################################... |
211cbad809677e130266c618733f82488e37c6ce | 4f6f63d0b02c75fc25f426f47da0dc1ddad74428 | /man/plotArrayAsImage.Rd | f07fb3f834d5cb9d7d5e2730966e75a23ed314ae | [] | no_license | Deyong-Li/countcolors | 938b7c3bddadd258eb8a4b58a183e92482fc798d | 615ecab8f3ddfea0dcb819bd6a99cc249a1bd1a4 | refs/heads/master | 2023-05-03T07:21:30.745547 | 2020-04-17T20:34:38 | 2020-04-17T20:34:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 729 | rd | plotArrayAsImage.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization_tools.R
\name{plotArrayAsImage}
\alias{plotArrayAsImage}
\title{Plot a 3D array as an RGB image}
\usage{
plotArrayAsImage(rgb.array, main = "")
}
\arguments{
\item{rgb.array}{3D RGB array with R, G, and B channels (pixe... |
8204990925da99fb31b1bc656bc4cc3a0616e328 | fc0f81494141a700b6228f23ef6fb30887a4d552 | /man/cons_comp_analysis.Rd | e1085ae1c567838ecb464c7604e206ec1c86ae20 | [] | no_license | kthorstmann/simcom | 3bed4e626c41193791116ec70931746f5b7c985b | 0d4eb0faffde29a84b8103a6d6c5e9820039af18 | refs/heads/master | 2021-07-05T17:44:01.587052 | 2017-09-26T15:56:00 | 2017-09-26T15:56:00 | 102,983,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 996 | rd | cons_comp_analysis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simcom_functions.R
\name{cons_comp_analysis}
\alias{cons_comp_analysis}
\title{Run Components Analysis}
\usage{
cons_comp_analysis(data, outcome_state = "b_state", pred_trait = c("P",
"E"), pred_state = c("s_state"), single = FALSE, id = "i... |
87e2f324c6957eda19f3992153992d16dc3c7438 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/reutils/examples/espell.Rd.R | 79ccba286e135e25570fb581191fe54b6f419aad | [] | 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 | 156 | r | espell.Rd.R | library(reutils)
### Name: espell
### Title: espell - retrieving spelling suggestions
### Aliases: espell
### ** Examples
e <- espell("Chlamidia")
e
|
6f7631428d28f56f0eb338a5dadc9075e765ff61 | 09257aaa16f79444f0f56abf1e94f0aade6b69bd | /R/tree.constraints.R | 428b7d75ae6c03e099d32ba4e73287a37ab31272 | [] | no_license | aaronpeikert/semtree | 1023f61be1e63258cc3d45388c5c69861f54e176 | bd92e8522a62026b9ac5050c0b8f5a7ff58e9cb7 | refs/heads/master | 2020-06-12T09:07:51.598586 | 2019-06-25T09:41:24 | 2019-06-25T09:41:24 | 194,253,753 | 1 | 0 | null | 2019-06-28T10:17:18 | 2019-06-28T10:17:18 | null | UTF-8 | R | false | false | 311 | r | tree.constraints.R |
semtree.constraints <- function(local.invariance=NULL, global.invariance=NULL, focus.parameters=NULL)
{
ret <- list()
ret$local.invariance <- local.invariance
ret$global.invariance <- global.invariance
ret$focus.parameters <- focus.parameters
class(ret) <- "semtree.constraints"
return(ret)
} |
17fbd0f1dbba0bf34ebe7bd08795dfb36f1e09f8 | 450d1e2f3f661fb725f5dd86c243967d825ccaf4 | /RCalcs_3_46_252.R | 20205562974feffed8f42845d4b328674d6fd690 | [] | no_license | wli289/R | 5a18f85ca34c06adb87a422740d2fa3736702041 | 2b327e387784f35a113857e67c63e298d8889601 | refs/heads/master | 2021-05-14T05:25:19.510529 | 2018-01-04T06:01:48 | 2018-01-04T06:01:48 | 116,221,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,836 | r | RCalcs_3_46_252.R | #################################################################################################
# SoA Exam C # 3
data <- c(2,3,3,3,7) # c(.) means "concatenate"
plot(density(data)) # visualize the results, "density" calculates the kernel density function
# calculate the kernel density estimate at 2.5
density(d... |
76ba11b473fa35b1382161e923446c7ba4a2777d | 30e4c96b6aace7090bfdf3d7bbdef47c6883afd9 | /R/BioGeoBEARS_stratified_v1.R | 5d7f633976f5bdbdff01e636a79b713dc30c0804 | [] | no_license | nmatzke/BioGeoBEARS | 623a7efbccab4835004100993fcfd2e9d36a39d6 | 27b2533c2e2cc47aab6db9645e19f12593a80771 | refs/heads/master | 2023-07-13T21:47:48.512098 | 2023-06-26T23:01:19 | 2023-06-26T23:01:19 | 9,406,671 | 42 | 20 | null | 2018-10-11T23:57:19 | 2013-04-13T00:56:24 | R | UTF-8 | R | false | false | 218,435 | r | BioGeoBEARS_stratified_v1.R | # require("ape")
# require("rexpokit")
# require("cladoRcpp")
#######################################################
# Do a stratified or other constrained analysis
#######################################################
# Based on:
# /_examples/changing_geog_v1.R
###############################################... |
93369bbf16fe30e09f686bf6fc310e00453b0564 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1610031308-test.R | 525d00d2518dc46f9e596952ef64c41d2b46c143 | [] | 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 | 484 | r | 1610031308-test.R | testlist <- list(id = integer(0), x = c(0, 3.97874210805989e-315, 2.12199579096527e-314, 9.30777432175926e-315, NaN, -2.05226840064919e-289, -1.36845551117563e-48, 1.53573725136183e-308, 3.95027222738494e-317, 1.19530919826631e-253, 1.10468206765364e-255, -6.08576388110954e+250, NaN, 1.53005706653461e-308, 1.801070... |
f71bf52f3959a2ad60bb0f37bbe2f199ad467537 | 90707cf49a4e22a64d044b0fe5858f3b66c9d854 | /CSI032_2019update_MED&BS.R | 607db56e0fd64a34e257ec7f4a7da984bf85cc46 | [] | no_license | ices-tools-dev/ETC-indicators | d16d0f182175fa067ed841e80600e9c13b781c7f | 97ca14e39435c1d38a84e90fe20ba8e55d9eaad1 | refs/heads/master | 2021-12-12T01:42:40.255017 | 2021-10-12T08:44:38 | 2021-10-12T08:44:38 | 175,591,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,070 | r | CSI032_2019update_MED&BS.R | # The data for Figure 3 for the Mediterranean and Black Sea are directly taken
# from the latest STECF report on the CFP indicators update.
# Here we only aggregate the data for Figures 1 and 2, which refer to the
# current status, as 2016, which is the latest year for which a higher number of
# assessments are availa... |
9102aee502500e33989a2a37cfeb28651201799c | 9519269fcf8afb04b023cdc9d834b5db4de97287 | /best.R | 77364635157b07e3018e479233fa5402c37768d5 | [] | no_license | jmscarrillo/ProgrammingAssignment3 | 3d2606cb093c4ecdd9dd87874a8bf621648dfe0a | 16f467ddc3399c746543acf597e86e369a19eacd | refs/heads/master | 2021-08-27T21:26:55.767373 | 2017-12-10T11:32:51 | 2017-12-10T11:32:51 | 113,744,322 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,346 | r | best.R | ## Coursera - Data Science - Universidad Johns Hopkins
## R Programming - Week 4
## Programming Assignment 3: instructions-hospital-quality
## José Mª Sebastián Carrillo
best <- function(state, outcome) {
# Author <- "José Mª Sebastián Carrillo"
# Validate if the outcomed passed is valid (before the ... |
3c61ca5d6de5df86b786e43e83ea444c02f0f9b9 | 5874ae0a22213c3a692763f285a64433bd512f94 | /R/parking.R | 5fe48f6e457eddd3c9ab1ca92f09d7d156411cf8 | [] | no_license | d8aninja/code | 8356486291a2db9f419549edaa525d9bbe39abfc | 80a836db49a31ecd6d0e62aaf8b6e4417c49df68 | refs/heads/master | 2021-09-06T11:35:13.956195 | 2018-02-06T04:11:33 | 2018-02-06T04:11:33 | 80,898,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 329 | r | parking.R | require(XML)
require(curl)
require(RCurl)
require(jsonlite)
require(httr)
url = 'http://api.parkwhiz.com/search/?lat=39.74&lng=-104.99&start=1476119660&end=1476130460&key=d7f78323035560d02287cb40977b035d'
j = GET(url)
raw = content(j, as = 'text')
json = fromJSON(url, flatten = TRUE)
write(json, "test_json... |
265b2ebc8c17f43dd0b188910b3c7d71f238bfff | e4ae7301cf27a013d9283a672d76b7885157cd41 | /Regex.R | 7cc96a20c865419df9349b82c41e970b49bd78ee | [] | no_license | rishi10819/data_wrangling | 02b06d4433914bd9f88bd73940f061dcad36e82c | da02e443ce96c61bb70c2444b991e1c0784b855f | refs/heads/master | 2020-05-23T20:41:56.824001 | 2019-06-07T00:03:19 | 2019-06-07T00:03:19 | 186,936,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | Regex.R | library(tidyverse)
#getwd()
#setwd("C:/Edx/projects")
#getwd()
s <- c("70", "5 ft", "4'11", "", ".", "Six feet")
pattern1 <- "\\d|ft"
str_view_all (s, pattern1) # Highlighted- "70", "5 ft", "4'11"
pattern2 <- "\d|ft"
str_view_all (s, pattern2) # Error: '\d' is an unrecognized escape in character string starting ""\d... |
f6ee5eb77ad2b98df8a6a45b4b4939e28dd36639 | bae57f27c447250ef182abe8c6d12e13aea24ba2 | /tests/testthat/test-sample-retrieval.R | 2ee1422657f3573c8811bba5873683f54a053fd9 | [] | no_license | denalitherapeutics/archs4 | a254680554856fdcb18a81a3f0fc6f71d045fd46 | be3aa0e5b7eb3321223d5f63ef193d77a6f9a2fc | refs/heads/master | 2021-04-15T16:54:55.559093 | 2018-09-19T21:54:21 | 2018-09-19T21:54:21 | 126,898,823 | 10 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,058 | r | test-sample-retrieval.R | context("Sample and Covariate Retrieval")
if (!exists("a4")) {
# This is loaded by the testthat/helper-all.R script when testthat is running
# the unit tests, but included here for convenience when doing interactive
# test development
a4 <- Archs4Repository()
}
test_that("All expected samples come back when ... |
94362e604121db685a71328572627907d7be83d1 | a1a702de311f4ff1671b27215421a7fb0677a3c9 | /man/postr_sensplot.Rd | e4da4d2e73f06e030d0dae341d19a4d14d7d0393 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | josherrickson/postr | f16b1c943ca02380d0d99956fc2487fd57a6688e | 10c594b409d07bbe7f6f69834bacbb9ffeaeeda2 | refs/heads/master | 2021-06-29T04:15:00.806107 | 2020-11-07T01:03:37 | 2020-11-07T01:03:37 | 182,087,218 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 589 | rd | postr_sensplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sensplot.R
\name{postr_sensplot}
\alias{postr_sensplot}
\alias{pr_sensplot}
\title{plot Sensitivity (TPR) and Specificity (TNR) curves}
\usage{
postr_sensplot(model, tpr.color = "red", tnr.color = "blue")
pr_sensplot(model, tpr.color = "red"... |
9673bae1ac621bcfeb535781cf5fa465fe147695 | 5a45eb41973c7df1323c6ffdd38610b96993c168 | /R/ClassEstimatorGRM.R | 106d2901eb612f2f91180cd9d7a91fc38f86bfc3 | [
"MIT"
] | permissive | mihaiconstantin/changeIRT | 5ea8ef34c90f63b12b34c7cc8f3835ad959e41a8 | f49666493ba7a9e74fd53ce2cb28c863c94154a0 | refs/heads/master | 2021-06-17T20:13:19.617489 | 2017-04-26T12:27:02 | 2017-04-26T12:27:02 | 82,169,049 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 261 | r | ClassEstimatorGRM.R | EstimatorGRM = R6::R6Class("EstimatorGRM",
inherit = Estimator,
# private
private = list(
),
# public
public = list(
initialize = function(data, method) {
super$initialize(data, method)
private$model = "Estimated GRM"
}
)
) # EstimatorGRM |
1f623e3e99842454df89c0c414559ba8e390c541 | 80a2a1366bb284db761c908a7c61581e96c03fe7 | /man/nonstandard_eval_arguments.Rd | 412d01f7947e3728e5a31e22f1bf054112afb6c3 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | USGS-R/gsplot | cfe3816af99d43821fd8f8a31ea123cf269dd2b2 | 4e6adae6ac53decc4e26d59165c44dfc41c26548 | refs/heads/main | 2023-04-13T04:55:29.029629 | 2023-04-08T13:03:13 | 2023-04-08T13:03:13 | 37,219,882 | 5 | 20 | CC0-1.0 | 2023-04-07T23:12:03 | 2015-06-10T20:08:10 | R | UTF-8 | R | false | true | 632 | rd | nonstandard_eval_arguments.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_to_view.R
\name{nonstandard_eval_arguments}
\alias{nonstandard_eval_arguments}
\title{get the embedded arguments that go into the function call}
\usage{
nonstandard_eval_arguments(fun.name, embedded.dots, parent.args)
}
\arguments{
\item{... |
c7728f0b3586e6357bfd82d709f4118a04c25e28 | 3711364cac5efb31e8293b5c8a3030353bf031ca | /R/cluster_regression.R | e7ea645b9d0aef06a2e1b1374de40f20dc0fe187 | [] | no_license | RUCyuzhao/STCMTL | 101e7c3d7eb506496fd41e0921e23479085ce051 | 3bbe471790db6f359cfd193fcf1ff712a360c831 | refs/heads/main | 2023-04-07T01:07:19.040676 | 2021-04-25T01:45:02 | 2021-04-25T01:45:02 | 333,105,958 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,450 | r | cluster_regression.R | #' @title SCMTL Algorithm(linear regression)
#'
#' @param X \code{matrix} independent variable.
#' @param Y \code{matrix} dependent variable.
#' @param group \code{matrix} specify the structure of the task.
#' @param K cluster number.
#' @param ext.prop the proportion of extreme neighbors for each cluster. Without any ... |
fa92c4ad87743a3f1bd9b057da12470e870887d4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/funtimes/examples/notrend.test.Rd.R | 32071fa3bafa6d707ac18524eafa9cf46cbc4d4f | [] | 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 | 1,205 | r | notrend.test.Rd.R | library(funtimes)
### Name: notrend.test
### Title: Sieve Bootstrap Based Test for the Null Hypothesis of no Trend
### Aliases: notrend.test
### Keywords: htest trend ts
### ** Examples
## Not run:
##D # Fix seed for reproducible simulations:
##D set.seed(1)
##D
##D #Simulate autoregressive time series of length ... |
544c5c3816615a083aa613ae86c6918433dc9c0d | 7b390e486201ad9f4803a600eadf6bb854dd3677 | /man/matrixToMarray.Rd | bf7af215334bf0eb2406f80520c1d8d196fe9f69 | [] | no_license | Sandy4321/dst-1 | cfeca33e7b59d651fb44794951442bff3b67bff3 | 58d11374ed989d10e84864cce5acce457c7a9c2e | refs/heads/master | 2020-04-23T03:57:45.865513 | 2018-12-09T02:33:01 | 2018-12-09T02:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,157 | rd | matrixToMarray.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/matrixToMarray.R
\name{matrixToMarray}
\alias{matrixToMarray}
\title{Transformation of the tt matrix of a relation}
\usage{
matrixToMarray(rel)
}
\arguments{
\item{rel}{An object of class bcaspec, i.e. a mass function of one variable or a rel... |
93dc20fbe82bbb6e565702b57de56244bfb4c4f6 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Applied_Statistics_And_Probability_For_Engineers_by_Douglas_C._Montgomery_And_George_C._Runger/CH2/EX2.28/EX2_28.R | b60643fe9353584f70672ea3990e8bd4432ee90f | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 470 | r | EX2_28.R | #Semiconductor failures(Pg no. 47)
high = 0.20 #probability of high level of contamination
medium = 0.30 #probability of medium level of contamination
low = 0.50 #probability of low level of contamination
product_fail_given_high = 0.10
product_fail_given_medium = 0.01
product_fail_given_low = 0.001
product_fail = (pr... |
a94d1ae2500facff07c8e6bcded1e159713ece4c | 36419342a0ca69d678a4e35e27990c6660ea0898 | /rMODEL_PERFOMANCE_V2.R | 9f86477c8ce8be21b0c64fdbf891c2d74a16e615 | [] | no_license | jhanratty/HarvardXDSCapstone-git | f0e07c16a7f0f66bbc5ba8454198b87c7e81a774 | c9ee89a6ab54b6779082884988d66d7bdfc7b264 | refs/heads/main | 2023-01-02T09:17:31.625877 | 2020-10-24T13:48:49 | 2020-10-24T13:48:49 | 306,893,839 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,124 | r | rMODEL_PERFOMANCE_V2.R |
library(tidyverse)
library(dplyr)
library(stringr)
library(formatR)
library(tibble)
library(lubridate)
library(caret)
source(file="rCapFUNCTIONS.R")
###############
## Read training file and create batch statistics
#################
## get test data set
HIST_VERSION = "v25"
HISTFILE = paste("z_ModelData_", HIST_VERSI... |
2cb62222a80bc4d03f156db92434dd37b3f3d0fd | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Statistics_For_Business_And_Economics_by_Anderson_Sweeney_And_Williams/CH15/EX15.4a/Ex15_4a.R | 4bd36f037b1587ea16c5ee55de411d38c2dd8acf | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 2,078 | r | Ex15_4a.R | # Page no. : 660 - 662
# Testing for Significance
driving_assignment <- c(1,2,3,4,5,6,7,8,9,10)
x1 <- c(100,50,100,100,50,80,75,65,90,90) # Miles Traveled
x2 <- c(4,3,4,2,2,2,3,4,3,2) # Number of Deliveries
y <- c(9.3,4.8,8.9,6.5,4.2,6.2,7.4,6.0,7.6,6.1) # Travel Tim... |
610a7b6e58f453fe22ced2eb857fa339f498b085 | 4cdac045c50303d20908ebf3c86343adcfbf3231 | /tests/testthat/testpcistep.R | 1cf52a1e9d379a154755bade946bc2c20ef5dae0 | [] | no_license | timcdlucas/paleomorph | 9d856dc362c0c016bd9e79aaa21dfd3312b6bf5e | 681e75f367bc77e1fc454ab484a49945dda72905 | refs/heads/master | 2021-01-17T16:57:52.148003 | 2017-05-23T10:43:56 | 2017-05-23T10:43:56 | 62,060,244 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,101 | r | testpcistep.R | context('Test the pci initialisation step')
library(abind)
test_that('pci centers shapes',{
cube1 <- rbind(c(1, 1, 1), c(1, -1, 1), c(-1, -1, 1), c(-1, 1, 1), c(1, 1, -1), c(1, -1, -1), c(-1, -1, -1), c(-1, 1, -1))
cube2 <- rbind(c(2, 2, 2), c(2, 0, 2), c(0, 0, 2), c(0, 2, 2), c(2, 2, 0), c(2, 0, 0), c(0, 0, 0),... |
2c50749dbd735b120006b402fb535e2ce067b418 | 67914b071edac3367ada71e7f9e5cbc2b395e24a | /man/plot.gainstable.Rd | e9df62508b56cb045292ff58b6829b296b22476b | [] | no_license | cran/ROCit | 43da0f148b2b0967ff97c55f852f80c456ffef93 | f84177043abd5aeb36be0aa4d50f75f67464a977 | refs/heads/master | 2021-07-11T10:47:04.072089 | 2020-06-14T09:20:03 | 2020-06-14T09:20:03 | 168,431,270 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,054 | rd | plot.gainstable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotGainsTable.R
\name{plot.gainstable}
\alias{plot.gainstable}
\title{Plot \code{"gainstable"} Object}
\usage{
\method{plot}{gainstable}(
x,
y = NULL,
type = 1,
col = c("#BEBEBE", "#26484F", "#8B4500"),
legend = TRUE,
... |
3123e15b72723bd43d110023c162f05312a260e3 | c174e265381f3924de8aadf3da0c498abf74f257 | /man/predict.snnrce.Rd | 19da93262e1bc48c5d35e8205a5be70d006ede62 | [] | no_license | mabelc/SSC | 4cde0c396784e17a5412de2c94b27e264f5a975f | 4565f07e0f197e823bcea8442ed9ea82b0c94712 | refs/heads/master | 2022-04-05T12:12:36.306805 | 2019-12-16T20:06:18 | 2019-12-16T20:06:18 | 119,087,635 | 10 | 5 | null | 2019-12-16T20:06:19 | 2018-01-26T18:24:37 | R | UTF-8 | R | false | true | 813 | rd | predict.snnrce.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SNNRCE.R
\name{predict.snnrce}
\alias{predict.snnrce}
\title{Predictions of the SNNRCE method}
\usage{
\method{predict}{snnrce}(object, x, ...)
}
\arguments{
\item{object}{SNNRCE model built with the \code{\link{snnrce}} function.}
\item{x}{... |
066a65c2c45a8bb57aa72b15ebb7e0d8cef92892 | 5b02b75b1732b4bf06b6ab45cca4409c6d8352fa | /plot2.R | d882b4ea2fef3c70f6464c47c3916b3bf66e92a5 | [] | no_license | hrishikeshdeshpande/ExData_Plotting1 | 37a36a4b0cfeadb7d5f532129c57f467f0d071fd | 2d5d2f8c2214cebc7cc175c2d64b67a7ed118a55 | refs/heads/master | 2021-01-22T16:38:00.015533 | 2015-05-06T09:12:41 | 2015-05-06T09:12:41 | 35,110,680 | 0 | 0 | null | 2015-05-05T16:21:13 | 2015-05-05T16:21:13 | null | UTF-8 | R | false | false | 901 | r | plot2.R | #read data
powerData<- read.table("household_power_consumption.txt",
sep=";", header=TRUE, quote= "",
strip.white=TRUE, stringsAsFactors = FALSE, na.strings= "?")
# Subset the data related to first two days of Feb 2007
ExtrPowData<- subset(powerData,
... |
0eee2d26cc7ca6d3710820fde6603b9486158259 | 248d5d8b6dc90a84c170106a1e58e4592cf29491 | /man/SeerMapper2010East-package.Rd | fad98eb6cb4e54fc4674e88af2bbc4fe21d2b71d | [] | no_license | cran/SeerMapper2010East | bcbb60e4b42bdf3b74138f13a5ec7553d292b26e | e34319985969113136f36c955a8c86186564f6ca | refs/heads/master | 2021-08-23T09:49:17.725382 | 2021-01-12T20:00:14 | 2021-01-12T20:00:14 | 88,275,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,726 | rd | SeerMapper2010East-package.Rd | \name{SeerMapper2010East-package}
\alias{SeerMapper2010East-package}
\docType{package}
\title{\var{SeerMapper}-Supplemental 2010 Census Tract East States Boundary Datasets}
\description{
The \var{SeerMapper2010East} package provides supplemental 2010 Census
Tract boundary datasets for 20 states, district and t... |
decc30f3e6f1438c84815ebc9d4716543e684153 | 08a1682949e7efa5e3b5c557bc1fc3eddb01b076 | /remove duplicate rows (rows).R | b0cab079ac297c0f10a5c5219c0032f36fa74650 | [] | no_license | romanmilyanik/my-simple-examples | b21b69a6214fb0996805d03058817b1949d71bad | 3015970cbe0d517fa00f74865b9d82cfeb9321dc | refs/heads/master | 2021-01-23T00:35:33.061581 | 2017-10-01T13:28:28 | 2017-10-01T13:28:28 | 85,748,895 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 913 | r | remove duplicate rows (rows).R | library(dplyr)
a <- data.frame(city = c("Istanbul","Istanbul","Istanbul", "Lviv","Lviv", "Kyiv"),
country = c("Turkey","Turkey.1","Turkey.2", "Ukraine", "Ukraine", "Ukraine"))
# city country
# Istanbul Turkey
# Istanbul Turkey.1
# Istanbul Turkey.2
# Lviv Ukraine
# ... |
82f23e43e6ce4d63ed58e6a1f28a72e87fb06865 | 4f0b6567a19d2babeafa616c6d8ddf5572004c37 | /data-science-scripts/zach/sample_wild.R | 48edcaa4c71e68c7b0661207a5011b5e5ac840c0 | [] | no_license | mcohenmcohen/DataRobot | a9b8fff8b0532e9066a207c1914b12702abbf48c | 156e548d94d033b032d5027f2e436a13ddb85cf8 | refs/heads/master | 2022-09-01T18:14:29.587815 | 2022-08-23T20:54:59 | 2022-08-23T20:54:59 | 134,179,047 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 634 | r | sample_wild.R |
# Setup
library(data.table)
TARGET_SIZE <- 1.074e+9
size_str <- tolower(gsub(' ', '_', utils:::format.object_size(TARGET_SIZE, units='Gb'), fixed=T))
print(size_str)
N <- 92918152
# Load data
data <- fread('https://s3.amazonaws.com/datarobot_public_datasets/wild_function.csv', nrows=N)
utils:::format.object_size(obje... |
041cf33ec8bfd53d1e40f42d98d7aaf21d98c8c3 | a91155acf10add99ce490b0faa7173e88176dcc0 | /R/r1975.r | d9cc60e147ce6a109e69a09fe17d6ef52b027da4 | [] | no_license | kwlee58/Region_new | 2a3e61e71d2decfe4e4ce160646bdaaeda1b4d0c | 526d08d5dd4077f8ebe529ed144306c41361f7c8 | refs/heads/master | 2021-01-10T08:01:46.150143 | 2015-10-10T02:11:38 | 2015-10-10T02:11:38 | 43,968,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 532 | r | r1975.r | r1975.daisy<-daisy(r1975,stand=TRUE)
print(r1975.daisy)
r1975.diana<-diana(r1975,diss=FALSE,stand=TRUE)
print(r1975.diana)
r1975.diana.k2<-cutree(as.hclust(r1975.diana),k=2)
print(r1975.diana.k2)
r1975.diana.k3<-cutree(as.hclust(r1975.diana),k=3)
print(r1975.diana.k3)
r1975.diana.k4<-cutree(as.hclust(r1975.dian... |
3e07f000e793ec22d6fd2c0d0617a0b4e42ae7d5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/maps/examples/maps-deprecated.Rd.R | 862c79ec1f03e44466cbb630d1923dac9dfb02d5 | [] | 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 | 377 | r | maps-deprecated.Rd.R | library(maps)
### Name: maps-deprecated
### Title: DEPRECATED
### Aliases: maps-deprecated Deprecated
### ** Examples
## DEPRECATED:
# map('legacy_world', fill = TRUE, col = 1:10)
## Use mapdata::worldLores instead:
#Not run
if (requireNamespace("mapdata", quietly=TRUE) && packageVersion("mapdata") >= "2.3.0") {
... |
eb64c746fa9b0b9fa208065c08bddda2a70bff81 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DiPhiSeq/examples/diphiseq.Rd.R | 5c0c83285fdacf59ebbfe4ae7264bd12f4fa7730 | [] | 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 | 476 | r | diphiseq.Rd.R | library(DiPhiSeq)
### Name: diphiseq
### Title: Main function. For most users, this function is all what they
### need for the analysis.
### Aliases: diphiseq
### ** Examples
countmat <- matrix(rnbinom(100, size=1, mu=50), nrow=4, ncol=25)
classlab <- c(rep(1, 10), rep(2, 15))
res <- diphiseq(countmat, classlab)
... |
dd86bd08139880f2703517746a49ad59806f3e7a | 02eb2c90ba274f9c12b1bf632ab7a7767f886ac9 | /Plot3.R | 2e4f6be8bccad8558b78bb9b9190e485a9b5c7af | [] | no_license | lixiaoyi315/ExData_Plotting1 | e379870174dbd1809c7e32100502da30a07c384b | 9dd79491719fd35db4e84e8640240e02359e8bdc | refs/heads/master | 2021-01-22T01:34:46.527441 | 2016-05-18T09:39:33 | 2016-05-18T09:39:33 | 58,933,097 | 0 | 0 | null | 2016-05-16T13:07:16 | 2016-05-16T13:07:16 | null | UTF-8 | R | false | false | 1,337 | r | Plot3.R | #read data
mydata1<-read.table("household_power_consumption.txt",header = T,sep=";",stringsAsFactors=F)
#subset
#x:2007-02-01
x<-subset(mydata1,Date=="1/2/2007",select = Date:Sub_metering_3)
#y:2007-02-01
y<-subset(mydata1,Date=="2/2/2007",select = Date:Sub_metering_3)
#row bined
#mydataSubset=x+y
mydataSubset<-rbind(... |
810a73f777155fdc7e5a34ce8796af5fe76aaa29 | 65ebf63f98038d8ce33aa3501c206c1c9c49b22c | /figures/scripts/plotting/plot-traject-speed-persistence.R | dcc56d4ef8156bb45620294fdb563c31e408272b | [
"MIT",
"CC-BY-4.0"
] | permissive | ingewortel/2022-Tcell-evolution | 0459ff6cbac815da0f3ba1244e5b29fd35060873 | db24a7710037c7f951cd7dd72e5f5489f5cd5711 | refs/heads/master | 2023-08-04T08:45:35.267447 | 2023-07-24T18:36:56 | 2023-07-24T18:36:56 | 511,920,528 | 0 | 0 | MIT | 2023-07-24T18:36:58 | 2022-07-08T14:18:04 | JavaScript | UTF-8 | R | false | false | 2,518 | r | plot-traject-speed-persistence.R | library( ggplot2 )
library( dplyr, quietly = TRUE, warn.conflicts = FALSE )
require( cowplot, quietly = TRUE, warn.conflicts = FALSE )
source("../scripts/plotting/mytheme.R")
argv <- commandArgs( trailingOnly = TRUE )
datafile <- argv[1]
paramfile <- argv[2] # Must be an ordered list of mact/lact params, ordered over... |
1def96b9fbd43ac9ff29abc9c49d4e674d2cd2dd | 9e2d033ee6dac8d3ff4f8f6ced1f6c7b8f383136 | /raw_data/NetDecoder_utils.R | 9ecdee676df52341beedbdd4f6c14281d58c0848 | [] | no_license | HuLiLab/NetDecoder_Example | 148dab89acbaa71e55859c2e4c934252dbac77ca | a4cfc7c1fdf38f0f8573780e29595bce3981c7b8 | refs/heads/main | 2022-12-22T22:52:41.878344 | 2020-09-29T22:47:56 | 2020-09-29T22:47:56 | 299,754,702 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,775 | r | NetDecoder_utils.R | #code from CellNet:Network biology applied to stem cell engineering, Cahan P, et al, 2014, Cell.
#In the RStudio environment, copy and paste the functions Norm_cleanExp and Norm_loadAnnotation in the R command line.
#Then, go the line starting with ## START HERE -> .CEL files processing
Norm_cleanExp<-function
### retu... |
7e4c19cc03ee80889027f27f303c93f65f5a4968 | e7d6f4c26535a283b2a705ad95dbc5cdf175d86c | /Code/summarizeDataQuality.R | 7bfc4b5da54dca5b255211dfdeaf78258e0f257e | [] | no_license | nlenssen/cruInvestigation | 8d7d79a4d71abe73d6a8ce17bed146c9f0b4e0d2 | af2792166ffdf24c059d831b09094f0d0fb3e560 | refs/heads/master | 2020-03-29T20:23:02.846434 | 2018-10-09T01:27:06 | 2018-10-09T01:27:06 | 150,309,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,132 | r | summarizeDataQuality.R | source("Code/namelist.Rnl")
###############################################################################
# Load in the relevant count Data
###############################################################################
# load in the ncdf metadata
handle <- nc_open(sprintf('%s/Raw/%s',ddir,pptFile))
lon <- ncvar_g... |
aee4ca9dbbea4a992878d85d62a7cca4abc1708f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/driftR/examples/dr_correctOne.Rd.R | 69193acd97fa96910bfe0de6ff56f519600cc414 | [] | 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 | 675 | r | dr_correctOne.Rd.R | library(driftR)
### Name: dr_correctOne
### Title: One-point drift correction
### Aliases: dr_correctOne
### ** Examples
testData <- data.frame(
Date = c("9/18/2015", "9/18/2015", "9/18/2015", "9/18/2015", "9/18/2015", "9/18/2015"),
Time = c("12:10:49", "12:15:50", "12:20:51", "12:25:51", "12:30:51", "12:35:5... |
8671b552240b602a76b77cd12df3504da16799f1 | a59c25d1665ca92ac8a149d5ad26bd4573cc51d3 | /bigdata-playcount_knn.R | d24d80ff4a684ab84f3b3e16d1dd701da3e05981 | [] | no_license | sachsm53/msd_mmt_emotion | 7e596daae97141b04b2b7b0eca0fae145ffc412e | 51fff629ffe38ff5da89b2ab6323a42e402a8684 | refs/heads/master | 2021-07-25T21:12:05.758140 | 2017-11-07T06:05:31 | 2017-11-07T06:05:31 | 106,644,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,018 | r | bigdata-playcount_knn.R | #Big Data Project - Full Dataset
raw = read.csv(file.choose())
attach(data)
sad <- as.factor(sad)
data$sad <- as.factor(data$sad)
data$playcount = 0
#take only complete cases
raw.comp = raw[complete.cases(raw),]
dim(raw.comp) #number of complete cases: 340,826
dim(raw.comp[raw.comp$sad == 1,]) #number of sad songs: 1... |
4d0f91c44dfdc4da0e4ed739e38e11b738632b85 | b1403a419dc4687ca20a7ef5f0bfa2416604ae9e | /CTDLGT_R/BT06_CaiDatDanhSachLienKetDon.R | 2b888c1a1f9d7d7f26e4b1a93a78c66c1f1a5c9b | [] | no_license | NguyenPhuoc1207/Do_An_CTDL | 0ed0e46960f03bea1588d27592afb7683de96bbc | 293b92a755c8d9db8a60c308a7e5c5022a7551fb | refs/heads/master | 2023-06-22T03:48:55.147042 | 2021-07-17T10:04:56 | 2021-07-17T10:04:56 | 386,885,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 230 | r | BT06_CaiDatDanhSachLienKetDon.R | lst <- list() # creates an empty (length zero) list
lst[[1]] <- 3 # automagically extends the lst
lst[[2]] <- 4 # ditto
lst
elist <- list(vec=1:4,df=data.frame(a=1:3, b=4:6),mat=matrix(1:4, nrow=2), name="pks")
elist[["vec"]]
|
7422cd9eed8ed956083c8557a3ff17d571ee21f4 | c970de6ba932cb4322acf4da4250a4ebc955b266 | /R/regex-methods.R | 91dfb75a06c2fe9ef35aa2028112ad07b234f3f8 | [] | no_license | trinker/regex | bfd7798f671726122d03db0a8a63836466dee8dc | 22245e85853692c8597653e936263a99fe81cf28 | refs/heads/master | 2021-01-24T20:53:23.954837 | 2014-12-22T12:33:21 | 2014-12-22T12:33:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,464 | r | regex-methods.R |
#' Convert or test for regex objects
#'
#' \code{as.regex} gives objects the class \code{"regex"}. \code{is.regex} tests
#' for objects of class \code{"regex"}.
#' @param x An object to test or convert.
#' @return \code{as.regex} returns the inputs object, with class
#' \code{c("regex", "character")}.
#' \code{is.re... |
0fc835fabfa4ebb22d41a7522d65d059d471f6c7 | 60154d631a8d50b54fe6a83b3d5911d7ef14ca1a | /man/schisto_mod.Rd | 08219c4864eaf13843fb3ca049b1ac87720f5162 | [
"MIT"
] | permissive | cmhoove14/DDNTD | afe2176b2634c6f2a5702ad05bca52d5dd1cfb58 | 55523725be8d5b560d36395ee1bee0bced9ce8a7 | refs/heads/master | 2020-06-08T04:42:56.671145 | 2019-11-20T19:24:43 | 2019-11-20T19:24:43 | 193,160,044 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 959 | rd | schisto_mod.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/schisto_dynamic_models.R
\name{schisto_mod}
\alias{schisto_mod}
\title{Barebones schistosomiasis model}
\usage{
schisto_mod(t, n, pars)
}
\arguments{
\item{t}{Vector of timepoints to return state variable estiamtes}
\item{n}{Vector of state ... |
e6db9a276fbf2bf9342b7eb7497c790f01d35fd4 | 384c3dbc571be91c6f743d1427dec00f13e0d8ae | /r/kernels/revolution4all-titanic-machine-learning-from-disaster-3/script/titanic-machine-learning-from-disaster-3.R | 0ba0b28e4e1eb464a6eaaa802e778e1f77600ad6 | [] | no_license | helenaK/trustworthy-titanic | b9acdd8ca94f2fa3f7eb965596eed4a62821b21e | ade0e487820cf38974561da2403ebe0da9de8bc6 | refs/heads/master | 2022-12-09T20:56:30.700809 | 2020-09-10T14:22:24 | 2020-09-10T14:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,108 | r | titanic-machine-learning-from-disaster-3.R | #Read data into R enviorment
titanicData<-read.csv(file="../input/train.csv",header = TRUE,sep = "," )
#explicitly declare atribute "survived" as factor, by default R treats this as numeric
titanicData$Survived<-factor(titanicData$Survived)
#set libary randomforest to access built in functions
library(randomForest)
#p... |
cdd083939127d02a50f91c0f6a724379fc177242 | f441b443f1e959ce33009b9d9c6573ad07163991 | /viz/prepare_truth_data.R | 18b26be8f00bdf2f927661c6ea77022dba06a0c0 | [
"MIT"
] | permissive | pmarcosa/covid19-forecast-hub-europe | 58a786c4c09561271d792de5eff1ff8598ceb7be | 30273785d2a3393ff133c5b1fff7cac034e83aa2 | refs/heads/main | 2023-08-15T22:17:02.326313 | 2021-09-21T21:31:00 | 2021-09-21T21:31:00 | 365,716,002 | 0 | 0 | NOASSERTION | 2021-05-09T09:35:42 | 2021-05-09T09:35:42 | null | UTF-8 | R | false | false | 1,227 | r | prepare_truth_data.R | library(dplyr)
library(here)
library(readr)
df_case <- read_csv(here("data-truth/JHU/truth_JHU-Incident Deaths.csv")) %>%
rename(inc_death = value)
df_death <- read_csv(here("data-truth/JHU/truth_JHU-Incident Cases.csv")) %>%
rename(inc_case = value)
df_hosp <- read_csv(here("data-truth/ECDC/truth_ECDC-Incident ... |
8b06f1f509c215110d3ee0cd54c8c15a14920a70 | 573611c1c4fb728749abc203bcb6ebdd229bf394 | /Calculate_AlternateSumPCBs.R | bcc3f38f233f23881482cea3f22b33b1533fcbfc | [] | no_license | ppgibson/MSQ_DataPaper_Anl | 6dc96edd3dbb76aaec8960e1008e67cf58b14ce9 | b1e66642d7172907d56f6c4cedaa2cb26e92897e | refs/heads/master | 2021-01-10T04:39:42.958811 | 2016-02-19T21:48:17 | 2016-02-19T21:48:17 | 48,077,958 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,235 | r | Calculate_AlternateSumPCBs.R | ##################################################################
## MSQ Data paper, data analysis: ##
## Generate sum-PCB values for each sample according to several ##
## different approaches to handling censored data ##
####################################################... |
fd6a0e942025006ca2287e9082ee6cb3eab3391f | 11005f482340db087b59269c32b9060719ce4f4c | /glmm/tests/basicBHtest.R | b462751df69d794953f1c4db7f74f7b4d02bb88b | [] | no_license | bensonsyd/GLMMwithParallel | 4ff2445ced15088c76ab6d9d5a6848f6d6598655 | 338ad34cf2eae96015ef706dc7d3f6e9edde6048 | refs/heads/master | 2020-03-18T21:59:58.693749 | 2018-08-03T18:20:16 | 2018-08-03T18:20:16 | 128,808,926 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 193 | r | basicBHtest.R | library(glmm)
data(BoothHobert)
set.seed(123)
mod.mcml1<-glmm(y~0+x1, list(y~0+z1), varcomps.names=c("z1"), data=BoothHobert, family.glmm=bernoulli.glmm, m=1000, doPQL=TRUE)
summary(mod.mcml1)
|
3debc4b1708bc601847eb36b171b9970ef6105ea | d75a1e1e95ae70ce048a0c26fb0f9c283fd5dd70 | /man/BREC_2A.Rd | f55758f3f599bf2025cf74b67da447d5d97c1a93 | [] | no_license | Owain-S/kmdata | 49d65b279e7e84e170550f7d1fbdc8573f28784c | 22569373a88f64ef480ea895c8ef7b7b5ced260e | refs/heads/master | 2023-05-25T22:58:06.758825 | 2021-06-01T19:36:49 | 2021-06-01T19:36:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 909 | rd | BREC_2A.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{BREC_2A}
\alias{BREC_2A}
\title{BREC, figure 2A}
\format{
A data frame of 277 observations and 3 variables:
\tabular{lll}{
\tab \code{time} \tab event time (in months) \cr
\tab \code{event} \tab PFS event indicator... |
a5c155e53d131720c854a21f6301986a440a003f | fed5e62eae92e827585b85e144cd75f83225d0fa | /R/bin_filtered_results.R | 3026140ad940cb1724ddccc6a6dae22dfc390e8f | [
"MIT"
] | permissive | benjamincrary/CrossRefEDNA | 7fcf3dbae3cb313c205f64689d8aee7fdf0e0dbf | 9de9c1843a2f79fca54d43b12e90560587d389b4 | refs/heads/master | 2023-04-14T07:59:57.553022 | 2021-05-04T04:04:05 | 2021-05-04T04:04:05 | 280,018,107 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,902 | r | bin_filtered_results.R | #' bin_filtered_results
#'
#' @param filtered_edna
#' @param destination
#'
#' @importFrom magrittr %>%
#'
#' @return
#' @export
#'
#' @examples
bin_filtered_results <- function(filtered_edna, input_destination, data_location) {
print("Binning filtered results...")
taxonomies <- load_taxonomies(data_location)
c... |
34cdce974d1d90762b91e900b630c2bf5424aa2a | 88c4ab90e349646f4bba4ac81a5d810baacc9f50 | /ICA.R | d52a2fc21e983b9b2a478b517021f8cc52561d1a | [] | no_license | amlerario/ACC | d9a1ca067f23b35acb19fd239e03376c917ba77f | 3e0da9687fab2474534f588edc19d476535f1533 | refs/heads/master | 2020-04-06T06:57:52.764576 | 2014-07-31T03:50:46 | 2014-07-31T03:50:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,225 | r | ICA.R | #source("http://bioconductor.org/biocLite.R")
#biocLite(pkgs=c("Rsubread","limma"))
library(Biobase)
library(plyr)
library(ggplot2)
library(foreach)
library(xtable)
library(biomaRt)
library(GOstats)
library(cluster)
library(marray)
library(mclust)
library(RColorBrewer)
library(igraph)
library(Rgraphviz)
library(graph)
... |
6ca491ad10b41c9ad740ff259ebd900c9bdc6830 | 1f9a964c779f440be2b88fbe7226ceef8cb5b335 | /R/AllClasses.R | ee4a353225580cafe0cda09a6b742ec71923573d | [] | no_license | phycomlab/RISC | e7b1bc07fdc22d2656bcf62ab08142d539b1e545 | 94fcf7f6e82f7089285a8086b4e001202420c48d | refs/heads/master | 2023-06-08T18:11:16.582266 | 2021-06-27T17:53:39 | 2021-06-27T17:53:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,113 | r | AllClasses.R | ####################################################################################
#' Import single cell data
####################################################################################
#'
#' The single cell RNA-seq (scRNA-seq) data can be imported in three different ways.
#' Primarily, we could import from... |
478cea1f8f9a7ac937e93d857c1a2442e4111ac7 | 7ef1d508442e1638ab124011a44b66bec95c5349 | /R/extract.singleComparison.R | 3273b4c48ab0d8b3759401569d7665f2e431f691 | [] | no_license | APAFbioinformatics/TMTPrePro | ce1c02b39bb289a21f2aff7a1641beea621a4dba | dc76dd7a6bf4a38851355a74eba742e00a8eed8e | refs/heads/master | 2022-05-08T22:25:05.472112 | 2022-04-29T04:09:07 | 2022-04-29T04:09:07 | 159,422,005 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 426 | r | extract.singleComparison.R | ## extract values for a single comparison
extract.singleComparison=
function(tmt.df,numera_label,denom_label)
{
label.name=paste(numera_label,denom_label,sep=".")
col.nums=grep(label.name,colnames(tmt.df))
## 3 columns: ratio, count, variability
start.col=min(grep("1",colnames(tmt.df)))
ext... |
b896b754657c2cb15da8e12269b44dbd1a1790fd | 5a7611075079f277e02c52aeb6cbef1ad189ea96 | /ImpactTrip_Charts.R | a4b5edbdd316dcb13ee0e562fa5f0f9168a54b5f | [] | no_license | scottmmiller1/P4H | 0138196ad227bb01a7296f21e1a7e292edc7cc2e | a4377572f4f88ada51a3df7874e41b5165e8d415 | refs/heads/master | 2021-06-29T17:06:28.557166 | 2020-09-29T13:57:11 | 2020-09-29T13:57:11 | 148,031,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,935 | r | ImpactTrip_Charts.R |
setwd("/Users/scottmiller/Desktop/P4H Global/Evaluation/Analysis/ImpactTrip/ImpactTrip_UF_Haiti_ALL/Rplots")
### Run ImpactTrip.R prior to this section
# -------------------------------------------------------------------------
##########################
## Dem Charts ##
##########################
# Gen... |
c0f48e23de292b1ec878d83660c300ec0644aeea | ed1920915c1f7070c7cec39de8ca82672be18cc5 | /source/CRTpredict/dclean.R | 53ae7ec6979ea46ec8456ca90c401a08f3fe8155 | [] | no_license | sthallor/miscRscripts | d28f7a9cdbc53fc7c7994c6000d1753b3679236d | c3a5a206c35cdbbb15f07a4ea9250ff861b2e7f1 | refs/heads/master | 2022-11-06T03:39:03.951539 | 2020-06-21T23:21:47 | 2020-06-21T23:21:47 | 273,998,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,521 | r | dclean.R | #######################################################################################
# dclean.R - clean drill predictor data according to parameters
# Ensign Energy Services Inc. retains all rights to this software
# FHS, Nov 28, 2017
##################################################################################... |
c84637d9f60d114d70309b3b579e66e69371b381 | 4ab21a0fc1a84067e0a1b83c2932087a78d9f1d0 | /submissions/01_cj-data-transformation-kz2na.R | 0ef0e476ea6aacd5ec88a5bfcfc41afb1063dbe5 | [] | no_license | GCOM7140/completejourney-exercises | af7a58d0d0afb980e8fcf7fc7c442dd06b746a02 | e6685585d55646a74ef0e3493aade5eb0c2690d0 | refs/heads/master | 2021-03-19T13:06:04.568094 | 2019-07-30T00:11:13 | 2019-07-30T00:11:13 | 121,028,827 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,919 | r | 01_cj-data-transformation-kz2na.R | install.packages("tidyverse")
install.packages("devtools")
devtools::install_github("bradleyboehmke/completejourney")
library(tidyverse)
library(completejourney)
library(dplyr)
---
## Question 1:## Change the discount variables (i.e., retail_disc, coupon_disc, coupon_match_disc) from negative to positive.
# ... |
5dc2681e37b6ef2ab0c9be9ed80fc9c4dd99f1e1 | 96bb1dca9df61f0cddd526921f071e403169b53c | /man/addgraph.Rd | 59f8938e844d4ed0a88dff005dc3edd6ddb88ec5 | [] | no_license | byadu/libcubolap | c3f8d582ca2ee1d52147022c8e2c5c640b1beafc | aab240405b1868dfdbf23c4f618b7fcd8e84db9f | refs/heads/master | 2022-11-19T16:07:50.921510 | 2020-07-17T13:09:06 | 2020-07-17T13:09:06 | 278,988,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 592 | rd | addgraph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/olapwrt.R
\name{addgraph}
\alias{addgraph}
\title{addgraph}
\usage{
addgraph(repname, foldid, g, currfilt, M)
}
\arguments{
\item{repname}{is name of report being saved}
\item{foldid}{is the folder id under which this report is being saved}
... |
c63386218d97746dc42d9f1161c77469746e3e3b | cb84ffe686ad920e254a24b2bc381d758c2fb406 | /man/Constitutional.Rd | 38b32b08862b72e583062331e82dbc22a74496f5 | [] | no_license | jedison-github/BioMedR-generating-various-molecular-representations-for-chemicals-proteins-DNAs-RNAs-and-their-in | 893f9acb6e140b2a90da0e5e90c5289241ecb374 | 07d67e01aae12137cc8e380e3521e6cb7b60127f | refs/heads/master | 2020-04-11T07:59:02.395625 | 2018-04-16T15:02:17 | 2018-04-16T15:02:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,723 | rd | Constitutional.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/404-extractDrugAminoAcidCount.R
\name{Constitutional}
\alias{Constitutional}
\alias{extrDrugAminoAcidCount}
\alias{extrDrugAromaticAtomsCount}
\alias{extrDrugAromaticBondsCount}
\alias{extrDrugAtomCount}
\alias{extrDrugBondCount}
\ali... |
eeb929051200988553be9d444f028e6ebfd3036a | 8c5062a3c839a744a0bb72be1bd81ccf04b6901e | /[GO enrichment]Colon_study_GOenrichment_wsw.R | 6d1276cec86afac6606cf4cbba9e3478b798fd49 | [] | no_license | zhichai0120/RNAseqAnalysis | 60e910040e9d5b755c030f6d00b426d95536d94f | 3a81c8f1695730111bcf77dac1aeb079b6297d5e | refs/heads/master | 2023-07-02T23:59:12.524753 | 2021-08-05T14:26:05 | 2021-08-05T14:26:05 | 277,416,327 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 11,810 | r | [GO enrichment]Colon_study_GOenrichment_wsw.R | #GO富集分析
source("http://Bioconductor.org/biocLite.R")
#进入bioconductor第三方网站
setwd("c:/R_work/res_R11/");
#设置工作目录
library(clusterProfiler)
#biocLite("org.Hs.eg.db")
#library(org.Hs.eg.db)
##bioconductor website, Genome wide annotation for Human, primarily based on mapping using Entrez Gene identifiers.
... |
b48994d495169d0455b146fa5e2dbd47ecccc23d | f1154af6cca60d224dd1c5701a587e4b5b0fbef6 | /simple example.R | 148bee789346cd68e6394fb8ae7ab4faf88fa28e | [] | no_license | robertlynch66/Populism-study | da39f7d3c8ea18fdc3480213acd50f773c9af88d | deb8f542fd58c001816d64e3eb3ae5b2893042d7 | refs/heads/master | 2020-03-16T22:02:16.574909 | 2019-06-05T14:34:58 | 2019-06-05T14:34:58 | 133,024,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,944 | r | simple example.R | # simple simulation example
install.packages('dplyr')
install.packages('rstanarm')
library(dplyr)
library(rstanarm)
# path to the folder with the R data files
# read in the data
# PUT in CORRECTpath in place of '...' below to read in the sample data frame 'sample' which should give you 2 of the smalle... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.