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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
78413bdd19962652ac9ada5185c395cf035ef268 | 7afbb148ec11b3105aaead6bdd900f847e49eb18 | /tests/testthat/test-harmonic.R | 9fc96c7b9549505a62129a7c55484cf71367f94e | [
"MIT"
] | permissive | tidymodels/recipes | 88135cc131b4ff538a670d956cf6622fa8440639 | eb12d1818397ad8780fdfd13ea14d0839fbb44bd | refs/heads/main | 2023-08-15T18:12:46.038289 | 2023-08-11T12:32:05 | 2023-08-11T12:32:05 | 76,614,863 | 383 | 123 | NOASSERTION | 2023-08-26T13:43:51 | 2016-12-16T02:40:24 | R | UTF-8 | R | false | false | 13,426 | r | test-harmonic.R | library(testthat)
library(recipes)
x_year <- seq(0, 86400 * 365 * 4, by = 31556926)
x_month_sidereal <- seq(0, 86400 * 7, by = 2360592)
x_month_synodic <- seq(0, 86400 * 7, by = 2551443)
x_month_average <- seq(0, 86400 * 365, by = 2629744)
x_week <- seq(0, 86400 * 365, by = 86400 * 7)
x_day <- seq(0, 86400 * 365, by =... |
0732964d1008030187881544874e9fc30846041c | c46697e3649cee2777f699294c7f3559e058e6b0 | /R/UnblockWorker.R | 46b2528c04d687a4954449046a2f4dd349b01e02 | [] | no_license | cran/MTurkR | 22fe2aca00d64288a99687fc099dfefd10b3f30b | 29e750e47b24068120faae531053b18467d50c4c | refs/heads/master | 2021-01-13T17:25:27.346534 | 2017-01-23T05:35:43 | 2017-01-23T05:35:43 | 17,680,794 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,761 | r | UnblockWorker.R | UnblockWorker <-
UnblockWorkers <-
unblock <-
function (workers, reasons = NULL, verbose = getOption('MTurkR.verbose', TRUE), ...){
operation <- "UnblockWorker"
if (is.factor(workers)) {
workers <- as.character(workers)
}
if (length(workers) > 1) {
if (!is.null(reasons)) {
... |
3350ddb4f23e23da0959444e87c0d6270c03ad3f | 41bbdd673bef8e9f1fdc724556591f4607b220e6 | /pascal/man/killfactors.Rd | 9d6e0ee6a96c0048821012dcc32f48690b9b39ae | [] | no_license | pascal-niklaus/pascal | bd42a5f00fd06d9b9f8b4e6227419943a817b409 | 88723458c71609a8971925d363671910a4fa421c | refs/heads/master | 2023-06-27T03:37:37.156306 | 2023-06-14T13:35:16 | 2023-06-14T13:35:16 | 27,164,003 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,182 | rd | killfactors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/killfactors.R
\name{killfactors}
\alias{killfactors}
\alias{restorefactors}
\title{Remove or add factor property of data.frame columns}
\usage{
killfactors(d, restore.numerics = FALSE, cols = seq_along(names(d)))
restorefactors(d, cols = seq... |
9f742d5980e38ac2ade6cb79a37aec89e28ef0e9 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/4763_0/rinput.R | c5a8fbf88cb2afa8192c616f11af56447412e3c2 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("4763_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="4763_0_unrooted.txt") |
d7b0149bb7b61b0795e820fd3678ba862a97a4c1 | 8d76d039cba8c977c81b3495fb3934d3287ae175 | /CP03_02_markdown_small.R | 2efa11b5599e14e735aee6b071bafd32583f8247 | [] | no_license | rubiera/RCapstone_Week2Writeup | ff45b0c20ceb025f7e4a62eb668c30eb5115ff67 | 9ac3470b9fb729717bd02438cdcd81d526526fe0 | refs/heads/master | 2020-12-02T18:40:21.296539 | 2020-01-06T18:50:58 | 2020-01-06T18:50:58 | 231,083,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,289 | r | CP03_02_markdown_small.R | library(textreadr)
library(tm)
library(caret)
library(tidyverse)
library(RWeka)
library(knitr)
library(quanteda)
en_blogs <-
readLines("./../course-data/en_US/en_US.blogs.txt",skipNul = TRUE,warn=FALSE)
en_news <-
readLines("./../course-data/en_US/en_US.news.txt",skipNul = TRUE,warn=FALSE)
en_t... |
68ab71b5000c1d0c6541f2fd999732d553220840 | 654b3ecea617c0aa0c9cc7188e56ecee9afdbc12 | /R/get_weather.R | b9ce6c119ebd64a8c139e46c5129a7273575ac98 | [
"MIT"
] | permissive | UBC-MDS/weatheR | 2685a3fea9ecb1b6bc86ea2340512c60755f046e | f81bd0fa6398b51093952ef6ee5e9c61e5769f00 | refs/heads/master | 2020-03-08T06:32:29.809433 | 2018-04-13T00:10:16 | 2018-04-13T00:10:16 | 127,974,282 | 0 | 5 | null | 2018-04-13T00:10:17 | 2018-04-03T22:09:48 | R | UTF-8 | R | false | false | 1,545 | r | get_weather.R | # get_weather(city)
#
# Returen a picture of temperature and humidity of a city
#
# For example: get_weather("London,UK")
#
#
get_weather <- function(city,api){
require(httr)
#require(ggplot2)
require(dplyr)
require(tidyr)
#use public api to grab data
url <- GET(paste0("api.openweathermap.org/data/2.5/fo... |
499d5d792ef3ce389b5f3d9aa20c3c57618fb9ab | 5f7be819ef6bb5c31311b7bc63b1120f0bf1ce81 | /load-data.R | 58ecc007ca5345e177617c0b94931510b88b9528 | [] | no_license | satahippy/coursera-exdata-project2 | e443ff5e4eb043a1f9d962dd71bf586a3ee493d8 | 10c879b8dffd8d680551a1b44cdcfa5f7ce4f79c | refs/heads/master | 2021-01-10T04:03:49.282184 | 2015-11-22T16:28:43 | 2015-11-22T16:28:43 | 46,672,033 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 321 | r | load-data.R | if (!dir.exists('data')) {
dir.create('data')
}
src = "data/data.zip"
if (!file.exists(src)) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip", src)
unzip(src, exdir = 'data')
}
NEI = readRDS("data/summarySCC_PM25.rds")
SCC = readRDS("data/Source_Classification_Code.rds"... |
8c100ab055f5777de3cac826d4d711be4bcae0b7 | 81be3ddb554835d0b1c57361ad1a953d8b704adf | /surya_etal_front_virol_data_s2_sarbecovirus/sarbecovirus_code_r_detect_outliers.r | 663a4e371a3d8deebf6ee03419288fb109d1e0e3 | [] | no_license | ChrisOrgan/Covid_Analysis | 046dc8b92401e46d9c9a3877ec912f7a0fffbcf8 | f3f50591ca414931b65dcf98188c8213f63c79ea | refs/heads/master | 2023-04-18T13:20:27.733339 | 2023-03-06T20:30:09 | 2023-03-06T20:30:09 | 256,229,889 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 650 | r | sarbecovirus_code_r_detect_outliers.r | # Written by Kevin Surya.
# This code is part of the coronavirus-evolution project.
library(MASS)
# Read data ----
dat <- read.table(
"sarbecovirus_data.txt",
sep = "\t",
header = TRUE,
row.names = 1
)
dat <- dat[, -4]
# Detect outliers ----
output75 <- cov.mcd(dat, quantile.used = nrow(dat) * 0.75)
mhmcd7... |
7a8873d3d39613bc359c1269e1ea100212255def | 2daf15129d00829346a1ceb12e3fa28d555aeb33 | /taxi_questions.R | 5dbb0fddb5d632ae9e6d9492e4c746bb0ae5994f | [] | no_license | mavaladezt/NYC_Taxi_Profit_Estimator | 185b5c0a64a99a63ea7a9604eaab89eaf9ff85a3 | 1b0b522cf093e1ede728e3a0c293ad8b606fd6e7 | refs/heads/master | 2020-08-09T09:42:21.316451 | 2019-11-02T16:44:57 | 2019-11-02T16:44:57 | 214,060,629 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,617 | r | taxi_questions.R | library(readr)
library(data.table)
library(pryr)
library(dplyr)
library(ggplot2)
library(ggthemes)
#==============================================================================
#DF_OVERVIEW ####
setwd("/Users/mavt/Dropbox/School/NYCDataScience/Projects/Shiny/")
getwd()
#df <- fread("trips_2019_01_to_06.csv")
multi... |
2d373a345cff838ddbe746989e0d6234001b9e53 | 9d515dfeb17d7ff8a3f00d960c2c799dfccc12b3 | /Getting and Cleaning Data/Assighnment W3/Merging data.R | 8740017d40f4425a0de53cff2a137a6cba791823 | [] | no_license | rokbohinc86/2019.3.28.Data_Science-Specialization | af8e1c106f4ad6b6cb38a9c6aec2c1f09f0bd45c | 066d2a4ec5b61edbf38ae643eac3c286ca9e0298 | refs/heads/master | 2020-08-05T14:17:39.837996 | 2019-10-03T12:34:17 | 2019-10-03T12:34:17 | 212,575,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,166 | r | Merging data.R | if(!file.exists("./data")){dir.create("./data")}
fileUrl1 = "https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv"
fileUrl2 = "https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv"
download.file(fileUrl1,destfile="./data/reviews.csv",method="curl")
download.file(fileUrl2,destfile="./data/s... |
182601d07f25009d5cb29568f512b8eb334b27f4 | a3a90785fcf311da21ec1fb8a7b06e352909165d | /data-raw/Great_Merge_example_data.R | 43635d7362acb98f74bf6128b42f0402c4f42166 | [] | no_license | pmartR/pmartRdata | e77223c1a26128c0f4516c2e54f6e8dae1c63aac | bb4729346c264b45deb310f2d99199cd09776051 | refs/heads/master | 2023-01-09T18:03:49.387617 | 2023-01-03T20:08:24 | 2023-01-03T20:08:24 | 69,269,999 | 5 | 8 | null | 2023-01-03T20:08:26 | 2016-09-26T16:32:28 | R | UTF-8 | R | false | false | 3,388 | r | Great_Merge_example_data.R | library (pmartR)
library (pmartRdata)
# Peptides (pepes) -------------------------------------------------------------
data(pep_edata)
data(pep_fdata)
data(pep_emeta)
pep_object <- as.pepData(
e_data = pep_edata,
f_data = pep_fdata,
e_meta = pep_emeta,
edata_cname = "Mass_Tag_ID",
fdata_cname = "SampleID",... |
454569d6a6ed31d99daa74bbca2b3a17a1910cfb | f7f63838b028cc57a9824e575124b6f4ac0241a6 | /app/assignments/residuals/assignment.R | 42d2f1352fc431875b154175c976010438e3b631 | [
"MIT"
] | permissive | RobinEchoAlex/flexTeaching | 3cfb01fb88b2c9dfdabdcfba4fd27e3f028ff542 | 033b8fb9959d05014d963429f1607a1147e810ca | refs/heads/master | 2023-08-16T13:27:17.208387 | 2021-07-19T13:18:58 | 2021-07-19T13:18:58 | 378,942,363 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,516 | r | assignment.R | assignment = read.csv('meta_info.csv', stringsAsFactors = FALSE)[1,"title"]
getData <- function(seed, secret, extra = ""){
set.seed.alpha(paste0(seed, secret, extra))
N = 150
z = random.set(N)
df = z$data
text = z$text
all.data = list(
data = df,
info = list(text = text)
)
return(all.dat... |
4e7bed2a82672e94c747c4b725df1d026494c368 | 35de14603463a45028bd2aca76fa336c41186577 | /man/DEEPLEARNING.melt.Rd | e22f46aa59161eef43b654a752f1b6217005e739 | [
"MIT"
] | permissive | UKDRI/echolocatoR | e3cf1d65cc7113d02b2403960d6793b9249892de | 0ccf40d2f126f755074e731f82386e4e01d6f6bb | refs/heads/master | 2023-07-14T21:55:27.825635 | 2021-08-28T17:02:33 | 2021-08-28T17:02:33 | 416,442,683 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,306 | rd | DEEPLEARNING.melt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Dey_DeepLearning.R
\name{DEEPLEARNING.melt}
\alias{DEEPLEARNING.melt}
\title{Melt deep learning annotations into long-format}
\usage{
DEEPLEARNING.melt(
ANNOT,
model = c("Basenji", "BiClassCNN", "DeepSEA", "ChromHMM", "Roadmap", "Others")... |
016828d6f5962820aa3b34c552edeba183107939 | a40df82edb3d1888b9c078926c92e7ffd34a9302 | /plot_ly_ex.R | 32f97f4aa1b9b5f1fd7839ac71a182280db258b8 | [] | no_license | UM-Biostatistics/teachShiny | a10f0ee280c3dab7735391bc4637eeef8853216c | b092d4ea1344f6e5373951c71d002973b14976a2 | refs/heads/master | 2022-11-08T17:13:43.671011 | 2020-06-24T19:18:04 | 2020-06-24T19:18:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 556 | r | plot_ly_ex.R | library(tidyverse)
library(plotly)
data(mtcars)
p <- plot_ly(data = mtcars,
type = "scatter",
mode = "markers") %>%
add_trace(
x = ~hp,
y = ~mpg,
marker = list(
color = '#22F082',
size = 10),
showlegend = FALSE) %>%
layout(title = "1974 Motor Trend US - MPG ... |
1fa91e1f4d8264b4cdf93cc6d5bdbffb788f18fa | 74bc48ba64859a63855d204f1efd31eca47a223f | /Avito/001.Prav_EDA.R | 66977d9dbae6bdd32a292aab477f7575cfe71d54 | [] | no_license | PraveenAdepu/kaggle_competitions | 4c53d71af12a615d5ee5f34e5857cbd0fac7bc3c | ed0111bcecbe5be4529a2a5be2ce4c6912729770 | refs/heads/master | 2020-09-02T15:29:51.885013 | 2020-04-09T01:50:55 | 2020-04-09T01:50:55 | 219,248,958 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,405 | r | 001.Prav_EDA.R | ###############################################################################################################################
# 01. Read all source files
###############################################################################################################################
train <- read_csv("./input/train.cs... |
d4c812128fddf2d86a801eca40d4f0ec14a8dbdc | f30cc1c33978ca5a708a7e0a493403ea88550160 | /man/write.neuronlistfh.Rd | 70c8384009e4961e22b5793ba607dc4b3cf1e706 | [] | no_license | natverse/nat | 044384a04a17fd0c9d895e14979ce43e43a283ba | 1d161fa463086a2d03e7db3d2a55cf4d653dcc1b | refs/heads/master | 2023-08-30T21:34:36.623787 | 2023-08-25T07:23:44 | 2023-08-26T19:02:50 | 15,578,625 | 35 | 10 | null | 2023-01-28T19:03:03 | 2014-01-02T07:54:01 | R | UTF-8 | R | false | true | 1,755 | rd | write.neuronlistfh.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/neuronlistfh.R
\name{write.neuronlistfh}
\alias{write.neuronlistfh}
\title{Write out a neuronlistfh object to an RDS file}
\usage{
write.neuronlistfh(x, file = attr(x, "file"), overwrite = FALSE, ...)
}
\arguments{
\item{x}{The neuronlistfh o... |
4c7824273cd254f6602a36576781c81169be4a84 | 3a70065126f01158b7132da8050adceeb1bc9302 | /code/RandomForest.R | 2520fcf2afa0f753ba2713c5549db35149236d54 | [] | no_license | jcauteru/rossman | 9b5f2ad8373e9c075a015cfcb2cea96d166b5fd3 | 46c4359b960dbb5f66640aa443f6a2d75a73914b | refs/heads/master | 2021-01-10T08:59:23.018379 | 2015-12-10T00:47:42 | 2015-12-10T00:47:42 | 47,728,324 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,112 | r | RandomForest.R | library(data.table)
library(randomForest)
library(foreach)
source('/media/hdd/kaggle/rossman/code/make_data.R')
source('/media/hdd/kaggle/rossman/code/GXB_GRIDCV.R')
RMPSE2 <- function(preds, dtrain) {
elab<-as.numeric(dtrain)
epreds<-as.numeric(preds)
err <- sqrt(mean((epreds/elab-1)^2))
return(list(metric... |
94d00e270865259f2d0a9aca55758a421da71787 | dde6ab1f5a39b19450c320999051c5607f447b85 | /man/factbook_tibble.Rd | e2ed42767cbb093f069a0f3f71b50f1a601c6c30 | [
"MIT"
] | permissive | mskyttner/factbook | 2873b05945e15f5f951c45481521f0ae5fd71e88 | 3d07bf53e49913f4768ff01b22ddf2b770898685 | refs/heads/master | 2020-06-03T23:59:08.193651 | 2019-06-13T15:12:29 | 2019-06-13T15:12:29 | 191,785,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 902 | rd | factbook_tibble.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/factbook.R
\name{factbook_tibble}
\alias{factbook_tibble}
\title{World Factbook data as a tibble}
\format{A tibble with 261 rows and 13 variables:
\describe{
\item{id}{row id}
\item{code}{country code}
\item{name}{country name}
\item{... |
dd4bd964284d93c4487326664205bed9c064bfe0 | c51b7d3e6aea5df63cd795cdefa1454e2c7b6615 | /man/width.Rd | 4e587f3486fcc46dc64cc09e0ac1569535392f36 | [] | no_license | cran/rccmisc | 11da5e0c2311ed4135ab0d0d7625ac5bb23a73cd | bf30d0b8be83a45fbf349e6ac0efc60159a7a204 | refs/heads/master | 2021-01-09T20:41:18.733037 | 2016-06-08T10:40:43 | 2016-06-08T10:40:43 | 60,682,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 420 | rd | width.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/width.R
\name{width}
\alias{width}
\title{Calculate the width of the range of x}
\usage{
width(x)
}
\arguments{
\item{x}{object to calculate range for}
}
\value{
The width of the range of \code{x} as integer.
}
\description{
Calculate the wid... |
eedb95a42113a919bf8e699d911e8d4fa4aed465 | e41dc2086cc3a27ff9204ad0d3ab279504e08e48 | /2 - R Programming/R Programming Week 4 - Final Project/rankhospital.R | 3025ba133ef03407c9c9beff33accd3fccec225d | [] | no_license | sandyjaugust/Data-Science-Specialization-Coursera | ff03ac66fc4c0302a74d25bf33f1e3dca08ba1b6 | 565d9876e1aaefff3f11366626a37e16f0dbf2c4 | refs/heads/main | 2023-01-05T11:10:43.664956 | 2020-11-02T00:52:23 | 2020-11-02T00:52:23 | 303,149,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,652 | r | rankhospital.R | ## Define global variables:
## This function reads the outcome-of-care-measures.csv file and returns a character
## vector with the name of the hospital that has the num'th lowest 30-day mortality rate
## for the outcome specified in the state specified. It breaks ties by sorting all hospitals
## that perform equ... |
68d8ed629caacd7962c7aa604302a3ae15d23d89 | b669732bbf19ea107b695fc8eeb36e0adaf28b06 | /MRCAVectorDebugging.R | b3dce30def8008c8cd037a59315f6544091302ea | [] | no_license | BenSinger01/I_MRCA | 149253cc3100d26abd93183c9ed2df1b9e24fe95 | ef85ad80c05e50ed9606af48cbf158067d13840e | refs/heads/master | 2021-05-03T17:35:52.466086 | 2018-03-15T12:07:43 | 2018-03-15T12:07:43 | 120,450,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,658 | r | MRCAVectorDebugging.R | # This code is to calculate the MRCA-matching distance between two phylogeographies.
# It follows the Google Style Guide for R.
# Classes
# class of vectors storing locations of MRCAs of pairs of leaves
setClass("MRCA.vector", representation(leaf.no = "numeric", MRCA.location = "character"))
setMethod("initialize", "... |
9e04229c24e289321739907f413c61a2a602c026 | 7ac133f9871f201f7a956f3b239d8f0030907c06 | /tests/testthat/test-wrappers.R | 560dcdddf9b9700b80306cb86e7490078690cb8f | [
"MIT"
] | permissive | gopalpenny/anem | 1029318ca01a6172b365ddb7d2181135d909d92c | f2ba63622e0e67a08423b20c5f09a34b6433f6d0 | refs/heads/master | 2021-07-09T21:43:07.502292 | 2020-12-16T15:25:36 | 2020-12-16T15:25:36 | 219,404,991 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,606 | r | test-wrappers.R | # test_wrappers.R
# define aquifer
bounds_df <- data.frame(bound_type=c("CH","NF","NF","NF"),m=c(Inf,0,Inf,0),b=c(0,1000,1000,0))
aquifer_unconfined <- define_aquifer("unconfined",1e-3,bounds=bounds_df,h0=100)
# define wells and well images
set.seed(30)
wells_df <- data.frame(x=runif(8,0,1000),y=runif(8,0,1000),diam=... |
b8cfb3beefff61614a010864ea60250272b5c0f0 | b3355f7deb1c43c6508cc09b6137e3a7af0adbc1 | /R/Main.R | b38f3657683443c214abbdb3de1f7632c7ccd150 | [] | no_license | dustincys/RSVSim | bd40720256c9a130333c23616fee4e3f008da340 | 46bed7dee8ab40396e7dc90d49ede3520aa772b9 | refs/heads/master | 2020-05-29T12:31:24.313374 | 2015-10-13T19:59:53 | 2015-10-13T19:59:53 | 47,256,174 | 1 | 0 | null | 2015-12-02T11:16:20 | 2015-12-02T11:16:20 | null | UTF-8 | R | false | false | 32,103 | r | Main.R | setMethod("simulateSV",
signature(),
function(output, genome, chrs, dels, ins, invs, dups, trans, size, sizeDels, sizeIns, sizeInvs, sizeDups, regionsDels, regionsIns, regionsInvs, regionsDups, regionsTrans, maxDups, percCopiedIns, percBalancedTrans, bpFlankSize, percSNPs, indelProb, maxIndelSize, ... |
e18ecce9b4705a66b77de4ba9a4e06ef70dcc7f2 | 92a0b69e95169c89ec0af530ed43a05af7134d45 | /man/Load.Rd | d8d51053f28450154f1a71e661c8d2c246513466 | [] | no_license | gelfondjal/IT2 | 55185017b1b34849ac1010ea26afb6987471e62b | ee05e227403913e11bf16651658319c70c509481 | refs/heads/master | 2021-01-10T18:46:17.062432 | 2016-01-20T17:51:29 | 2016-01-20T17:51:29 | 21,449,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 317 | rd | Load.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/Load.R
\name{Load}
\alias{Load}
\title{Loads a single R object from file}
\usage{
Load(file)
}
\arguments{
\item{file}{contains R object}
}
\value{
object for file that was read
}
\description{
Loads a single R object from file
}
|
719acd59bb164ba967dcd726b2923d164ce7a8ba | fc539b6d748f8b52daf555dccc823d499bd8409d | /MSc-SimSci/ACM41000-Uncertainty-Quantification/assignement3/Data2LD_Fix/Data2LD_Fix/R/DRarrayFn.R | a7b392224c6607f10d9ba8f12c81994f22e2a175 | [] | no_license | iantowey/sandbox | 39cb5afbbbadea2e86f3ecac671286d9e3c331c8 | 7ea216e663b48e4f52d130656a14a527764a789a | refs/heads/master | 2020-04-02T21:22:57.642105 | 2018-12-19T10:36:20 | 2018-12-19T10:36:20 | 154,797,142 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 569 | r | DRarrayFn.R | DRarrayFn <- function(nXbasisw, nWbasisw, nXbasisx, nWbasisx,
Bvecx, Btens) {
DRvec <- rep(0,nXbasisw*nXbasisx*nWbasisw)
Btens <- as.vector(Btens)
inprodDList <- .C("DRarrayFn", as.integer(nXbasisw),
as.integer(nWbasisw),
as.integer(nXbasisx),
... |
2f64baa8e418fc7f7fb1db20893a202bff5561f2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/aqp/examples/panel.depth_function.Rd.R | ce6bf366c0d67d9cabff5a43c41155db409603d8 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | panel.depth_function.Rd.R | library(aqp)
### Name: panel.depth_function
### Title: Lattice Panel Function for Soil Profiles
### Aliases: panel.depth_function prepanel.depth_function make.segments
### Keywords: hplot
### ** Examples
library(lattice)
data(sp1)
# 1. plotting mechanism for step-functions derived from soil profile data
xyplot(cbi... |
5eb0a3cec823488b81f1edc70c858589f2005b4e | 6c53c630b849d988884ccf70c137e7f2584d423d | /creating_result_lists.R | c8558326d71813dc9e8e0054e0d051bed1b40183 | [] | no_license | MarMagn/VARA_rep | 9abd6c875f32793dd8f7b2f1ce76098134f52263 | a3b10a3389eb15375166db84545f805ea3f18791 | refs/heads/master | 2021-07-20T10:03:41.898816 | 2018-11-28T20:05:12 | 2018-11-28T20:05:12 | 138,162,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,180 | r | creating_result_lists.R | all_results_30 = list()
class(all_results_30) <- c("results_class", class(all_results_30))
print.results_class <- function(l) {
if (length(l) == 0) {
cat('\n None')
return()
}
sapply(l, USE.NAMES = TRUE, simplify = FALSE, function(vals) {
sapply(vals, function(v) {
sprintf("%.3f", v)
})
... |
cf79a59f4c0e51aec129c1ffb8d004365fa98dc3 | cf46efb113cc46d497eb2f7a147bbbc1a0564ec8 | /scripts/R/probeSelection/improbe_functions.R | 05d6caeed67a441ba6b27e07f318f63fde869bef | [] | no_license | MethylationWorkhorse/workhorse | 5b4b053249cc61fde3a6cfe676749e8bfd0478fb | 2e77c75608831190ac7a297c58238fed75ee703e | refs/heads/master | 2020-09-09T20:16:09.604610 | 2020-03-12T07:55:04 | 2020-03-12T07:55:04 | 221,555,673 | 2 | 1 | null | 2019-11-18T15:04:28 | 2019-11-13T21:33:13 | Perl | UTF-8 | R | false | false | 47,773 | r | improbe_functions.R |
suppressWarnings(suppressPackageStartupMessages(require("tidyverse")) )
suppressWarnings(suppressPackageStartupMessages(require("stringr")) )
suppressWarnings(suppressPackageStartupMessages(require("glue")) )
suppressWarnings(suppressPackageStartupMessages(require("scales")) )
suppressWarnings(suppressPackageStartupMe... |
69e6b902f57eaadcb0f2afd65cd9ac25d948a743 | 7f35d0df4d0552f1a8669f81add1aacc00b5bd1f | /man/DammDigit.Rd | 1eb9295828d23ed998d644e046fd7c69603d550a | [] | no_license | Dasonk/Damm | 31d5428ab65c296e189fe0a91f75a9390d190bcb | b38ed2a47cd011c191ebe5f3954491dd3c552b9f | refs/heads/master | 2021-01-18T11:15:45.337206 | 2013-03-25T04:31:40 | 2013-03-25T04:31:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 332 | rd | DammDigit.Rd | \name{DammDigit}
\alias{DammDigit}
\title{Get Damm check digit}
\usage{
DammDigit(x)
}
\arguments{
\item{x}{Number that you want the check digit for.}
}
\description{
Get Damm check digit
}
\examples{
x <- 12345
DammDigit(x)
# so we need to add 9 to the end of the number
x <- 123459
DammDigit(x)
# The 0 tells us ... |
d4637836a97b801ab7dc4b080441e0300e83c156 | ff6df032ed4f8089c46db34bb3aaabf6b3a0fc66 | /R/zzz.R | cc02a2a79e1331ddd9d7e2a470da8f135cc79cd2 | [] | no_license | chuanboguo/arrowtooth | 57564591c1db9faa997fcf2d5dd757e334d6bc66 | ba0afc6983f2b944d522f89c5800cda94c6f88e3 | refs/heads/master | 2022-11-10T17:02:21.738605 | 2020-06-29T18:32:26 | 2020-06-29T18:32:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | r | zzz.R | globalVariables(c(
"coef",
"biomass",
"vcov",
"age",
"rsum",
"unique_models_dirs",
"unique_models_dirs_full",
"nongit_dir",
"landed_kg",
"discarded_kg",
"survey_abbrev",
"ct",
"nsamp",
"param_name",
"base_model_dir_full",
"Estimate",
"Std. Error",
"base_model_dir",
"cv",
"cv_lowe... |
db338cd3654f9a220075ea1f0c4ac3ae33dab208 | 4459eb5432916b4ad6c5c5d911b50c9d2fec1ad5 | /man/Modigliani.Rd | f505a692e498615ce803ec1419e1fa8724bdd26b | [] | no_license | braverock/PerformanceAnalytics | 057af55b0a4ddeb4befcc02e36a85f582406b95c | 49a93f1ed6e2e159b63bf346672575f3634ed370 | refs/heads/master | 2023-08-03T10:18:27.115592 | 2023-03-29T09:23:17 | 2023-03-29T09:23:17 | 58,736,268 | 209 | 113 | null | 2023-05-23T17:46:08 | 2016-05-13T12:02:42 | R | UTF-8 | R | false | true | 1,803 | rd | Modigliani.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Modigliani.R
\name{Modigliani}
\alias{Modigliani}
\title{Modigliani-Modigliani measure}
\usage{
Modigliani(Ra, Rb, Rf = 0, ...)
}
\arguments{
\item{Ra}{an xts, vector, matrix, data frame, timeSeries or zoo object of
asset returns}
\item{Rb}{... |
c60fba5d4954160bb937a38e7767aba4cf3ea287 | 3139a2d91d491000ab7f90e253f501bb5aed0df9 | /HW15/hw15.R | 6de05b64c210291f1d4587e31917e8e2b156f0d4 | [] | no_license | duddlf23/CS564 | 1bcb236d5c13794364aa88779e6567682d11f968 | ae8f5de93b206eb3f5d5abefc9919b1873a38123 | refs/heads/master | 2020-08-26T13:01:14.102155 | 2019-10-23T09:33:07 | 2019-10-23T09:33:07 | 217,018,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 422 | r | hw15.R | #1.
data("attitude")
str(attitude)
library(rela)
paf_dat <- paf(as.matrix(attitude))
paf_dat$KMO
library(psych)
scree(attitude, factors = F, pc = T)
pca <- principal(attitude, nfactors = 2, rotate = 'none')
pca
fa.diagram(pca)
#2.
pca <- principal(USArrests, nfactors = 2, rotate = 'none')
pca
biplot.psych(pca, c... |
70e3e489849223bf52c17e89d0d89c955b44622c | fed82a720cd8e651b517fafdd11bb1a7fd470d7a | /scripts/theme.R | 6450c40a6fd8d0b04ccf91aa2e65c328a247af89 | [
"MIT"
] | permissive | The-Human-Protein-Atlas/HPA-SingleCellType | d68605420958fb800c5cebac8dfebbd1070ded5c | 6788a4c1e80a586a823d2e8f76b724e4958acd7c | refs/heads/main | 2023-03-17T03:22:50.545142 | 2021-03-08T15:24:42 | 2021-03-08T15:24:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,433 | r | theme.R | library(viridis)
# ----- colors & factor levels -----
tissue_colors <-
c('abdominal adipose tissue' = '#A7DACD',
'subcutaneous adipose tissue' = '#A7DACD',
'adrenal gland' = '#7F6A9C',
'aorta' = '#A7DACD',
'cecum' = '#1280C4',
'bone marrow' = '#A1A8AA',
'breast' = '#F8BDD7',
'bronchus'... |
0b9dcce7d5225e30425fc02187b6130fda2c1b2c | 39f3d047487c268f8a6921e39e228846df8acefc | /cachematrix.R | ad9700f4dd00142fa81d792dbc5ec13af1cdfbe8 | [] | no_license | aaronbcrampton/ProgrammingAssignment2 | 242ed4d8d4c486b609bea483c33a9222b570bf23 | b010a5d76ad62f4965b41f9e4bcd2ce81d678d45 | refs/heads/master | 2020-12-02T20:33:01.046215 | 2020-01-02T14:19:39 | 2020-01-02T14:19:39 | 231,112,974 | 0 | 0 | null | 2019-12-31T15:50:12 | 2019-12-31T15:50:11 | null | UTF-8 | R | false | false | 1,659 | r | cachematrix.R | ## FORWARD: I am also one to avoid single letter variables so I made more descriptive names. In retrospect it complicated
## this particular assignment. It's still a good habit though in my belief. Thanks for reviewing and for any feedback!
makeCacheMatrix <- function(item = matrix()) { ##creates a matrix
... |
66f79ee7f92be05074fbbe95f160a762cb944f4a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/labelled/examples/remove_labels.Rd.R | b7f55c0fd3f3d72a2a99ef49de631bc4b12bdd2d | [] | 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 | 477 | r | remove_labels.Rd.R | library(labelled)
### Name: remove_labels
### Title: Remove variable label, value labels and user defined missing
### values
### Aliases: remove_labels remove_var_label remove_val_labels
### remove_user_na user_na_to_na
### ** Examples
x1 <- labelled_spss(1:10, c(Good = 1, Bad = 8), na_values = c(9, 10))
var_la... |
733a5993f77a8013a279bc9100d89745b40d387f | 46e87270da7b545679f27a1761b05561fba55283 | /R/f_package.R | aae967566358a344ff7650b38ffac6a203140fa6 | [] | no_license | cwickham/scope | cd579ae413b954c963764a692ae64b806eadbc05 | e654e8b39681a3574f66c35b5ff35e8103e684a9 | refs/heads/main | 2023-01-30T04:48:42.167252 | 2020-12-08T01:18:04 | 2020-12-08T01:18:04 | 319,489,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 48 | r | f_package.R | y <- 100
f_package <- function(x){
y <<- x
}
|
d043a2ac8442fa71d3b4f2e167c91b0cc2d79a4c | a2911052de412fe78e95bae137ab3253adae4522 | /R/getArr.R | efa6106d23dd6759d3d88d7f9ed887ffaace6586 | [] | no_license | pyzhu/ajl | 7f3895bc2643b76fd2a6fc68ba8c60a41c66ff86 | e7b867b102316021af1b3310cd2ccb4ad39dc27f | refs/heads/master | 2021-08-22T17:01:07.506079 | 2017-11-30T03:53:02 | 2017-11-30T03:53:02 | 111,603,307 | 0 | 1 | null | 2017-11-30T18:24:26 | 2017-11-21T21:28:53 | R | UTF-8 | R | false | false | 696 | r | getArr.R | #'
#'
#' @import testthat
getArr <- function(n, num.obs.nonwhite, a, b, mu, sigma, k, theta) {
# throw an error if num.obs.nonwhite is greater than n
assert_that(n > num.obs.nonwhite)
dt <- data.table(arr_id = seq.int(n), key="arr_id")
# setkey(dt, arr_id)
dt[, true_risk := rbeta(.N, a, b)]
# Set bi... |
da826dfa3d1499a631c5b8e5965aaa824b77edfe | 80ada99bd981917c00ef9c6e115e9e61dfa8c038 | /man/googledrive.Rd | 713dc1dd786116a32cbe6b1233bae6cf49b10caa | [] | no_license | hturner/googledrive | 10e513d1b68f92f3af100f2289bb6c1587528817 | 76af28ee782462aca678438d6d1017223054147d | refs/heads/master | 2021-01-19T20:06:25.251238 | 2017-08-23T16:15:36 | 2017-08-23T16:15:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 235 | rd | googledrive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/googledrive-package.r
\docType{package}
\name{googledrive}
\alias{googledrive}
\alias{googledrive-package}
\title{googledrive.}
\description{
googledrive.
}
|
4ebac1878672f748e17e4d7dd7779ac01efa34ed | 241c99c7dbd3eba623d72ffdfdaa1a652be1bafb | /man/computePageAsymptoticProbability.Rd | f71b29668021f0e30ac15876cca396c478942fa2 | [] | no_license | JacintoCC/rNPBST | 29b64f3230f5fc905f358f65e2b176e29c517324 | 633e7d2ba56707c721c4e6f6e1cfa3c67a79c703 | refs/heads/master | 2022-06-07T22:32:56.036084 | 2022-04-12T15:31:45 | 2022-04-12T15:31:45 | 80,525,887 | 11 | 0 | null | null | null | null | UTF-8 | R | false | true | 489 | rd | computePageAsymptoticProbability.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NP-Page.R
\name{computePageAsymptoticProbability}
\alias{computePageAsymptoticProbability}
\title{Compute asymptotic probability of distribution}
\usage{
computePageAsymptoticProbability(N, k, L)
}
\arguments{
\item{N}{number of columns}
\it... |
586e624bbb8230b2027fa5157f72abef0d65a06b | dba4e381f713a794ce7f455b4141fab6c2a863e2 | /ch02/Chapter_2.r | aefc7ce2b88d7c8f477eead3efaac3c3c3291cbb | [
"MIT"
] | permissive | chaoshunh/Hands-On-Exploratory-Data-Analysis-with-R | 32639f65a28d241f9a338da42cfe441b146426d2 | c6880753cb4b99a97b113f891dd4a0afb58de70c | refs/heads/master | 2020-05-27T05:14:54.232399 | 2019-05-24T18:55:33 | 2019-05-24T18:55:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | Chapter_2.r | library(readr)
read_csv("mtcars.csv")
cols(
mpg = col_double(),
cyl = col_double(),
disp = col_double(),
hp = col_double(),
drat = col_double(),
wt = col_double(),
qsec = col_double(),
vs = col_double(),
am = col_double(),
gear = col_double(),
carb = col_double()
)
cars_data <- read_csv(readr_example... |
b8d6dc63b7a05c5f90951e5b779da3853e25548a | d95961457e7c226e5df91bd94bd0f729234392a4 | /WordCloud.R | 3d0549ecef39d483917835ca365167d20e5fd651 | [] | no_license | DeepikaMudigonda/whatcloud | 3119bd2ceba2743816c9571fc885de78dc4f3739 | 884d2526408dbec27b375f183681fb102d0ddcdf | refs/heads/master | 2021-05-08T01:19:16.808272 | 2017-10-22T02:32:28 | 2017-10-22T02:32:28 | 107,803,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 669 | r | WordCloud.R | library(tm)
library(wordcloud)
dirPath<-"C:/Users/Deepika/Desktop/wordcloud/"
txt<-Corpus(DirSource(dirPath))
toSpace <- content_transformer(function(x, pattern) gsub(pattern, " ", x))
txt <- tm_map(txt, content_transformer(tolower))
txt<- tm_map(txt, toSpace, "[^a-zA-Z]")
rmv<-c("griet","mudigonda","media","omitted","... |
ec5e056ab5f03c8de1ee0c18330e904834d4f45c | 7505f15b5e579e8d38b84e45ce55fb96f33b8ce2 | /man/Duplicate.Rd | 804c2fe30d7b0f4409301edb5d9f8cd0df4001aa | [] | no_license | abuchmueller/Rpriori | 9eaf823234760a7353cbf8bca770da128ac4763c | 209b23c4596d641d86513381c2ea2c61b4b10880 | refs/heads/master | 2020-03-27T20:59:08.084554 | 2019-05-03T21:51:28 | 2019-05-03T21:51:28 | 147,108,083 | 1 | 0 | null | 2018-09-02T17:44:29 | 2018-09-02T17:44:29 | null | UTF-8 | R | false | true | 587 | rd | Duplicate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HelperFunctions.R
\name{Duplicate}
\alias{Duplicate}
\title{Find duplicate columns in a sparse matrix}
\usage{
Duplicate(mat)
}
\arguments{
\item{mat}{A sparse matrix of type ngTMatrix, lgCMatrix or ngCMatrix.}
}
\value{
A boolean vector that... |
ced9755f390464f9de8c192b723f7f5a8d5cf2c2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/iemisc/examples/secd.Rd.R | 5c3dc7f19f6766973ff5ef810454084d3c471d3f | [] | 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 | 255 | r | secd.Rd.R | library(iemisc)
### Name: secd
### Title: Secant (in degrees) [GNU Octave/MATLAB compatible]
### Aliases: secd
### ** Examples
library(iemisc)
# Examples from GNU Octave secd
secd (seq(0, 80, by = 10))
secd (c(0, 180, 360))
secd (c(90, 270))
|
c532837c64b5c1edfb93755f7e29d87fefd5a8c0 | c6aed201f17ea0305360df11e2d5aa23a8f6289f | /man/elbow.Rd | 582105bbd1ff8a9f407b5a8cb283a485f3f7a280 | [] | no_license | songmm19900210/GMD | ede703077eeb9a2ac1dec6c19ab6cb62c46c6aac | 7fa0ce70104fae31ae371714d1d2e36cdacd2fce | refs/heads/master | 2021-01-17T22:54:32.355582 | 2014-08-26T00:00:00 | 2014-08-26T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,869 | rd | elbow.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{elbow}
\alias{elbow}
\alias{elbow.batch}
\alias{plot.elbow}
\title{The "Elbow" Method for Clustering Evaluation}
\usage{
## find a good k given thresholds of EV and its increment.
elbow(x,inc.thres,ev.thres,precision=3,print.warning=TRUE)
## a wrapper of `elbo... |
79c518beb61276b5068702d6f8b0e0ce4b2cd45e | 095f8d82a843eb3fd7c7308c1ba14b301513c9ed | /scripts/t-testLOOP.r | 7edb244600d24900ee0573125925904fcda1d9f1 | [] | no_license | DemonKiku/Internship | 6c63c3d3b345cd36469accfc4f7bfcc13f57b609 | 6c1b47902bb78c83f917856efe7242e932efbbcd | refs/heads/master | 2020-05-21T14:38:28.981538 | 2019-05-17T02:02:44 | 2019-05-17T02:02:44 | 186,085,791 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 1,106 | r | t-testLOOP.r | setwd("C:\\Users\\dell\\Desktop\\landmarks")
#读取所有符合要求的文件
myfiles0 <- Sys.glob("*.csv")
#myfiles <- list.files(pattern = "*.csv")
#循环进行t-test
example=read.csv("names.csv",header = T)
p=example[c("names")]
rownames(p)=p[,1]
for (i in 1:19){
a=read.csv(myfiles0[i],header = T)
#人工之间
p$mlx[i]=t.test(a$ml_x... |
403c0def157ce29283ef294f8feee1e1e91e8662 | 52cf2b700d2271b3346580b342252498762fc652 | /Chicago/tests/testthat/testWeights.R | 1e3bc548edc978c411e370dcdc461ae426598a80 | [] | no_license | dovetail-genomics/chicago | 985e077782f7bcad5e8c8e65c62fdebe62a5aff0 | 81bbe3164b012a96f17af84aee04daade794a8c3 | refs/heads/main | 2023-06-15T17:57:23.506628 | 2021-07-03T20:00:22 | 2021-07-03T20:00:22 | 379,648,353 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,617 | r | testWeights.R | library(Chicago)
data("cdUnitTest")
##modifications to cdUnitTest, ensuring it uses correct design directory
designDir <- file.path(system.file("extdata", package="Chicago"), "unitTestDesign")
cdUnitTest <- modifySettings(cd=cdUnitTest, designDir=designDir,
settings = list(brownianNoise.s... |
512d7c3df9e3ed529209856eff1c123fa05a9a7a | 02cf3319522b31765710ae33d43c1fb40bf870c6 | /DataWrSlides/comics/comics.R | 79c6a03fe9f63fcda966c0637352cce5118649b5 | [] | no_license | tjmckinley/AdVis | cbba658e99b8557efc3298f2984d08bc0e93d13c | 661c80cfac2614e28a24bc72404928f43ed07ce0 | refs/heads/master | 2023-06-08T10:14:51.973351 | 2019-06-11T09:51:45 | 2019-06-11T09:51:45 | 381,625,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,046 | r | comics.R | ## extract subsets of comic book data
## load libraries
library(tidyverse)
## load data (data from https://github.com/fivethirtyeight/data/blob/master/comic-characters/marvel-wikia-data.csv)
marvel <- read_csv("marvel-wikia-data.csv")
## extract subsets
mM <- marvel %>%
filter(SEX == "Male Characters") %>%
s... |
14b1ca3ca1162651d24e15b463c5f8e0014ad5f6 | fcb656a34dae2d69dc03842e1ec86352be0dc0a5 | /Lesson-01/lesson_01_Hit_the_ground_running.R | b68bd8eed357cf25f79d81bd2f54b0de7e517302 | [
"MIT"
] | permissive | hossainlab/R4Biologists | 24706f056485c4151e8965fb14f2ceffb6b14c7f | caeab4bd0c8bbcb083114eb0422a5753b55ba800 | refs/heads/main | 2023-04-12T23:04:57.533534 | 2021-04-17T10:42:21 | 2021-04-17T10:42:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,879 | r | lesson_01_Hit_the_ground_running.R | # ==========================================================
#
# Lesson 1 -- Hit the ground running
# • Reading in data
# • Creating a quick plot
# • Saving publication-quality plots in multiple
# file formats (.png, .jpg, .pdf, and .tiff)
#
# ========================================... |
d105dfb4c708cf5c7cfa0eb9e8e6584c6b83b1f3 | 8caeff2957ae777eabbb17e92ac49a5f51f1937c | /Ryan_Additon_9:26:18.R | 92e6eed0ba8ddc0ebae339ba804f98d0d4707d73 | [] | no_license | ayusharora99/2018_Umpires | fbe382e7c3d1b6fbafeb2503cb9a9bffc26103db | ea344d33ad55e732a22c33ab155842834ded4422 | refs/heads/master | 2020-04-23T18:22:49.316852 | 2019-03-04T00:43:47 | 2019-03-04T00:43:47 | 171,364,791 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,025 | r | Ryan_Additon_9:26:18.R | # 9/26/18 : Giants vs Padres : Ryan Additon
# 125 pitches were called strikes/balls
# The robot-ump called 32 of those pitches as called strikes & 93 as balls
# Ryan Additon called 36 of those pitches as called strikes & 89 as balls
# Accuracy: 90%
# File --> Import Dataset --> From text (base) (YES TO HEADER) & ... |
5c0af33419774ae044f241360f568ce9fa209996 | 2ca29aa14b47895f8f5f7ef1325503a784f52b3a | /cning0506_exercise2_1_b2.R | a45144a66ae3b0f3b702415f5603ecc37c831e13 | [] | no_license | cning0506/DATA_330_Applied_TimeSeries_Analysis | 63ce9361d0e3e057a978b1a2a0b0a86437375a2d | 6a0fb39df4275e2a47be61ffc62b118cc85a3aff | refs/heads/main | 2023-04-01T05:07:32.452796 | 2021-04-07T21:37:29 | 2021-04-07T21:37:29 | 332,911,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,482 | r | cning0506_exercise2_1_b2.R | # R-Version 4.0.2 "Taking Off Again"
# File Name: "Exercise 2.1.R"
# Case Study Description: Duplicate Analysis
## The goal of this project was to determine the efficacy of wireless sensor networks (WSN) under natural outdoor conditions for collecting high precision environmental data.
... |
637e6f3bc375cd5c099895378fbaa134420df80d | 86430fba0fbd2f422a90a4fced69fe7181f23147 | /tests/testthat/test_evaluate.R | f72efdac5e145ef0c06fce6c0dc36849e55d1954 | [] | no_license | Karel-Kroeze/MultiGHQuad | 3d26dff9975b3cc30786d24307abe1cef3204807 | 0527705142d40fc567f73d4ca6aa8dfac85ab251 | refs/heads/master | 2021-01-21T04:25:42.683975 | 2016-08-11T13:22:57 | 2016-08-11T13:22:57 | 25,973,058 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,074 | r | test_evaluate.R | library(MultiGHQuad)
context("Expectation is evaluated correctly")
pos.def <- function(n, ev = runif(n, 0, 10))
{
if (n == 1) return(matrix(runif(1)))
Z <- matrix(ncol = n, rnorm(n^2))
decomp <- qr(Z)
Q <- qr.Q(decomp)
R <- qr.R(decomp)
d <- diag(R)
ph <- d / abs(d)
O <- Q %*% diag(ph)
Z <- t(O) %*... |
8aff43b5d8552699d77e1fd7e765294ad8e28bb8 | cb46ebb26c03283012773860d143d77ff62043da | /code/13. scatterplot.r | 43817b3b1aed14aeeb1bf258cda160f45b118212 | [] | no_license | KaranSShakya/honors-fert_pest | 6b20916004b2ef107c6aa21f7dd6d4cdba6eb9fc | 408ff13290abaf865e729442507238b3d37140f2 | refs/heads/master | 2022-10-18T23:54:11.172966 | 2020-06-10T15:07:52 | 2020-06-10T15:07:52 | 264,244,685 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,443 | r | 13. scatterplot.r | #Library
library(tidyverse)
library(readr)
library(ggplot2)
library(readxl)
library(ggpubr)
data0 <- read_csv("BASELINE.csv",
na = "NA")
#Scatterplot - Fertilizer + Pesticide (2016)---------
data1 <- data0 %>%
select(2,3,5,6, 13)
data2 <- data1 %>%
filter(Year=="2016")
ggplot(da... |
d5e0018132943523f81d4c04e720c3efdfce42e6 | 21d5487563190c3b63a249eba7e0b456de498677 | /simulation_functions.R | 7f3bbaf796ca89c8226491907ccba1e20ba81e8f | [] | no_license | brock-taute/edge-optimization | 3d075b2d553f8d20073c01726bd92282de9ea4f9 | 1254a1e23c54a11256bc61957621ee8b995aea17 | refs/heads/master | 2022-06-09T14:37:28.309711 | 2020-04-30T14:37:54 | 2020-04-30T14:37:54 | 260,231,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,390 | r | simulation_functions.R | # Functions to setup and run simulations with the optimization engine
get_forecast_sequences <- function(first_forecast_point = 1,
first_forecast_length = 24,
first_forecast_gap = 11,
recurring_forecast_length... |
06e9283020b87bae3fd47ea5ab8086ff6978f5e7 | c3852480b1ccf9c53cc9777d9d6227b33881556a | /tests/testthat/test_normCytof.R | c57b9d7812a0f6a3466389bfa9d28fa4400c35d6 | [] | no_license | HelenaLC/CATALYST | f4506a621f81fef74911661d02330253d37aee9e | f3e294ed9a4d3f300feb994bb381df6a6b2c8309 | refs/heads/main | 2023-08-23T13:30:52.504230 | 2023-04-25T14:53:40 | 2023-04-25T14:53:40 | 75,288,871 | 60 | 34 | null | 2022-05-12T08:25:28 | 2016-12-01T12:06:28 | R | UTF-8 | R | false | false | 3,444 | r | test_normCytof.R | data(raw_data)
x <- prepData(raw_data)
test_that("normCytof()", {
y <- normCytof(x, "dvs", k = 101, remove_beads = TRUE, overwrite = FALSE)
sce <- "SingleCellExperiment"
expect_is(y$data, sce)
expect_is(y$beads, sce)
expect_is(y$removed, sce)
expect_is(y$scatter, "ggplot")
expect_is(y$lines... |
09397f2ec6e565a82ce5e594ee7d421f0e6f1c60 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/midasr/examples/expand_amidas.Rd.R | 66aa4fe2dc8b527ed8ed4445f88bc5e118bfe108 | [] | 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 | 233 | r | expand_amidas.Rd.R | library(midasr)
### Name: expand_amidas
### Title: Create table of weights, lags and starting values for Ghysels
### weight schema
### Aliases: expand_amidas
### ** Examples
expand_amidas("nealmon","A",0,c(1,2),12,c(0,0,0))
|
a0e1681b1e4d58cc4652ac4f28411f865295163e | 04d93fbc0fb3a160cdfbc8aa3d5c258df7b0d0af | /man/convertToSGFeatures.Rd | f28048b76bb0ea814a36c78ed251822cb9dd5360 | [] | no_license | ldg21/SGSeq | b279000a73e58514a681d3aa802cdf7ec91a3716 | 6c67388c39853ba5df50c94b5c3fd2457288e825 | refs/heads/master | 2021-01-24T08:49:50.563432 | 2020-10-14T19:36:26 | 2020-10-14T19:36:26 | 122,996,617 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,886 | rd | convertToSGFeatures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert.R
\name{convertToSGFeatures}
\alias{convertToSGFeatures}
\title{Convert transcript features to splice graph features}
\usage{
convertToSGFeatures(x, coerce = FALSE)
}
\arguments{
\item{x}{\code{TxFeatures} object}
\item{coerce}{Logic... |
3abb12ce87be74739c38f91d433738198cb30cbe | a636bc0e4e3ceb1fbc5e86e30ae0e41b467391d0 | /r/variantkey/R/uint64.R | 572bad8478a0bcd36511a813259a928ffa06f760 | [
"MIT"
] | permissive | Genomicsplc/variantkey | 292a42e3de15d8b2bbee8aa05b5090790c00d20c | 4ee491c11cd1990ca628eab207054da028f8910a | refs/heads/master | 2023-06-09T18:56:56.935122 | 2023-06-08T12:53:06 | 2023-06-08T12:53:06 | 110,544,338 | 35 | 6 | MIT | 2023-06-08T12:53:07 | 2017-11-13T12:16:35 | C | UTF-8 | R | false | false | 9,383 | r | uint64.R | UINT64 <- "uint64"
setOldClass(UINT64)
#' Create a new uint64 vector.
#' @param length vector length
#' @export
uint64 <- function(length=0) {
ret <- double(length)
oldClass(ret) <- UINT64
return(ret)
}
#' Check if the object x is of uint64 class.
#' @param x object
#' @export
is.uint64 <- function(x) {
... |
222dc63f1d0a60da6b2e8be4c864e1add8f10164 | 03de17f27e1ab2dc3b5dc922bb782d589156737a | /coffeeBranch.R | 580e777ab0db5d32e3be4b67ab9aec04e1c85851 | [] | no_license | morellybutton/Yayu.datacleaning | 7cf9e9bf43a3f2b5169383d389ffba75758173c6 | ed00e1fdfa72b84a4a51e7c7af5509ad3ca0b1be | refs/heads/master | 2021-09-09T13:41:52.736490 | 2018-03-16T16:16:43 | 2018-03-16T16:16:43 | 114,379,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,013 | r | coffeeBranch.R | #combination of monitored branches over year (from flowers to yield)
library(gdata)
library(stringr)
library(tidyverse)
setwd("/Volumes/ELDS/ECOLIMITS/Ethiopia/Yayu")
years<-c("2014","2015","2016")
plts<-read.csv(paste0(getwd(),"/plotnums.csv"))
#remove Met station and Forest plots
plts<-plts[grep("Met_",plts$name,... |
102bd8a0729df01f1acd7fe78c3c89642f019371 | c780cd13e0c4d9d50ea776a2701a6a2b322bb548 | /Proyecto_Final.R | 2eeba01389bdf302d30b2ea2d71c4b3f57e54556 | [
"MIT"
] | permissive | RofoRojas/ProyectoFinal_DataWrangling | 110c086a2deadf651238556e9a3dc7479ecb841f | 0fecbe14553944e5eaf33ac50949cb082e817f25 | refs/heads/master | 2020-09-09T19:16:13.073915 | 2019-11-22T16:07:49 | 2019-11-22T16:07:49 | 221,539,585 | 0 | 1 | MIT | 2019-11-21T22:00:21 | 2019-11-13T19:51:45 | HTML | UTF-8 | R | false | false | 28,488 | r | Proyecto_Final.R | library(readxl)
library(dplyr)
library(lubridate)
library(stringr)
library(tidyverse)
library(DataExplorer)
library(ggplot2)
library(plotly)
library(corrplot)
rm(list = ls())
# Abrir todos los archivos que existen en la carpeta data
archivos <- list.files("Data")
for (nombre in archivos) {
temp_df <- read_excel(pat... |
5fb117f3d6bf2713ded83730d32e53885c18176e | 66e6159f726d04678c83d24b06856b60ddcd6e4f | /src/MovieLense.R | e613b21ce42d4707ea4fbd4eb2fd90a91858d064 | [] | no_license | nikita-goswami/Recommender-System-Design | d003763ef2b37e6dad52f7e21733879ada5c327e | 7e247564807149b1e7564184c77c8f94cf918121 | refs/heads/master | 2022-06-08T08:49:07.339879 | 2020-05-07T02:10:38 | 2020-05-07T02:10:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,548 | r | MovieLense.R | ######################################################
### Recommender Lab
### Nikita Goswami
### Created: 5/25/2020
###
######################################################
rm(list = ls())
setwd("~/R workingDir/Recommender Systems/")
install.packages("recommenderlab")
install.packages("ggplot2")
library(... |
fe0f343c9c518a62c6dcced4c30b595b7b67cefe | 2c4e38480f522f3762b6967d7cfbf8aae0a948aa | /R/h5ls.R | d152305f71ebf01f79ff875aad141157070f1298 | [] | no_license | grimbough/rhdf5 | 097f8c48f322172415308491b603ff5b6cb4521a | 4d430edf2a95cc9a2e4dfbf857ff6ff41cdef61d | refs/heads/devel | 2023-07-27T14:14:36.645790 | 2023-07-12T09:09:12 | 2023-07-12T09:09:12 | 101,306,379 | 51 | 24 | null | 2023-04-05T08:13:17 | 2017-08-24T14:51:27 | R | UTF-8 | R | false | false | 4,446 | r | h5ls.R | h5lsConvertToDataframe <- function(L, all=FALSE, native) {
if (is.data.frame(L)) {
L$ltype <- h5const2String("H5L_TYPE", L$ltype)
L$otype <- h5const2String("H5I_TYPE", L$otype)
if (!all) {
L <- L[,c("group", "name", "otype", "dclass","dim")]
}
} else {
for (i in seq_len(length(L))) {
... |
094f870925429b4d341ae22539729f07868909af | b8735a2bc8e6e2f759d2fc50c73d2506c894a713 | /DEVILSTAZ/R/Correlations.R | f0c4a4e75b5d32049af31f13e0a763743e329a7c | [] | 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 | false | 10,256 | r | Correlations.R | #' Compute cross corelations un AutoZ
#'
#' @description Function to compute cross-correlation strngth between a given spectrum and
#' a set of templates. Function is internal to AutoZ.
#'
#' @param spec input spectrum containing spec$lambda and spec$flux
#' @param gap gap in shifts probed in cross correlation
#' @par... |
d3425c9f453dba038261eabe49b722687865e6d1 | ae5805f9864f273b198e62a3e5a11d13f543f325 | /R/utils_list.R | 6a20dff0611735cf51f2a3844f9eabc257bb2d09 | [] | no_license | jacintoArias/exreport | a5a457e5fe594fabff2667279844b86aeead0048 | ac61cb5a88a64458ced16b47f28f3b1abc97f0e8 | refs/heads/master | 2021-07-03T13:40:40.524529 | 2021-06-03T10:48:36 | 2021-06-03T10:48:36 | 37,213,723 | 9 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,115 | r | utils_list.R | .createDepthStructure <- function(l){
# Transform a nested list to a vector of objects with two elements: $depth and $str
# $depth refers to the nested level
# $str refers to the string representation for that element in the nested list
# Parameter checking
# If l is NULL or is an empty list, it returns NU... |
ddeedff56567f01e85227f593c600f8a0ca02b18 | 78ddd2410b2895224654d0159e1443512784ff77 | /code/analyze/plotting/plot_evaluate.R | 54bc4b5c7acd09f769e53f37e990a1f8c91437a5 | [] | 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 | 12,540 | r | plot_evaluate.R | # this is going to make a bunch of plots to help evaluate which
# regions look real and which should be filtered out
# in particular, it should be useful to look at regions overlapping
# and not overlapping genes; the ones overlapping genes should on
# average be more accurate (or at least less often due to poor
# ali... |
9d8ed46d53297419bc3bac2b69701bd6041644b1 | 7b0c2e442e0271e078f56694749bfc4092d13adb | /ui.R | 8d389de1b0022870f9ee974713be1ea075991d1c | [] | no_license | smagellan/devdataprod-shinyapp | 8ee6433f3039e091f77aa9d1747242b743aabb4d | 043f6d0c581d138e6dd83c52fa646d874b7a1a3a | refs/heads/master | 2016-09-11T01:38:16.481659 | 2015-08-23T20:11:20 | 2015-08-23T20:11:20 | 41,265,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,317 | r | ui.R | library(shiny);
testData <- read.csv('pml-testing.csv', na.strings=c("NA","#DIV/0!", ""));
dataLength <- nrow(testData);
#yep, do not allow all available data
choices <- list("1" = 1, "2" = 2, "3" = 3, "4" = 4, "5" = 5, "6" = 6, "7" = 7, "8" = 8, "9" = 9, "10" = 10);
print(dataLength);
shinyUI(pageWithSidebar(
... |
0c0dea9b33c426545d9423a024d29000a7670326 | 3cf1b8a2b76b76053664644d33174f19a58ab42d | /Exercise_1.r | 931d35668fbcc36e7346615bb5f83cda4163940e | [] | no_license | SL222/data_wrangling_exercise_1 | 0841d98ed05ca732af8e8bed8aef1d50765b4c89 | 8d859e91d3218be398e36e1cc5df3fd9665ec374 | refs/heads/master | 2021-01-25T09:01:06.327857 | 2017-06-08T17:24:34 | 2017-06-08T17:24:34 | 93,772,712 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,061 | r | Exercise_1.r | library(readr)
> refine_original <- read_csv("~/Desktop/refine_original.csv")
library(tidyr)
library(dplyr)
tbl_df(refine_original)
#Clean up brand names (lowercase and mispellings)
refine_original %>%
mutate(company = tolower(company))
refine_original$company[refine_original$company=="Phillips"] <- "philips"
refine... |
45db1ad3ce7bf1b739566fb4a29d41d31d2cc34d | 296ed80a99aad799e80bfdf43dc47f5da261b454 | /graph-algorithms/graph_kruskal_time_plot.R | 498b50a168065d44d6595b8d39e8f33b59622b78 | [
"MIT"
] | permissive | lucaspetry/algorithms-and-data-structures | d7be6510e05d2b84889acc53e5c4b6751094d3a7 | 104d79923f856fde218ad37f285643d42b2379cc | refs/heads/master | 2021-09-17T06:44:42.338698 | 2018-06-28T20:05:59 | 2018-06-28T20:05:59 | 107,608,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 608 | r | graph_kruskal_time_plot.R | library(ggplot2)
library(here)
args <- commandArgs(trailingOnly = TRUE)
if(length(args) < 1) {
print("Please inform the data file!")
quit()
}
inputFile <- paste0(here(), "/", args[1])
data <- read.csv(inputFile, header = TRUE)
plot <- ggplot(data, aes(x = edges, y = time)) +
geom_line() +
geom_poin... |
78af27e8ec4ecdb2b2cdb55211a2b3165b30ed29 | 4848ca8518dc0d2b62c27abf5635952e6c7d7d67 | /R/d_2l.R | ddaa35e0307a6bcfd3a7e4d835076b4185840cd8 | [] | no_license | regenesis90/KHCMinR | ede72486081c87f5e18f5038e6126cb033f9bf67 | 895ca40e4f9953e4fb69407461c9758dc6c02cb4 | refs/heads/master | 2023-06-28T00:29:04.365990 | 2021-07-22T04:44:03 | 2021-07-22T04:44:03 | 369,752,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,041 | r | d_2l.R | #' Average control delay per vehicle in 2-lane Road
#'
#' Average control delay per vehicle on a two-lane road (seconds/vehicle).
#' It follows <Formula 7-8> in KHCM(2013) p.175.
#' @param d_1 Uniform control delay (sec/vehicle)
#' @param d_2 Incremental lag indicative of intentionality and supersaturation. When th... |
9924063010dfad62d5b4b7284190b78634a7c577 | 0c68b6774adcdf6410c14a6d49c0c236fcde0b36 | /R/Data_PTAGIS_Marsh_Chin.R | 78213ccdac7d8816fb35d525bb290ea230165f3a | [] | no_license | KevinSee/MYTSBE | 6a3bcb40600548be564f1822a5680ed44bebcbe3 | 3774ba3ee1c01b176cccd4c3c6d031ab8564e761 | refs/heads/master | 2021-08-31T19:43:58.628490 | 2017-12-22T16:11:02 | 2017-12-22T16:11:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 371 | r | Data_PTAGIS_Marsh_Chin.R | #' @title Example juvenile Chinook PTAGIS data, Marsh Creek, ID, 2005-2015
#'
#' @description This is an example PTAGIS data for Chinook at Marsh Creek,ID, 2005-2015.
#' @name Data_PTAGIS_Marsh_Chin
#' @docType data
#' @usage Data_PTAGIS_Marsh_Chin
#' @format Data is formatted and ready for \code{MYTSBE()}.
#' @keyword... |
1583e25a9707d7cad22469a4912cd0045acaccd1 | 346b182c898c002b9118dfb59a07e248d8311827 | /relationships/scripts/correlation.R | 7d6f5d5caa62c0fb4648980199311f2326e79954 | [] | no_license | kkulbir/30daychartchallenge | 956d4565c3f09a24656b24d3310f9699bb41b0c3 | 4bc0e66f4d7ba5a5614412d8e7a7c392d2ec840f | refs/heads/main | 2023-04-02T21:59:56.788096 | 2021-04-14T03:15:47 | 2021-04-14T03:15:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,704 | r | correlation.R | library(dplyr)
library(ggplot2)
tweets = rio::import(here::here("relationships", "data", "geokaramanis_tweets.xlsx")) %>%
janitor::clean_names()
median_comp = tweets %>%
filter(challenge == "Comparisons") %>%
summarise(median_comp = median(likes)) %>%
pull(median_comp)
median_dist = tweets %>%
filter(chall... |
ea19567dbc7c9084c77f07df87aea0d92c083f9f | 0e8904c009ce9d893bb754b1202d4e8cb4855c63 | /scratch/03_get_paper_metadata.R | c68234f62103f42781b4877a07274e5c15c1db5b | [] | no_license | richpauloo/cig_nlp | 0fa0ae38a5c9005027df97e38d2de5c161d9f96e | ff0dbd151475a6b16d4994623eeac23d12e1a27a | refs/heads/master | 2022-03-23T18:46:29.835678 | 2019-12-29T23:35:29 | 2019-12-29T23:35:29 | 158,959,331 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,436 | r | 03_get_paper_metadata.R | library(pdftools)
library(tokenizers)
library(stringr)
library(tidyr)
library(dplyr)
library(readr)
library(ggplot2)
library(viridis)
library(colormap)
fp <- "C:/Users/rpauloo/Desktop/2019 CItation/Papers/" # PC
# fp <- "/Users/richpauloo/Desktop/2019 CItation/Papers/" # Mac
# paper names
p <- list.files(paste0(fp, "... |
ee69e48d3e29a6116821bb88156826c2b1cae20b | 3e63a021d9f7ee9cd23da2246eacb68572fe3822 | /R/random_tibble.R | 726e1ee47580bae7f05699090f1612e1f7cc7860 | [] | no_license | vegart/R-pkg-clusterd | fc9cdeaff02158bff68469887cbc9aaed9d71058 | 88c1f82554c8de3541887ad28934e478a81de034 | refs/heads/master | 2020-07-18T17:09:20.588981 | 2019-09-10T08:16:57 | 2019-09-10T08:16:57 | 206,279,761 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,733 | r | random_tibble.R | #' @title random.tibble
#' @description ROWS GENERATED FROM UNIFORM,NORMAL,CHI-SQUARE DISTRIBUTION WITH DIFFERING PARAMETERS COMBINED AS SINGLE DATAFRAME.
#' @format A data frame with 52500 rows and 2 variables:
#' \describe{
#' \item{\code{label}}{integer grouping label}
#' \item{\code{rand}}{double value genrated... |
c9d2357b3f2ebecdf8a94366f0b05fb9109da472 | 2c92ce8af3f0b90f8b243b87abd8dc969ddafe29 | /Packages/ETJPackage/man/smrzvectors.Rd | 078529b62b0b5368a74923169c63f8ae5c1eaf61 | [] | no_license | anhnguyendepocen/AdvancedR-1 | aaefb98850761ba783edab008de39d5e8d005a5c | 025456f76eae60d493cbcd27718ecdfbcbd95e71 | refs/heads/master | 2020-05-05T11:04:46.251918 | 2018-03-13T04:25:03 | 2018-03-13T04:25:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 330 | rd | smrzvectors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/practice.R
\name{smrzvectors}
\alias{smrzvectors}
\title{Summarize Numeric vectors}
\usage{
smrzvectors(x)
}
\arguments{
\item{x}{a vector of numbers}
}
\value{
mean, median, and variance of vector
}
\description{
Gives summaries of a set of ... |
799af504b4e72f32a26caecc81283c6fbd6b82cc | a4f2a73b0beec40d3cfd649d6fd96eb6a4d22dd5 | /R/casti.R | f139f7eed9a68e7da45647e5d58967286f4ecb17 | [] | no_license | gzitzlsb-it4i/RCzechia | 84a413f48d6d961220eaa971a09e6d79543292ad | c5c8fc424c669fadc1063f8a31fbd9c068f5d0dc | refs/heads/master | 2023-04-07T18:49:23.398749 | 2021-04-13T21:29:44 | 2021-04-13T21:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 800 | r | casti.R | #' City Parts
#'
#' Function taking no parameters and returning data frame of districts of Prague and other major cities as \code{sf} polygons.
#'
#' Due to package size constraints the data are stored externally (and a working internet connection is required to use the package).
#'
#' The data is current to April 2021... |
4a1021481b3cf9d52b3cb85f6196ae75d488444e | b0773858735860255285bd52fb16b083b920389b | /scu_bindStreamCatST.R | 50e0efb697846a0a4d3612e2dac8d79fd1204219 | [
"MIT"
] | permissive | daauerbach/streamcatUtils | 2baa5432d3e16ac4f2974de8e9ce9d0799a2409f | 125ed7134347d1539f5ec9869a8250b42ac8361f | refs/heads/master | 2021-01-10T13:19:29.525601 | 2016-04-08T18:38:38 | 2016-04-08T18:38:38 | 53,871,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 964 | r | scu_bindStreamCatST.R | #Convenience function to roll up data from multiple states into a single object, removing any duplicate cats/COMIDs
#Default file location is "catdata" directory in working directory
#Peforms a very simple (fixed string) check for match between states to combine and available .rds objects
bindStreamCatST = function(st... |
0445bf912fb10888561d00331b933c57ea6d4324 | 5bbee99774195fcbdf5aabd8c35c958637b91e9c | /man/plotStats.Rd | 0f4fde7314a2f68d8b6945448fb061d992e606fe | [] | no_license | kevinsanft/StochKit2R | 92d5222e69347126d2871458005d77f4366a587f | c3ec6e88675672372ccb35920f667e53e37dcb16 | refs/heads/master | 2020-12-30T12:56:05.411997 | 2018-05-31T12:48:30 | 2018-05-31T12:48:30 | 91,376,075 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,130 | rd | plotStats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotStats.R
\name{plotStats}
\alias{plotStats}
\title{Plot StochKit2R simulation statistics output data}
\usage{
plotStats(data, species = NULL)
}
\arguments{
\item{data}{ensemble output from ssa or tauLeaping (stats object must exist, i.e. e... |
dbf437aa161de38801f9e07ab0af82b1e25d342c | af2308b13b2ef40aa0b9e7097b88bf45163192c5 | /code/clean_data_script.R | ac3551c3c2eb8690260f5b55664934632cdc117d | [] | no_license | Kehui-Zhang/workout3 | 5659b04405af85d2ab7f06be051f1d117db9dc94 | 8a1ca65c9a9c50e5ebed844a0deefdc4596a605b | refs/heads/master | 2020-09-27T19:02:17.043203 | 2019-12-07T23:04:05 | 2019-12-07T23:04:05 | 226,587,055 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 891 | r | clean_data_script.R | ### Construct a data frame for abhijit_banerjee
ab_info_link <- ab %>% html_nodes(xpath ='//*[@id="gsc_a_b"]') %>%
html_nodes(xpath = '//*[@class="gsc_a_tr"]') %>% html_nodes(xpath ='td')
ab_result = sapply(html_children(ab_info_link), html_text)
ab_result = ab_result[ab_result != '*']
ab_citation_df = data.frame... |
6f4e7e77b911fb8fbcaffb1504f87a2ba18ab5bb | 74a16ca69df3fb7aa6c8cb2c9fb75ac65a85be07 | /run_analysis.R | 224b825737afaf15d5e67e57e34bd06f3c989d55 | [] | no_license | apietrelli/Getting-and-Cleaning-Data-assignment | 4002f3e1801db736d332f524774e8611f9633cdc | 7e1654fd43327364eed339971971311d66347e4c | refs/heads/master | 2021-04-26T16:44:34.432687 | 2016-01-30T12:42:10 | 2016-01-30T12:42:10 | 50,719,459 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 242 | r | run_analysis.R | require(knitr)
require(markdown)
# Change this directory
setwd("~/Documents/Coursera_DataScience/3-Getting_cleaning_Data/Getting-and-Cleaning-Data-Assignment")
#
knit("run_analysis.Rmd")
markdownToHTML("run_analysis.md", "run_analysis.html") |
6fef5c0f64f3662b777ec820d15a53fc1e79ca75 | 628dd6d7f44d6c90202509f5f7b756ec1d58a677 | /man/wp.correlation.Rd | 5c5eb80d25b9f823909c84d3eca7a362f6fbf3a3 | [] | no_license | johnnyzhz/WebPower | b87e1182575161ddae784f39f6e81218af2326fd | 43f60e110c3099e9ccc6a9fd0a5609b3c3d34d9d | refs/heads/master | 2023-05-25T05:22:58.281976 | 2023-05-18T12:17:56 | 2023-05-18T12:17:56 | 129,413,446 | 5 | 5 | null | 2023-08-15T21:11:57 | 2018-04-13T14:28:11 | R | UTF-8 | R | false | true | 3,794 | rd | wp.correlation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/webpower.R
\name{wp.correlation}
\alias{wp.correlation}
\title{Statistical Power Analysis for Correlation}
\usage{
wp.correlation(n = NULL, r = NULL, power = NULL, p = 0, rho0 = 0,
alpha = 0.05, alternative = c("two.sided", "less", "greater... |
85a11e64c2aee6976015e6435ba54c52b8a6fa3a | 4ffab2641a17093a10b366ce567dff007175847b | /man/Initializer-class.Rd | 13a7821d960bd3742f35202a6adaa559c0ac1785 | [] | no_license | cdeterman/lazytensor | 02f4da5dd581ee3517c38741476e2cfb439dd22c | 7a4c68fb3e757b82cf4bbef79b6ba1511160ce4b | refs/heads/master | 2021-08-31T20:28:50.954011 | 2017-12-22T19:09:42 | 2017-12-22T19:09:42 | 109,305,353 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 775 | rd | Initializer-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initializers.R
\docType{data}
\name{Initializer}
\alias{Initializer}
\alias{Zeros}
\alias{Ones}
\alias{Constant}
\alias{RandomNormal}
\title{Initializer}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
Initializer
Z... |
80bc00392be7bd056f83ae0e5afbc89f86fe296f | ee3a68ddb5f24a85a0e1f8590b89532df5af957f | /R/plot_specs_shiny.r | 000f1fe32f9f2bab0a89167cb664614b4aa6c7ae | [] | no_license | darcyj/specificity.shiny | 6691a77b0b025b17cacd90febcf3b2c5499a2146 | 8a04d1c5e58d142a8d18f4ebd45a5b8c46298183 | refs/heads/master | 2023-06-30T13:34:57.961999 | 2021-08-06T19:56:17 | 2021-08-06T19:56:17 | 390,855,415 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,020 | r | plot_specs_shiny.r | #' plot_specs_shiny
#'
#' Runs an interactive shiny visualization. Data can be re-downloaded from that
#' visualization, in either "wide" or "long" format. See ?aggregate_specs_list
#' for explanation of those formats.
#'
#' @author John L. Darcy
#'
#' @param sl specs_list. A named list of outputs from phy_or_env_sp... |
9b0747eba5a89928b7eef3927bcefd0c838fe512 | 3306705a8177848618753a1ee485e723bc5cf2d7 | /R major ML/graddescend.R | d246cbe5bdfadac209d85aff91e700d5a98e3e1c | [
"MIT"
] | permissive | lfthwjx/MachineLearningR | 01c510bba0f0232ed70d249e38c4929202ae370f | 3e4dd5e723ee4b72202d398870feb0ff568f8a3d | refs/heads/master | 2021-01-13T12:35:18.047677 | 2016-11-01T21:46:00 | 2016-11-01T21:46:00 | 72,579,399 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,516 | r | graddescend.R | x = seq(-10,10,by=1)
yorg = x^2-25*x-10
y = yorg + runif(length(x),-20,20)
plot(x,y)
lines(x,yorg,col = "blue")
X = matrix(c(x^2,x,rep(1,length(x))),ncol = 3)
Xt = t(X)
solve(Xt%*%X)%*%Xt%*%t(t(y))
a=runif(1,0,1)
b=runif(1,0,1)
c=runif(1,0,1)
#iterative solution
alpha = 1e-5
N=length(x)
for (i in 1:... |
15b7cbea8a6b72f592ab32f40caaed5a13e6926c | 93fef68695ec291350e728b928c608f6cb9e09eb | /NewTCGA_2017scripts/Thesis_final_scripts/Prognostic_lncs_more_detail_paper/final_scripts_2019/revisions_2020/Figure4_run_TCGAbiolinks_individual_plots.R | 3a61f518f8bb96ec9327ba9a31dfdb7a4a8c17f4 | [] | 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 | 14,091 | r | Figure4_run_TCGAbiolinks_individual_plots.R | source("/u/kisaev/lncRNAs_TCGA/NewTCGA_2017scripts/Thesis_final_scripts/Prognostic_lncs_more_detail_paper/final_scripts_2019/revisions_2020/load_data.R")
#------FEATURES-----------------------------------------------------
setwd("/.mounts/labs/reimandlab/private/users/kisaev/Thesis/TCGA_FALL2017_PROCESSED_RNASEQ/lncRN... |
74b310b20e25af023a7a7d3564729f405cf2ff97 | 10e7160c116b33c1c6ef4b919176089cb5177d10 | /R/labelLayer.R | a1ae1bd49be477868a7b2c442873695b5d761036 | [] | no_license | riatelab/cartography | 556008a18a06b024791f7d1b1c7e0e2711b4c6f4 | 188a92e7cdc6e51d82ca8cacd970c7bb426f5d84 | refs/heads/master | 2023-08-06T02:16:00.746142 | 2023-01-18T09:30:27 | 2023-01-18T09:30:27 | 37,248,864 | 353 | 46 | null | 2021-02-16T13:03:24 | 2015-06-11T08:27:11 | R | UTF-8 | R | false | false | 3,140 | r | labelLayer.R |
#' @title Label Layer
#' @description Put labels on a map.
#' @name labelLayer
#' @param x an sf object, a simple feature collection.
#' spdf, df, dfid and spdfid are not used.
#' @param spdf a SpatialPointsDataFrame or a SpatialPolygonsDataFrame; if spdf
#' is a SpatialPolygonsDataFrame texts are plotted on cent... |
fc887d584d9f281c9d113927a7f3adfcd560008b | 2b4d529da8ab3ebcc7c10651a346b99e0d715d69 | /summary_sc2.R | 7a5f71ab494182dfb01fbda6afb4025a8edcf677 | [] | no_license | SHIccc/Regularization_Energy | 37bffa89a78e18a5ff0b537a6197b5c69ac64b33 | 70f3feeaf514213338ae5c226ad5c8ebcf32cf31 | refs/heads/master | 2020-03-15T00:19:21.454755 | 2018-05-11T15:25:46 | 2018-05-11T15:25:46 | 131,865,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,934 | r | summary_sc2.R |
#lag=2
rm(list = ls(all = TRUE))
load(file = "fit2forep2.RData")
SISoutput = fit2.fore.fore
SISoutput$ix%/%(90^2)+1
par(mgp=c(2, 0.5, 0))
plot(SISoutput$fit, main="(I)SIS-SCAD, lag=2")
print(SISoutput$fit)
load(file = "cvfitscad2.RData")
plot(cvfit.scad2, ylim = c(0,1))
#model
ix.SIS = SISoutput$ix
coef.SIS = SISout... |
43c1c936f00506ec238ba2742952abfdb6e513de | 3c0b2e2d45711dc1af20cf58b2b5aaceeaba1369 | /ui.R | 766db9b009a3212a07169bfc383fdc37ae4f3045 | [] | no_license | Sambit78/attrition-master | 53dc419fc8ad1abe5fda190379ea4069f6f8c7f2 | 3e4eac7fab76a08c5ff10ebeef7110bb2091b71a | refs/heads/main | 2023-04-20T20:16:16.971208 | 2021-05-01T04:22:43 | 2021-05-01T04:22:43 | 363,321,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,005 | r | ui.R | ############################################
# Data Professor #
# http://youtube.com/dataprofessor #
# http://github.com/dataprofessor #
# http://facebook.com/dataprofessor #
# https://www.instagram.com/data.professor #
############################################
# Im... |
b98f255a5cf6dd8dcb49dd0d1248506ef805eedb | 375bc6c6ec97d3f7d973aa967c55eec7cbb2b15c | /test/temporary/9.3.R | aa2a2cc5bf30b73c2a61b0872a071ead3054c7cf | [] | no_license | peterwu19881230/Microbial_phenotype_data_mining | de9ce76ad6717d0d95df4d9972b399ddc5ae37dc | 0877af44fd66244f4ff927480acc5f524cb132fb | refs/heads/master | 2020-08-19T11:07:16.888840 | 2019-10-18T01:39:48 | 2019-10-18T01:39:48 | 215,914,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,478 | r | 9.3.R | ###(Updated 9/3/2019) manually correct the fake ECKs made by Nichols (search for gene names in EcoCyc and put back the right ECK)
###====================================================================================================================================================
###The list of 22 fake ECKs (I pulled... |
1a01e1648dc1a8953f4f3780fa263084939037e9 | b63c9bb0d7bdeb75aa8151055920af7b34ced83f | /R/dplyrOracle.R | 2e9cd190cfd0fe812bb907436793cb2510e982d6 | [] | no_license | bernardocaldas/dplyrOracle | 62c3a831cf6b292eb06b8b1fc2961f3f2b26ad62 | 2841cd966810740b07a204d73ffe2ece34f8be3e | refs/heads/master | 2021-01-15T08:08:46.629130 | 2016-03-23T09:24:49 | 2016-03-23T09:24:49 | 54,482,145 | 0 | 1 | null | 2016-03-22T14:33:54 | 2016-03-22T14:33:54 | null | UTF-8 | R | false | false | 146 | r | dplyrOracle.R | #' dplyrOracle: plyr for Oracle
#'
#' @docType package
#' @name dplyrOracle
#' @import dplyr ROracle DBI assertthat
#' @importFrom utils head
NULL |
4f04659112e0035331c212247d6f00c6ad36f30c | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.analytics/man/quicksight_describe_theme_alias.Rd | 3c8ebb2f8dd3ada945d5452de53ff0761574d75a | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 978 | rd | quicksight_describe_theme_alias.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quicksight_operations.R
\name{quicksight_describe_theme_alias}
\alias{quicksight_describe_theme_alias}
\title{Describes the alias for a theme}
\usage{
quicksight_describe_theme_alias(AwsAccountId, ThemeId, AliasName)
}
\arguments{
\item{AwsAc... |
af8a5e785d140ff4582cf50050503680cf444fd8 | 5bb12ef90f32a9713ca1ea3a9b615908393e0a5e | /man/compareSingleCellsAgainstBulk.Rd | c2bcfeca0e4a94b577c457d4a3c51bf3838f1949 | [] | no_license | nukappa/dropbead | f4a0b8ef1b73e30262e938b588c9875a8267d426 | a378177f35b26a9b8e60bfb04364b5389a67ebd7 | refs/heads/master | 2020-12-26T11:15:51.822483 | 2018-02-21T21:00:17 | 2018-02-21T21:00:17 | 67,596,707 | 0 | 0 | null | 2016-09-07T10:25:46 | 2016-09-07T10:25:46 | null | UTF-8 | R | false | true | 1,009 | rd | compareSingleCellsAgainstBulk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DGEMatrix.R
\name{compareSingleCellsAgainstBulk}
\alias{compareSingleCellsAgainstBulk}
\title{Compare gene expression between single cell sample and bulk}
\usage{
compareSingleCellsAgainstBulk(single.cells, bulk.data, method = "pearson",
yl... |
c5577fb8accfaa2d5543728a6a94ecc14c6dc8dc | 718c983e521a231c99185223eb48a797b984c1cf | /server.R | 336237f2a2761dda074d1fc76a040eb846844f57 | [] | no_license | markie1mb/DDP | 55a1fcd7a9e58b08d38197980a7f442257260677 | c1a68525412c6b40456884c9e94773604cbd030a | refs/heads/master | 2021-01-19T12:33:17.897577 | 2017-02-19T13:56:14 | 2017-02-19T13:56:14 | 82,321,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,607 | r | server.R | library(shiny)
## Defining global parameters
moneybag<-510
n<-0
NumberHist<-as.vector(rep(0,37))
names(NumberHist)<-c(0:36)
StatsHist<-data.frame(red=c(0,0),black=c(0,0),odd=c(0,0),even=c(0,0))
RedBlack<-c('red','black','red','black','red','black','red','black','red','black',
'black','red','black','red','... |
6c0df0a1f993084802a779c4ee59a2b09a2fd43a | 2a8c6cf47ec942751a571b011f83ff7cf6a456e5 | /cachematrix.R | ddeed5972ba49637c48925b0862a1e1f6a9bbe2c | [] | no_license | mbalbas/ProgrammingAssignment2 | c73f30b11de5ef75195279c227698ad27cbe64cd | f00fab59dc423b0ff1aabab50ff00c33e9a8f0d0 | refs/heads/master | 2021-01-18T18:49:05.807872 | 2015-02-22T22:14:31 | 2015-02-22T22:14:31 | 31,181,922 | 0 | 0 | null | 2015-02-22T21:40:07 | 2015-02-22T21:40:06 | null | UTF-8 | R | false | false | 1,832 | r | cachematrix.R | ## Two functions are used to compute the inverse of a matrix, checking first whether
## it was already computed and if so taking its cache saved value
#makeCacheMatrix sets and gets the value of a matrix x and its inverse
makeCacheMatrix <- function(x = numeric()) {
#i, the inverse of x, is initially set to NULL
... |
d132cce1b9919c22176e10c8c49f3f075dd22b49 | 294028e16f3ba67b628d6ff56ef9cf1c0907fbf1 | /R/softstop.R | 3d6d41c0edbdf5d8f0e6ea355e50c4f412a66683 | [] | no_license | spenceredwin/boxit | f05c05717f3929ecbdc435493ba57faabae581db | ecbbba877d27819acd2f2748344438f06a09273f | refs/heads/master | 2020-07-28T22:27:54.842006 | 2019-09-24T19:17:03 | 2019-09-24T19:17:03 | 209,560,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 661 | r | softstop.R | #' Stop a Script
#'
#' A helper function that temporarily sets options(error = NULL) to stop the script without calling error handling
#'
#' @param message An error message to print when the script is stopped. Default is NULL.
#' @keywords internal
#' @export
#' @examples
#' softstop(message = "User stopped sc... |
e561dfed652bc669f4d2926391a58236affa9919 | 74319646bc48cefbba33d77c933dc4e0695b4bdd | /run_analysis.R | 1188967ab16e911e13f504c1a1869189eca988bf | [] | no_license | gyozonagy/getting-and-cleaning-wearable-computing-data- | 0b8620b1a89b53a81770ec82821b009d55df9e82 | b30c45fbce7c518b2a901b5c5cabf12ea8215d94 | refs/heads/master | 2021-01-01T18:22:31.322196 | 2014-10-26T21:24:42 | 2014-10-26T21:24:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,775 | r | run_analysis.R |
setwd("C:/courseproject")
test_subj <- read.table("test/subject_test.txt")
#test_X <- read.table("test/X_test.txt")
test_y <- read.table("test/y_test.txt")
train_subj <- read.table("train/subject_train.txt")
#train_X <- read.table("train/X_train.txt")
train_y <- read.table("train/y_train.txt")
acti_labels <- read.t... |
71dd5e9ef5e1fed90fb8738588a0f3812f2a311f | c9cbbed37a77aaaeb36a8107265ee500bbfc2640 | /pollutantmean.R | 5bfe637ffebc758d14a985e2172ba927379125ea | [] | no_license | smandalapu/datasciencecoursera | d6ac95bfa52059b0af35b48ae8ecaa8e33a5658b | 80c128f2bf7fc25cf465d637bf2b7c898db1c032 | refs/heads/master | 2016-09-06T01:07:14.752567 | 2014-10-21T03:04:32 | 2014-10-21T03:04:32 | 25,125,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | pollutantmean.R | pollutantmean<-function(directory,pollutant,id=1:332) {
dir<-character(1)
pol<-character(1)
dir<-paste(directory)
pol<-paste(pollutant)
files=paste(directory,"/",formatC(id,width=3,flag="0"),".csv",sep="")
# print(files)
data<-lapply(files,function(x) read.csv(x))
data_rbind <- do.call("rbind", data)
# ... |
28b3f258046743a09ea114d03c279ec9191d5f70 | fd91fd81027df91f03e29138b26e2a1b6e31e054 | /man/inapplicable.phyData.Rd | 64ad12df673a0145be3568e1409f368115b9c4da | [] | no_license | gitter-badger/TreeSearch | 77fa06b36d691f942c8ef578f35f3e005cc2f13e | 5a95195211d980baa6db29260bf929a12c5bf707 | refs/heads/master | 2022-04-20T07:40:33.050434 | 2020-04-16T13:47:57 | 2020-04-16T13:47:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 8,321 | rd | inapplicable.phyData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{inapplicable.phyData}
\alias{inapplicable.phyData}
\title{Thirty Datasets with Inapplicable data}
\format{An object of class \code{list} of length 30.}
\source{
{
\describe{
\item{Agnarsson2004}{AGNARSSON, I. 2004.... |
405f8db96b4c0f822edfd7f0b4491536db7f5368 | 26f1cb213312ad204072dadd6b1163bcc0fa1bba | /exemples/chap6/6.10.R | 01d4173d2bd89fe4334678e8ed566b91de587495 | [] | no_license | fmigone/livreR | a9b6f61a0aab902fb3b07fc49ea7dd642b65bdc3 | 998df678da1559ee03438c439335db796a416f2f | refs/heads/master | 2020-04-22T05:47:14.083087 | 2018-05-01T14:39:10 | 2018-05-01T14:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,843 | r | 6.10.R | library(reshape2) # transposition
library(tidyr) # autres fonctions de transposition
library(dplyr) # gestion simplifiée des données
library(tibble) # affichage des ddnnées
# éclatement de la colonne amenities en plusieurs
# séparateur : pipe |, à noter \\| ici (expression régulière)
# création de variables am1... |
57df69bee2451c2364a1e87a8d2b517e6aaf74ed | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pointdexter/examples/cps_sy1819.Rd.R | 19d479ae9866aa3a87cbfa00c301fa739bab51c1 | [] | 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 | 266 | r | cps_sy1819.Rd.R | library(pointdexter)
### Name: cps_sy1819
### Title: Chicago Public Schools (CPS) - School Profile Information,
### School Year (SY) 2018-2019
### Aliases: cps_sy1819
### Keywords: datasets
### ** Examples
# load the necessary data -----
data("cps_sy1819")
|
eaf4ffa0284fa0c03598c013e7bb495a42941710 | 97d42d0116a38692851fbc42deac5475c761229d | /Code/Table Code/SF - OS/Item 166.R | 8e11958ea714f6056fca456d810446cbbf9a0c31 | [] | no_license | casey-stevens/Cadmus-6000-2017 | f4632518088de34541b0c6c130b3dd021f0809d1 | ab4450e77885a9723dba6bc3890112dec8c7328f | refs/heads/master | 2021-01-25T06:17:59.728730 | 2018-09-27T20:35:42 | 2018-09-27T20:35:42 | 93,548,804 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,881 | r | Item 166.R | #############################################################################################
## Title: RBSA Analysis
## Author: Casey Stevens, Cadmus Group
## Created: 06/13/2017
## Updated:
## Billing ... |
e6f7d09f904291288a939c665641159c1bb8847d | cb04524789baf79c09efa67f6874290a30df7a1a | /man/toGregorian.Rd | f1b1e15d89906f06acc51b3370af118606bf3b77 | [
"Apache-2.0"
] | permissive | d-callan/ethiopianDate | 7b117dced41f989ea2a41b5057a7a0ce799c0118 | 22c997debf3ed52ac1871c2ab620f15e8c8ee814 | refs/heads/master | 2023-07-15T03:45:36.795608 | 2021-08-23T19:26:25 | 2021-08-23T19:26:25 | 398,299,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 451 | rd | toGregorian.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert.R
\name{toGregorian}
\alias{toGregorian}
\title{Convert Ethiopian Date to Gregorian Calendar}
\usage{
toGregorian(ethiopianDate)
}
\arguments{
\item{ethiopianDate}{Date or character representing a date in the Ethiopian calendar}
}
\va... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.