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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1835c71218b92908bbba2821120f7a93a273c6a8 | 2e45444684b19b9796604d8038f0a2e8abeed1ba | /src/supportingInfo_domains.R | ae13a3a2f9a4689dcc15bde86159788c63679f2e | [
"CC-BY-3.0"
] | permissive | girke-lab/targetSelectivity | d430e76586c4acccdd1876c8ad265568d707cf8a | 9a475936eccf3aed4d039ec8131e3b70530b19a7 | refs/heads/master | 2021-01-15T23:46:07.590908 | 2017-02-16T16:39:02 | 2017-02-16T16:39:02 | 65,675,614 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,175 | r | supportingInfo_domains.R | #!/usr/bin/env Rscript
# (C) 2016 Tyler William H Backman
# Purpose: produce list of Pfam domains including median target, cluster, and domain selectivities for FDA approved and non-FDA compounds
library(R.utils)
# parse input options
targetSelectivityByDomainFile <- commandArgs(trailingOnly=TRUE)[1]
outputFilename ... |
daed92a441b42826057c144161e89f2ed9b57632 | 9c643d0399d433d89b30af0335a953740706d241 | /cropnames.R | ea20c697baf806542b711dfc1979c703f8e7ec79 | [] | no_license | AramburuMerlos/cropdiv_usa | e17c40151f6b3f3e641c4ec25c10ffb4942d37bc | 2eb9e5045183f5cade1feae28075f72077cc9027 | refs/heads/master | 2023-03-17T22:54:36.600516 | 2021-03-06T01:39:12 | 2021-03-06T01:39:12 | 272,756,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | cropnames.R | cropcode <- read.csv('CropCode.csv', stringsAsFactors = FALSE)
cropcode <- cropcode[c('ID','CLASS_NAME', 'A_N')]
cropcode <- cropcode[cropcode$ID!=0,]
head(cropcode)
# fixing name in rep codes
cropcode[cropcode$ID == 1,2] <- 'Maize'
cropcode[cropcode$ID == 5,2] <- 'Wheat'
cropcode[cropcode$ID == 41,2] <- 'Canola'
cro... |
07d8f96c86f64de797a46b1b9ed4d91c16530451 | 630cf29a8e10d79dac84b157a15320522e48656f | /workout03/binomial/man/bin_cumulative.Rd | e8438e058de1ba13f3e8ba75eecc02d828adee1b | [] | no_license | stat133-sp19/hw-stat133-luzhangberkeley | d64896866ac2e4d5746002124a71319965aab13a | 36af51be0a4678a38f193656c256c2cea451224c | refs/heads/master | 2020-04-28T13:27:32.602752 | 2019-05-03T23:59:26 | 2019-05-03T23:59:26 | 175,307,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 548 | rd | bin_cumulative.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function.R
\name{bin_cumulative}
\alias{bin_cumulative}
\title{Function bin_cumulative()}
\usage{
bin_cumulative(trials, prob)
}
\arguments{
\item{trials}{number of trials}
\item{prob}{the probability of success}
}
\value{
the probability an... |
6c575581f87fb8a318c08c585342c24d2888f5c2 | db462c413fa63bd14c529e45f1ea732c8216f3ee | /code/ui.R | 7cdd1a4580d1a2b7edd31407161ccb950cfae906 | [] | no_license | priyadarsanshankar/Voice-Integrated-Visual-Analytics | 2decfd888c09151979da9748e5d97377cf37fa5c | b8e9cbc425215d4b8694f3c715068ddbd4f69a8d | refs/heads/master | 2020-03-26T18:35:11.731814 | 2019-03-22T07:00:18 | 2019-03-22T07:00:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,337 | r | ui.R | shinyUI(dashboardPage(skin = "purple",
dashboardHeader(title = "Global migration flows",
tags$li(a(onclick = "openTab('home')",
href = NULL,
icon("home"),
... |
6abdeb1c3b3824b94c3e915740a2443c7104b2c3 | 8b73830ae1b558df462e9766b0ef69f149942448 | /p2_plot3.R | 25588b9c626855b4d405a54f88c3ce53fd5268c0 | [] | no_license | pattareeya/Expo_Data_Project2 | e9d68902e1aae7d6657961bc6cd8546a774e708c | 8f25f9e755d6373c4376a0905afa7b041e434416 | refs/heads/master | 2016-09-06T02:53:41.476319 | 2014-07-26T04:25:05 | 2014-07-26T04:25:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | p2_plot3.R | #Explore Data Course Project No. 2
NEI <- readRDS("summarySCC_PM25.rds")
library(reshape2)
#3.Of the four types of sources indicated by the type
#(point, nonpoint, onroad, nonroad) variable,
#which of these four sources have seen decreases in emissions
#from 1999-2008 for Baltimore City?
#Which have seen increase... |
e5e714bc4bd519c728791548c29ed602d39a9841 | 4e99ee270ca1ad9c6fd2112be7d6581ae8539707 | /ASR_Diversitree_Pollinators.R | e4097904a96eaf0ca89243fa542cd9d59fe997a8 | [] | no_license | jblandis/Polemoniaceae_family | b5029ca00b78a25cf520fd07d725027389a7e1fb | a91401cb188f44ef58a0bb6f2874bde1f60a57e7 | refs/heads/master | 2020-03-19T04:35:28.396257 | 2018-06-02T23:53:11 | 2018-06-02T23:53:11 | 135,844,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,798 | r | ASR_Diversitree_Pollinators.R | library(phytools)
library(geiger)
library(nlme)
library(diversitree)
#starting files of the tree and the data file
mydata <- read.csv("Autogamy_and_out.csv",row.names=1)
mytree <- read.nexus("MCC.fixed.nex")
#compares names between the tree and the data to list any discrepancies
comparison <- name.check(phy=mytree,da... |
5fd86e6e1166ad2bb6fc0fcdc9581428edb83539 | 29585dff702209dd446c0ab52ceea046c58e384e | /LogicOpt/tests/testthat.R | 27070646dc6ab366546e387b964c8722d89fb373 | [] | 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 | 60 | r | testthat.R | library(testthat)
library(LogicOpt)
test_check("LogicOpt")
|
9ba8b3252a6059f2b0e4122439947988a4db886d | 3b2476a25c1ed2d07eb91994215840604567dc54 | /Chris_experiment_analysis_v3.R | 0ac11ccc0c4dcb744a4bfe2c59189ffd7a92a657 | [] | no_license | GuptonLab/Microtubule-Comet-Analyzer | fd0110c1d7c12f9faef80eb73576fb06902dc7b6 | 548f0e8691c62486ef273c0031a29ecf88d7e489 | refs/heads/master | 2023-01-01T04:18:21.352848 | 2020-10-06T16:08:58 | 2020-10-06T16:08:58 | 288,845,565 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,670 | r | Chris_experiment_analysis_v3.R | library(reshape2)
library(tidyverse)
library(cowplot)
#read in the dataset
dataset <- read.csv("C:/Users/chard/OneDrive/Desktop/New_Analysis_1.Csv")
#change exp number into a factor
dataset$exp_num <- as.factor(dataset$exp_num)
dataset$cell_num <- as.factor(dataset$cell_num)
#dataset$identifier <- as.factor... |
0c8869b623f827fa42c79a4b688afafd74687cd2 | 873968fcec50323933c5f3a70b35f52b470d1580 | /NLP_algTest_v6.R | 775a00951631164ee3a17898afdf9dae94da1dea | [] | no_license | cootem/DataScienceCapstone | 364a9312d75ffa8742b471b323cfbecb7372b20e | 176d896257377863f299b79f6637ee99a53d196c | refs/heads/master | 2020-04-23T18:41:07.109193 | 2019-04-08T03:53:29 | 2019-04-08T03:53:29 | 171,376,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,501 | r | NLP_algTest_v6.R | #### NLP - algorithm testing ####
# Michael Coote
# 3/27/2019
library(data.table)
source("nextWord.R")
# load ngrams
load("unigrams.RData")
load("bigrams_sm.RData")
load("trigrams_sm.RData")
load("quadgrams_sm.RData")
load("quintgrams_sm.RData")
load("hexagrams_sm.RData")
save(unigrams, file = "unigrams.RData", com... |
7168c3f1c41fca67a0f4c1cd5fe5e8348a4fe694 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/spsurv/man/print.summary.bpph.bayes.Rd | 01a0b3419d4df522d91df92e908c6c73a38107c6 | [] | 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 | 463 | rd | print.summary.bpph.bayes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.summary.bpph.bayes.R
\name{print.summary.bpph.bayes}
\alias{print.summary.bpph.bayes}
\title{Bernstein Polynomial Based Regression Object Summary BPPH Bayes}
\usage{
\method{print}{summary.bpph.bayes}(...)
}
\arguments{
\item{...}{furth... |
824660daa5e8f2da9dee57b2c079bc77829aa5e3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bPeaks/examples/peakDetection.Rd.R | ceef07729b7e34bdf03eb1e1fa198088c6ddb5b5 | [] | 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 | 2,121 | r | peakDetection.Rd.R | library(bPeaks)
### Name: peakDetection
### Title: Peak calling method, i. e. identification of genomic regions
### with a high density of sequences (reads)
### Aliases: peakDetection
### Keywords: peak calling ChIP-seq protein binding sites protein-DNA
### interactions deep sequencing
### ** Examples
# get lib... |
157149d3e70e7f9922e32698506702319d42a1e9 | 1746b596d91b1e9f7e46acc9dd155591b58ba50b | /R/req.R | abea2cf66ae9e741785d31227b66d26c849a961d | [
"MIT"
] | permissive | rodrigoesborges/siconfir-1 | 6edb4fa86e81d0e576ae6676fc2755df971188d0 | b4bfe615639e1b1164459fed0b107ca0c57980e3 | refs/heads/master | 2023-04-13T07:13:19.721225 | 2021-04-20T13:35:08 | 2021-04-20T13:35:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,526 | r | req.R | #' @importFrom purrr map
#' @importFrom tibble tibble
#' @importFrom tidyr unnest_wider
#' @importFrom httr GET status_code http_status content
http_request <- function(url, query, verbose) {
alert <- function() {
paste(
purrr::map(
names(query), ~ paste0(substring(., 4), ": ", query[[.]], "\n")
... |
63d109faa2a39fff76baac30deb056d8dd27452e | 29585dff702209dd446c0ab52ceea046c58e384e | /pracma/R/polyApprox.R | 86eede4ebf7f03f538788b589117d9553b7d8f81 | [] | 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 | 777 | r | polyApprox.R | ##
## p o l y A p p r o x . R Polynomial Approximation
##
polyApprox <- function(f, a, b, n, ...) {
if (!is.numeric(a) || !is.numeric(b) || !is.numeric(n) ||
length(a) != 1 || length(b) != 1 || length(n) != 1 ||
a >= b || n <= 0)
stop("One of arguments 'a', 'b', or 'n' incorrectly chosen... |
5c3a13ed2f750b1876c5b5c7aa42a3019260187c | 26455464b8fd0bc5516f5af293dcbb9d35509295 | /quiz-results/Arjun Gopinath/Quiz2_ArjG.R | 09af9ac029b5965b0b1da6476817f6dfff62de89 | [
"MIT"
] | permissive | PercyUBC/r-tutorial | dd1dd5f03dea414ea8ce38409032e7cadde98370 | cb2b6d8f8ae8d1d2cbe1f667f93e5f997ebb4732 | refs/heads/master | 2022-01-26T12:13:39.214680 | 2018-08-02T21:05:12 | 2018-08-02T21:05:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,225 | r | Quiz2_ArjG.R | # Arjun Gopinath - Aug 2 2018
# R Tutorial Quiz 2
library(data.table)
library(ggplot2)
library(AER)
library(lfe)
# Ensure reproducibility of random numbers generated.
set.seed(101)
num_ind <- 1000 # Number of individuals
num_time <- 5 # Number of time periods
# Provide parameters in a list
param <- list(
"alp" = ... |
67acec8a32e47ea7af17922678e25c840a21c1c1 | 86184eee1f66063b5bef943c3d30bf3128279fd8 | /Scripts/constant_test.R | 67864eb760d083d59154687a52c3c90ba0078197 | [] | no_license | GustafRydevik/Chapter3 | 04fc804fc071b601712d513aa6ed2b030d3bafe5 | c00123cfbb2b3ba289deb6178286b69d912fb98e | refs/heads/master | 2021-01-01T06:50:16.579188 | 2015-04-26T20:49:27 | 2015-04-26T20:49:27 | 24,935,967 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,544 | r | constant_test.R | #proj.path<-"/Users/gustafrydevik/Dropbox/PhD folder/Chapter3"
end.time<-30
incidence<-1/10
Pop<-1:1000
InfTime<-rep(NA,length(Pop))
kinetic.fun=LotkaVolterra.Fun(diseaseType1)
iteration.data<-
LabdataGeneratorGeneric(
testkinetic=kinetic.fun,
timeFun=EndemicConstant,
timeFun.args=list(n.inf... |
149a5722756372a903a01043da3ccb997203c214 | b52f2b6df3ca4e70fb308b852887fd114a8be3de | /p_3_bsb_seasonal_lda.R | 94f6be727e5514ccf4553d774542836f5af2f0ab | [] | no_license | wajra/fish-habitat-discrimination | 315dfbd0f21c96114bdcd9a6b129bef094161a92 | e135a5c58f4c17ec0b2a950608b44c7cfa47bd9c | refs/heads/master | 2022-02-08T20:38:25.358959 | 2022-01-22T15:53:29 | 2022-01-22T15:53:29 | 220,505,079 | 0 | 0 | null | 2022-01-22T15:43:32 | 2019-11-08T16:21:16 | HTML | UTF-8 | R | false | false | 1,196 | r | p_3_bsb_seasonal_lda.R | # In this file we'll perform an exploratory analysis on the
# geofiltered value
# Written for R Version 3.6.1
library(tidyverse)
library(MASS)
# Read in the data
bsb_data <- read.csv("data/black_sea_bass_nw_stock_filtered.csv")
# bsb_data <- bsb_data[!(bsb_data$season=='Summer'), ]
# bsb_data$season <- factor(bsb_d... |
9751ec34e2ecf316937f0fdff0e82a29076b2d5c | 0ee081efd2a418cc9d940c3adb7484a2735785bb | /R/plotPEstopVSptrue.R | 38e0199e6727fab224ce4f8bafff8a95aedfe465 | [] | no_license | biostata/BDP2 | 9ec6b5be0026b26e13801b820dc2282319b50c32 | f674d39ef8686ab7a7cfe7e2c969ace4e2dbdb76 | refs/heads/master | 2023-04-03T08:34:42.841460 | 2021-04-07T19:47:32 | 2021-04-07T19:47:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,374 | r | plotPEstopVSptrue.R | plotPEstopVSptrue=function(n,vn.int,pF,cF,pE,cE,pvec,shape1F,shape2F,shape1E=NULL,shape2E=NULL, col=1, add=FALSE,show=TRUE,...){
if (is.null(shape1E)) shape1E=shape1F
if (is.null(shape2E)) shape2E=shape2F
v.critE <- critEF(n=n, vn.int=vn.int, crit=cE, pE=pE,pF=pF, EF="E",
shape1=shape1... |
98e7b628a63baea3ff382d55b74653f800e93336 | 7019c612f7a673efe4fa91c374c333f78919dd8e | /code/sol-hw1.R | 8596c31cf357ba47de28943e62f4757c27cbb1a8 | [] | no_license | math445-LU/2016 | 5223e32e01c08ebd5d3586dbebf3113f6011c6d2 | d65794b1bfbb86437b926e77c6cc79fbe4448e79 | refs/heads/master | 2021-01-21T13:43:57.373656 | 2016-05-26T05:45:58 | 2016-05-26T05:45:58 | 54,741,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,621 | r | sol-hw1.R | ## ----include=FALSE-------------------------------------------------------
library(ggplot2)
library(dplyr)
library(knitr)
opts_chunk$set(
tidy=FALSE, # display code as typed
size="small", # slightly smaller font for code
fig.width=5,
fig.height=3
)
## ----------------------------------------------------... |
437556e9c085953f030f19dbb3f5cfe1ed43a6dc | 2573b2b226e922302accf53ae5b7f055c2951d6e | /R/sites_by_species.R | 59a5d59023ad67bcf7aeacdf916bee8abac56198 | [] | no_license | hieuqtran/ALA4R | 442c32e9b5d2c750b748856d6dc7aaa4723e2529 | ec240a434d8ba86c0c5c0a14961629ed313d705e | refs/heads/master | 2020-08-24T01:51:35.699192 | 2019-08-01T04:48:08 | 2019-08-01T04:48:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,017 | r | sites_by_species.R | #' Sites by species
#'
#' A data.frame is returned as grid cells by species with values in each cell being the number of occurrences of each species. No null (all zero) species should be returned. The coordinates returned are the TOP-LEFT corner of the grid cell.
#'
#' @references Associated web services: \url{https:/... |
bf26307045e2d780953f0262cb9b5cf3d852c82f | 179e7f45e8002a2fc408e69534d2545c26eed53c | /problem34.R | e77d5f736b3fdb56d568ab9eb513d64db2fcc24d | [] | no_license | shannonrush/euler | 45a4f7360af2671ecdea1e110c2e88bd2227ccbf | acfb8e57bb557574a46d475d12561237d68273fa | refs/heads/master | 2021-01-22T04:41:32.670810 | 2015-05-09T20:43:49 | 2015-05-09T20:43:49 | 32,261,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 691 | r | problem34.R | # 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.
#
# Find the sum of all numbers which are equal to the sum of the factorial of their digits.
#
# Note: as 1! = 1 and 2! = 2 are not sums they are not included.
DigitFactorials <- function() {
sum <- 0
for (i in 3:99999) if (SumFacts(i)) sum <- ... |
a68ad21b41da75e854459b3859c759593e09dbca | 2a2c97a3c0a10a543ed7884d8cfb94d493c3c537 | /R/current-supply.R | 774da59783d150525a8b3eacdd4bd797cccbeecc | [
"MIT"
] | permissive | CryptocurrencyDevelopers/stablecoin | f688d51e78623d295d5e95af06db61d048d6e5ac | 4d6b4a811cdce4dd1d03668469c6221b2c1e7798 | refs/heads/master | 2023-06-20T01:59:22.211144 | 2021-07-19T02:21:05 | 2021-07-19T02:21:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,927 | r | current-supply.R | #' Retrieve current supply balances on supported blockchains
#'
#' @description
#' `current_supply` retrieves the current circulating supply of a stablecoin on
#' a single blockchain
#'
#' `current_supply_all` retrieves the current circulating supply of a stablecoin
#' or multiple stablecoins on all underlying blockcha... |
031c9bff634d24a42efc4e70dcc0d1e0b17faf39 | 892a3354107c4508a79e86181269201275642a04 | /make.R | fa9ad9cc898544890726ad863929b5e3552aa530 | [] | no_license | mkearney/NCA18 | b32afe4344c0aa7aeb40e13b7f07782144b20ccc | 3bb396265883dd68186095c3a90fb1d7fc2e7204 | refs/heads/master | 2020-04-05T14:28:45.867847 | 2018-11-11T14:08:17 | 2018-11-11T14:08:17 | 156,931,045 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 487 | r | make.R | ## load packages
library(mwk)
library(rtweet)
## read data
nca <- readRDS("data/nca18.rds")
## search for NCA tweets
nca_new <- search_tweets(
"nca18 OR nca2018 OR natcomm OR \"national communication association\"",
n = 45000,
token = bearer_token(),
since_id = since_id(nca)
)
## merge data
nca <- bind_rows(... |
6a267dc5e7294e280c7135cad3023d410015192a | fff1983213472577d171b22700db4cde42e23101 | /R/modeltime_forecast.R | 9bb08ef0ceba61e32733ecb3c1d8ad7c130cf884 | [
"MIT"
] | permissive | shizelong1985/modeltime.ensemble | dad37a7c161dbc97d95e136f2af199e2a5c9b618 | 1ba373cf79490da89ef26f08f8bd903097c51d04 | refs/heads/master | 2023-04-30T13:35:33.209217 | 2021-05-25T18:06:15 | 2021-05-25T18:06:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,035 | r | modeltime_forecast.R | # ENSEMBLE FORECAST DISPATCH ----
# 1.0 AVERAGE ENSEMBLE ----
#' @export
#' @importFrom modeltime mdl_time_forecast
mdl_time_forecast.mdl_time_ensemble_avg <- function(object, calibration_data,
new_data = NULL, h = NULL, actual_data = NULL, bind_actual = TRUE,
... |
02b8349ab1047738faa380a89da86922b8e929d1 | a380fc9c34297805106ca9e7ea164b3a6d763468 | /data-analysis/1-localRegression/src/1.R | 55202b557a7be84e5276e33b3996e43f5306c749 | [] | no_license | cameronbracken/classy | a87c92194230baf46b5363ad058710d0c93964cb | 5099b6a9ecacd32bfb59ad69245f5d244cfeeb88 | refs/heads/master | 2020-04-05T23:16:13.524536 | 2011-04-07T16:19:33 | 2011-04-07T16:19:33 | 293,346 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 292 | r | 1.R | #!/usr/bin/env Rscript
rm(list=ls())
suppressPackageStartupMessages(require(locfit))
source('libblocfit.R')
if(!file.exists('output')) dir.create('output')
#Read simple test data
oneD <- read.table('data/oneD.tab',header=T)
x <- oneD$x; y <- oneD$y
save(list=ls(),file='output/1.Rdata') |
b6c06e61685029007f3b5fa7e4e7b489c94948a8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fsthet/examples/calc.actual.fst.Rd.R | d08268c6f2fca281ad19d0aea1cc2e6749340908 | [] | 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 | 526 | r | calc.actual.fst.Rd.R | library(fsthet)
### Name: calc.actual.fst
### Title: This calcualtes global Fsts from a genepop dataframe.
### Aliases: calc.actual.fst
### ** Examples
gpop<-data.frame(popinfo=c(rep("POP 1", 20),rep("POP 2", 20)),ind.names=c(1:20,1:20),
loc0=sample(c("0101","0102","0202"),40,replace=TRUE))
fsts<-calc.actua... |
9da06467cf799a074bcd0eda5f139955bc293a60 | 5a7f7ebee0e458863e1da9d2a0fcc93b600d1786 | /man/Package.Rd | d94b81dc99de2f31c2b117d8304ae1536231b406 | [] | no_license | HenrikBengtsson/R.oo | 68071bacb43afe2a46201aea0350a3597ee19e6c | 4101a141b2fa49a43a10df99f56c180ba2c662e6 | refs/heads/master | 2023-01-06T23:48:54.872999 | 2022-06-12T18:04:23 | 2022-06-12T18:04:23 | 19,437,907 | 20 | 1 | null | 2018-05-02T04:51:57 | 2014-05-04T22:47:54 | R | UTF-8 | R | false | false | 7,392 | rd | Package.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% Package.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{Package}
\docType{class}
\... |
16c49448383f248ff69d7410ff88dbc2d8c8e34c | 84108ae54987955233447c20e1dc4ddba272a42f | /R/Rexam/day6/data_processing2.R | 0701815d59fe4c141dc8ded159a080b952a8c639 | [] | no_license | MyChoYS/K_TIL | bb82554a6b68f9d3fcd39c9031331ea4df0d8716 | 8417a6f22addcfe08bcb708d61c91091f702b2cb | refs/heads/master | 2023-04-24T05:58:29.253920 | 2021-05-07T06:13:34 | 2021-05-07T06:13:34 | 325,244,373 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 759 | r | data_processing2.R | #문제2
#1
memo <- readLines("data/memo.txt",encoding="UTF-8") #행 단위 불러오기
memo[1] <- gsub("[[:punct:]]", "", memo[1]) #특수문자 제거
memo[1]
#2
memo[2] <- gsub("e","E",memo[2]) #문자 교체
memo[2]
#3
memo[3] <- gsub("[[:digit:]]","",memo[3]) #숫자제거
memo[3]
#4
memo[4] <- gsub("[a-z]","",memo[4]) #알파벳 제거 #[A-z] 하면 한방에 된다
memo[4] <... |
3a505af4e32a8ed6d339e797fa9a2aa4dc538c25 | 34b2dbfbe9fecf3e17e719a8778c87e585b9c298 | /man/stat_pde_density.Rd | 48e26f763c6fa164cc30f7fde17a0bde6b994183 | [] | no_license | Mthrun/DataVisualizations | 512713fd1f236386e4423c323b2921675890be15 | bfbb79557050e2eae8571bdebfb2e9d16f7fc20a | refs/heads/master | 2023-08-23T13:45:38.465468 | 2023-08-07T14:23:41 | 2023-08-07T14:23:41 | 127,918,063 | 7 | 3 | null | 2019-01-30T15:32:16 | 2018-04-03T14:08:04 | R | UTF-8 | R | false | false | 4,440 | rd | stat_pde_density.Rd | \name{stat_pde_density}
\alias{stat_pde_density}
\title{
Calculate Pareto density estimation for ggplot2 plots
}
\description{
This function enables to replace the default density estimation for ggplot2 plots with the Pareto density estimation [Ultsch, 2005].
It is used for the PDE-Optimized violin plot published in [T... |
60a807bf7f6dc541b66a34b75b26bdf324596fb2 | 40ecae36bc31ed0619c94e3efde8ac4e13129f1a | /2017/07.R | fb0e12993a15a9bc605f4ff9dca2cfa18780d23d | [] | no_license | epson121/adventofcode | d5ece712395fadf4aa939b7b3971556b3ca70449 | febd4a060d1c23dc068ae7553193c8282ff1bef7 | refs/heads/master | 2023-04-06T20:37:54.767182 | 2023-04-05T08:27:52 | 2023-04-05T08:27:52 | 48,589,288 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,275 | r | 07.R | getLines <- function(filename, delimiter=" ") {
dat <- file(filename);
lines <- readLines(dat)
close(dat)
return(strsplit(lines, delimiter))
}
lines <- getLines("07.txt", "->")
programs <- NULL
children <- NULL
childrenPerProgram <- NULL
weightPerProgram <- NULL
for (i in 1:length(lines)) {
cp = lines[[i]]
p... |
412d14d53ef87ed1c32b29dbeeb77799bddc0d87 | 1608e6e652b53ee796af232551ba42cc560be9c7 | /R/get_urban_summary_for_each_species.R | 9dee8ec8b92f7f6f0a2904bcf3aaf10d945f776f | [] | no_license | coreytcallaghan/BIOC_108753 | bc0e23ba2bffd3fdccbf7ac92d69e36bae2a6639 | 70f2420713387d6953bf19bfb88d5adbf863227d | refs/heads/master | 2022-12-04T15:12:45.047130 | 2020-08-26T23:48:39 | 2020-08-26T23:48:39 | 251,501,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,460 | r | get_urban_summary_for_each_species.R | ## an R script to get the urban score for every species
## by taking the median of their night-time lights values
## first will start with an initial exploratory figure though
# packages
library(ggplot2)
library(dplyr)
library(tidyr)
# read in inat observation data
inat_dat <- readRDS("data/lvl2_terra.rds")
# read i... |
4c95ab92532f6b9a7b58c0b00218e1c1dce02fda | 3fa396ad04038e9b586e30fb3ed0e528ac59fcc7 | /projectA/porject_5.R | 4f1cc4adada95ef4d164e98f63b4424ae2de778d | [] | no_license | fionisme/datascience | f889f4dc719b4f04a89a8771f68ccf76fa25e077 | 5ee87a97efb55ee60b3f175be66a9061a1477da2 | refs/heads/master | 2021-04-09T15:15:28.275329 | 2018-11-06T13:31:10 | 2018-11-06T13:31:10 | 125,801,879 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,039 | r | porject_5.R |
library(httr)
library(devtools)
install.packages("DMwR")
library(DMwR)
library(nnet)
install.packages("reshape")
library(reshape)
library(scales)
library(ggplot2)
install.packages("NeuralNetTools")
library(NeuralNetTools)
rm(list = ls())
wine <- read.csv("http://archive.ics.uci.edu/ml/machine-learning-databases/wine... |
0324888458169043f03183bfb7b5ea6f958fc878 | df1c4feee3da7e39f233fa45ec4dc34338d1a300 | /man/fmRsq.Rd | d196a5e7ace6dccaefab30f09684fab3eca69404 | [] | no_license | AvinashAcharya/factorAnalytics | 1abf7e436417f63f938504733feb791186805e91 | dd3572c5454e4f1691bbf76009144931383983a6 | refs/heads/master | 2020-04-05T15:17:00.784572 | 2018-10-01T22:14:56 | 2018-10-01T22:14:56 | 59,917,661 | 25 | 20 | null | 2016-05-28T22:55:24 | 2016-05-28T22:55:24 | null | UTF-8 | R | false | true | 2,995 | rd | fmRsq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fmRsq.R
\name{fmRsq}
\alias{fmRsq}
\alias{fmRsq.ffm}
\title{Factor Model R-Squared and Adj R-Squared Values}
\usage{
fmRsq(ffmObj, ...)
\method{fmRsq}{ffm}(ffmObj, rsq = T, rsqAdj = F, plt.type = 2,
digits = 2, isPrint = T, isPlot = T, lwd... |
e9c358a002029f26f3109cf5de4ec692bf35d882 | e25513cd273b541a743d5eaff45a4d800a14c36c | /group3 lab.R | cbd0e89d8b8abe35ad08ac5bcd4c7558ecf6eb29 | [] | no_license | YueYuan717/DataScience | 695078abea229c872abfb8258d2bdbec907bfac4 | 02fb18fb4d276d81e5fd62d53cbd6648ca2b890d | refs/heads/master | 2022-05-28T17:39:38.306055 | 2020-05-04T23:56:09 | 2020-05-04T23:56:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,154 | r | group3 lab.R | wine_data <- read.table("http://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data", sep = ",")
head(wine_data)
nrow(wine_data)
dim(wine_data)
# Adding the variable names
colnames(wine_data) <- c("Cvs", "Alcohol",
"Malic_Acid", "Ash", "Alkalinity_of_Ash",
... |
fd6c53f5a507b61442784f7fc596c6ab022bf877 | 6e4f004782186082b73025cda95f31bcae76afcf | /man/gl.pcoa.Rd | 3948d48bc2383f6a6495047a998b773f4b5c3d36 | [] | no_license | carlopacioni/dartR | 319fbff40a385ca74ab7490b07857b0b027c93a8 | 06614b3a328329d00ae836b27616227152360473 | refs/heads/master | 2023-08-23T00:32:10.850006 | 2021-09-08T06:52:44 | 2021-09-08T06:52:44 | 262,468,788 | 0 | 0 | null | 2020-05-09T02:07:08 | 2020-05-09T02:07:07 | null | UTF-8 | R | false | true | 7,267 | rd | gl.pcoa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gl.pcoa.r
\name{gl.pcoa}
\alias{gl.pcoa}
\title{Ordination applied to genotypes in a genlight object (PCA), in an fd object, or to a distance matrix (PCoA)}
\usage{
gl.pcoa(
x,
nfactors = 5,
correction = NULL,
parallel = FALSE,
n.co... |
118c4a67100abcebfa2fc6b6d4cfd77e96cc561d | 0e9c3db76085be6fde8604fbc6b99544ce759531 | /man/stsubpop-class.Rd | 8079daaa6ce96ac1026f191a7e350f8de10334af | [] | no_license | cran/stepp | 17fdfcf41185fd4c4daa16ac9a373755b7d55e16 | f3e3283c9514ff9fd3edccbab47dae8bf580233c | refs/heads/master | 2022-07-06T05:50:33.186438 | 2022-06-18T10:50:01 | 2022-06-18T10:50:01 | 17,700,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,841 | rd | stsubpop-class.Rd | \name{stsubpop-class}
\Rdversion{1.3}
\docType{class}
\alias{stsubpop-class}
\alias{generate,stsubpop-method}
\alias{summary,stsubpop-method}
\title{Class \code{"stsubpop"}}
\description{
This is the S4 class for stepp subpopulation object. The subpopulations are generated
based on the stepp windows and the covari... |
84c1ec3bda4dd290a273cc03820d4c58938bd5dd | 4fda4291ed5f30c9110866db54d966766dd27a56 | /R/hat.R | 698a1dbb13186be8084ed9ce6e5eed37c0a4130e | [] | no_license | cran/mrdrc | ad24d0609eecf34b926c70415a3125453425958b | 3dc543f1ebc5a45c676cb748c003fe4c2ce60484 | refs/heads/master | 2021-01-22T07:32:24.973345 | 2011-04-12T00:00:00 | 2011-04-12T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,473 | r | hat.R | # Hat matrix for a linear regression model at design points or subset thereof
# Observe that zero-weight obs drop out from design matrix X due to the
# internals of lm. Therefore NAs are put into design points of weight zero.
# This is perhaps not the most intuitive function.
# lm (class lm, object): lm fit object
# ro... |
ef64a1d6985a62350be796bd5c22c24e25419a3a | 5c4c58456a2a0f1d80c5eb783d6cbc8f846f8414 | /man/geo_geometry_type.Rd | 7a0cbd3bf3d99df01f9eba519c2a5f435239b8af | [
"MIT"
] | permissive | paleolimbot/geovctrs | 6b9882efe4a05d2d3614932feae68c0c6b9a37f6 | 12de2c88d29df5c5e770405b0d772906a2e18533 | refs/heads/master | 2021-05-18T01:28:15.343654 | 2020-07-24T18:53:27 | 2020-07-24T18:53:27 | 251,045,555 | 24 | 2 | null | 2020-06-27T02:37:54 | 2020-03-29T13:59:38 | R | UTF-8 | R | false | true | 812 | rd | geo_geometry_type.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geo-geometry-type.R
\name{geo_geometry_type}
\alias{geo_geometry_type}
\alias{geo_geometry_type.default}
\alias{geo_geometry_type.wk_wkt}
\alias{geo_geometry_type.wk_wkb}
\alias{geo_geometry_type.wk_wksxp}
\title{Extract feature geometry type... |
e4f8d4f71929f07b8aa4e3c8e6b68726acd496f5 | c764e8494c52ecd32a17d24d32c7fcbdb0f9a510 | /R/RobustSVD.R | d9c04e63ee4e4a71a1076f33d52eeb8136626242 | [] | no_license | ericaponzi/RaJIVE | a5dbc6c78c65c4e726c98a91f840ab80909cdca9 | 7d494d11029e538587ee9b27688adacf7f1f9841 | refs/heads/master | 2023-02-26T18:55:26.323379 | 2021-01-28T12:54:39 | 2021-01-28T12:54:39 | 305,993,799 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,111 | r | RobustSVD.R |
#' Computes the robust SVD of a matrix
#'
#'
#' @param data Matrix. X matrix.
#' @param nrank Integer. Rank of SVD decomposition
#' @param svdinit List. The standard SVD.
#' @importFrom stats median
#' @return List. The SVD of X.
RobRSVD.all <- function(data, nrank = min(dim(data)), svdinit = svd(data))
{
data.svd... |
0a7df54e93e61d8f7f35850476740e69bc3e39e3 | d0d849058ad9c94fb7fcc4a49e2d50d990132e9e | /Gene.expression.R | b3e3687b4c627d2cf0ecf5cf480dab6bf55b215f | [] | no_license | huajiahen/rosette-RNA-Seq | 862019bf3b22addfb1553d4f260d72d7839e3cea | ab6e37a064794ed21cfaa6529e4451bd7391b1ea | refs/heads/master | 2020-12-25T05:07:37.535429 | 2016-05-23T05:51:25 | 2016-05-23T05:51:25 | 59,454,902 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,846 | r | Gene.expression.R | #gene expression
drawGenes <- function(Genes) {
All.gene.expression %>%
filter(Symbol %in% Genes) %>%
subset(select = 2:7) %>%
melt(measure.vars = 1:5) %>%
mutate(value = log2(value + 1)) %>%
ggplot(aes(x=variable, y=value, group=Symbol)) +
geom_line(aes(color=Symbol)) +
geom_point(aes(co... |
1d3da00f6e80ff0e11ecb9d056329bd70618b7f0 | 50c50f418dfc31455ab41a857687f11e90161fda | /Rsrc/settings.r | 530f02891ba0e0a8477c412fa424e1d6604ddd94 | [] | no_license | ficusvirens/satRuns | 1ef93fb633a45a93080f52a0dc209a66b2bf2a9e | 97975435f7be76a5b7900b4b25b30037cd375c53 | refs/heads/master | 2022-11-13T13:01:52.509705 | 2020-06-23T06:25:15 | 2020-06-23T06:25:15 | 272,621,364 | 0 | 0 | null | 2020-06-23T06:25:17 | 2020-06-16T05:53:17 | R | UTF-8 | R | false | false | 2,950 | r | settings.r | ###choose PREBAS version
vPREBAS <- "v0.2.x" #### choose PREBAS verson to run the model "master"
#####Settings####
testRun = T ####set to TRUE to test the code on a small raster proportion
CSCrun = F ### set to TRUE if you are running on CSC
fracTest <- 0.2 ###fraction of test area
maxSitesRun <- 20000
maxSitesRun... |
faa1b2dc3fc115a8e2b4bce945bed02f3fd4f9ff | 76e67672932655cc635798d00620cdf98881edf1 | /R可视化/stock.R | d506171ff2cd4d271187a69ee678b633454b23c6 | [] | no_license | rogerjms/R_data_mining | b2b4ad8213ced0f2a5ea97c8a4e27ce8ca726e34 | a336980a13b1f1b72b5cba0dcda0d2aebb26d2b8 | refs/heads/master | 2016-09-09T19:03:21.190427 | 2016-01-11T15:32:33 | 2016-01-11T15:32:33 | 19,964,972 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,032 | r | stock.R | library(quantmod)
library(ggplot2)
getSymbols('^SSEC',src='yahoo',from = '1997-01-01')
close <- (Cl(SSEC))
time <- index(close)
value <- as.vector(close)
yrng <- range(value)
xrng <- range(time)
data <- data.frame(start=as.Date(c('1997-01-01','2003-01-01')),end=as.Date(c('2002-12-30','2012-01-20')),core=c('jian... |
7109f5445703a43ec39e2f29c7d059f803d9e0a4 | 796c7162fb14d87e074e4421dc05dd89e1d34ed0 | /script.R | a058a84449c2e3817366e719168a3b08273d9a9a | [] | no_license | ODelibalta/firstShinyApp | 5445e801ee8f8b94674219f5fbfff2e854355a8f | 8de38457ae644e86d4d70bfa10b7f7f8ed707196 | refs/heads/master | 2020-07-14T01:06:04.430636 | 2016-08-27T17:43:44 | 2016-08-27T17:43:44 | 66,727,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 983 | r | script.R | library(ggplot2)
setwd("/home/odelibalta/Study/Coursera/9_DevelopingDataProducts/ShinyApp/YearsLeft/data")
allData <- read.csv("data_adjusted.csv")
selectedCountry <- "Turkey"
countryData <- subset( allData, country == selectedCountry, select = c(year, lebfm, lebf, lebm) )
countryData$predFM <- predict( lm( lebfm... |
ad481dc5684da6bdeb0a562d207df034c8826c67 | 062d88fcd5c65b34ef8e8b195ac1712972e0ca8a | /R/dist.3col.r | 9697d06204ae505a4a7fc677bdbff31593f8aa98 | [] | no_license | cran/NST | 5f5a7a49c2b6f8b55b31a17c32aba2c691e95c28 | aa0dc93c89e2fb7d5e1033407a3119719a84110e | refs/heads/master | 2022-06-23T11:49:55.012107 | 2022-06-05T15:00:09 | 2022-06-05T15:00:09 | 213,753,906 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 351 | r | dist.3col.r | dist.3col<-function(dist)
{
# version 2015.5.17
dist=as.matrix(dist)
rowname=rownames(dist)
colname=colnames(dist)
rown=row(dist)
coln=col(dist)
dist.v=as.vector(stats::as.dist(dist))
rown.v=as.vector(stats::as.dist(rown))
coln.v=as.vector(stats::as.dist(coln))
res=data.frame(name1=rowname[rown.v],name2=coln... |
d855384e5f0965c0dfdfa5f5ddf75b417c08742a | 7a062dd29d3392ef15043d35ad09a67c205904f5 | /man/rMVhyper.Rd | 3cc9b9d2cd2fb3eb912c559a38af269166d1b8e4 | [] | no_license | benaug/Mbmisscap | 68b0bb83b52f8ef64b45a63a65f8eab8cf4e03a6 | 3340ff0752d71c9d3b64470f57692cc8c55fcae9 | refs/heads/master | 2021-01-10T14:08:44.503350 | 2018-10-08T16:53:55 | 2018-10-08T16:53:55 | 51,013,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 346 | rd | rMVhyper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MVHyper.R
\name{rMVhyper}
\alias{rMVhyper}
\title{Random generator for the multivariate hypergeometric distribution}
\usage{
rMVhyper(n, K)
}
\arguments{
\item{n}{ads}
\item{K}{adf}
}
\description{
Random generator for the multivariate hyper... |
639777b42a7e17bfc40bc9cc3c745237a7f4b720 | 6c37b3af3e8379222b238cb67b877a563a6f3dd4 | /R/gui.feature_picker.r | 63723d84f1bb005c8fb755bda721e7c99fd2e353 | [] | no_license | ChristopherBarrington/seuratvis | e809fefabb9f6125d649558b2b860a0c6fe55772 | 413ddca360790eb4c277d0cdc2b14ec2791f1c04 | refs/heads/master | 2021-09-08T09:44:05.645790 | 2021-09-01T07:10:17 | 2021-09-01T07:10:17 | 242,530,342 | 0 | 0 | null | 2020-06-19T06:40:05 | 2020-02-23T14:21:23 | R | UTF-8 | R | false | false | 9,807 | r | gui.feature_picker.r | #'
#'
feature_picker.ui <- function(id, seurat, label='Feature selection', selected='features', include_feature_type=TRUE, include_values_range=TRUE,
choices=list(`Features`='features', `Metadata`='metadata', `Gene modules`='gene_modules'),
features_opts=lis... |
ee6babde649e78726e6414e270046adc1b258315 | 7af6caa67cef08323b14007179a68ca0f1df6f16 | /practice/generate-keywords.R | 3c3026b62fa375ac48099a52827cf24e3141334b | [] | no_license | zhou-dong/r-study | 5f57e10e049568f895764896bc66968eafbeebf2 | 4c9976e74f9fd9d79306dfbb8eb02e0ff722dff5 | refs/heads/master | 2021-01-13T01:44:03.078373 | 2016-01-26T19:06:00 | 2016-01-26T19:06:00 | 30,156,782 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,370 | r | generate-keywords.R | library(rmongodb)
library(plyr)
mongo<-mongo.create()
if (!mongo.is.connected(mongo))
error("No connection to MongoDB")
# DB name: linkedin; Collection name: employee
employee = "linkedin.employee"
employee_count = mongo.count(mongo, DBNS)
message("Count of Employee: ", employee_count)
query = mongo.bson.buff... |
7de8abd26a74617d6ead1a45b1c150ea08655f1f | 12700d79bb9a790cdc5dc2f0327932e738901139 | /ui.R | 9976ccc9f39c84d27d2b1a7487f2a930b452b567 | [] | no_license | tijoseymathew/ddpCourseProject | 71126662e41fc8492295953d184d9bb003323d70 | 3d17a7e98a7799d3757adb0d71df1129d34e332f | refs/heads/master | 2021-01-19T10:59:32.618716 | 2014-06-23T12:14:15 | 2014-06-23T12:14:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 875 | r | ui.R | library(shiny)
# Define UI for application that plots random distributions
shinyUI(pageWithSidebar(
# Application title
headerPanel("k-Means Visulaization"),
# Sidebar with a slider input for number of observations
sidebarPanel(
print("App to generate random samples and cluster them using k-Means cluste... |
7c5c22c2d2f069017e30c264e66497edc75707c3 | 5bce0396d622ce493e83f063995a972440742a24 | /man/GelbeKarten_Spielminute_Mannschaft.Rd | 7f69359302e7f2a6524689d2e8f1b20880a74725 | [] | no_license | maxxthur/handball.analytica | 5b3303c7eb3c34a720e040d44367cbe2be78572d | 9f149cf92f36de1f30558be131853f9f03397160 | refs/heads/master | 2020-04-14T03:47:48.035338 | 2019-01-21T13:09:30 | 2019-01-21T13:09:30 | 163,612,573 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 328 | rd | GelbeKarten_Spielminute_Mannschaft.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GelbeKarten_Spielverlauf_Mannschaft.R
\name{GelbeKarten_Spielminute_Mannschaft}
\alias{GelbeKarten_Spielminute_Mannschaft}
\title{Title}
\usage{
GelbeKarten_Spielminute_Mannschaft(Mannschaft, Data)
}
\arguments{
\item{Data}{}
}
\description{
... |
0349c8be88ea113135ae5acd99b8056d7637fa33 | e68be20f89b5b098d72c641129d2f8c1e209a81f | /man/diagnosticPlot.Rd | da41b10cb5dd815ef424358e9bf5c8d2502da2a2 | [] | no_license | cran/rMEA | 46cbff5c8fd55cffd3bef08c3716a484c1072386 | 22e8f87a35c3a7b271e327538f5931a5968d80c6 | refs/heads/master | 2022-03-24T06:19:45.274794 | 2022-02-17T17:12:07 | 2022-02-17T17:12:07 | 125,495,577 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,374 | rd | diagnosticPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rMEA_graphics.R
\name{diagnosticPlot}
\alias{diagnosticPlot}
\title{Plots the initial, middle and ending part of a MEA object}
\usage{
diagnosticPlot(mea, width = 60, ...)
}
\arguments{
\item{mea}{an object of class \code{MEA} (see f... |
341feb0ee3d691ff723ec7087a6172353afb3ab1 | 8e72f7609d9dac0dab575acc87671ccbaae8b16e | /shift_model.R | 13ad29718368e4e46b89cc0509ea6d0ae9ea4c2b | [] | no_license | gcgibson/cfr_model | aecb2725a46de7605854b88f539fa1d13e8092df | 4d4aed0e9c7b9cb9c499762530440f0faebd4e13 | refs/heads/main | 2023-03-02T03:50:44.661589 | 2021-02-14T18:51:49 | 2021-02-14T18:51:49 | 327,323,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,579 | r | shift_model.R | library("splines")
library("rstan")
library(covidcast)
start_day <- "2020-03-15"
timezero_day <- "2021-01-01"
forecast_day <- as.Date(timezero_day) + 28
region <- "tx"
ca_deaths <- covidcast_signal(data_source = "jhu-csse",
signal ="deaths_incidence_num",
... |
214f5c31b84f934006e85cc387590599b7588f33 | 5f90cc0c9c8eb6b993d228cfe75277ba50d6d048 | /R/runmcmc.R | 30e9d94e268e09df14aec0a689eed9b12b2e70e1 | [] | no_license | MJAlexander/distortr | b812640281590615edd97e22d1df779508710ae3 | 324746567bcb5c7251d911688bca8dfd51223403 | refs/heads/master | 2020-12-24T05:37:52.184782 | 2020-07-13T15:42:40 | 2020-07-13T15:42:40 | 73,495,046 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,461 | r | runmcmc.R | #' Run MCMC estimation
#'
#' Run MCMC estimation for time series using JAGS. Can either be run on a single time series of a set of time series.
#'
#' @param input.data Input data to JAGS.
#' If single country, this is a dataframe of x and y observations, and standard errors around ys.
#' If a global run, this is a list... |
49c2beecb7fe20a3bc69c04dc8968d86bbfc7b92 | 03b58eced475bed141a0e81b2b687fd72d42769b | /man/get_p_Salje.Rd | 49655bd65c0bf63a14b389c778bfee5d795b7876 | [] | no_license | epicentre-msf/covidestim | a86a14697bac09e27cee2d802dc12489da5fbe91 | 93785a265a495d9388add08913aba3ab14d96c59 | refs/heads/master | 2023-01-04T21:46:17.651857 | 2020-11-02T16:21:49 | 2020-11-02T16:21:49 | 263,291,260 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,302 | rd | get_p_Salje.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_p_Salje.R
\name{get_p_Salje}
\alias{get_p_Salje}
\title{Estimate Covid2019 outcome probabilities for a population given its age
distribution, and age-severity estimates from Salje et al. (2020)}
\source{
Salje, H., Kiem, C.T., Lefrancq, N... |
f19e2ce922d5b75aeb5efc9ed3297e3cfea1f6da | 06b0ec2195aaeb38dbba3efe626c83dedb0483ec | /Statistical Graphics with Big Data/team project/wordcloud.R | 998b879eab6245a51d3d58eca01facce3b759f69 | [] | no_license | chanmeee/lecture | 9ced5550216d9200e7ed66a5ce4a97128d60dacc | a0473506f7e8b7d9366661bee3a9a4b88e66e870 | refs/heads/master | 2021-07-16T04:32:22.309169 | 2020-09-24T12:57:17 | 2020-09-24T12:57:17 | 210,207,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,715 | r | wordcloud.R | # Load library
library(tidyverse)
library(data.table)
# Load Data
setwd("C:/Users/Chanmi Yoo/Desktop/빅데/팀프로젝트/data")
spotify <- fread("SpotifyFeatures.csv", encoding = "UTF-8")
# Preprocessing
# 1) NA 값 확인
table(is.na(spotify))
## [설명] 결측치가 전혀 없다.
# 2) 중복 음원 제거
spotify.uniq <- spotify[-which(duplic... |
ec00ddb5faca9f4b0c74c6b99ba9dd666c23ad6f | d847ef908656b3584235ecd026c9c4c6bef76f9e | /man/select_matches.Rd | 64e5c30bc8e7892d53bb8db297d5da2eed75057b | [] | no_license | reaganmozer/textmatch | 3407539aaed8678a16c1fa97b451d500f4076546 | 8a09a6568faed2f4067cbf02ee6979d87f5b3060 | refs/heads/master | 2021-07-24T15:35:35.089175 | 2021-07-21T16:16:02 | 2021-07-21T16:16:02 | 178,749,075 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 938 | rd | select_matches.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/select_matches.R
\name{select_matches}
\alias{select_matches}
\title{Given a model for match quality and a corpus of documents, calculate the
estimated match quality of each potential pairing of treated and control documents
and return a mat... |
a17f56357965a933d9b9b527f754c9eca25861de | b45d456566c9ae65cb3f3fb4e26ff9e054adbf1f | /MedidasTendenciaMedia.R | 08543b71cd0b47d0edd148a2865c4774fcf8c6a4 | [] | no_license | SindyPin/ExercisesR | 86e66c072cfc21c49bd9f57d535cec50ac897b45 | cf181f4e568a53b381316282290dff1289acaba0 | refs/heads/main | 2022-12-26T02:06:24.584419 | 2020-10-15T21:17:34 | 2020-10-15T21:17:34 | 304,448,624 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,199 | r | MedidasTendenciaMedia.R | require(e1071)
install.packages ("moments")
library(moments)
# 1. Crio um vetor com os valores a serem analisados:
c0 = c(2,3,6,9)
# 2. Calculo a Média do vetor:
mean(c0)
# 3. Calculo a Mediana:
median(c0)
# 4. Vejo um resumo dos cálculos
# (vai me dar o mín o máx, a média, a mediana e o 1o e 3o quartis):
summary(... |
88f5223f769804b04789935662cdae0a01434b98 | 5da36ba3773c76292a6fee6c941ddf579c5ee1c2 | /R/logit_irls.R | 7a1836204b99c7383ca20918cb6776b37d16cc82 | [
"CC0-1.0"
] | permissive | pat-alt/fromScratch | 3ea1d1b5b0b87ce02829681504212f8332e675c3 | f4df04504c0f07610744b47631d9cdfacd9e0b2a | refs/heads/master | 2023-04-22T18:23:30.594616 | 2021-04-20T08:02:15 | 2021-04-20T08:02:15 | 303,605,836 | 0 | 0 | CC0-1.0 | 2021-04-20T08:02:15 | 2020-10-13T06:14:37 | TeX | UTF-8 | R | false | false | 841 | r | logit_irls.R | logit_irls <- function(X, y, beta_0=NULL, tau=1e-9, max_iter=10000) {
if(!all(X[,1]==1)) {
X <- cbind(1,X)
}
p <- ncol(X)
n <- nrow(X)
# Initialization: ----
if (is.null(beta_0)) {
beta_latest <- matrix(rep(0, p)) # naive first guess
}
W <- diag(n)
can_still_improve <- T
iter <- 1
# Iterat... |
73aedbc7936c21ac732375a0dbf39c1946856244 | 215ca85a9ff709d1e221b3165e7e10eb783cf29c | /R/color.R | 3cbeb40465078cbdc18ab14d832e8b43517a01b1 | [] | no_license | dpcarballo/coloR | 2b845eb3493038d5458db4c76ac25d449c92429c | 2e1b2b3808d784cbf27a5d464fa8189e5faf4197 | refs/heads/master | 2020-05-04T17:06:06.094781 | 2019-04-25T11:38:31 | 2019-04-25T11:38:31 | 179,273,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,581 | r | color.R | #' Creates an object of class 'color'
#' @param ... A character containing a color name, a hexcode, a c(r,g,b) vector or
#' three single numbers representing r,g,b respectively
#' @param maxVal Value assigned to represent maximum amount of light. Defaults to 255
#' @return An object of class "color" made from speci... |
fb8df62a78d63502cf522fab4632f68850032b49 | e31ab151872ddc8b2ce40c13ad6ac4a4a22c1c7d | /functions/0_LoadConfig.R | 4e8ec5ee1caee9474fd75f2b45242ce76f0e490b | [
"MIT"
] | permissive | Alowis/postloss-Spattern | 8e03a19d1f2e961797081de098cdd8e79a94f2e5 | 8ac9ba126714ffd882ac2e23a50bbcaadd636eb7 | refs/heads/master | 2020-09-21T19:00:14.135498 | 2019-11-23T06:57:18 | 2019-11-23T06:57:18 | 224,892,160 | 0 | 0 | MIT | 2019-11-29T16:51:03 | 2019-11-29T16:51:03 | null | UTF-8 | R | false | false | 2,954 | r | 0_LoadConfig.R | ##############################################################################
# title : grid files (inputs) to extract fragstat and fractal metrics;
# purpose : create separated grids (unit of analysis) from detection grid for fragstat and
# fractal analyses;
# producer : prepared b... |
8fd80857bc7769222bebc2ea3e52386c5c03b5c9 | ecfbce1b650c26ed5144291895681f81482b1a29 | /R/SS_optim_scale.R | a4801052252745da40101f7d6803913e2de67b39 | [] | no_license | wpeterman/ResistanceGA | 2777371e78f740512ed7c7a606d9e1f8d95c1fa3 | 9897bf48fe017b3b47b22f72d1472d20f05ab3c6 | refs/heads/master | 2023-04-29T05:59:14.785140 | 2023-04-18T02:21:44 | 2023-04-18T02:21:44 | 19,353,382 | 32 | 18 | null | 2021-03-17T01:21:38 | 2014-05-01T18:22:03 | R | UTF-8 | R | false | false | 90,154 | r | SS_optim_scale.R | #' Single surface optimization with kernel smoothing
#'
#' Optimize all binary and/or continuous surfaces contained in a directory using a genetic algorithm executed with the \code{\link[GA]{ga}} function in the Genetic Algorithms package \pkg{GA}. Optimizes a kernel smoothing parameter with all surfaces.
#'
#' @param ... |
75d62ddefc718048951affa6fbd4b43746dd9fa5 | 8f2f7844354a8b68ad1afe5e5fd322b6bd1b1b8e | /lab4/3&4.R | 5ce70606f7bf35f11180df61de9dd68280d3a497 | [] | no_license | KUGDev/EMMvSA | 0f6f97df07ce5e4c0e50272863b5b8481a730853 | 08bfdeab9f84c333774aefb0ed341a444dce2656 | refs/heads/master | 2023-04-13T22:53:15.367460 | 2021-05-02T23:10:44 | 2021-05-02T23:10:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,398 | r | 3&4.R | library(e1071)
area.pallete = function (n = 3)
{
cols = rainbow (n)
cols [1:3] = c("PaleGreen", "PaleTurquoise", "Pink")
return(cols)
}
symbols.pallete = c("SeaGreen", "Blue", "Red")
set.seed(0)
C = 1
kernel = "polynomial"
degree = 1
data = iris [c("Petal.Width", "Petal.Length", "Species")]
trainIdx ... |
0dd7925d4f2ca257a4f5c3c0d29c566f93f2dfcc | 1040a5d6ef334e4fa259138bcaa815c4f1c1bbb8 | /ui.R | 2d68f7c454f2e4e250e6763a386bb6f5411e9f12 | [] | no_license | jimbrig/shiny_react_fluent_app | d2d51f14bacf8da1bcf080feafa6ca44af68c402 | 54bb9c1359d972ec99785495cbe0f5d88c7f50a1 | refs/heads/main | 2023-04-01T21:12:08.756089 | 2021-04-13T21:00:46 | 2021-04-13T21:00:46 | 352,163,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,730 | r | ui.R | header <- tagList(
img(src = "images/placeholder_company_logo.jpg", class = "logo"),
div(Text(variant = "xLarge", "Sales Reps Analysis"), class = "title"),
CommandBar(
items = list(
CommandBarItem("New", "Add", subitems = list(
CommandBarItem("Email message", "Mail", key = "emailMessage", href =... |
123559c0464805140c0666433684328096763e26 | 1d4c729a11381851e0b5c8578bf5cd7289fc082f | /man/xEnricherSNPs.Rd | f9c70460d1f3d260dc11b3bb0155969cb688f8c4 | [] | no_license | hfang-bristol/XGR | 95b484a0350e14ad59fa170ead902689a34be89a | 7b947080b310363e2b82c24c82d3394335906f54 | refs/heads/master | 2023-02-05T12:35:24.074365 | 2023-01-28T05:49:33 | 2023-01-28T05:49:33 | 52,982,296 | 9 | 3 | null | null | null | null | UTF-8 | R | false | true | 12,180 | rd | xEnricherSNPs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xEnricherSNPs.r
\name{xEnricherSNPs}
\alias{xEnricherSNPs}
\title{Function to conduct enrichment analysis given a list of SNPs and the ontology in query}
\usage{
xEnricherSNPs(
data,
background = NULL,
ontology = c("EF", "EF_disease", "EF_phe... |
877f1e145c567199ca462ece1c94f3c4ce020938 | 2016b18e19dce214fa3362eca26c4d23e75750ee | /R/corpus.R | 800ea2b2feade371ee07148cbd702514d784ed02 | [
"MIT"
] | permissive | news-r/nltk4r | 828967a4c787f4bbf52fade8d08a723f602ba35b | ceb0b8097723dc1729a9e79f12f2923c7282c626 | refs/heads/master | 2022-02-21T19:57:06.914225 | 2019-08-20T08:23:56 | 2019-08-20T08:23:56 | 198,101,782 | 7 | 4 | null | null | null | null | UTF-8 | R | false | false | 577 | r | corpus.R | #' Corpus Reader
#'
#' Read collection of text files as corpus.
#'
#' @param root The root directory.
#' @param pattern Pattern to match file neames against.
#'
#' @name corpus_reader
#'
#' @export
plain_text_corpus_reader <- function(root, pattern = ".*"){
assert_that(!missing(root), msg = "Missing root")
nltk$... |
0ef4f6788ce2ff658efa6033a1c4bfcfb27d6a44 | 4a2c6f223ff6063640475840209927bf85a9f33b | /writeup/Fig2_all_PCA_plots_for_3peaks_Chr2L_byMDS.R | a7cbd6e96966d55575f8dd7e432bc8318a7dc3b4 | [] | no_license | petrelharp/local_pca | d69cc4122c381bf981af65a8beb8914fabede4d5 | abf0c31da5cd74a1de62083580d482f5bd08d7de | refs/heads/master | 2023-06-25T18:12:39.355780 | 2023-06-14T04:39:12 | 2023-06-14T04:39:12 | 47,361,457 | 61 | 13 | null | 2021-02-25T17:20:18 | 2015-12-03T21:23:41 | HTML | UTF-8 | R | false | false | 1,486 | r | Fig2_all_PCA_plots_for_3peaks_Chr2L_byMDS.R | setwd("~/Documents/Drosophila/Chr2L")
c1=as.matrix(read.table("Chr2L_recomchunk_win103_cov1_byMDS_ordered.txt"))
c2=as.matrix(read.table("Chr2L_recomchunk_win103_cov2_byMDS_ordered.txt"))
c3=as.matrix(read.table("Chr2L_recomchunk_win103_cov3_byMDS_ordered.txt"))
c=as.matrix(read.table("cov_data_for_all_samples_seqs_bot... |
883b22a17f2fdccc66d0e0397edda6348953fe3c | 07aa21831674b145d4e501a85bb329fb37b6a677 | /R/zzz.R | 6a54566d082b534784d3b775572cf231ae79e1bd | [] | no_license | ifellows/DeducerRDSAnalyst | 883f598b2ee5216d5016bff55079044c3f8295e9 | f0ce730ea2a841308760a665451d48b4b9cb34d7 | refs/heads/master | 2021-01-10T10:18:55.008911 | 2015-10-13T05:08:12 | 2015-10-13T05:08:12 | 44,152,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,022 | r | zzz.R |
.onLoad <- function(libname, pkgname){
ops <- options(warn = -1)
on.exit(options(ops))
deducerNotLoaded <- try(.deducer == .jnull(),silent=TRUE)
if(inherits(deducerNotLoaded,"try-error") || deducerNotLoaded)
return(NULL)
.jpackage(pkgname, lib.loc=libname)
RDSAnalyst <- J("RDSAnalyst.RDSAnalyst")
R... |
22d81b1d3d7bbb78c0fe792c6bfd6764911a92d4 | 82d379f9fc52fccdbcc3b27b13137bf4753770f0 | /R/adapter_content.R | 084f4548f897c7102ac7af1b9ac4185182a0bfce | [] | no_license | compbiocore/qckitfastq | 8070616f055fb0c69cd65ba32361ba5d9cd93a9a | 2c7366d5bb81a815134d242d2c4c0371bbb208fd | refs/heads/master | 2020-03-09T21:00:10.217105 | 2019-09-17T20:00:19 | 2019-09-17T20:00:19 | 128,998,398 | 1 | 1 | null | 2018-06-05T21:35:52 | 2018-04-10T21:43:27 | C++ | UTF-8 | R | false | false | 1,684 | r | adapter_content.R | #' Creates a sorted from most frequent to least frequent abundance table
#' of adapters that are found to be present in the reads at greater than
#' 0.1\% of the reads. If output_file is selected then will save the
#' entire set of adapters and counts. Only available for macOS/Linux due to dependency
#' on C++14.
#' @p... |
33fa0095c3eda424f8e3c437adb02929d03aa00a | c88b0cbeda0edf9e745e324ef942a504e27d4f87 | /longevity/eLife revision/2_wildImport.R | 80e8f11136ac74d06f2ade7918f89324a514c50a | [] | no_license | Diapadion/R | 5535b2373bcb5dd9a8bbc0b517f0f9fcda498f27 | 1485c43c0e565a947fdc058a1019a74bdd97f265 | refs/heads/master | 2023-05-12T04:21:15.761115 | 2023-04-27T16:26:35 | 2023-04-27T16:26:35 | 28,046,921 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 697 | r | 2_wildImport.R | ### Wild chimp data
library(lubridate)
wch <- read.csv(file = 'WildChimp_biography.csv')
wch$birthdate = as.Date(wch$birthdate,format='%Y-%m-%d')
wch$departdate = as.Date(wch$departdate,format='%Y-%m-%d')
wch$age = difftime(wch$departdate,wch$birthdate, units = 'weeks')/52.25
wch = wch[wch$age!=0,]
wch$departty... |
00f8c8fe7d2fef33ac9b95952d196808f99db1aa | af5fdc8473585759439e661c55a83628f1a87359 | /R/print.kResults.R | 3586bd32c9e6b6501ff7b61b73eccb0d382573df | [] | no_license | ljzhao007/mnspc | f3790be940d0d15c49565eea1eb9c1f62726cc6a | 25313d150768afcb692bbf0d0eda20ceef8dce6d | refs/heads/master | 2021-03-28T18:27:59.900273 | 2011-02-21T00:00:00 | 2011-02-21T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 498 | r | print.kResults.R | print.kResults<-function(all.results.sarl1, k.results)
{
p.k<-all.results.sarl1$k.1
p.h<-all.results.sarl1$h.1
p.arl0<-all.results.sarl1$arl0.1
p.arl1<-all.results.sarl1$arl1.1
h<-k.results$h
k<-k.results$k
arl1<-k.results$arl1
arl0<-k.results$arl0.actual
nrowin<-length(p.h)
.C("printkResults", p.k=as.double(p.k),p... |
23a6238e2db4c1c4060b8c1416a9b781cbbbf034 | 4bf18671ead81f5355aeed1a9e481bda8d708b80 | /Course2/Week 4/rankhospital.R | 982b0883d332828adb52bbd7896708d161f78625 | [] | no_license | erjicles/datasciencecoursera | 2bf23c76528eb770f54a26b7a485e5e74244a716 | 42092b3669137261f03709bb0f9a1db9ecb4c45f | refs/heads/master | 2021-06-26T03:46:56.797749 | 2019-05-28T19:49:49 | 2019-05-28T19:49:49 | 104,016,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,105 | r | rankhospital.R | ## Week 4 Programming Assignment
## Takes three arguments: the 2-character abbreviated name of a state (state),
## an outcome (outcome), and the ranking of a hospital in that state for that
## outcome (num).
## Reads the outcome-of-care-measures.csv file and returns a character vector
## with the name of the hospital ... |
33274f6012819340237d7f67c9f1461d4d10bf88 | 136a8eb2d2a782dda9519b84fe192028813a2a5d | /code/sql_cfpb_df.R | 62836a66fb82bdad422e1cf7152699f1ad775090 | [] | no_license | zoeang/rulemaking | c979593d9b70eade8c0c524ac3b4b7ebc0c3bf6f | 9acd9a3fbbc1023a8161c352d87d9ec90fecf00f | refs/heads/master | 2022-10-28T15:02:04.163504 | 2022-07-15T22:21:25 | 2022-07-15T22:21:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,331 | r | sql_cfpb_df.R | # Create RSQLite database
library(DBI)
# install.packages("RSQLite")
1
library(RSQLite)
library(tidyverse)
library(magrittr)
# Create RSQLite database
con <- dbConnect(RSQLite::SQLite(), here::here("db", "regs_dot_gov.sqlite"))
# fetch results:
comments_cfpb <- dbGetQuery(con, "SELECT * FROM comments WHERE agency_acr... |
546dbd2f7ced49ad6bde398581593b9076a40b8e | e1c85152190571d098cb195b331556e4ca9c1c06 | /Rpackages/gemtcPlus/man/nma_fit.Rd | bea3eaaac92fb16667d37c24eee9e191d00eb2e0 | [
"Apache-2.0"
] | permissive | Diarmuid78/Global-HTA-Evidence-Open | 4227ad9be6012a4083aba741827abe4e648fac37 | 050767457dc82da1d5a7f14967c72d626615effb | refs/heads/master | 2023-06-03T23:10:56.353787 | 2021-06-29T11:54:50 | 2021-06-29T11:54:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 811 | rd | nma_fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nma_fit.R
\name{nma_fit}
\alias{nma_fit}
\title{Takes input data and a model plan and passes to the model engine specified.
Current supported engines are the `gemtc` package (using mtc.model & mtc.run) or `rjags` (using jags and dic.samples ... |
024e27b171369e2270add8ff8f2cde0bbf77e8dd | fad3e5382d23eb599a34b67d7e7f6bdddbe218e7 | /multidots.R | edca044b4b3ec9df9bcb05a2e2aca3daadc919f0 | [] | no_license | rrbm823/maps | aa4a68f62c70658465bf5044ea009f18d999a233 | 5bb7432e21a6d06a2e5f845918cbb4b8e2fcda66 | refs/heads/master | 2016-09-10T17:21:53.634437 | 2014-10-25T18:59:26 | 2014-10-25T18:59:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,004 | r | multidots.R | outputsource<-"C:\\Users\\Erik J\\Documents\\R\\output"
inputsource<-"C:\\Users\\Erik J\\Documents\\R\\test3"
shapefilepath<-"C:\\Users\\Erik J\\Documents\\R\\spatial\\shapefiles"
outputfile<-"multidots.jpg"
#########################
library(maptools)
library(PBSmapping)
setwd(inputsource)
a<-list.files(path=inputsourc... |
95105c2bc4200b71dd63919ec6a8f594661a3a0e | cb20852e1607f6145194199bcca82b040090edd4 | /code/helpers/_helpers_big_query_tables.R | 35b1241f54c97216dcddb17edf2ac348ad4f72f6 | [
"MIT"
] | permissive | yangchuhua/gtex-gwas-analysis | 7f2f60950ae362ffd1dc8734804dfe36d230cef6 | 300aa123dd769ab175fbf7bb9b26c9e3e4439fa0 | refs/heads/master | 2023-07-04T16:50:41.747961 | 2021-08-06T17:35:09 | 2021-08-06T17:35:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,250 | r | _helpers_big_query_tables.R | # derived from Rodrigo's code
# This script defines some objects containing the information
# necessary to connect to each of the BQ tables.
tableInfo <- function(dataset="GTEx_V8_ElasticNet_EUR_2018_07_05", table="predixcan_results", project="gtex-awg-im") {
info <- list()
info$project <- project
info$dataset_... |
75094346c0b6e26d55dd3280832c899c268772ec | 61c091c21d06b7c61f35a24d4fe3d8882e9fb254 | /man/PlotSexRatioStrata.fn.Rd | e06197b46ef1fb9516d5b286a55b8325d61aca50 | [] | no_license | pfmc-assessments/nwfscSurvey | b3be76b410bdc5dae168e84d2ee1a2c64c98e098 | 423800ecb91137cba1587ac19226a3ebb8d50c2d | refs/heads/main | 2023-07-28T08:35:55.810331 | 2023-07-20T17:10:25 | 2023-07-20T18:17:33 | 26,344,817 | 4 | 2 | null | 2023-07-20T17:31:58 | 2014-11-08T00:38:17 | R | UTF-8 | R | false | true | 1,228 | rd | PlotSexRatioStrata.fn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PlotSexRatioStrata.fn.R
\name{PlotSexRatioStrata.fn}
\alias{PlotSexRatioStrata.fn}
\title{Function to plot sex ratio by strata}
\usage{
PlotSexRatioStrata.fn(
dir = NULL,
dat,
type = "length",
strat.vars = c("Depth_m", "Latitude_dd"),... |
b502968b47730ed775715fc9add34975b30ec63c | 404ad3e1c95f0b503d3ed259f3c364ec120d233d | /R/archive_extract.R | 56127fa895b2dfe5bc079a9c4a122d62ad3d5983 | [
"MIT"
] | permissive | minghao2016/archive | e2b6f0743a06d4395fc63ba1483ddfd878abc2d2 | 2442b899881475e8d60fcbee27aeb187d835e7e5 | refs/heads/master | 2023-06-28T10:51:21.011216 | 2021-07-29T18:55:52 | 2021-07-29T18:55:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,688 | r | archive_extract.R | #' Extract contents of an archive to a directory
#'
#' @inheritParams archive_read
#' @param files `character() || integer() || NULL` One or more files within the archive,
#' specified either by filename or by position.
#' @param dir `character(1)` Directory location to extract archive contents, will be created
#' if... |
d55c9c7fa667f291d3a60759f6d7b4ac1d4ca30a | 018c421a17aecd4bf2c452bc88232b0ffb127e25 | /scripts/1_data preparation.R | 3b091d9693d76af4c1df8a9856c9b25cdb4e7fdc | [] | no_license | samfranks/eu_meadow_birds | 2dafb955c69a36e62c9243d1efe773529713ad43 | 9126946f27c381e0b8d2051872203ee9306a0fe9 | refs/heads/master | 2020-03-26T23:41:05.239515 | 2018-11-20T15:18:43 | 2018-11-20T15:18:43 | 145,559,672 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,085 | r | 1_data preparation.R | ############################################################################################
#
# Step 1: EU meadow birds meta-analysis - DATA PREPARATION FROM EXTRACTED DATABASE
#
############################################################################################
# Samantha Franks
# 11 March 2016
# 22 Dec... |
b01e6ffc86e0c398857a6ff841d4dd2395d5942b | e1d4cceb6474ac0d600136ffb4fcbdad59762236 | /man/get_superstructures.Rd | 3577760157c9458a696260be98e7c433946eb7ca | [] | no_license | sgrote/ABAEnrichment | 64a3f24cdefa2b39d2c365e57ea83d81328146c6 | 6f9fb17b300e831900a252c78f3f3efa7b39582d | refs/heads/master | 2022-01-05T16:55:38.319400 | 2019-07-14T14:14:59 | 2019-07-14T14:14:59 | 107,267,872 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,789 | rd | get_superstructures.Rd | \name{get_superstructures}
\alias{get_superstructures}
\title{
Returns all superstructures of a brain region using the Allen Brain Atlas ontology
}
\description{
Returns all superstructures of a brain region and the brain region itself given a structure ID, e.g. 'Allen:10657' as used throughout the ABAEnrichmen... |
e4db41f98a4ea244f8d261db826d0660ac242c97 | ae4ec2824fd201bb731e7b1379eadfc092d1ab25 | /functions/sublist.R | bb00af65438e5f6bf9247ee16fe93f6f7baaa574 | [] | no_license | embubiz/getdataProject | 24a87d14aa5b930465241e50f29d82b3e8288621 | 95a342896186d8c8c3538cfda515b7ea9107b1d7 | refs/heads/master | 2021-01-22T07:13:39.420373 | 2014-10-26T23:42:06 | 2014-10-26T23:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 495 | r | sublist.R | sublist <- function( ) {
union( names( unlist( sapply( feat,
grep,
pattern = "mean()",
fixed = T,
value = F ) ) ),
names( unlist( sapply( feat,
... |
df3854b4c575154fd99b66274f3c7c2bc2fbd714 | 54cc718d91d90a151c94833be049b95198ee3556 | /atlas/solve.R | 678b35c7af8ec0a8ea218f20117a646cec6044b1 | [
"Apache-2.0"
] | permissive | rzo1/effective-debugging | 1411d3e1030160e3d7fb74a3f5bcecdd8a7262c8 | 8a1faae5028d382a59b71073450a8634e10fc972 | refs/heads/master | 2023-03-22T21:49:49.511805 | 2019-01-01T22:57:46 | 2019-01-01T22:57:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 167 | r | solve.R | #!/usr/bin/env Rscript
# Matrix size
n <- 10000
# Create a square matrix of random numbers
m <- replicate(n, rnorm(n))
# Calculate the matrix inverse
r <- solve(m)
|
f49420e80903bef468dbd57b371c5a0d36152734 | d3da3172e2164d35f2c0841a98aed16dfebb6351 | /Part4/RDExP4nalinkum.R | 34215f55861416365dba2efa6dcf6cf31a1d4aa2 | [] | no_license | nalin-iitd/EDA-RealDirect | 1c000c34411f9b4de4dbf3e44ec7e26da54dd90d | a96f2da493dbe425b5f9791c3ebed08b2fa1151e | refs/heads/master | 2020-04-06T06:35:02.903834 | 2016-11-13T04:19:22 | 2016-11-13T04:19:22 | 73,594,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,899 | r | RDExP4nalinkum.R | #install the required packages
install.packages("twitteR")
install.packages("wordcloud")
install.packages("tm")
install.packages("ggplot2")
install.packages("Rgraphviz")
#load the required libraries
library("twitteR")
library("wordcloud")
library("tm")
library("ggplot2")
library("Rgraphviz")
#perform real esate twee... |
4ef53918b41303afa2073182951476e5713f1311 | e725e28b66bf0a13793f172b51c0111a068bcfbe | /tests/testthat/test-generate_typos.R | efade47f7f2c3d77977535a950f38f2d75555c7e | [
"Apache-2.0"
] | permissive | mikemahoney218/typogenerator | 86aa47c3450654df6ef2de4ac2c44a227671c82b | 23cf8a5ed05f10adf2029c4a6cb482a6f6e376c2 | refs/heads/main | 2023-03-18T09:23:43.327024 | 2021-03-03T00:12:48 | 2021-03-03T00:12:48 | 343,555,776 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 428 | r | test-generate_typos.R | test_that("generate_typos is stable", {
expect_equal(
length(generate_typos("Mike", "*")[[1]]),
351
)
expect_equal(
generate_typos("Michael", "typo_repetition"),
typo_repetition("Michael")
)
expect_equal(
length(
generate_typos(
"Michael",
c("typo_addition", "typo_p... |
7cf7a31b52cff1a5027d5f99d1be9de1767cb5fd | a2324da916cef0ea41d0c935640d5e4f551940da | /dofiles/analysis/tab2-read-by-age-sex.R | d85d62c1aa40d43f381bf4b82c97cc9662910c5c | [] | no_license | hendersonad/2020_multimorbidity | d4339ef15e76b00f651968ef2dc212b8dc3eca89 | 32db3bab262fb55e3e2ac0eb615e415680faeb83 | refs/heads/main | 2023-04-09T17:40:25.511958 | 2022-11-09T10:45:04 | 2022-11-09T10:45:04 | 327,689,240 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,922 | r | tab2-read-by-age-sex.R | library(arrow)
library(tidyr)
library(dplyr)
library(readr)
library(haven)
library(ggplot2)
library(stringr)
library(data.table)
library(here)
library(grid)
library(gridExtra)
source(here::here("mm-filepaths.R"))
theme_ali <- theme_bw() %+replace%
theme(legend.position = "top",
strip.background = element_bl... |
91c09773a46b749bd4e11b5c0490c37f0204b584 | d6cf97021abf02e87f87ce7f2509c516d7474950 | /man/sbc_compare_df_var_perc.Rd | d1c8e3c940f698fdf3420ffd0a68ffa0ec07c188 | [] | no_license | mygeorgyboy/SbcRepTables | 89ad9cef6a736db670a1de881fff17570e330dc6 | ced4ac9dc889e43d5d94df39c3917516eac604dc | refs/heads/main | 2023-03-17T01:55:58.467512 | 2023-02-13T22:13:56 | 2023-02-13T22:13:56 | 142,940,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 622 | rd | sbc_compare_df_var_perc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sbc_functions.R
\name{sbc_compare_df_var_perc}
\alias{sbc_compare_df_var_perc}
\title{Compare one column on different data frames}
\usage{
sbc_compare_df_var_perc(
x,
var_name,
transpos_ind = F,
incidence_var = NULL,
showCount = F
)... |
c67a6ff2d73a323713c40d7231c8578094f3e34a | 9231e6508f109c8be584041c5678247d9a90daa9 | /R/rmf-create-dis.R | 502da65fe6d38fd6ef06b317c144c5081771f2a6 | [] | no_license | CasillasMX/RMODFLOW | ba6c030d2c6c259d3d7aecddec9572e4c57c424e | 94055e120da756b4ab66c64a257774a8a7d08f09 | refs/heads/master | 2022-05-21T10:25:04.130795 | 2022-05-04T09:12:37 | 2022-05-04T09:12:37 | 174,107,033 | 0 | 0 | null | 2019-03-06T08:48:35 | 2019-03-06T08:48:35 | null | UTF-8 | R | false | false | 3,085 | r | rmf-create-dis.R | #' Create an \code{RMODFLOW} dis object
#'
#' \code{rmf_create_dis} creates an \code{RMODFLOW} dis object.
#'
#' @param nlay number of layers; defaults to 3
#' @param nrow number of rows; defaults to 10
#' @param ncol number of columns; defaults to 10
#' @param nper number of stress periods; defaults to 1
#' @param i... |
800cfa472ec2a0ca429d64904526688d17c3d0bf | b08b7e3160ae9947b6046123acad8f59152375c3 | /Programming Language Detection/Experiment-2/Dataset/Train/R/extend-your-language-3.r | f275a8eea13e7adde4b8daec612a89a8aceb825f | [] | no_license | dlaststark/machine-learning-projects | efb0a28c664419275e87eb612c89054164fe1eb0 | eaa0c96d4d1c15934d63035b837636a6d11736e3 | refs/heads/master | 2022-12-06T08:36:09.867677 | 2022-11-20T13:17:25 | 2022-11-20T13:17:25 | 246,379,103 | 9 | 5 | null | null | null | null | UTF-8 | R | false | false | 282 | r | extend-your-language-3.r | if2 <- function(condition1, condition2, expr_list = NULL)
{
cl <- as.call(expr_list)
cl_name <- if(condition1)
{
if(condition2) "" else "else1"
} else if(condition2) "else2" else "else"
if(!nzchar(cl_name)) cl_name <- which(!nzchar(names(cl)))
eval(cl[[cl_name]])
}
|
67bf082d722f26fb321ecbb1294093705696cff3 | a58436d809eb1715d6d1b35ca1ba2564ce6082c0 | /Practical Machine Learning/quiz3.R | 73addf5269778dd073a18fbb3d95d7fefe692ccb | [] | no_license | donelianc/coursera-data-science | 7801066849b7cf16f96d554139e07c70433228f7 | 62cb135167e9d67ffa900c1c6af15cf7bc814365 | refs/heads/master | 2022-09-08T17:34:40.703864 | 2020-06-02T00:33:20 | 2020-06-02T00:33:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,289 | r | quiz3.R | # Ian Castillo Rosales
# Quizz 3 - Practical Machine Learning
# 19/01/2015
library(caret)
library(rattle)
library(AppliedPredictiveModeling)
# ===== Question 1 =====
data(segmentationOriginal)
data <- data.frame(segmentationOriginal)
trainIndex <- data$Case == levels(data$Case)[2]
trainIndex
training <- data[trainI... |
f7510579e8c20d03d0060076935d9c4847be3da3 | 8c775ab452277ecfb111b1e4bce1af6f65b5508c | /plot1.R | 654278f76ab617d9f8860bda0c4ef4fb07a79051 | [] | no_license | dchow2201/ExData_Plotting1 | cc6af2a85d4ee2d6f78663fdc2d95764bfded510 | 0e3f9b2e4323cfb798117d512926b150ac476ce2 | refs/heads/master | 2021-01-18T05:20:26.182278 | 2014-05-11T20:04:16 | 2014-05-11T20:04:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 536 | r | plot1.R | plot1=function(){
setwd("C:/Users/David/Dropbox/Coursea/Exploratory Data Analysis")
#read data set as data table, sep by ;, missing values are coded as ?, header is included
DT=fread("household_power_consumption.txt",sep=";",header=T,
na.strings="?")
DT=DT[DT$Date=="1/2/2007"|DT$Date=="2/2/2007",]
... |
bb0002686cd360eed21486cb003a8374c706fd16 | 03c1325893b502b7855f83287e02e7f14af4f1c7 | /projects/R/chapter7/fooC2.R | 92d386410a3f5bd68e24c9270f8d231cc5528ebb | [] | no_license | elgeish/Computing-with-Data | 8562a15a74df6f379296b84e393a358eebf3d3fc | 5547dc28c027e023783238be78eab216ec5204f4 | refs/heads/master | 2023-07-29T06:00:26.625191 | 2023-07-16T00:32:38 | 2023-07-16T00:32:38 | 145,339,359 | 15 | 24 | null | 2023-07-16T00:32:40 | 2018-08-19T21:38:09 | Java | UTF-8 | R | false | false | 133 | r | fooC2.R | dyn.load("chapter7/fooC2.so") # load the compiled C code
a = seq(0, 1, length = 10)
b = seq(0, 1, length = 10)
.Call("fooC2", a, b)
|
6da21970af0359a49431f3ea97037f4d25ebb0de | 979fd9ba2ebd923cc5a8e84810081da7dfc8e9e6 | /Lab9/dotchart.r | e23b66128317eea29d2366cfa43d09faa2616e67 | [] | no_license | shivam-raj-4/DSR-LAB | b3198b06701905dbd0ccff06f7ef48cfdf1a0a18 | d6fd8fa23f1044bbfee0552c97eb2d5a6078ed9f | refs/heads/master | 2023-01-30T05:59:54.323531 | 2020-12-12T18:27:11 | 2020-12-12T18:27:11 | 299,533,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 92 | r | dotchart.r | mtcars
dotchart(mtcars$mpg,labels=row.names(mtcars),main="Miles/gallon",cex=0.6,xlab="mpg") |
faa8201a86eddb6c5330e3065877c2eb1e32b508 | 34289a04a4dd4088079d4598faee0d3d4e41fea0 | /Script/2-2-Tanimoto_accuracy.r | 5da83a3a3135b49f4cf89eee4cbc06e6dac4e0db | [
"MIT"
] | permissive | david-beauchesne/Predict_interactions | 6034004897860ced2ed47d4ba503330a5374a7b0 | bcddde0b04325a7c8a64467d4adcf8f13d7208c5 | refs/heads/master | 2020-05-21T20:44:17.918693 | 2018-06-27T18:40:12 | 2018-06-27T18:40:12 | 65,501,383 | 7 | 1 | null | 2016-08-12T14:35:17 | 2016-08-11T21:03:01 | R | UTF-8 | R | false | false | 3,609 | r | 2-2-Tanimoto_accuracy.r | # -----------------------------------------------------------------------------
# PROJECT:
# Evaluating the structure of the communities of the estuary
# and gulf of St.Lawrence
# -----------------------------------------------------------------------------
# -----------------------------------------------------... |
54d6c12072452c84a75272b035718bef882c59af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/plsRglm/examples/plots.confints.bootpls.Rd.R | fbf2b7c6ef94dd539cd6152feb2e52f528f86cea | [] | 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 | 3,709 | r | plots.confints.bootpls.Rd.R | library(plsRglm)
### Name: plots.confints.bootpls
### Title: Plot bootstrap confidence intervals
### Aliases: plots.confints.bootpls
### Keywords: regression models
### ** Examples
data(Cornell)
modpls <- plsR(Y~.,data=Cornell,3)
# Lazraq-Cleroux PLS (Y,X) bootstrap
set.seed(250)
Cornell.bootYX <- bootpls(modpls, ... |
7d5eba6c9d1ee07175d83914b9570c78c4aed84c | ee8862eecd3fb5eb95146fa8cc9f49caf10975d8 | /cachematrix.R | 3d8774eb00a7cca655a42a8d970bbcd9164769c2 | [] | no_license | mikesn922/ProgrammingAssignment2 | cc6e36a18303ee892121f26938867f9395b16d70 | 9372be8324c48378f751bce310af06e885866858 | refs/heads/master | 2021-01-18T07:24:04.378942 | 2015-09-24T03:20:12 | 2015-09-24T03:20:12 | 42,757,957 | 0 | 0 | null | 2015-09-19T03:27:36 | 2015-09-19T03:27:36 | null | UTF-8 | R | false | false | 1,795 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
#cerate a matrix object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
#initial inverseValue as NULL
inverseValue <- NULL
#set the value of the m... |
82ff8b47f23d1d040e439761feb5d1f0b80ba62b | 4ebdddb600a4468652936161471cc06beee05873 | /man/CircResidual.Rd | 6bbe6296f0997f209d284ef62fae16d95a2189ba | [] | no_license | cran/CircSpatial | 52962e4a2d3a2cd4b4a4d5ccd51a38aba7c5ff0d | 84ed28c8e5378255c0520e2b669f4ddb8dcbfc72 | refs/heads/master | 2016-09-05T17:00:21.112703 | 2009-10-27T00:00:00 | 2009-10-27T00:00:00 | 17,717,327 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,935 | rd | CircResidual.Rd | \name{CircResidual}
\alias{CircResidual}
\alias{Circular Residuals}
\title{Compute or Plot Circular Residuals}
\description{
Returns the residuals or plots data, model, and residuals with black, tan, and dashed black arrows, respectively.
}
\usage{CircResidual(X, Y, Raw, Trend, Plot=FALSE, AdjArrowLength=1, ... |
3e17df4f44b3d4833aec831009a086f6662fdc84 | 73d67b4e0e9a461d4fe01a2476d16216b8f0eb76 | /tests/registry.R | 1d00e399af9d242e5e1033f4b097bc373643e8bf | [] | no_license | cran/proxy | ad2d7d787be62bf93a2e22acc9f0e78d4a9df9c7 | 311a8569a534460ef04473ffa442dc7b72ba9a41 | refs/heads/master | 2022-06-20T10:04:04.795015 | 2022-06-09T05:15:32 | 2022-06-09T05:15:32 | 17,698,758 | 3 | 4 | null | 2018-05-15T20:44:52 | 2014-03-13T05:53:09 | R | UTF-8 | R | false | false | 1,882 | r | registry.R | ##########################
### registry test instances
library(proxy)
.my_check_fun <- function(x) if (x$Z == 999 && x$New2 == 999) stop("No evil allowed!")
## create registry
R <- proxy:::registry(entry_class = "simple.list",
validity_FUN = .my_check_fun)
R
## set fields
R$set_field("X", type... |
a2d4d2d560f4c17cfb63e997b903ea37d35f841d | fea4cdbc6a13800cba7a68196dc98bdcdaeec8a0 | /cachematrix.R | b403234708cab8264fb9f5bd9489cf78fbff0911 | [] | no_license | markgreenwood/ProgrammingAssignment2 | 1b00936cb8e1dfe624b96ad0c969de5368bdca92 | 504c7613ad1af09357492e511ff48672f6fd365c | refs/heads/master | 2021-01-16T19:52:03.629356 | 2014-05-23T23:14:00 | 2014-05-23T23:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,898 | r | cachematrix.R | ## makeCacheMatrix creates a special matrix object that can cache its inverse using cacheSolve().
##
## Example:
##
## >>> M <- makeCacheMatrix(matrix(c(1,2,3,2,1,2,3,2,1),c(3,3)))
## >>> cacheSolve(M) # returns the computed value of the inverse
## ...
## ...do some other stuff that leaves M unchanged...
## ...
## >>> ... |
a617ec2226dec83ee4fbb9e5b05fed6afd08f4a3 | 2771dbd8f9e59522f1a61db5a0c505adc4b2a6de | /src/viz.R | 77dda694daf92c4d5765c71ce7dec2b6f73139b2 | [
"MIT"
] | permissive | susan-fung/tertiary_edu_GDP | d7fa7ad631d7c66f7ed76a7ad29e70fdeb391e16 | c2c36298628e6181d6f1a3e5eba7c56ee76236e4 | refs/heads/master | 2021-08-28T16:28:37.998299 | 2017-12-12T18:50:21 | 2017-12-12T18:50:21 | 112,645,596 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,392 | r | viz.R | #! /usr/bin/env Rscript
# Susan Fung, Dec 2017
# This script reads in data from the wrangled data set that contains tertiary education, ISO country
# code, GDP per capita and country latitude and longitude data.
# This script makes two visualizations and they are saved as png
# Usage: Rscript viz.R "path to gap_map_... |
e719e521ab98a49091a2a66864a90ba6c566b9bb | ef6681b93278cbba78b89d5679c88517cdf70305 | /update_data.R | 1b954a36cecfc8a8989931a58facb5874daa4088 | [] | no_license | lehmkudc/mtg-database | 966f48f28023b828a738c81b065356ea934e59e3 | 43cb3a51df48cac8f2ba7e55ad1fd55ec1ad5ea2 | refs/heads/master | 2020-03-09T06:39:04.878364 | 2018-09-01T19:08:31 | 2018-09-01T19:08:31 | 128,599,306 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,698 | r | update_data.R | rm( list=ls() )
library(rjson)
options(stringsAsFactors = FALSE)
source('mtg-database/transaction_functions.R')
source('C:/Users/Dustin/Desktop/config.R')
source('mtg-database/app_functions.R')
kill_connections()
add_card_name <- function(conn, card_name){
card_name <- paste0( '"', card_name, '"' )
q <- paste(... |
145dfe9e5a5be7e8f1896456c7560e349af57475 | 573934c36f13c6dc1ca579d66cf046ceae5e5cae | /man/Detroit.Rd | fe2fa96f2b1c93b0af6cfc82fac282b15100190a | [] | no_license | cran/bestglm | 293997ebb536ba44c2c2acff18fca7a2f1a8e6f6 | d022e904cc278bb87c43b6e3a9fe35d938cd4214 | refs/heads/master | 2020-05-30T14:53:52.305806 | 2020-03-13T09:10:02 | 2020-03-13T09:10:02 | 17,694,695 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,875 | rd | Detroit.Rd | \name{Detroit}
\alias{Detroit}
\docType{data}
\title{Detroit homicide data for 1961-73 used in the book Subset Regression by
A.J. Miller}
\description{
For convenience we have labelled the input variables 1 through 11 to be
consistent with the notation used in Miller (2002).
Only the first 11 variables were us... |
1fddb750da354b276561a736d3b498f9e79e75a2 | bd9aaf55e5640718b97d4e40ada44271489789ac | /How to code.R | ca0bff0202163fcdc9f69992bcb48435ef0fbfd4 | [] | no_license | helenesandsten/BIO302-Biostat-II | bb42008a8e0b51be7e2551a6cdc35bcd8ae52ba8 | 8b286c6327e6bb545616de76f9d32328faa051d2 | refs/heads/master | 2023-05-08T14:52:07.297153 | 2021-06-04T19:32:03 | 2021-06-04T19:32:03 | 369,514,106 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,685 | r | How to code.R | ### BIO302 BIOSTATS II
### SESSION 03
### ABOUT SCRIPTS - DO'S AND DON'TS
#### HOW TO BEGIN WITH YOUR DATA ####
# 1. Open you project where you have all your data
# TIP: Dont use absolute paths (you computer/you specific folder/your
# specific folder 2/etc)
# Use PROJECTS instead (will work on any computer)
# 2.... |
a7effb48fce9abf9be497c873bac1de8db9f8c54 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610382704-test.R | 9772f920dfb466c0dc42dff63cee136b23d43581 | [] | 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 | 2,073 | r | 1610382704-test.R | testlist <- list(rates = c(4.65661287307739e-10, NaN, 2.18007543808417e-106, 9.41512232947306e-307, -5.49989590899971e+303, 5.95750278497579e+228, 5.95750278984877e+228, 5.95718054236814e+228, 5.95750278984877e+228, 2.78923464737621e+228, 2.08809742756317e-53, -Inf, 5.95750278984886e+228, 5.95750278984879e+228, 9.1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.