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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e1e67ce1f3b1ce5d0618b2efc3cc429bdbb62b5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hydroTSM/examples/subdaily2daily.Rd.R | dc5bb32eccbf8a21d6137f3fc1f6bd620524f1dc | [] | 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 | 533 | r | subdaily2daily.Rd.R | library(hydroTSM)
### Name: subdaily2daily
### Title: Sub-daily -> Daily
### Aliases: subdaily2daily subdaily2daily.default subdaily2daily.zoo
### subdaily2daily.data.frame subdaily2daily.matrix
### Keywords: manip
### ** Examples
## Loading the time series of hourly streamflows for the station Karamea at Gorge
d... |
0e69b4d19da014436c1e03f021dcfe1a84227c57 | 16eee1f983eb371e5d736f5496fb02a3a5f26ded | /tests/testthat/test-as.ft_data.R | 1077b740f397a1c99bc203484b720e2759572731 | [
"MIT"
] | permissive | shivam11/fulltext | ad3cf061a369d27751baa3cb168a072ac1dc6794 | 2813d2b9fc7dcaa07bd145b32af1d31ae48254a0 | refs/heads/master | 2020-04-01T04:15:01.464298 | 2018-10-12T18:06:33 | 2018-10-12T18:06:33 | 152,855,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 720 | r | test-as.ft_data.R | context("as.ft_data")
# clean out cache first
ftxt_cache$delete_all()
test_that("as.ft_data works", {
skip_on_cran()
# with empty cache
aa <- as.ft_data()
expect_is(aa, "ft_data")
expect_named(aa, "cached")
expect_equal(length(aa$cached$data), 0)
expect_equal(NROW(aa$cached$error), 0)
# with non-e... |
972b689567c0c86723d0bf88dbed1f6554f341a9 | cfaf2ff8c52b316b3b674d9fac2362922bdc255f | /examples/example.R | 0362ebfea4a7966221d3ad6e0e8a4f813406e811 | [] | no_license | darribas/WooW | 835345721d28fab3e038c18aa56e4f426bf06a9a | b5e9b18da8113017ae9dac65b529f1ff37ffab1a | refs/heads/master | 2020-12-24T14:01:59.765876 | 2014-01-28T08:57:17 | 2014-01-28T08:57:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 433 | r | example.R | # Load up data
db <- read.csv("/Users/tomba/Thomas/Colleges/WooW/examples/buzz_data.csv")
# Print top
head(db)
# Print tail
tail(db)
# Print summary
summary(db)
# Kernel density
plot(density(db$div_i))
# Scatter
plot(db$div_i, db$industrie_pct_area)
# OLS Model
ols <- lm('checkins_all ~ total_units + div_i', data=d... |
fa5032152ab515b4f4f05c74d774e8cd787b30f3 | 75cef92ac4373580fbdf542900fcd84ebc880b56 | /2020_09_15/27页.R | 025654a8c0813d6100291ef6c9d8bceecce400af | [] | no_license | niushufeng/R_learing | 55befbf768d289eae15cfaa5057c2056039dc094 | 4327de54287da025391ab1d4be1d48a72cd482e7 | refs/heads/master | 2023-01-29T07:56:09.252672 | 2020-12-15T07:44:46 | 2020-12-15T07:44:46 | 295,648,172 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 839 | r | 27页.R | #object
data(mtcars)
col1 = mtcars$mpg
max(mtcars)
?mtcars
head(mtcars)
mtcars
min(mtcars)
which.max(mtcars$mpg) # 求最大值的下标
which.min(mtcars$mpg)
mean(mtcars$mpg) # 计算均值
median(mtcars$mpg) # 计算样本中位数
var(mtcars$mpg) # 计算样本的方差
sd(mtcars$mpg ) # 计算向量的标准差
range(mtcars$mpg) # 返回长度为2的向量
IQR(mtcars$mpg) # 计算样本的四分位数极差
quan... |
1590727c02587f6180691f8782a3faf33362e091 | a0ea9e38c84e3085176ff2b77d9f99189c1e9329 | /Web_scrape.R | 8e9ca019a6f55a963c620fff77ee5766e5d1ef76 | [] | no_license | vganamukhi/R-projects | 3119ed84cddec17a4fd6f813ba3b2aca8e50aa27 | b55eb71cdc97ca4b8e293adf73dee71dc6b5513b | refs/heads/master | 2022-12-04T14:29:16.475135 | 2020-08-26T17:58:50 | 2020-08-26T17:58:50 | 290,566,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,261 | r | Web_scrape.R | #Loading the rvest package
library('rvest')
library('stringr')
library(qdap)
library(magrittr)
#Specifying the url for desired website to be scraped
url <- 'https://www.amazon.com/Apple-iPhone-64GB-Silver-Prepaid/dp/B078HVJB69/ref=sr_1_1_sspa?keywords=iphone+x&qid=1571701171&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVk... |
a2dd14d5be0ae74bc11fb31301302523cb615940 | f7f39756b62aa5703ea772729b70bf7a8f8ad431 | /callisiaMapping.R | acf1d66b368aec67916c42493a5ee09e549c2598 | [] | no_license | k8hertweck/Callisia | ab9d51335b18d575ce027d7334a7a4aa4d9b94b7 | 3e432e32dc105c87d521a0355ebe608abf59f867 | refs/heads/master | 2021-04-28T22:37:18.921013 | 2017-09-26T23:21:33 | 2017-09-26T23:21:33 | 77,720,085 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,133 | r | callisiaMapping.R | ## Callisia mapping and data preparation
## load libraries
library(dismo)
library(fields)
library(maps)
library(rgdal)
library(raster)
library(maptools)
library(dplyr)
library(ggplot2)
library(stringr)
# create directory for figures
dir.create("figures")
## load and parse historical data
historical <- read.csv(file=... |
1194c03c00d877bfda39e5214017311289a50a9a | edff288b86167601e9725895a4c2b2371ecffe8c | /plot1.R | 80ceb0230994296061d7a4c5315202d8cdf48508 | [] | no_license | CamilleRSR/ExData_Plotting1 | c35c32a8d84533d80907941083c34290373e2db6 | 90df3baa291b375b2e2d2017b9ff2afa7ee8b8d9 | refs/heads/master | 2021-01-19T07:12:10.265148 | 2014-09-06T08:24:37 | 2014-09-06T08:24:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 596 | r | plot1.R | library(chron)
power_file <- "household_power_consumption.txt"
power <- read.table(power_file, header = TRUE, sep = ";",
stringsAsFactors = FALSE, na.strings = "?", nrows = 100000)
power$Date <- as.Date(power$Date, format = "%d/%m/%Y")
power$Time <- times(power$Time)
power_subset <- subset(power, power... |
06125c9f850aabbd203d86d00313d1fd883e8b4e | 8e5cc40ef528171e638ef2e15bf51885d1fb8853 | /Plot2.R | beadf11d3b67d0b7914e139bd7a768a997cc8ed0 | [] | no_license | Alvago00/ExData_Plotting1 | 0b89ce26477e17c2b91970f59235fe207e47604f | c63273b6cf4fbeb755afb5402db86c1807a7a409 | refs/heads/master | 2021-09-02T08:13:58.031413 | 2017-12-31T20:47:30 | 2017-12-31T20:47:30 | 115,861,751 | 0 | 0 | null | 2017-12-31T12:27:57 | 2017-12-31T12:27:57 | null | UTF-8 | R | false | false | 1,013 | r | Plot2.R | ## Download the file to load and unzip it
if (!file.exists("data")){
dir.create("data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileUrl, destfile = "./data/household_power_consumption.zip")
unzip(zipfile = "./data/household_pow... |
7a7184babc0a9fdeb4ec1a0f9eeda8f6fe21cf5f | 3f22b5b7d5d22a0a63ece65475845c6c6c1eebd3 | /MethylationScatterPlot.R | d06cbd7a7df63aea6313d96ca5b8efc0bc47bcf3 | [] | no_license | shanimalik86/EPIC_Methylation_Analysis | e043be2d6fe95ce3dceb5fe4a582712fe7a83ba8 | e2959bf5b7a23709ace8c4e1024690e1f9907487 | refs/heads/master | 2022-11-26T21:10:34.230268 | 2020-08-07T15:56:07 | 2020-08-07T15:56:07 | 285,867,058 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,391 | r | MethylationScatterPlot.R | library(pheatmap)
library(gridExtra)
library(ggplot2)
library(RColorBrewer)
library(gplots)
library(ComplexHeatmap)
library(ggpubr)
library(tidyverse)
library(Hmisc)
library(corrplot)
library(corrplot)
library(reshape)
library("ggpubr")
library(dplyr)
library(IlluminaHumanMethylationEPICanno.ilm10b2.hg19)
library(Illum... |
8f962ca2a1789baa80dfd2fc0da7e4ce48c7b0f5 | df820a23627f00fdd493d2d992fd1ef6f727ed14 | /HEDNO Oracle/bin/Debug/Functions/[Multiple_ROC_Comparisons].R | 45f7c4832d0bda86c4f1889d6283e55294afbfa0 | [] | no_license | N1h1l1sT/HEDNO-Oracle | 4c0472a4e95723d37da178d0afafe18dcb8f8731 | 32c64c83f02c1e374172aff226252a491d23e94d | refs/heads/master | 2021-03-26T10:13:04.653183 | 2017-03-22T16:33:31 | 2017-03-22T16:33:31 | 71,827,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 393 | r | [Multiple_ROC_Comparisons].R | #Plotting the ROC Curve of multiple Prediction Models in a juxtaposing manner
rocOut <- rxRoc(actualVarName = "Label",
predVarName = c({0}),
data = paste(strXDF, "Test_DS.xdf", sep = "")
)
#Show ROC Information
rocOut
round(rxAuc(rocOut), {1})
plot(rocOut,
title = "ROC Curve for L... |
7fb4a4fbe947533b8b1d3d25827130fdee24721f | 64940f9bc750932828db39f6798a26538c01fb2f | /man/twitUT1.Rd | 28999c4cd44b8c6386bee0d6ebacdfaa3a0a611c | [] | no_license | Tom-Laetsch/Rtwit | 3ee83d7a33a6ec7b078f19eff4b89e0206f9b7e0 | 5c76aa54abd0429313a89f40af1497196251d009 | refs/heads/master | 2021-01-10T15:22:25.397431 | 2016-02-22T20:18:13 | 2016-02-22T20:18:13 | 52,211,167 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 699 | rd | twitUT1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/twitUT1.R
\name{twitUT1}
\alias{twitUT1}
\title{Request Twitter User Timeline Once}
\usage{
twitUT1(twitter_token, query)
}
\arguments{
\item{twitter_token}{Your twitter_token; e.g. from twitToken() function.}
\item{query}{A user_timeline qu... |
5ce3daad1fd5fe1f6337956fcca872f3e819d75d | 130fac5c7630d17332e253b4da6870f028d6f4d2 | /man/RPbernoulli.Rd | 0832b6551304b08a5cbf1398b17d41bd170d966d | [] | no_license | cran/RandomFields | 41efaabb19f883462ec3380f3d4c3102b0ed86b4 | 41d603eb8a5f4bfe82c56acee957c79e7500bfd4 | refs/heads/master | 2022-01-26T09:24:35.125597 | 2022-01-18T18:12:52 | 2022-01-18T18:12:52 | 17,693,063 | 5 | 4 | null | 2019-05-20T21:08:38 | 2014-03-13T03:21:25 | C++ | UTF-8 | R | false | false | 1,922 | rd | RPbernoulli.Rd | \name{RPbernoulli}
\alias{RPbernoulli}
\title{Simulation of Binary Random Fields}
\description{
Indicator or binary field which
has the value 1, if an underfield field
exceeds a given threshold, 0
otherwise.
}
\usage{
RPbernoulli(phi, stationary_only, threshold)
}
\arguments{
\item{phi}{th... |
047633987d66bddb41e0c5b477cd7d11d21c801c | c0e23acfb7ae64dfd62f1ce2f53612f9202b1cab | /scripts/plot1.R | 774cb53aab981140a68e6cf5800622d5d4fec960 | [] | no_license | LMHollingshead/ExData_Plotting1 | 396511e023934908f327e93af38e73804a493fb7 | d74a1452a2cd41cad31bc5dd1fe7466e81537b59 | refs/heads/master | 2021-01-18T18:16:50.708186 | 2014-08-05T15:07:41 | 2014-08-05T15:07:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 298 | r | plot1.R | ## Set working directory
setwd("../ExploratoryAnalysis/data")
## Load in prepared dataset (see PrepareData.R)
ds <- read.csv("workingdata.csv")
## Plot 1
png("plot1.png",bg="white")
hist(ds$Global_active_power,col="red",main="Global Active Power",xlab="Global Active Power (kilowatts)")
dev.off() |
3031e522dd47867e630a6e54f7ff457eef630ae4 | f153381432a864aa0f1cf789d27aa2e0aba00614 | /man/k_batch_dot.Rd | 14da8fe249860b1ac5d0ef2843772a12ebc245be | [] | no_license | rdrr1990/keras | 0f997cf8632f6db623afcdb376ea8c258923e094 | 72b510456f15f5570388d0e610aa4917f1f1674b | refs/heads/master | 2021-05-06T06:42:08.086819 | 2017-12-30T00:11:11 | 2017-12-30T00:11:11 | 113,892,962 | 2 | 0 | null | 2017-12-11T18:19:25 | 2017-12-11T18:19:24 | null | UTF-8 | R | false | true | 1,495 | rd | k_batch_dot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/backend.R
\name{k_batch_dot}
\alias{k_batch_dot}
\title{Batchwise dot product.}
\usage{
k_batch_dot(x, y, axes)
}
\arguments{
\item{x}{Keras tensor or variable with 2 more more axes.}
\item{y}{Keras tensor or variable with 2 or more axes}
\... |
8ca311f63cd0c87e58fb2c8a2bd6ad4e9bbb2f59 | 0f339f11a7553b77d7850da8d73d6c13abe58d7b | /R/StepCLE.R | 47ab2dc464a74127ec959f3de34e61d0de49e142 | [] | no_license | cran/smfsb | b7986f5ce22df75938d6917692f939ad684bddc0 | 591dff0b70dcd3b21b12653fde36adc2957f64cc | refs/heads/master | 2021-06-02T23:01:47.665664 | 2018-08-30T14:40:03 | 2018-08-30T14:40:03 | 17,699,724 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 559 | r | StepCLE.R | # function
StepCLE <- function(N,dt=0.01)
{
S = t(N$Post-N$Pre)
v = ncol(S)
sdt = sqrt(dt)
return(
function(x0, t0, deltat,...)
{
x = x0
t = t0
termt = t0+deltat
repeat {
h = N$h(x, t, ...)
dw = rnorm(v,0,sdt)
... |
944f43cebedb45ace37a24042759e2646e4dad8d | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/TreeDist/man/KendallColijn.Rd | 4c3fabc5e4886f3e6bc9513bd2cf66d8af94ed0f | [] | 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 | 2,729 | rd | KendallColijn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tree_distance_kendall-colijn.R
\name{KendallColijn}
\alias{KendallColijn}
\alias{KCVector}
\title{Kendall-Colijn distance}
\usage{
KendallColijn(tree1, tree2 = tree1)
KCVector(tree)
}
\arguments{
\item{tree1, tree2}{Trees of clas... |
b1a563066b985332a18208cbfcf1ebab02c6cb74 | f7cb5ffe2d36c1a529a9b74ce6408dc0e0ae2413 | /starting.R | 5dde4dbe746562042f3bfc5e15d38fa8897a3bc3 | [] | no_license | alaindanet/fishcom | aa5b03f49c5e698d37003b6ffa75b88f3f18b1f4 | 76e30a7bf13cccabc1cd8fc230bb469276d7f846 | refs/heads/master | 2023-06-18T20:29:30.291089 | 2021-07-12T16:34:30 | 2021-07-12T16:34:30 | 160,175,823 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 334 | r | starting.R | library("devtools")
options(devtools.name = "Alain Danet",
devtools.desc.author = "person('Alain', 'Danet',
email='alain.danet@caramail.fr', role = c('aut', 'cre'))",
devtools.desc.license = "MIT + file LICENSE"
)
setup()
use_testthat()
use_vignette("intro")
use_travis()
use_package_doc()
use_cran_comments()
use... |
603092081928dcb53d04f744ebef41fe2eec70df | 6af844903b9d066581408450a1e743c1283468e5 | /man/wavelet_radius.Rd | 2115d568c75a2f851b0f1c172693070e756f074d | [] | no_license | rbensua/wavScalogram | 8ab5766639ec0154383b0ecc43858cedfe52019c | b811b3382de8190c0ed8249bcee04394a007ceda | refs/heads/master | 2021-06-24T13:45:41.879344 | 2019-06-12T09:53:42 | 2019-06-12T09:53:42 | 136,003,978 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,513 | rd | wavelet_radius.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wavelet_radius.R
\name{wavelet_radius}
\alias{wavelet_radius}
\title{Wavelet radius}
\usage{
wavelet_radius(wname = c("MORLET", "DOG", "PAUL", "HAAR", "HAAR2"),
wparam = NULL,
perc = .0025,
... |
7012e85308cec8a14ef82fc96ab5b127858792a3 | 3b3f29bb712b8b0c73460e0dfe859bc1e3a63790 | /R/data.R | bd74d1790185919634030acbca023b7781144222 | [] | no_license | r-transit/tidytransit | 37765dedc4450dd1ff1b069f45491b69402e83da | 878e64a4a4b7f10b42f0e9d2c156fd1314fddaad | refs/heads/master | 2023-08-08T10:17:46.583304 | 2023-07-21T08:29:46 | 2023-07-21T08:29:46 | 142,806,717 | 123 | 24 | null | 2023-07-21T08:29:47 | 2018-07-30T00:43:24 | R | UTF-8 | R | false | false | 655 | r | data.R | #' Dataframe of route type id's and the names of the types (e.g. "Bus")
#'
#' Extended GTFS Route Types: https://developers.google.com/transit/gtfs/reference/extended-route-types
#'
#' @docType data
#' @format A data frame with 136 rows and 2 variables:
#' \describe{
#' \item{route_type}{the id of route type}
#' ... |
3d928ad5fb5221bf6c55665111c8c673665dcfe9 | a3f8ecc9f5ffdb849de8a72d0985c0cf31b9dbd1 | /Code/simulate.R | a3a0e351150af48783a926f473adba3694c994e1 | [] | no_license | araea382/MT | 7abb655ba9587d44f38a103c6b33dffe10ac7fca | c38557dcfa7a25d7ea8b85ad8ecae15c1c94c116 | refs/heads/master | 2021-01-11T15:50:34.185487 | 2017-07-03T15:52:54 | 2017-07-03T15:52:54 | 79,938,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,423 | r | simulate.R | library(MSwM2)
library(ggplot2)
# simulation data
# three states
set.seed(1)
n <- 500
x1 <- runif(n,50,200)
x2 <- runif(n,0,50)
e1 <- rnorm(n,0,1)
e2 <- rnorm(n,2,0.5)
e3 <- rnorm(n,1,1)
y0 <- 0
y1 <- 10 + 0.6*x1 - 0.9*x2 + e1
y0 <- c(0,y1[-n])
y1 <- y1 + 0.5*y0
y2 <- 2 + 0.8*x1 + e2
y0 <- c(0,y2[-n])
y2 <- y2 + 0.2... |
0f14d5d30c444dbd56263195fc218ff424f2ab82 | 87824725ea1fa56118711b37ff22cea3a1b6425b | /R/PreProcess.R | 84439e1efd8a7ff26d7ccd0913ef7c1989bd5f6f | [] | no_license | chentian310/Image | 4a8aa97d9e5edb481637b03a82ba7cb521420c49 | 59d42e70dba2c0f78417e118b4dbf208a9fa3295 | refs/heads/master | 2016-09-10T22:15:43.393146 | 2011-12-16T22:42:59 | 2011-12-16T22:42:59 | 2,862,685 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,779 | r | PreProcess.R | PreProcess <-
function(mydata,default.val=0,...){
Timenames<-dimnames(mydata)[[3]]
nrows<-dim(mydata)[1];ncols<-dim(mydata)[2];TimeLen<-dim(mydata)[3];Time<-1:TimeLen
mydata.norm <- array(0,c(nrows,ncols,TimeLen));preproc <- array(0,c(nrows,ncols,TimeLen))
## begin clustering
##
X<-Time-mean(Time) ... |
ab056d9c558d19b6ca6990a705304cb105aec1cc | 6d907dd36dbbfb54509d643a24eb98b1f6b447d0 | /man/SummaryReporter.Rd | 4650c15a12b58d860e1193eaac6228cb362f50fa | [] | no_license | PaulHiemstra/test_that | d44b9b96586743b6cbadd73e0d8eaec047782bfc | d0eb41d38df0c1e7cbdc027a9848564ae83f1d2e | refs/heads/master | 2021-01-18T10:19:14.675349 | 2012-04-16T14:28:15 | 2012-04-16T14:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 785 | rd | SummaryReporter.Rd | \docType{data}
\name{SummaryReporter}
\alias{SummaryReporter}
\alias{SummaryReporter-class}
\title{Test reporter: summary of errors.}
\format{Reference class 'refObjectGenerator' [package "methods"] with 2 fields
and 17 methods, of which 6 are possibly relevant:
accessors, fields, help, lock, methods, new}
\usage{
... |
8bf0b5536b75c48559d8c7ca0edfbacc4597abb8 | 5a389396139299bbbcd0a7725d704bbad0b89f2a | /man/h3_to_placekey.Rd | 99b05e77dfb8cb2cff76c1aefa8d01c1bde292e9 | [] | no_license | NickCH-K/placekey | 0296e50e61c90f1bfe52d0a5f60c2df5556427be | 3ede82969e3fbbf2decaebeff45734a1b13b436f | refs/heads/master | 2023-01-08T11:34:09.452507 | 2020-11-02T07:36:53 | 2020-11-02T07:36:53 | 309,290,589 | 1 | 0 | null | 2020-11-02T07:35:32 | 2020-11-02T07:29:37 | R | UTF-8 | R | false | true | 293 | rd | h3_to_placekey.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h3_to_placekey.R
\name{h3_to_placekey}
\alias{h3_to_placekey}
\title{Convert h3 string to placekey}
\usage{
h3_to_placekey(h3_string)
}
\description{
Given an h3 string identify the _where_ portion of a placekey.
}
|
7ed6e4e700abe822c776f253ae0d86628cd12904 | a203b14b580ad9c2c904f7095467b2231736e81b | /plot2.R | 219024bff382a4a59a53e2b4db63b5b5d9ebb144 | [] | no_license | vitbao/ExData_Plotting1 | 3ca2ea1e84969f3c1d9ff71f858d035d04b0feee | 272ab25f8f8433df06e1d1001e22cd77222a28e5 | refs/heads/master | 2020-12-11T09:26:12.962409 | 2014-05-11T11:21:01 | 2014-05-11T11:21:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,004 | r | plot2.R | # Course Project 1 - Part 2
# Load data
data <- read.table ("household_power_consumption.txt", header = TRUE, sep = ";")
# Extract data for dates 1/2/2007 and 2/2/2007
data_of_interest <- data[data$Date == "1/2/2007" | data$Date == "2/2/2007", ]
# Convert column Date to Date class
dates <- as.Date(data_of_interest$D... |
11bc740de45890868c0344b6558a5fa82807f561 | 8eb16684e6d6ef4d0cf2c5890aea6aca25316c1d | /R/template.R | 8aa461bae6a7dc6a200c7aa7aa7b9261e5363e48 | [
"MIT"
] | permissive | wfulp/valtools | 0583f1934459c129a045f5a342df0ead5ca7b82b | 595c343471b26a60a12b52fcdac3d220af813e2a | refs/heads/main | 2023-05-02T04:06:39.137774 | 2021-05-20T19:38:49 | 2021-05-20T19:38:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,218 | r | template.R | #' templating function
#'
#' Access valtools templates and create modified version based on the input data
#'
#' @param path output path to save rendered template to
#' @param template template to use from valtools/inst/templates
#' @param data named list or environment with variables that will be used during rendering... |
f0937617c52c1706c389d6664000d73d4cab2b91 | dc990edc293a4c1d046a97df9ce31b150db95d9f | /man/Time2EventMain.Rd | 29b8eb69f42811509628545e909819bda2b87418 | [] | no_license | cran/StatCharrms | 6a442d509df0509ce0d31d16fe56fcd38b5d7a63 | ae5bc0ca65227c3e8cec00addf07923d86af1cde | refs/heads/master | 2021-06-01T23:50:03.728026 | 2020-11-14T13:20:09 | 2020-11-14T13:20:09 | 90,633,276 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,066 | rd | Time2EventMain.Rd | \name{Time2EventMain}
\alias{Time2EventMain}
\title{
GUI for time to event analysis
}
\description{
Main function call that produces the GUI for a time to event analysis.
}
\usage{
Time2EventMain()
}
\details{
Used as the GUI front-end to perform the time to event analysis as outline in the LAGD... |
4f6fce55b3ab35092c853c2c4f7430951ac66078 | 031b79338ba35d35968113b72eb8775ed4dd1008 | /Scripts/old scripts/smeb_calc_new.R | e3741df849e3e6d61bf628e4c338983d5a557908 | [] | no_license | agualtieri/yemen_jmmi | fc706602e7528935f54a5a45f2afc6663c8a62d0 | 8d3741358589d596c2a72edb847822317b39ca4c | refs/heads/master | 2020-04-28T10:50:15.312374 | 2019-05-20T13:55:44 | 2019-05-20T13:55:44 | 175,216,403 | 1 | 2 | null | 2019-05-20T14:07:39 | 2019-03-12T13:24:26 | R | UTF-8 | R | false | false | 1,919 | r | smeb_calc_new.R | ### SMEB CALCULATION / FUNCTION ###
smeb_calculation <- function(data, level){
`%!in%` = Negate(`%in%`)
## Load SMEB items ##
#smeb.items <- c("country_name",
#"country_ID",
#"governorate_name",
#"governorate_ID",
#"district_name",
... |
00be8c816f9ddc1cc02b73ed62da482fd03ede52 | 76e67672932655cc635798d00620cdf98881edf1 | /R可视化/Grouping over a variable.R | 9dc6e9682cb6ddf45d78d677e24e4be11be7c360 | [] | 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 | 385 | r | Grouping over a variable.R | metals<-read.csv("metals.csv")
boxplot(Cu~Source,data=metals,
main="Summary of Copper (Cu) concentrations by Site")
#Varying box widths by number of observations
boxplot(Cu ~ Source, data = metals,varwidth=TRUE,
main="Summary of Copper concentrations by Site")
#水平方向
boxplot(metals[,-1],
horizontal=TRU... |
cc615d395c80055a842acfa4f6c79d769f98f8bd | ff962da91c4647de059ed0baef6afc02b84e24d1 | /Sabermetrics/Team Offensive Perfomance/Compute Team Offensive Statistics.r | 17607494086cedd4f6ebbcb738a113f3ed8fd63f | [] | no_license | kyle-roesler/utaData | a4d448b2dc2a6436d96ef4f7bcc889c7fa76acad | a9ef0b137d8bd10e03a4dad152805b26898e1d95 | refs/heads/master | 2020-04-16T02:32:09.439220 | 2015-09-01T16:47:56 | 2015-09-01T16:47:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,494 | r | Compute Team Offensive Statistics.r | # Compute Team Offensive Statistics.r
require( Lahman ) # Obtain Lahman database package
data( Teams ) # Make Teams avaible for analysis
head( Teams ) # Show first 6 rows
tail( Teams ) ... |
4115d2ddf63a5c2387090337035bc778d398258b | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /A_github/sources/authors/3048/evmix/tcplot.r | 00ed4bfbe9662715445bcc781502d5c5f460e73d | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,122 | r | tcplot.r | #' @export
#'
#' @title Parameter Threshold Stability Plots
#'
#' @description Plots the MLE of the GPD parameters against threshold
#'
#' @inheritParams mrlplot
#' @param ylim.xi y-axis limits for shape parameter or \code{NULL}
#' @param ylim.sigmau y-axis limits for scale parameter or \code{NULL}
#'
#' @details... |
51e4359312b0b50e74ef703087036cc06e9e9c16 | a7a6792765d871f227c786b3594826b552373ce4 | /Laplacian_tests/figure_timings.R | 8eeb2ff192b27c95305967037a244fd2e2ae2046 | [] | no_license | geoffliddell/resistor_mesh_test | bbe8ed86670e8535221e93a0ae73ca9c799fedd6 | cc0031bc306bdb07883b584f3ceb1ff12fc49fab | refs/heads/main | 2023-05-01T12:59:41.529986 | 2021-05-13T18:01:57 | 2021-05-13T18:01:57 | 367,128,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,008 | r | figure_timings.R | # figure... plot solveing time for different lengths of line...
graphics.off()
source("prep/importFunctions.R")
len <- 15
Nt <- round(lseq(from = 10, to = 25000, length.out =len))
I <- 10
a <- 1
b <- 50
tmp <- rep(NA, len)
t <- data.frame(t_R = tmp, t_n = tmp, r_R = tmp, r_n = tmp, diff = tmp)
i <- ... |
99349da063226dd6f76ba718236d981dc71e179e | 3512010bdd0dfa635f3be7c05038dc760976c0b9 | /src/specConfFn.R | b7e6467b4e6fffca1d064d887fd1ea6f1f6406c6 | [] | no_license | dfo-mar-odis/Publication-FlemishCap-2018 | 63946fe6b4961afe6f7858435b6d59de74dba8a9 | 378c92b1d71b501eea7465bfdb6e6f938b3cf8e3 | refs/heads/master | 2021-05-12T14:47:26.731811 | 2018-01-11T19:20:46 | 2018-01-11T19:20:46 | 116,961,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,502 | r | specConfFn.R | ##got below code from looking in
##getAnywhere(plot.spec)
spec.ci <- function(spec.obj, coverage = 0.95) {
if (coverage < 0 || coverage >= 1)
stop("coverage probability out of range [0,1)")
tail <- (1 - coverage)
df <- spec.obj$df
upper.quantile <- 1 - tail * pchisq(df, df,... |
a7c209d188d2978970459bc732d13b391993e743 | 921c9346e778f69b1083f8e9c0e71a44774a9f32 | /man/eta_sq.Rd | 45a56f761ed39622ca92ab34e9e4cf16c3f310b6 | [] | no_license | cybernetics/devel | 3d70cf0b6ea5f2601110e6adb68859a983de0a41 | a87b381d2dfa524d01658eb012dace1d8559db44 | refs/heads/master | 2021-01-24T00:15:50.041047 | 2015-02-24T19:51:33 | 2015-02-24T19:51:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,387 | rd | eta_sq.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/sjStatistics.R
\name{eta_sq}
\alias{eta_sq}
\title{Retrieve eta squared of fitted anova}
\usage{
eta_sq(...)
}
\arguments{
\item{...}{A fitted one-way-anova model or a dependent and grouping variable (see examples).}
}
\value{
The eta... |
2663c64104669d5e7e71f8042952c8fa1787c544 | 4939158964c360b58d230268f8d084b865fc14cd | /mcrnn_visual.R | f5d6363be68750cf9b7ad8dcb25e6d2ef086f93e | [] | no_license | Sandy-HE/mer_deeplearning_1000songs | e1d175b8cad06abd120f68d90db75cbd5806200c | 27f6f9c94b6a5727a02ac0e6c2a2ae9226e1f9c1 | refs/heads/master | 2023-03-04T23:41:03.609457 | 2023-03-03T04:56:46 | 2023-03-03T04:56:46 | 247,827,265 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,785 | r | mcrnn_visual.R | library(tidyverse)
library(data.table)
library("plotrix") # for drawing circle
#This code file is for data visualization related to 1000-song dataset.
#The file "mcrnn_eva_10fold.csv" contain 10 fold test results of MCRNN model in terms of rmse and r2.
#The file "dnn_eva_10fold.csv" contain 10 fold test res... |
39170a063470c575dfad2d0835bd882c8a89a570 | 1aa92f850ce632811aaa74d769527a8037d8c484 | /R/fit_fast.R | 02f7d32a4bf7b00acb11159d98aa99e41f04b437 | [] | no_license | cran/mvord | 253c6e7deaf07bf5ac111571b6db307219f1597c | 6699126154748d7510647afc7bda27066aad3549 | refs/heads/master | 2021-06-02T15:11:40.519370 | 2021-03-17T12:20:12 | 2021-03-17T12:20:12 | 102,715,261 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,836 | r | fit_fast.R | ###### fast ######
build_error_struct_fast <- function(eobj, tpar)
{
## takes the transformed parameters and builds initializes some attributes of cor_general eobjs
ndim <- attr(eobj, "ndim")
covar <- attr(eobj, "covariate")
nlev <- NCOL(covar)
npar1 <- attr(eobj, "npar")/nlev
corr_pars <- sapply(seq_len(nl... |
0546b5b09b021082239ce83f3c01f6f664e233d9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/strataG/examples/gtypes.accessors.Rd.R | a637c2f22c905876240beb73af0c95ecb8c5705f | [] | 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,062 | r | gtypes.accessors.Rd.R | library(strataG)
### Name: gtypes.accessors
### Title: 'gtypes' Accessors
### Aliases: gtypes.accessors accessors nInd,gtypes-method nInd
### nLoc,gtypes-method nLoc nStrata nStrata,gtypes-method nStrata
### indNames,gtypes-method indNames locNames,gtypes-method locNames
### strataNames strataNames,gtypes-metho... |
8d1b48aa8c6fb93fe446bc2c8d05f6d759e24a3e | d3fdedc49b7f6bdc9ec63033cc3e928dd8d2b7a8 | /MethylC/rel_methylation_plots_v2.r | f5fd73e0a4e0a866ab29646e5f8308f81c888f92 | [] | no_license | dtrain16/NGS-scripts | 1085ac1b17eea684d463c20d4f997542794309fe | ef1a95cf0ba421dd59e6c2bc62dcd78017d67309 | refs/heads/master | 2023-08-04T19:47:44.176749 | 2023-08-01T21:06:43 | 2023-08-01T21:06:43 | 27,793,742 | 10 | 5 | null | null | null | null | UTF-8 | R | false | false | 948 | r | rel_methylation_plots_v2.r | # produce mean 5mC levels for R plotting
options(echo=T)
library(tidyverse)
library(fields)
args=commandArgs(trailingOnly=T)
print(args)
smplname <- as.character(paste0(args[1]))
outname <- as.character(paste0(args[2]))
context <- as.character(paste0(args[3]))
data <- dir(pattern=paste0(smplname,"-",outname,"-sub",co... |
44ff13d26b6ec4e4c8f821ce366b2c89a592c299 | 1fdbe029ec4904f46325d07523dc90eb76e586f2 | /distantLRTsummary.r | 3257834c8b9f20bd6169b34ae213bbd5643a3786 | [] | no_license | jpverta/verta_et_al_2016_new_phytol | c365c909465e05a4034a326fe11500d5e409a597 | 6a43f098be7b06215bc9d46d6ec103dd98e11852 | refs/heads/master | 2021-01-10T09:22:54.774355 | 2016-01-05T13:21:21 | 2016-01-05T13:21:21 | 49,066,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,296 | r | distantLRTsummary.r |
'''
Summarize distant effect tests to a single table. Loops through all test outcomes generated with distantLRT.r.
'''
testDir = # PATH TO DIRECTORY WITH RESULTS FROM DISTANT EFFECT TESTS (output from distantLRT.r)
lgPath = # PATH TO FILE THAT DEFINES LINKAGE GROUPS (output from mapFiles.r)
rfPath = # PATH TO FILE... |
ba4fe61d8e1e8e9e2b8e9e52ad86b19f849f5475 | 52824070453254349e1e82785856cb3d07e3fad0 | /man/gsw_frazil_properties_potential.Rd | 63a0e4852200faee3c7146ad577f37efc3225b7a | [] | no_license | dyarger/GSW-R | fd3f90fa5712a492f69440645b548ae3769421c4 | 93d4cf94389db39ed412d450c593c8a95266463b | refs/heads/master | 2021-10-25T04:12:21.747187 | 2019-03-31T14:54:13 | 2019-03-31T14:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,184 | rd | gsw_frazil_properties_potential.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gsw.R
\name{gsw_frazil_properties_potential}
\alias{gsw_frazil_properties_potential}
\title{Properties of Frazil ice i.t.o. potential enthalpy}
\usage{
gsw_frazil_properties_potential(SA_bulk, h_pot_bulk, p)
}
\arguments{
\item{SA_bulk}{Absol... |
9f1cecda23f23675908d3167f6a9429362f74324 | b8735a2bc8e6e2f759d2fc50c73d2506c894a713 | /DEVILSTAZ/man/checkConfig.Rd | 62d52e8740be41b28d647858131a046f671bdc3b | [] | no_license | ICRAR/DEVILS-TAZ | 3698ba8e1120d9d2c9f68a01a325f90f5fa7c259 | e1bc67bfdf6ad0e196d612bb8023ae134ac6c2d0 | refs/heads/master | 2023-05-29T23:43:42.947950 | 2019-11-08T04:08:00 | 2019-11-08T04:08:00 | 111,745,574 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 750 | rd | checkConfig.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/checkConfig.R
\name{checkConfig}
\alias{checkConfig}
\title{Check Configuration Files are consistent with DMCat}
\usage{
checkConfig(configFiles = configFiles, DMCatN = DMCatN,
logName = logName, verbose = verbose)
}
\arguments{
\item{confi... |
83df157701c7bdfa5e9f6f4a55138778b24a5f67 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MAVE/examples/mave.data.Rd.R | d62d94c92bf6b28190141285f2bcc219f7d46e39 | [] | 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 | 232 | r | mave.data.Rd.R | library(MAVE)
### Name: mave.data
### Title: The reduced data matrix
### Aliases: mave.data
### ** Examples
x <- matrix(rnorm(400),100,4)
y <- x[,1]+x[,2]+as.matrix(rnorm(100))
dr <- mave(y~x)
x.reduced <- mave.data(dr,x,3)
|
fbcdb51b7b658db315bc69f015b5d9b3a1b1ec42 | 119e0655c3a2e1418bb67e42083e492546998f2e | /scripts_queue/space_time_analysis_part2_11282013.R | 781995339c1aaa5b9b041b142c4801c3527eca2b | [] | no_license | dahcase/space_time_lucc | 435041b61700d481c86d02704d2151c8376e4e82 | 67fe9dca7a496714478fa1ce860e0cfbfc9fe603 | refs/heads/master | 2021-05-07T17:55:50.016325 | 2017-11-01T05:26:11 | 2017-11-01T05:26:11 | 108,768,679 | 0 | 1 | null | 2017-10-29T20:28:16 | 2017-10-29T20:28:16 | null | UTF-8 | R | false | false | 6,375 | r | space_time_analysis_part2_11282013.R | ###Loading R library and packages
library(sp)
library(rgdal)
library(BMS) #contains hex2bin and bin2hex
library(bitops)
library(gtools)
library(parallel)
library(rasterVis)
library(raster)
library(forecast)
library(xts)
library(zoo)
library(lubridate)
### Paramete... |
9d84e8b04c967b1aa91af25b7ad2e91feeb5a423 | d683d982e78d02586b33e0444209b0603754d73e | /COVID_med_ckd.R | 3fa6fb96a7e53a897a393e1a930b760452d88fb7 | [] | no_license | TSChang-Lab/preexisiting-conditions-HL-COVID19 | a8f14cc039c1cd5d1f05550e27ceb7d1bf36ca1a | 6355623b796b3e8c5bfbea85a1fcf82948c7989e | refs/heads/main | 2023-03-08T01:47:03.829533 | 2021-02-05T07:26:10 | 2021-02-05T07:26:10 | 335,115,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,040 | r | COVID_med_ckd.R | rm(list = ls())
library('openxlsx')
library('tidyr', lib = '\\\\netshares.ccnet.ucla.edu/ctx_profiles/_EEG_XDR/_Redirect/YiDing/Documents/R/win-library/3.6')
library('dplyr', lib = '\\\\netshares.ccnet.ucla.edu/ctx_profiles/_EEG_XDR/_Redirect/YiDing/Documents/R/win-library/3.6')
library('logistf', lib = '\\\\netshares.... |
f4de91b99e6c94da4ac497839d1f4ea34b898b62 | aac2ab584738d2184ce07d6478fdd13c8dd65056 | /exercise-1/exercise.R | 104218b3f110f150e214304ff2fb74c28507cfab | [
"MIT"
] | permissive | stphnhng/module9-dataframes | f7e2893c114e35ff4d1040d236dbfea92b394a54 | 7964cfd11b35d7019a6bca023d3f6f3e7a13105b | refs/heads/master | 2021-01-11T18:57:32.344320 | 2017-01-19T23:19:51 | 2017-01-19T23:19:51 | 79,280,564 | 0 | 0 | null | 2017-01-17T22:49:33 | 2017-01-17T22:49:33 | null | UTF-8 | R | false | false | 1,233 | r | exercise.R | # Exercise 1: Creating data frames
# Create a vector of the number of points the Seahawks scored in each game this
# season (google "Seahawks" for the info!)
points <- c(20,31,31,26,5,40,10,24,31,25,26,20)
# Create a vector of the number of points the Seahwaks have allowed to be scored
# against them in each game th... |
635fcf06b894e0185bea1ebf746a58fcc8bf940a | 4fa10361f4cb3a7e01618acd898db278ae9d3546 | /non-pipeline Code/MAPK.pathway.in.luminal.LM.R | a00a776b36d184e562b1786aebc136d7509584a9 | [] | no_license | dudious/QCRI-SIDRA-ICR | 2e8005e518a51ffba8a7c02adbf4ceb3206af3a2 | c38d69b7eb523cb6f5e869d8a2220a13abeb4944 | refs/heads/master | 2021-04-18T23:35:44.960473 | 2019-05-22T09:04:38 | 2019-05-22T09:04:38 | 32,503,747 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 10,902 | r | MAPK.pathway.in.luminal.LM.R |
# Setup environment
#rm(list=ls())
## dependencies
## install java for xlsx export
## download TCGA assembler scripts http://www.compgenome.org/TCGA-Assembler/
required.packages <- c("xlsx","plyr","ggplot2","reshape","plotrix")
missing.packages <- required.packages[!(required.packages %in% installed.packages()[,"Packa... |
dc8cfc384315290247b5ed09ee01b39f830efe64 | bf9de74d9eb31f5211eac3a5e0d623f1345d22b1 | /R/008.mapping_seed.R | 12aa189020b018ab263449861f3aa966d692ea09 | [
"MIT"
] | permissive | ellisztamas/fecundity_components | 85f6d46ac8b99ce3fd41faa45787385cb1e33a1b | 82db42dcc50052e6ef3f488beb5487f73f958e75 | refs/heads/master | 2021-06-07T04:51:08.766653 | 2021-06-01T05:39:25 | 2021-06-01T05:39:25 | 139,826,874 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 750 | r | 008.mapping_seed.R | # This script peforms stepwise QTL mapping with R/QTL for one of seven traits.
# Which trait to map is determined by changing the index for the variable ix.
# This is based on input R/QTL files created with the script /R/rqtl_files.R
# There are six phenotypes:
traits <- c(
"mass", # 1. seed mass
"frut", # 2. frui... |
22b4104c2b15933ebf2bbf76e52e67cfb69bfaaf | 78ddd2410b2895224654d0159e1443512784ff77 | /code/analyze/plotting/plot_gene_region_only_int.R | 848578c532c0958e5ec7637e21c53fa112d3f200 | [] | no_license | hyperboliccake/introgression | 935b330e3177154275afec752966517a0d4c37e7 | afe29d2c8db7366b43261e5a6d78829ba43f1660 | refs/heads/master | 2020-05-21T19:18:02.952950 | 2019-03-18T21:57:35 | 2019-03-18T21:57:35 | 63,725,778 | 1 | 1 | null | 2019-04-09T18:21:21 | 2016-07-19T20:27:07 | Python | UTF-8 | R | false | false | 6,648 | r | plot_gene_region_only_int.R | # like plot_genes, except we want to plot a whole set of genes together to show a complete region
# also plot gaps and variants colored by whether they match each reference
library(ggplot2)
library(viridis)
require(grDevices)
source('../my_color_palette.R')
options(stringsAsFactors = FALSE) # fuck you R
# r2259 -> S... |
e33d501347693056a7e1e174f53b4294d41aebde | 225c02d2f1ab2425618f627f3936069e13c023fc | /updateWHO.R | 189f5e3edfc5c54c6c0ce7dd94b75a59146a6401 | [] | no_license | SACEMA/COVID10k | 0cc116d806fcfc9b9b8deafa5bbe9334fc3ad969 | 571a62b786d533f776636fc224b5af169b8cb62f | refs/heads/master | 2021-03-21T11:48:42.643118 | 2020-04-06T02:30:07 | 2020-04-06T02:30:07 | 247,289,851 | 8 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,266 | r | updateWHO.R | suppressPackageStartupMessages({
require(remotes)
require(data.table)
})
.args <- if (interactive()) c("latest_who.rds") else commandArgs(trailingOnly = TRUE)
remotes::install_github("eebrown/data2019nCoV", upgrade = "always")
require(data2019nCoV)
ref <- data.table(WHO_SR)
# only work to do if updates
if (!fil... |
ce2e4f081f15873ff58abd33ca933593dbe4a07c | dc3642ea21337063e725441e3a6a719aa9906484 | /DevInit/R/P20/mics_probe_walls_floors.R | 6283c9bd549ca5324d596aae3f7793c30dedd4f0 | [] | no_license | akmiller01/alexm-util | 9bbcf613384fe9eefd49e26b0c841819b6c0e1a5 | 440198b9811dcc62c3eb531db95abef8dbd2cbc7 | refs/heads/master | 2021-01-18T01:51:53.120742 | 2020-09-03T15:55:13 | 2020-09-03T15:55:13 | 23,363,946 | 0 | 7 | null | null | null | null | ISO-8859-1 | R | false | false | 3,058 | r | mics_probe_walls_floors.R | ####Function and setup####
library(Hmisc)
library(plyr)
library(foreign)
library(data.table)
####Run function####
# set our working directory, change this if using on another machine
wd <- "D:/Documents/Data/MICSauto/"
setwd(wd)
# List out all the directories in our wd, this is where our data is contained
dirs <- list... |
b58d0cf50daffd22bd6144aacf212cf29072d2f5 | dea51706c221e2b2813d62513b295ac99f6f82ae | /projects/2xmammals/tree.R | f1a4ca100273071133c15a6a2d24aa81ef82f291 | [] | no_license | gjuggler/greg-ensembl | 47bcb82e29013866735b5af398965b83e02b6088 | 5564fc09bbb0e586c9a1999f21e713c119c490db | refs/heads/master | 2016-09-11T12:37:14.557777 | 2013-12-18T13:31:46 | 2013-12-18T13:31:46 | 275,374 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,985 | r | tree.R | require(ape)
# Extracts the NHX annotations from a tree and returns a list with the annotations and the
# tree string (with NHX stuff removed).
tree.read.nhx.old <- function(str) {
if (file.exists(str)) {
# We're reading a file -- load the file into a string.
str <- readLines(str)
}
nhx.matches <- grege... |
e84c7b500bb1429455d0076d715f94838889c4cc | 101e8c42522268a33ccb8b9be44140c77ffcf129 | /server.R | fa14ff16fceb16b199dfad3af3ac16b833af9b54 | [] | no_license | li-xiaohui/developing-data-products | 590573969931ea0e28801aa53707f2e6e9910459 | 3820d1db3198a1ed40cda7d3c1194e6f94878286 | refs/heads/master | 2021-01-10T08:39:01.059711 | 2017-06-07T02:48:03 | 2017-06-07T02:48:03 | 43,115,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 996 | r | server.R | # app2
library(mlbench)
library(caret)
library(dplyr)
library(ggplot2)
data("PimaIndiansDiabetes")
shinyServer(
function(input, output) {
output$plot2 <- renderPlot({
inputAge <- input$inputAge
counts <- PimaIndiansDiabetes %>%
filter(age < inputAge) %>%
group_by(diabe... |
f1541ce47945540d48ce87e9957f76c013dad763 | b24fc860c61f03e43e39491b7bf094910d04796a | /analyse deprivation.R | d7754022f1cf303253e7e7766ac9b11b9ca5c823 | [
"MIT"
] | permissive | matthewgthomas/covid-19-regional-deprivation | b42024021abaadfde491974b7030eb5e4c5864bf | 80769119012d1086d3392bb1ead02b3adbb518f5 | refs/heads/main | 2023-03-07T21:31:12.480015 | 2021-02-20T10:49:03 | 2021-02-20T10:49:03 | 340,119,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,884 | r | analyse deprivation.R | library(tidyverse)
library(rstanarm)
options(mc.cores = parallel::detectCores())
deaths_msoa <- read_csv("data/deaths-msoa.csv")
deaths_la <- read_csv("data/deaths-la.csv")
m_la <- stan_lmer(DeathRate ~ Extent + (Extent | RGN19NM), data = deaths_la,
prior_intercept = normal(0, 5), prior = normal(0,... |
3441c90a20c16332e2421724ef338e5442561e7a | 679ec7dfb61aa31a6a86aaff76bc7e9f277eacd2 | /input/gcam-data-system/aglu-processing-code/level1/LB113.bio_Yield_R_AEZ.R | 6c5e5e3cc30dc90f91ca5b0a2cba28a2889853e0 | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Randynat/gcam-core | 1f607b95a760c0e81bd625ae2e614df08eda1b53 | 174872a6fe4af92bb622ca6a56ea0cef39a308b9 | refs/heads/master | 2021-08-06T17:40:57.446707 | 2017-11-06T14:02:59 | 2017-11-06T14:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,574 | r | LB113.bio_Yield_R_AEZ.R | # Before we can load headers we need some paths defined. They
# may be provided by a system environment variable or just
# having already been set in the workspace
if( !exists( "AGLUPROC_DIR" ) ){
if( Sys.getenv( "AGLUPROC" ) != "" ){
AGLUPROC_DIR <- Sys.getenv( "AGLUPROC" )
} else {
stop("Coul... |
d3189e8c1e27b3c1ea07e99100e9bc5e8011ad0a | 93fef68695ec291350e728b928c608f6cb9e09eb | /Archive/coexpression_activepathways_setup_May16.R | 3e470ea20f0679bdcfdaee1669ac51d5b4ff3c43 | [] | no_license | HongyuanWu/lncRNAs_TCGA | ae4fa9202704545fc59a9dae19dabeeda2b7cb34 | cbfe2356f8d65b20672dcc378fe7de309eec3dba | refs/heads/master | 2023-07-28T00:11:29.152750 | 2021-09-09T13:33:01 | 2021-09-09T13:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,890 | r | coexpression_activepathways_setup_May16.R | #top5_cancers_median5fpkm_specificFind.R
#Karina Isaev
#August 28th, 2017
#Purpose: using the top 5 cancers selected for analysis,
#run survival analysis in a pancancer approach with cancer
#type as covariate as Neat1 is highly expressed in all cancers
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#R... |
4a5e80b39f702a68c3348017d4a8a13f2ace0fd3 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/MarkEdmondson1234/autoGoogleAPI/servicecontrol_objects.R | 7a8c8efb3f06b06a4a69287911df2a5d9cee6a08 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,980 | r | servicecontrol_objects.R | #' Google Service Control API Objects
#' Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.
#'
#' Auto-generated code by googleAuthR::gar_create_api_objects
#' at 2017-03-05 20:12:13
#' filename: /Users/mark/dev/R/autoGoogleAPI/googleservi... |
b7e4d0d1884b4cfca6fcfd23357d0993a9bcac3e | a9528637237fd53ee9bb1ca0c36e16bd8e6d2849 | /Exam_2/Exam_2_README.txt | 508935098c22908c8ab96cc57608f501ad93c208 | [] | no_license | EmilyNaylor/Data_Course_NAYLOR | 1fba538b1a52f7842e88e35243dde47526b9ffc2 | caca0adf5289fb0d4367ac03ca25a29a6490caf5 | refs/heads/master | 2023-01-30T13:54:22.605340 | 2020-12-17T04:50:03 | 2020-12-17T04:50:03 | 290,574,036 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,054 | txt | Exam_2_README.txt | SKILLS TEST 2
_____________
Do a fresh "git pull" to get the skills test files.
The files you just got from your "git pull" are:
README.txt # this file containing the test prompts
landdata-states.csv # Land and home price values over time, broken down into state and region
unicef-u5mr.csv ... |
68ea67ce4f8c4356305e976ae8ecf0d8b1b65c4e | 6e37f91fb6448ee19a3ba5c70e277f124a6c8844 | /R/load_biom.R | 565a09ea8f4d34604ada774448a4fc60a1120418 | [] | no_license | sirusb/metagenomeSeq | 91c7d7e3521176d1521296d713f2cbf6d35352d1 | 17c90b8e254564bd6a99b29a588307ddab0bbf5e | refs/heads/master | 2021-01-17T20:55:02.053059 | 2015-10-02T14:15:35 | 2015-10-02T14:15:35 | 43,594,131 | 1 | 0 | null | 2015-10-03T09:27:42 | 2015-10-03T09:27:41 | null | UTF-8 | R | false | false | 592 | r | load_biom.R | #' Load objects organized in the Biome format.
#'
#' Wrapper to load Biome formatted object.
#'
#' @param file The biome object filepath.
#' @return A MRexperiment object.
#' @seealso \code{\link{load_meta}} \code{\link{load_phenoData}} \code{\link{newMRexperiment}} \code{\link{biom2MRexperiment}}
#' @examples
#'
#... |
ed5d4783b9b88c7c6c1418d67fa1076fae734860 | 8a0dfba9208eb531bee92f5c91dec522b004148b | /prepare_MaP_events.R | 74bc8c771bd1c155cb2ca86c869b4057395ddac5 | [] | no_license | NNander/CizelHouben | e4aab259af39bf18efc18949bf57d2acaae1ad82 | 3115eff3550bba934fde35880d3caa9c2925aaed | refs/heads/master | 2020-05-09T18:36:22.015369 | 2019-04-18T09:46:58 | 2019-04-18T09:46:58 | 181,348,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,396 | r | prepare_MaP_events.R | ##' @import openxlsx readxl pipeR data.table dplyr lubridate
##' @export
prepare_MaP_events <- function(){
# FILE.XL <- system.file('./data/original/prudential_ind_1.xlsx',
# package = 'Projects2016.Macropru')
FILE.XL <- '/Users/Nander/Desktop/inst-data-original/prudential_ind_1.xlsx'... |
1d614a47dc3b6bbc1ba3aa70a50a7cb9b419a5cb | 70b1a3a9f52d6788c76aed11897e4f8725141f21 | /plot3.R | 1e48d23a2873ab80ed9b9446e0a57ac763e954f9 | [] | no_license | CarenM/Exploratory_Data_Analysis | 5ab2bdeb07621c49772f3be29541c3ca9a34006d | a7963baba9103eb8ab73a98975d831a4a036c3cc | refs/heads/master | 2021-01-19T09:12:52.607188 | 2015-08-09T16:18:31 | 2015-08-09T16:18:31 | 40,441,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | plot3.R | # Set working directory
setwd("./4_Exploratory_Data_Analysis")
# Check size of object
object.size("household_power_consumption.txt")
# Read and subset the data for 1/2/2007 and 2/2/2007
data <- subset(read.table("household_power_consumption.txt", header=TRUE, sep=";", colClasses="character"), Date == "1/2/2007" | Da... |
da72c3c3c564050c0fde102d46ee66ac3ef37afc | 7044839eae96eaec4642a9fd4be56ceca84ca657 | /tests/testthat/helper-clustering.R | 785b7f02af289cf50d3bddc9ab3ea51e70c1b886 | [
"MIT"
] | permissive | cugliari/iecclust | bb58e11c35bece256d613f0824ad98967e4e441c | 1b6e97a0c317a8f1959b5d927a0787a36726a4de | refs/heads/master | 2021-08-19T19:50:24.825273 | 2017-11-27T09:01:53 | 2017-11-27T09:01:53 | 110,530,261 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | r | helper-clustering.R | # Compute the sum of (normalized) sum of squares of closest distances to a medoid.
computeDistortion <- function(series, medoids)
{
n <- ncol(series)
L <- nrow(series)
distortion <- 0.
for (i in seq_len(n))
distortion <- distortion + min( colSums( sweep(medoids,1,series[,i],'-')^2 ) / L )
sqrt( distortion / n )... |
28e64aae794e650370aa09ca46177ee18fb1314c | 1983479ed9c5ffc0d302ee200ebde5613d6625ba | /inCountry.R | 6d53f41eddcef70d5d05786224bb325562141db1 | [] | no_license | kloessa/Shiny_APP | 9237203e5acb12e2255ebd0aa56a3217b93fdae0 | ab0547260eab8aacc28b833829e52642102c789c | refs/heads/master | 2021-01-10T08:26:11.700862 | 2016-03-29T16:27:37 | 2016-03-29T16:27:37 | 54,989,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 744 | r | inCountry.R | # Function calculate if longitude and latitude is in given country with margin of 50 km
inCountry <- function(country,lon,lat){
# Get Border of choosen country
countryBorder <- map("world",country, plot = FALSE)
# Combine longitude and latitude in matrix
countryBorder <- cbind(countryBorder$x,countryBorder$y)
# ... |
44de7007600e71f30ff47d517e6fd92c8312b1b7 | 6a3deb38999bb284e8dfa27e3612ea73e92fe1ed | /src/main/python/RScripts/name-disambiguation/wmh-parameter-trimming/02 badanie użycia SVM/przetwarzanie AND/01 wczytanie AND.R | ed2bc4f196309cffd4a283f28aee309fbc92f654 | [] | no_license | pszostek/research-python-backup | c7d1bf56dc4b1ab9412fcecb1a9222f2a8dbe6ca | e38508de91f8a7bda3096c6f0a361734207357a5 | refs/heads/master | 2020-05-20T08:50:05.306294 | 2012-09-28T13:24:43 | 2012-09-28T13:24:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,950 | r | 01 wczytanie AND.R | # read.csv(file, header = FALSE, sep = "", quote = "\"'",
# dec = ".", row.names, col.names,
# as.is = !stringsAsFactors,
# na.strings = "NA", colClasses = NA, nrows = -1,
# skip = 0, check.names = TRUE, fill = !blank.lines.skip,
# strip.white = FALSE, blank.lines.skip ... |
6c68d26c14c712eba29b59bd6221b9c212e7b8c9 | 88fbd53f171e9ac0ab1cfd10865c7fb6bbd4d32b | /functions/functions_data_prep.R | fafd4b875700b686b953462224f32a948abd77ec | [] | no_license | RaihaTuiTaura/covid-hawkes-paper | b296ac34267d1313c43d9041aec7e80a81e285a2 | e497f57e4333366db26a91bff3e3092ede361578 | refs/heads/master | 2023-04-27T07:09:41.374135 | 2023-04-15T15:23:28 | 2023-04-15T15:23:28 | 308,214,814 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,388 | r | functions_data_prep.R | ##### Data functions #####
# Function to filter data
filter_data_cp_peak = function(country, cps, i_star=NULL){
# Filter data to country of interest
modelling_data.df = covid19_bycountry_dailycounts.df %>%
filter(Country == country)
# Start observation period once there is 10 events
t1_ind = as.nume... |
7fae0d23a872f6fffb728f7504332255f950bec7 | e909b3bc3f95d4656c2d9a263768b372551e9bf8 | /ui.R | 82a35254f6de9f5d88dcbcabf79b61c3fd3e28fc | [] | no_license | VivianBailey/Mutplot | ff93c3263643b9c0f96baa8dfa6e41d8ea0fd661 | 39ce3d6cacd8c68647654bc75b2e92087a035246 | refs/heads/master | 2022-07-21T18:10:47.437001 | 2022-06-27T21:29:38 | 2022-06-27T21:29:38 | 166,429,105 | 15 | 30 | null | 2022-02-24T23:56:17 | 2019-01-18T15:46:51 | R | UTF-8 | R | false | false | 1,097 | r | ui.R | library(shiny)
genelist<-read.table("UniProt.txt",header=T)
ui <-
fluidPage(
h3(
div(style="display:inline-block;",img(src="mutplot.2.png",height=150,width=700,style="left;")),
div(id="title","mutplot")
),
sidebarLayout(
sidebarPanel(
fileInput("file1","Select File",accept=c("text","csv",".txt"... |
c54ad649aafe15c3f606a80b869f4307354c136a | acbff8b08d01821d70bd4054fb70af1b531a118e | /man/stat_vline.Rd | 982898592f4df679f327fcb39566aa5320f8afec | [] | no_license | djmurphy420/ggplot2 | e1d01de07282f4f4360e83299e1b53909ca0d15a | 1f50afc1f6e57f17a69012698b12835eb9029b3c | refs/heads/master | 2021-01-18T09:31:42.735717 | 2011-12-30T03:41:19 | 2011-12-30T03:41:19 | 3,041,453 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 264 | rd | stat_vline.Rd | \name{stat_vline}
\alias{stat_vline}
\title{Add a vertical line}
\usage{
stat_vline(mapping = NULL, data = NULL, geom = "vline",
position = "identity", intercept, ...)
}
\description{
Add a vertical line
}
\examples{
# see geom_vline
}
\keyword{internal}
|
db9a6b25591be58900b85a9e918205061283bf10 | 4f51e567d6b9ffd8622640ba67ddb72d92dbf397 | /predictionModel/dataHunt.R | 555e53965093c933989fdaa264a2aba74f5a9c1b | [] | no_license | breenbo/DS_10_capstone | 259afbb193b3b776c75db8904bdb6cd89deb908a | e322d8d51224d4a31f377572184583e2bf58a2bf | refs/heads/master | 2021-01-09T06:51:35.257804 | 2017-03-04T13:53:04 | 2017-03-04T13:53:04 | 80,879,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,776 | r | dataHunt.R | # read datasets
twit <- readLines("../text/en_US.twitter.txt", skipNul=TRUE)
blog <- readLines("../text/en_US.blogs.txt", skipNul=TRUE)
news <- readLines("../text/en_US.news.txt", skipNul=TRUE)
# take samples because datasets are too big
set.seed(2704)
twitTest <- sample(twit, 100000, replace=F)
blogTest <- sample(blo... |
f9e3f77249bc6acf9d720cfa04767caf7bf1b701 | d89f9fca31a1faf07bc869ce3ffa9c52a110909f | /model estimate.R | ba6b5936f03cc30cc50a01ead8803591adf72e92 | [] | no_license | costlysignalling/Mate-choice-consistency-2 | f3139e93f2f5435edab490bef17016dfc2b6f9ee | 6c02e5551ffca08c3e7dfa0fcf20f9cbbc4335e4 | refs/heads/master | 2020-04-03T02:20:27.157476 | 2018-10-27T10:55:11 | 2018-10-27T10:55:11 | 154,953,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 360 | r | model estimate.R | results<-read.delim("raw.results.txt")
View(results)
ef.pas<-results$effect.size
foc<-results$focal.person.var
model<-lm((foc*100)~ef.pas)
model
sumaz<-summary(model)
inter<-sumaz[[4]][1,1]
stder<-sumaz[[4]][1,2]
inter+stder*1.96
inter-stder*1.96
inter<-sumaz[[4]][2,1]
stder<-sumaz[[4]][2,2]... |
621c46499cd30112a96ca92b0a86ac142358c694 | 9d208ad12fd033b2c018057d256fbe390b05583a | /cnidaria/man/distribute.vector.Rd | b68b48d337ae54a4368ed88be263f747f5477612 | [
"Apache-2.0"
] | permissive | smartinsightsfromdata/cnidaria | 99832d38c9280bf0d8e851013d3f9c70fbb47d67 | dcfe311b83b4df961349ff7676e781af490e9020 | refs/heads/master | 2021-01-17T05:55:35.657761 | 2014-03-06T22:34:42 | 2014-03-06T22:34:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 488 | rd | distribute.vector.Rd | \name{distribute.vector}
\alias{distribute.vector}
\title{Create a distributed vector from a native R vector}
\usage{
distribute.vector(vec, block.size = 1000)
}
\arguments{
\item{vec}{The vector to distribute}
\item{block.size}{The size of a block of a distributed
vector}
\item{constructor}{A constructor for... |
2c34aa912864e8a2fee7423960932b36c419bc7f | 661e6ba0b86bf35b3ea9c0fa8f94043471bb3729 | /rideshare/rideshare.R | af9ee7fb2787d28e51cb7260b50a28fae9e8db3c | [] | no_license | devinsimmons/HONR238V_project | 8c21143cdb30a35f7acd46e00e5585e73a5c405c | a2742e094a141af3daca46e2193b7332a20d0c61 | refs/heads/master | 2020-04-28T06:25:54.825901 | 2019-05-06T18:34:33 | 2019-05-06T18:34:33 | 175,057,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 463 | r | rideshare.R | # Ride Share Data Processing
library(dplyr)
library(lubridate)
# set working directory
setwd("~/COLLEGE/Spring 2019/HONR238V/Final Project")
# loading files
uber <- read.csv("uber-raw-data-janjune-15.csv")
# uber data
uber$Pickup_date <- ymd_hms(uber$Pickup_date)
colnames(uber) <- c("dispatching_base_num","Date","af... |
c9d91b19fc436f8e38f168e3c5d38ea520627e4a | 127ca883eb836064c2a02d176f05f2242894ae73 | /R/datadescriptions.R | 8a80d03b0cb1654d6ff9d3447a0ddc4607890a2a | [] | no_license | lindesaysh/MRSea | 3598a8431eb9fbfc6eb8abbee0c9841a626c018f | 4ecc35843e49bf51a6e979f35e2544b3b315f341 | refs/heads/master | 2023-09-04T03:16:04.660394 | 2023-08-30T15:48:17 | 2023-08-30T15:48:17 | 13,676,222 | 5 | 3 | null | 2023-03-22T11:20:01 | 2013-10-18T11:22:55 | R | UTF-8 | R | false | false | 13,136 | r | datadescriptions.R | #' Line transect data with no post-impact consequence
#'
#' A simulated dataset containing the observed perpendicular distances, the effort data and other variables of
#' segmented line transect data. The variables are as follows:
#'
#' \itemize{
#' \item \code{transect.id} Identifier for the individual visits to the... |
0a43482358dc7268a14ee03d22d618ad700bb414 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/surveyplanning/examples/optsize.Rd.R | f292e4f99b55842f0b788d3768f9586d74208d20 | [] | 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 | 579 | r | optsize.Rd.R | library(surveyplanning)
### Name: optsize
### Title: Optimal sample size allocation
### Aliases: optsize
### Keywords: surveyplanning
### ** Examples
data <- data.table(H = 1 : 3,
s2h=10 * runif(3),
s2h2 = 10 * runif(3),
poph = 8 * 1 : 3,
... |
433930284d37eb238b31bdcee47cb1cc97b425ef | d53fa8725ada45c2f436733fc82d4585f91ebc8e | /scripts/additional_network_functions.r | b7a1df27fbab5018e40764a91641baf353920f33 | [] | no_license | tanaylab/embflow | ecab97e6e88fef0af5b8375f9bea7606ee928e00 | 9f0c2a704d586bad09a6022b363fc02ba61f4f9f | refs/heads/main | 2023-04-18T14:01:17.542958 | 2022-11-09T11:39:35 | 2022-11-09T11:39:35 | 346,700,550 | 11 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,160 | r | additional_network_functions.r |
mctnetwork_get_egc_on_cluster_transition = function(mct, min_time, max_time, type1, type2, mc_type=NULL) {
mc = scdb_mc(mct@mc_id)
e_gc = mc@e_gc
net = mct@network
if(is.null(mc_type)) {
mc_type = mc@colors
names(mc_type) = as.character(1:length(mc_type))
}
# flow_mm = mctnetwork_get_flow_mat... |
d1c1385bd41f03d33d623c8930dd1761c39e2800 | 6ff1395ddeedf486f7af75c21cbf546e0622b6c1 | /man/create_weights_censoc_dmf.Rd | 9a7dde21c0c48ed830cf6e2b9c7e73e1a98e0516 | [] | no_license | demographer/censocdev | 3add321053ba8b4de2595a34ddb8c51519962234 | 6387f4b8f63d047835929cb59c03144f463db90e | refs/heads/master | 2022-07-18T11:03:06.062343 | 2020-05-13T22:37:12 | 2020-05-13T22:37:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 685 | rd | create_weights_censoc_dmf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_weights_censoc_dmf.R
\name{create_weights_censoc_dmf}
\alias{create_weights_censoc_dmf}
\title{Create weights
This function will weight the numident censoc.dmf up to HMD lexis triangles
Restrict data to certain cohorts and ages at deat... |
de4e4ebc4135689e17c5bb77e68c975888a11771 | a1a68bf3675c0d01bef17bc2ab2291529b718644 | /.tmp/hrapgc.ToExcel.R | fdf1d09111c90d95826db0dbb670bde01d4daa14 | [] | no_license | Tuxkid/Gems | 3d3c1aac6df3f11cf209cf33da23c214b26ff5c6 | c0c5dfe02c826030e6e1c97ab8cd8191caacd33f | refs/heads/master | 2021-01-10T15:17:41.468718 | 2020-08-13T03:15:14 | 2020-08-13T03:15:14 | 50,632,804 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,306 | r | hrapgc.ToExcel.R | ToExcel <-
structure(function(dfs = ls(patt = "df", pos = 1), groupid = "", out = "out",
rm.csv = TRUE, RN = TRUE)
{
## Purpose: Excel files from the data frames
## ----------------------------------------------------------------------
## Modified from:
## -------------------------------------------... |
9d477686dd606e5a887d562e91377c18f036a331 | b9fd6018f5431e48090842f89ed3b71b8532b4f7 | /Chapter 5 Time series regression models.R | 2c8c0dc68cba538487dd64e5b7205fb1ca906ee9 | [] | no_license | Agewerc/forecasting_principles_practices | dfbe90c6b1e999d0f85620724d1fbdd1de984add | 5655fb4842039cf3ee78d4642546355d7c8f3dc9 | refs/heads/master | 2023-01-24T03:06:19.309785 | 2020-12-05T02:25:07 | 2020-12-05T02:25:07 | 318,045,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,778 | r | Chapter 5 Time series regression models.R | ##############################################
# Chapter 5 - Time series regression models ##
##############################################
# Introduction from the Book
####################################################################################
#In this chapter we discuss regression models. The basic c... |
0a0e6801212a2010eb329310b25cd1a84b7fcf95 | cfcf2291aafea8e6212ad8897807f6fec818da71 | /cachematrix.R | e059415a6c6a8d4cc614b7d7a6a6e139e81ba428 | [] | no_license | sivasunnam/ProgrammingAssignment2 | be01af65ddd86411057bb2dfcde9c57d26199ca0 | b9f9f82099ef473c61e35ab2704b0e65c4466306 | refs/heads/master | 2021-01-17T21:49:22.215838 | 2015-09-24T08:09:33 | 2015-09-24T08:09:33 | 41,148,923 | 0 | 0 | null | 2015-08-21T09:57:28 | 2015-08-21T09:57:27 | null | UTF-8 | R | false | false | 1,306 | r | cachematrix.R | ## This script returns an inverse of a matrix from cache or by calculating it
## This function create getters and setters for a matrix and its inverse and stores it in a list
makeCacheMatrix <- function(x = matrix())
{
m <- NULL
## The value of X have been set
set <- function(y) {
x ... |
22995526bb9e1cd86d97921c905d75724530b848 | d2f39a2258dbe6253bc28fd00717a67b131751f4 | /man/scale_brewer.Rd | 151d0591e424982b727b7576f35676c328906f1a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | andrewzm/MVST | 6e5d9d5c84ba0d28e38fdb69b12cfa8ba1bcc45f | 2bf0835e66e04e120f78fe8673afe3dd9d6f42c0 | refs/heads/master | 2022-09-29T23:40:39.048820 | 2022-09-15T21:37:50 | 2022-09-15T21:37:50 | 20,478,703 | 10 | 9 | null | 2018-10-18T14:50:36 | 2014-06-04T10:13:03 | R | UTF-8 | R | false | true | 5,937 | rd | scale_brewer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scale-brewer.r
\name{scale_colour_brewer}
\alias{scale_colour_brewer}
\alias{scale_fill_brewer}
\alias{scale_colour_distiller}
\alias{scale_fill_distiller}
\title{Sequential, diverging and qualitative colour scales from colorbrewer.org}
\usag... |
f4e369d0af18a2ddefa1b8f611984ae38e695ef7 | b8756cf7e224eed7291700aa98c4a4afe05381b3 | /man/alt_barproj.Rd | 94e68b2d1aa24ef79906a204c16029d6cf8ed1a1 | [] | no_license | jonasbhend/NRMgraphics | 879e8cff100d1a570453cc294c504db2d4dc7a7c | 503f11fe95d562d3ce5c157b0d377ded1a8c499c | refs/heads/master | 2016-08-04T20:58:24.326426 | 2014-11-05T10:20:02 | 2014-11-05T10:20:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 906 | rd | alt_barproj.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{alt_barproj}
\alias{alt_barproj}
\title{Plot grouped projection bars with inner shading}
\usage{
alt_barproj(meanchange, meansd = NULL, ylim = NULL, col = hcl(c(240, 0), l
= 60, c = 50), col2 = hcl(c(240, 0), l = 30, c = 80), lwd = 10,
siglevel = 0.2, lty =... |
7f2e01c21c3a72f12c21a02bc1132b50beebc689 | 1030b5169e3f13a0fc72eefb2b2e5614567a621e | /code/Rank_Profit.R | 05e4f2eb3af5fdc19af86210c9014a27513c6748 | [] | no_license | SeanGRichardson/20174489_Assignment | c18c3aebca726a476d4c7fdd425077ac1531356f | dd886815635cb89f43d81df4183cda0b68eb48f7 | refs/heads/main | 2023-04-21T11:24:53.312388 | 2021-05-24T19:04:33 | 2021-05-24T19:04:33 | 370,394,237 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 247 | r | Rank_Profit.R |
Rank_Profit <- function(Data){
Data <- Data %>% filter(is.na(Profitability) == 0) %>% group_by(Lead.Studio) %>% summarise(Mean_Studio_Profitability = mean(Profitability)) %>% arrange(desc(Mean_Studio_Profitability))
return(Data)
} |
b67005686fa3c9cadc2805971ab0e1ce268f20bf | 9b5aaacd59506bae1ab810c6ae1695a968903476 | /ui.R | 467be0e5b76a1489e6f819b1c5884224b9f1fe15 | [] | no_license | darrendonhardt/DataProducts-Assignment | 05cae6e79eb38c4b91c2246795fa4427abd9349f | 97486a9d43b3afb057f9dac6e9be838ba05cf82c | refs/heads/master | 2016-09-08T07:23:42.197993 | 2014-08-24T14:02:05 | 2014-08-24T14:02:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 870 | r | ui.R | # ui.R
shinyUI(fluidPage(
titlePanel("Data Products Assignment"),
sidebarLayout(
sidebarPanel(
"FILTER OPTIONS",
br(),
br(),
sliderInput("cyl.range",
label="Number of cylinders:",
min=4, max=8, value=c(... |
0f2eceab7df5591cf5538d6892e0f56cafac12ff | 68b8fb9056be04cb9b5a387e8e09da45553bfe9d | /man/ml_bilog.Rd | 0ddb7c3fbd4fac980ef052be4a1b9944052895b2 | [] | no_license | muguangyuze/mgpd | b42aa03ebe15aa5c7689362ccffffb11f87c9935 | 46fbfada83fe27e90f911f8c97ef7a1ebf4fc08f | refs/heads/master | 2020-12-25T05:17:10.404600 | 2012-03-15T00:00:00 | 2012-03-15T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,445 | rd | ml_bilog.Rd | \name{ml_bilog}
\alias{ml_bilog}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
internal
}
\description{
internal use only
}
\usage{
ml_bilog(param, dat, mlmax = 1e+15, fixed = FALSE, ...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{param}{
%% ... |
2f98a5038b758a2ac2acf49a8a3b5384b1d4f01b | e59bfb6100c4ef2de8ba99b865f510db5a47cb52 | /scripts/plotting/004_plot_deltas.R | efecd04e3033d432310b0f328aac343b4bbd946a | [] | no_license | jmmarzolino/CCII_BOZ | 0330a1a8abe2249e4412ad73d7309d451c6d8f0a | bca16e6fde90c989a7c1b90c9a65cf000d1677c2 | refs/heads/master | 2021-12-11T18:00:35.595392 | 2021-11-30T23:01:15 | 2021-11-30T23:01:15 | 214,494,990 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,850 | r | 004_plot_deltas.R | #!/usr/bin/env Rscript
#SBATCH --ntasks=1
#SBATCH --mem=60G
#SBATCH --time=02:00:00
#SBATCH --job-name='delta_AF'
#SBATCH --output=/rhome/jmarz001/bigdata/CCII_BOZ/scripts/delta_AF.stdout
#SBATCH -p koeniglab
#Set up environment
setwd("/bigdata/koeniglab/jmarz001/CCII_BOZ/results")
library(readr)
options(stringsAsFa... |
d80a57a05589fa63ff29169cb3b5cdeee347b47a | 156e540389dca2dae31639da3d0e766273726fe6 | /R/read_model.r | e2815ba3bb1929ef749d80853695c90de99c9302 | [] | no_license | zhanglj37/blcfa | 3f653105b129e7c1fb158349d40569c05a35608e | 800fa582cd8646e8d213db1f2dc30c9cccd298f5 | refs/heads/master | 2023-04-13T03:12:59.951267 | 2023-03-22T22:03:01 | 2023-03-22T22:03:01 | 187,756,358 | 5 | 1 | null | 2019-08-08T13:22:34 | 2019-05-21T03:38:57 | R | UTF-8 | R | false | false | 2,503 | r | read_model.r | ### function---read_model----
## Output factors and indicators
read_model<-function(myModel)
{
mmsplit<-strsplit(myModel,'\n')
mmsplit<-mmsplit[[1]]
mmlength<-length(mmsplit)
loc_blank = rep(0, mmlength)
## Delete blank line
for (i in 1:mmlength)
{
tempstr<-mmsplit[i]
tempsplit<-strsplit... |
a2d7263f6d42f28b3ea5857f3306689789230f7e | 227c4849fe0107829ea98614d5113f58f9a082fb | /R/grid-silent.R | 64103cee25b5777226a1b7a188158ec0f4cc09db | [] | no_license | VijayEluri/memoryagents | b52fb75b9af9f7911b1abf2f1c257a34eef44ab5 | 0289908f17335b28e080d01ee3594f8cbbd14ea2 | refs/heads/master | 2020-05-20T11:03:57.570093 | 2012-02-12T21:33:28 | 2012-02-12T21:33:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 140 | r | grid-silent.R | source("magents_experiments.R")
generateSingleGraph("grid_silent", "Grid agents without communication")
ggsave(file="grid_silent.eps") |
f7fa2adc241abaa9ee001fc54bc7bb6f8862c988 | e243b6f069b685384198fc1396c10d719b8d351a | /man/graph.blackwhite.max.Rd | 09332e252df6e5efd8950708e8bb384d79239c5d | [] | no_license | cran/spnet | e96438c422d28ead493862e77ac23e4649717d69 | 5aeac6549ba8bcf40a71da823a4f876496dfbae4 | refs/heads/master | 2021-01-21T21:53:58.142646 | 2016-02-22T14:33:39 | 2016-02-22T14:33:39 | 22,459,348 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,049 | rd | graph.blackwhite.max.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/SpatialNetwork.r
\docType{methods}
\name{graph.blackwhite.max}
\alias{graph.blackwhite.max}
\alias{graph.blackwhite.max,SpatialNetwork-method}
\alias{graph.blackwhite.max<-,SpatialNetwork,numeric-method}
\title{Get the black and white... |
a708e9f840c32bc43855b0761c2fcb87c084f85c | e7f8624e8a1b420755d2e55586527cddd7c8b1de | /R/Gibbs.sample.coeff.gp.R | a2156c16c8d68127e901b58d29bbba3567c25136 | [] | no_license | cran/spectralGP | a65ac1c8214590212ce65b0194ea24bdc6ce5212 | 281be08965e89b7bed467ad2771b9a8f735d64a9 | refs/heads/master | 2020-05-20T09:15:19.754934 | 2015-06-30T00:00:00 | 2015-06-30T00:00:00 | 17,700,012 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,403 | r | Gibbs.sample.coeff.gp.R | "Gibbs.sample.coeff.gp" <-
function(object,z,sig2e,meanVal=0,sdVal=1,returnHastings=FALSE,...){
# takes a Gibbs sample, following the approach of Wikle (2002)
m1=object$gridsize[1]
m2=object$gridsize[2]
sig2e.precMatrix=matrix(2*sdVal*sdVal/sig2e,nrow=m1,ncol=m2)
sig2e.precMatrix[1,1]=(1/2)*sig2e.precMat... |
d5b55956873557739ae9649c729dd11b4417c772 | 50ab7b34847636f4efa7bc5b7e7ee0c4d01d68f5 | /ABtesteval/simulation.R | 92129d802bb8abccdaa99eb7f5175a276e08578f | [] | no_license | lubospernis/exponea-assignment | 10d529348803d2ecc429f89fdf0239359c87c652 | 4305713fa49238d849f75fab071f315335e6dac2 | refs/heads/master | 2021-09-06T23:53:42.541139 | 2018-02-13T17:42:13 | 2018-02-13T17:42:13 | 121,394,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,340 | r | simulation.R | library(dplyr)
library(tidyr)
library(magrittr)
library(ggplot2)
customers <- data.frame(banner= rep(0, 834), reven = rep(0, 834))
customers$reven[1:22] <- rnorm(mean= 189.07, sd=30, n = 22) #create data for the control group
customersb <- data.frame(banner= rep(1, 1020), reven = rep(0,1020))
customersb$reven[1:30] ... |
8ae7038f57b11025788b244eed74e2b304d4319a | 48e949a36254d8544c2a066f492b98f575aa1655 | /man/redownload_blm.Rd | 669a167384edb44633adac10c975e72d4a900aa5 | [] | no_license | Vittoriabrown/democracyData | d51d3e77c53fd44b81ca28e1e2c87dd0f6e033aa | 348df1c7ef5dde48aa365dfa2862d1d475f38965 | refs/heads/master | 2023-05-04T00:21:52.220382 | 2021-05-30T20:56:53 | 2021-05-30T20:56:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 11,760 | rd | redownload_blm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/redownload_functions.R
\name{redownload_blm}
\alias{redownload_blm}
\alias{redownload_anckar}
\alias{redownload_bmr}
\alias{redownload_bnr}
\alias{redownload_gwf}
\alias{redownload_pacl}
\alias{redownload_peps}
\alias{redownload_utip}
\alias{... |
371f55129e9d9e4c81523bb90c90ef6a8d63649c | 8ff0e39c82a85c8addccfa99e15c5fb708a65d2c | /run_analysis.R | e7526b9dece6dd68b92daa5ae359f22a538b274d | [] | no_license | evayan16915/Getting-and-Cleaning-Data-Run-Analysis | 0dc50d361a7cc9821c7d91c8817955ca0de103fe | a8a0a1eec0d7916e1ea76a5ad13710bff5a041f2 | refs/heads/master | 2020-04-06T07:08:39.717215 | 2016-08-24T04:38:09 | 2016-08-24T04:38:09 | 62,289,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,687 | r | run_analysis.R | library(dplyr)
## fetch data
if(!file.exists("./project")){
dir.create("./project")
}
url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(url, destfile = "./project/activity.csv.zip")
list.files("./project")
## unzip then read in data and info files
Rawd... |
e4abda5818056c2a134e21208c8b608b6490c068 | 22ce2ea2e94599f026faf51ee6625a0fb11d7758 | /R/plotters.R | cbee4eeb67fc149b16966fe23d886b52fcc41ab4 | [
"Artistic-2.0"
] | permissive | hillarykoch/locdiffr | 41eac9468c4b0db08651ea5355587d8aaa6b6902 | 2d30c09c7a1e4d14f91bdc35d17b805bcb0d0aa5 | refs/heads/master | 2023-04-09T21:20:19.503378 | 2021-04-19T13:53:22 | 2021-04-19T13:53:22 | 179,743,564 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,223 | r | plotters.R | plot_rejections_along_process <-
function(scc_scan_file,
mcmc_fit_file,
sampled_nngps_file,
rejection_files,
rejection_names = NULL) {
z <- readRDS(scc_scan_file)
preds <- readRDS(sampled_nngps_file)$predictions
fits <- readRDS(mcmc_fit_file)
if(... |
bcdd883b6f207f63c263d1e223f5d7837d886bd9 | 7fab445d3cf2ce3865c28e13f35f62f490b1cecc | /run_analysis.R | ef41f10761cf498a4a31cf996a9792613631f6fa | [] | no_license | nrodriguezh/GetCleanDataRepo | 2e46ef6143177f13a1e15cdc03f15688330e0c29 | b68907369e46b69f6df5997098d0ece53dc1c953 | refs/heads/master | 2020-12-24T14:56:36.627463 | 2014-06-22T17:09:47 | 2014-06-22T17:09:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,149 | r | run_analysis.R | #### Run Analysis ####
#You should create one R script called run_analysis.R that does the following.
#Merges the training and the test sets to create one data set.
#Extracts only the measurements on the mean and standard deviation for each measurement.
#Uses descriptive activity names to name the activities in the ... |
e64d2d04eb314caec9f11b48ab97647e77a7d97f | 4f602cda9f8e260cb05da937a318b9b621d4dc17 | /man/highlight.Rd | 72d40fad92062b9540943ae252ea0eadf531e05b | [
"MIT"
] | permissive | jeevanyue/highlighter | 5c2dbce8dffc42de33367bd44e1f9205ba0cd01c | 031cc731f36e1ec5f6f3fd1b3768fab967c8a736 | refs/heads/master | 2023-01-18T16:32:14.756035 | 2020-11-10T05:42:57 | 2020-11-10T05:42:57 | 304,838,028 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,018 | rd | highlight.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/highlight.R
\name{highlight}
\alias{highlight}
\title{Highlight code}
\usage{
highlight(
code = NULL,
file = NULL,
language = "r",
style = "default",
width = "100\%",
height = "100\%",
elementId = NULL
)
}
\arguments{
\item{code... |
be1c354d7b9ed3382715c676b0729f436389edbf | d146e87c2ab4b39c7ef2cdd536f1fc2eb0430446 | /Functional_Blackjack_code.R | 5809e4f7b0ed90d8fbbdba57e2515531e886b7f2 | [] | no_license | jankroon/Blackjack | ef15b202607840347bce5d9331ead9a070f1c055 | ce75d21cb866304aa688703902cd002a1255d02e | refs/heads/main | 2023-02-22T17:55:59.226702 | 2021-01-25T10:30:32 | 2021-01-25T10:30:32 | 317,189,567 | 0 | 0 | null | 2021-01-21T15:21:07 | 2020-11-30T10:35:25 | R | UTF-8 | R | false | false | 9,686 | r | Functional_Blackjack_code.R | source("userInputFunctions.R")
source("printHand.R")
Blackjack <- function(){
# game config
game_config <- function(){
# set starting bankroll
starting_bankroll <<- askForInt("Insert starting bankroll", 10, Inf)
# set number of players
number_of_player <<- askForInt("Insert number of physical pl... |
b258b047df91ccfe3f4afc99d5989f83c454f552 | 9b0e9c1e919b9abc7e1b321cc5d7e2a14451037b | /R/set-theme.R | d0084a47c108eb15eaa1a440fdb6c4acf3128141 | [] | no_license | atlas-aai/ratlas | abbcf9050885c6189e8bec2d6dfa42bff301664b | 7e88f6a826b6e0d855d49e960c84ef3182b64aa8 | refs/heads/main | 2023-07-24T20:21:59.886545 | 2023-06-29T21:41:00 | 2023-06-29T21:41:00 | 150,454,937 | 30 | 10 | null | 2023-06-29T21:41:01 | 2018-09-26T16:14:04 | R | UTF-8 | R | false | false | 2,661 | r | set-theme.R | #' Set default ggplot2 theme
#'
#' Sets the default color schemes, fonts, and theme for ggplot2 plots. The
#' default color scheme for continuous variables is the
#' [viridis](https://cran.r-project.org/web/packages/viridis/index.html)
#' color palette, and the default color scheme for discrete variables is the
#' [Oka... |
2b3135a10f57ad5e5d8e99442c50a597ab6c57da | 579c2e56ace8f4206c18edcced2f58af706eaae0 | /R/plot.blca.boot.R | ac121caf009f984ab82b8a5355c6403e8df9dcf5 | [] | no_license | cran/BayesLCA | dc89cd0e31b1e298267d1d80fe768a0c839d47c6 | 67f6bd1b5eb343c2df288a5a01cdc2e6cfd7549e | refs/heads/master | 2021-05-21T11:42:04.674719 | 2020-05-06T16:20:02 | 2020-05-06T16:20:02 | 17,678,033 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 291 | r | plot.blca.boot.R | plot.blca.boot <-
function(x, which=1L, main="", ...){
#class(x)<- "blca"
#print("NextMethodUsed")
show<- rep(FALSE, 5)
show[which]<- TRUE
if(show[5]){
warning("No diagnostic plot for bootstrapping method")
show[5]<- FALSE
}
which<- c(1:4)[show]
NextMethod("plot")
}
|
d3f29fece2f451f4f642ae2bc52391d3f4fd95d3 | 50beb4502893bf218cd7282584946c5fd3e8218a | /FDA_Analysis.R | 864bf1f49f61d1799b36c1b02b534c2baf06734d | [] | no_license | jwisch/Actigraph | 38077bfde928b43e53d5d6ba15f6970f71b665e0 | cc30f0c4047e65c8ec5ca332187d3666517014fa | refs/heads/master | 2020-12-21T21:32:06.409513 | 2020-01-27T19:04:53 | 2020-01-27T19:04:53 | 236,569,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,670 | r | FDA_Analysis.R | library(nparACT)
library(Actigraphy)
library(lattice)
library(dplyr)
source("C:/Users/julie.wisch/Documents/nparACT_auxfunctions1.R")
source("C:/Users/julie.wisch/Documents/nparACT_auxfunctions2.R")
source("C:/Users/julie.wisch/Documents/npar_Base.R")
source("C:/Users/julie.wisch/Documents/Actigraphy_otherData/C... |
99e2001c1c9c03a78f5afd500652c9dbefbcd3c2 | a15c82b3af65adf5161fc4b08dc7ce3751bdd1f7 | /cachematrix.R | c72dcd60b176d5290c2458fe6d56e14f89db9aac | [] | no_license | RoliMu/ProgrammingAssignment2 | 0709125f9a29de96cfbd28359242dda8df10972a | 50457d51a6dff848821f564094b74e281bd10048 | refs/heads/master | 2020-12-11T02:03:20.146917 | 2016-05-07T22:56:14 | 2016-05-07T22:56:14 | 58,231,471 | 0 | 0 | null | 2016-05-06T19:53:43 | 2016-05-06T19:53:43 | null | UTF-8 | R | false | false | 1,914 | r | cachematrix.R | ## Programming Assignment 2: Lexical Scoping
## 07/05(2016)
## Starting with:'Matrix inversion is usually a costly
## computation and there may be some benefit to caching the
## inverse of a matrix rather than computing it repeatedly'
## The assignment is to write a pair of functions that cache
## the inverse of a m... |
113fdddfc06c83acdd4cede04bfdbfc40fb02965 | 934d29dd215c4d76fe299e4514100277ef5213d0 | /DissertationChapter/FAOvGTAplot.R | bd755f28ceda2795ede11483ec764b408565bb0d | [] | no_license | kmblincow/GlobalSeafoodTrade | d0dc45905ea4514141d065394a91dc1ae3906a17 | a6475718656c04f0ccaba38127bbac20a7c856c3 | refs/heads/main | 2023-04-15T21:50:21.836901 | 2022-10-10T15:40:08 | 2022-10-10T15:40:08 | 343,531,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,079 | r | FAOvGTAplot.R | #Kayla Blincow
#5/27/21
#Comparing FAO and GTA data
#clear my workspace
rm(list = ls())
#load packages
library(tidyverse)
#load data
FAO <- read.csv("ConsumptionAngle/Final_FAOFMI.csv", header = T)
GTA <- read.csv("ConsumptionAngle/GTA_FAOmatch.csv", header = T)
#Plot total imports for each country ... |
0b461985c47c1adbc9bf332067cef0669c99057c | 385657ba6ae43b8d9ee35b0691909ab0ff3dafb2 | /R/plot_r0_profile_fromcsv.R | 17906b2aa5760277226191aa392b6a5fed08ed8c | [] | no_license | fecor21/ssdiags | 0c800a3b2bc4ddd974d8eb725553209e25c0cb85 | 083da546c7859ca9a534ac8d9ce83a96f191b02f | refs/heads/master | 2020-05-26T14:50:54.346651 | 2019-05-23T15:25:53 | 2019-05-23T15:25:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,136 | r | plot_r0_profile_fromcsv.R | #rm(list=ls())
library(r4ss)
library(colorRamps)
library(ggplot2)
library(dplyr); library(reshape2); require(gridExtra)
# setwd("C:/Users/felip/Dropbox/MLS_2019_1994/R0_Profile_Model_382")
setwd("C:/Users/mkapur/Documents/GitHub/ssdiags")
df <- read.csv("./R/r0profile_20190328_0858.csv")
profile.label <- expression(l... |
76ac6b7270f6c5f79db1cd56abb3d9e52c07bdd5 | a895bbebd37b76348aac2ebd8fdd0ef2ffc7829b | /R/ENMnulls.test.R | 8686bcd614e741a48918a149cefa3cd19ca49a1d | [] | no_license | johnsonojeda/ENMeval | 9a34ee7476034bfa2c25ff0f169600f1e28f6a06 | 7132a42879b24d58fa35028cef42a4b3db59556d | refs/heads/master | 2023-08-03T04:19:24.207693 | 2023-03-28T23:20:00 | 2023-03-28T23:20:00 | 528,523,469 | 0 | 0 | null | 2022-08-24T17:20:02 | 2022-08-24T17:20:02 | null | UTF-8 | R | false | false | 25,906 | r | ENMnulls.test.R | #' @title Compare model accuracy metrics of Ecological Niche Models (ENMs) built with different set of predictors.
#' #' @description \code{ENMnulls.test()} Iteratively builds null ENMs for "k" sets of user-specified model
#' settings bsaed on "k" input ENMevaluation objects, from which all other analysis
#' settings ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.