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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dec6634a3692c9babd14fecbca8c786224954a86 | 65e3d7ce7ffd653b629f9cd82b2b926407d4cc61 | /Secret.R | 2e5fad31b340fa07a1daa46cd7a2b735df9b1525 | [] | no_license | so13839/cse | 97b5d45c3550a8a02dc4cc12a03a1c9de61de5c7 | ec91d251445df96e31b4c1615422c9eafb8d21c2 | refs/heads/master | 2020-03-27T04:47:00.180583 | 2019-06-19T17:28:29 | 2019-06-19T17:28:29 | 145,967,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 207 | r | Secret.R |
rsconnect::setAccountInfo(name='use-ab', token='FDBC1A84297F77EE1C1228708AB56031', secret='P6O+0o16WOGG5dFbfJCQ0hlJGan7Ke3RLM8dIFxg')
library(rsconnect)
rsconnect::deployApp('/Desktop_2019/CoverApp/Shiny')
|
2487bafa127807e5bd165e5d96cce6d27e6126a1 | 459199610ff49bd7bfe0cb0fe9d9b12cce9fc031 | /R/leaflet_transform.R | 08c01533fde94667f27da35f72fea57833e35c3c | [] | no_license | sitscholl/Rgadgets | 4e8e5c493adbc045264bb35db5b8fefcd4530231 | b142de2c996f3c0773951e43813c8cf0713bf77d | refs/heads/master | 2023-03-10T11:08:12.905825 | 2021-02-18T10:50:44 | 2021-02-18T10:50:44 | 275,093,346 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 739 | r | leaflet_transform.R | #' Transforming the spatial reference of sp or sf objects to be plotted via leaflet. Transforms the
#' spatial reference to the WGS84 projection (epsg:4326).
#'
#' @param object Sp or sf object
#' @keywords leflet, transform, spatial reference
#' @export
#' @examples
#'
#' points <- leaflet_transform(station_shp)
rg_... |
3922cdc8f5a29de63dea02f70335293a09ad1514 | ae761c20e7a3fbdc7024d0d8291b9219bb93e82c | /code/cross-val-icom/nimble-code/icom-NEON.R | 8fe8760e076d81122731bc20d1ebcf3f7c7d7bd6 | [] | no_license | zipkinlab/Doser_etal_2022_MEE | 79bbeb80ed5d8e07920097d258297cec56636569 | 50ad96121c94f16ddcf4d3b6aa8272f9cddf95d0 | refs/heads/main | 2023-04-12T10:49:28.223695 | 2022-03-01T13:29:54 | 2022-03-01T13:29:54 | 403,090,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,390 | r | icom-NEON.R | # icom-NEON.R: BUGS code to run community model in NIMBLE using only data
# from NEON for the foliage-gleaning bird case study. No Bayesian
# p-value included, which speeds things up.
# Author: Jeffrey W. Doser (doserjef@msu.edu)
# Citation:
require(nimble)
icom.code <- nimbleCode({
# Prio... |
df78a71a9363fa7779c82a8873a4cd92bdf1dd03 | a59037eafb2df330b546bdaba8c86e50e76773e7 | /script/data-reformat.R | fabf6d44140c911b0e600e4806a7246da220fcdd | [] | no_license | elvintam/capstone | 157f2647945c02aa130368517044f2b152b2a2cd | 55fe5d3ae5bd4323edee8c86b978db14c63cf31c | refs/heads/main | 2023-03-23T06:15:45.740447 | 2021-03-16T12:54:26 | 2021-03-16T12:54:26 | 334,059,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,717 | r | data-reformat.R | library(tidyverse)
library(caret)
library(data.table)
library(lubridate)
head(edx)
temp <- edx
temp <- temp %>% separate(title, into = c("title", "year"), sep = "\\s\\((?=[0-9]{4}\\))", remove = TRUE) %>%
mutate(year = as.numeric(str_sub(year, 1, 4))) %>%
mutate(genrescount = str_count(genres, pattern = "\\|") ... |
03d6669a1c5106dcd368706df37085834ca75835 | dd04ff3ae3f86c3d93bebaab90501079e8bb4b09 | /code/01-qPCR-Disease-Signs.R | ca0d4d5e72059f6a3a9770f4c66fffae26b0856b | [] | no_license | eimd-2019/project-EWD-transcriptomics | 361aad29945af6e31ad840d15a7535f42d31604d | d853096e1b7390e3ed4d26ad768328af49039040 | refs/heads/master | 2023-04-08T15:42:35.706595 | 2023-04-05T20:49:27 | 2023-04-05T20:49:27 | 195,850,862 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,683 | r | 01-qPCR-Disease-Signs.R | rm(list =ls())
library(ggplot2)
library (ordinal)
library(glmm)
library(lme4)
library(lmerTest)
library(optimx)
library(plyr)
require(mdthemes)
require(readr)
require(gridExtra)
#upload data
#setwd("output/01-Lz/")
Adult36 <- read.delim("../../data/36hourAdult.txt")
Adult36$Temp<-ifelse(Adult36$Temp=='Cold', '11 °C'... |
99d5571f05bde0712890bde272ef42479232796b | aa9a926bf3878f5092e25b4873b9adba2b5c85a8 | /man/check_continue.Rd | 8ec08cfe2722daac798febc2103d938d3d6b2245 | [
"MIT"
] | permissive | PhHermann/LDJump | cb235bf30f10f03a6e6676d45fc462f71fd8b666 | 5925182f4ba01ce1e1017ed45f12c41c9f6e3bf9 | refs/heads/master | 2021-06-07T02:53:37.435729 | 2019-11-13T07:48:21 | 2019-11-13T07:48:21 | 96,107,564 | 42 | 9 | MIT | 2020-06-10T06:39:27 | 2017-07-03T12:17:42 | R | UTF-8 | R | false | false | 3,478 | rd | check_continue.Rd | \name{check_continue}
\alias{check_continue}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Checks whether there are SNPs in each segment
%% ~~function to do ... ~~
}
\description{This function calculates the number of SNPs per segment. In case that there exist segments with less than 2 SN... |
95669c0d35f5724e6a52e589b5561c3c7c580937 | a2ff13bc6a059a2af876a4384cd0e247b8ac4a4a | /R/.old/magicHME-1.0.R | eb6fe6057846a7fb0c4a08fab3fba0d1a790b57d | [] | no_license | mkearney/foley | 7c876f213e7f717a276684d0e20b1f8898e7f35e | 0637d123cd0d742f8c2ff5a672f5c70e5678be1d | refs/heads/master | 2021-06-22T13:08:36.658697 | 2017-08-14T16:31:21 | 2017-08-14T16:31:21 | 100,272,265 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,795 | r | magicHME-1.0.R | #NOTE: I ended up getting all of this to work (and the scale worked!) but I get the
#feeling that I'm not writing this code very efficiently or that I'm not thinking through
#my syntax by asking myself the right questions.
#Basically, the scenario is that I'm creaing my conspiracy belief scale from 4 variables
#i... |
3ccdb06569728ff7e6de4e14e813251058bf8dae | 5f79236e635f929078172ff639cf81ed13acc673 | /Random Rule Application/RandomDerivation.R | 7be1f064567cfde70972eb4dff906043faeb20cf | [] | no_license | fernando-demingo/ACORD-Algorithm | d474faa77b7fb10032467132a4cf42569d9100af | 6c48bf1d56b7695b89681bda38b78022b57c0917 | refs/heads/master | 2021-09-09T21:40:08.385440 | 2018-03-19T21:10:40 | 2018-03-19T21:10:40 | 111,556,984 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 902 | r | RandomDerivation.R | source("Utils.R")
procressGrammarRandom <- function(input_file, max_iter) {
g <- ReadBNFFile(input_file)
expression <- (g[[1]][1])
expression_list <- list(paste(unlist(expression), collapse=" "))
rules_applications <- 0
solution <- FALSE
derivation_list <- list()
repeat {
resultado <- iterate_r... |
7c5469e90e2cfd16501dbee6afe9b19eae27b7a3 | a01f85f8d00b70cf19556d2d151c469163d6f80e | /final_project/demo_code/fmri_example.R | a943b8a1afeed18b75b746f754989956c70d9425 | [] | no_license | bstavel/stats_for_drew | 2630517316cba42cb190f3e16dad86c3d47d91da | 38291b6b805f346dcf97790953db12911635c64a | refs/heads/master | 2020-08-25T07:56:25.398978 | 2019-12-23T03:34:40 | 2019-12-23T03:34:40 | 216,985,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 858 | r | fmri_example.R | # This file loads and looks at some of the data sets for the
# STAT215A Fall 2015 final project.
library(corrplot)
library(ggplot2)
library(reshape2)
source('utils.R')
# Load the data.
load("fMRIdata.RData")
ls()
# Read in a raw image.
img1 <- ReadImage(1)
image(img1, col=gray((1:500) / 501))
# Load in a raw basis f... |
1132fb7c43401f96ec53e81f8b3cbc03b090e50a | 25b886acf82912f9ccf84696d6e24751cc36483a | /man/Coaxial.Rd | f514eada87de4efaba24e97b9b52dd43c0da0383 | [] | no_license | lelou6666/BSDA | c5169408437227ca476b6988192ec160099b2501 | 6004a35f908cd24367dfce21fb4949a5c8440e27 | refs/heads/master | 2020-12-11T08:14:51.673318 | 2016-04-01T22:00:08 | 2016-04-01T22:00:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 717 | rd | Coaxial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BSDA-package.R
\docType{data}
\name{Coaxial}
\alias{Coaxial}
\title{Signal loss from three types of coxial cable}
\format{A data frame with 45 observations on the following 5 variables.
\describe{
\item{Type.A}{a numeric vector}
\item{Type.... |
eff367dcbc74822a10da3d2e4c16a96a1f0f3667 | 89dda583b56ec4a176228320b6c878180452d7e1 | /lin_clf/lin_clf.R | b1dbc1a7ffa02d59ca5109f6c729d108f18faf65 | [] | no_license | Unuseptiy/SMPR | 687dedf7a20ca8fa0def6bca07508d9347fef97a | 6d71b0a23b842978ff8cd5709850f370cbd35010 | refs/heads/master | 2023-02-01T23:40:22.909031 | 2020-12-18T08:06:45 | 2020-12-18T08:06:45 | 296,440,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,367 | r | lin_clf.R | # все, что тут используется как АДАЛАЙН переделать на СГД
# еще надо будет добавить передачу градиента, чтобы убрать реализацию через флаги
SGD <- function (feature_matrix, labels, L, flag, eps) {
l <- dim(feature_matrix)[1]
n <- dim(feature_matrix)[2]
#Q_arr <- vector()
#вектор весов
w <- rep(0, n)
# вспо... |
6ece64a34a653dbba6ced7f99a3039073b677cad | f05b833009df583e821f72d2d6f9875650256106 | /scripts/genome_wide_correlation.R | d25bd934f2a096d0c7a506132262c079365825e8 | [] | no_license | Bongomountainthesis/ESC_RESTKO_xpn_ac | 69c5969f5d56b1e0de092f9a3fa5ff36594c5859 | a3c78ec95a08530ca8d3cf44532c57d9fe793834 | refs/heads/master | 2020-05-07T19:01:51.788274 | 2012-09-18T10:20:08 | 2012-09-18T10:20:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 68,862 | r | genome_wide_correlation.R | options(stringsAsFactors=FALSE)
library(IRanges)
library(ShortRead)
library(Rsamtools)
library(ChIPpeakAnno)
library(RColorBrewer)
#library(GenomeGraphs)
library(biomaRt)
library(gplots)
##pull in BAM files
d0_rest <- "/mnt/data/REST_CtrlES_D0.clean_sorted_nodups.bam"
d4_rest <- "/mnt/data/REST_CtrlES_D4.clean_sorte... |
595f21159e440b6c23b574067d0b89167a2ef755 | d0b69806a6afd6c4086ca66d92dc2206273d055a | /example/test.R | 18bf590eadb24e18993b18ef33ce1094383cd993 | [] | no_license | zdn123/garch | 1afd0db48e86ffad43dca2ad2ffa4849ee9d9264 | 44a09e03327713391713b0dd8fb2e96edeacd7be | refs/heads/master | 2021-01-17T22:22:41.312325 | 2017-03-07T10:59:14 | 2017-03-07T10:59:14 | 84,195,459 | 0 | 1 | null | 2017-03-07T12:15:22 | 2017-03-07T12:15:22 | null | GB18030 | R | false | false | 1,315 | r | test.R | #加载库
library(TSA)
library(rjson)
#数据载入
json_data<-fromJSON(paste(readLines('D:/R-Data/SpotData/c4.4xlarge-spotprice_linux-unix_us-east-1e.json'), collapse=''))
#预处理
source("D:/workspace/garch/test/timeseriesanalysis/ParseSpotScript.R")
base<-100
learnstep<-360
prestep<-30
temp<-f[base:(base+learnstep)]
prepart<-f[(bas... |
9b0deb4131a9df75a2facea67e7d1dd32f7d70af | 13f0b3f37544339d5821b2a416a9b31a53f674b1 | /R/eyer-constants.R | 236cadd3ad3a5d064f10917119b64f2a53e834f4 | [
"MIT"
] | permissive | hejtmy/eyer | 1f8a90fd7a8af0a4c4c73790633589dc624edda2 | 0b49566c76ab659184d62e1cdd658b45b0d33247 | refs/heads/master | 2020-04-24T11:17:25.414641 | 2019-09-17T22:44:52 | 2019-09-17T22:44:52 | 171,920,561 | 0 | 0 | MIT | 2019-09-10T21:54:40 | 2019-02-21T18:08:07 | R | UTF-8 | R | false | false | 120 | r | eyer-constants.R | EYE_POSITION_DATA_FIELDS <- c("gaze", "fixations")
ALL_DATA_FIELDS <- c(EYE_POSITION_DATA_FIELDS, "events", "diameter")
|
4a412f8cb78d270f1d0fd259bd3f4b7263356649 | 590142f535831def89b5b2d0f6ac1d47b8306850 | /tests/testthat/single_numeric_few_distinct/setup_data.R | 6a222ee1d075a06228657b5ea7c389f52ff4fd93 | [] | no_license | jfontestad/makeParallel | 2b62704c9e26477bc89d505de313ea07aaebdcca | 6e43f34f51a23692907ec1563d3d47a8e189d7bf | refs/heads/master | 2023-01-13T03:27:16.260825 | 2020-11-17T16:41:04 | 2020-11-17T16:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 327 | r | setup_data.R | # Set up some toy data
n = 100
nDistinct = 10L
set.seed(3890)
vals = rnorm(nDistinct)
saveRDS(sample(vals, size = n, replace = TRUE), "small1.rds", compress = FALSE)
saveRDS(sample(vals, size = n, replace = TRUE), "small2.rds", compress = FALSE)
saveRDS(sample(vals, size = 2 *n, replace = TRUE), "big.rds", compress = ... |
9fda32c696e2d00505d2256a18bf8050376ebf3a | e9449c042d50f61ffe72bbc94f19d8173487d090 | /R/catTrajectory.R | 46f0db950222ccbaf8444cfcd175ceef88b5ee4d | [] | no_license | bilintoh/TomTrajectories | 227832b0ce370cabeff573b2b9d38febd394213d | 627d583bc52a0dda982d4414f57ecdeab839eb16 | refs/heads/main | 2023-08-25T17:19:52.128907 | 2021-11-11T23:26:27 | 2021-11-11T23:26:27 | 427,078,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,613 | r | catTrajectory.R | #' Title
#'
#' @param dfRaster
#' @param noData
#' @param category
#'
#' @return
#' @export
#'
#' @examples
catTrajectory <- function(dfRaster,noData = 0, category) {
# Filter pixel locations with values == 0, which is NA
pixelColumns <- length(dfRaster[1,])
dfRaster[,3:pixelColumns][dfRaster[,3:pixelColumns] == ... |
0a1a1af2cae077b18a180703f983230a11e6fb9c | dd6e3af0a23d2f4700beab08c1b998f1f2703404 | /Lab 4/Lab 4.R | 56f15dc7541fc185066b0c121ed159881b6c60c5 | [] | no_license | wesleywchang/STAT-100B | 0b949bed19fe9bb4085f2d43021d6538dbe6cb57 | 730ee8bced0a754160117d0fcf099a7824845cf9 | refs/heads/master | 2022-12-24T05:32:27.997050 | 2020-08-28T10:30:09 | 2020-08-28T10:30:09 | 287,695,239 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 984 | r | Lab 4.R | # STAT 100B Lab 4
# ANOVA
# InsectSprays data in R gives the counts of insects in agricultural
# experimental units treated with six different insecticides
# we can use this data to examine the relative effectiveness of the different insecticides
# if the insecticide is effective, we would expect to see relativ... |
ce935ad770175e8c353dd2e04ec4816810a4808b | d3d685639cac59c9a41649af2735b2cf57cad7c9 | /man/listAvailableFeatureSets.Rd | 6853c6eb24d0441abb062868b3b57d8501579ca6 | [] | no_license | belkhir-nacim/flacco | cbcb042f507aeed5509caf59e6a2f8e45cf866a8 | 77ce443ed007c5c334b717caeb8bc8a0c65c8264 | refs/heads/master | 2021-01-24T00:15:47.805980 | 2018-05-20T00:22:55 | 2018-05-20T00:22:55 | 43,465,197 | 0 | 0 | null | 2015-09-30T23:16:59 | 2015-09-30T23:16:58 | null | UTF-8 | R | false | false | 1,155 | rd | listAvailableFeatureSets.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/listAvailableFeatures.R
\name{listAvailableFeatureSets}
\alias{listAvailableFeatureSets}
\title{List Available Feature Sets}
\usage{
listAvailableFeatureSets(subset, allow.cellmapping, allow.additional_costs,
blacklist)
}
\arguments... |
913ecda766256df13d36a22c43eb3ae8bb8bcc9d | 7557ea2f26cc5894106aed39a65adf8b4a1d47fe | /R/FFS3_runscript.R | fe2c1c14362983b66c9f4ab142ea82fd136f9ee0 | [] | no_license | SchoenbergA/AOA-Impact | c3e3f1c34784522eaef31993d19a3764062baabe | 20cb6acf7313b6a30afe57e6b434579abd4d88e3 | refs/heads/master | 2023-03-28T03:13:07.925381 | 2021-03-31T15:21:02 | 2021-03-31T15:21:02 | 348,056,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,886 | r | FFS3_runscript.R | ### Classification and AOA Testing
# setup set working directory
getwd()
path <-"C:/Envimaster/AOA-Impact" # set drive letter for stick
setwd(path)
# load libs
require(raster)
require(caret)
require(CAST)
require(doParallel)
require(rgeos)
# required for visualization
require(viridis)
require(png)
require(latticeEx... |
9e58fbd3675db840c758a22877d609e525c1afa0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DEploid/examples/extractCoverageFromTxt.Rd.R | a236a09013c7f96487850ef7d86ec45db6d2125a | [] | 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 | 362 | r | extractCoverageFromTxt.Rd.R | library(DEploid)
### Name: extractCoverageFromTxt
### Title: Extract read counts from plain text file
### Aliases: extractCoverageFromTxt
### ** Examples
refFile = system.file("extdata", "PG0390-C.test.ref", package = "DEploid")
altFile = system.file("extdata", "PG0390-C.test.alt", package = "DEploid")
PG0390 = ext... |
26555114a0f5b72f621ecc75daf7589eb32ae530 | 91a58b6ace41068b4537d489961b2bf31cbb9606 | /examples/lsm_grid_statistic_example.R | 25686aabb6973e4e0b12465cefda205230399fe6 | [] | no_license | mauriciovancine/lsmetrics | c965c2be2138c417259c9b225f3b6983aedfafb4 | c2a2fdb41713e41435d093124c2de67ae724e666 | refs/heads/main | 2023-08-31T03:50:17.747399 | 2023-08-26T03:23:20 | 2023-08-26T03:23:20 | 646,293,095 | 7 | 1 | null | 2023-06-12T02:17:44 | 2023-05-27T23:04:20 | R | UTF-8 | R | false | false | 2,135 | r | lsm_grid_statistic_example.R | library(lsmetrics)
library(terra)
# read habitat data
f <- system.file("raster/toy_landscape_habitat.tif", package = "lsmetrics")
r <- terra::rast(f)
# plot
plot(r, legend = FALSE, axes = FALSE, main = "Binary habitat")
plot(as.polygons(r, dissolve = FALSE), lwd = .1, add = TRUE)
plot(as.polygons(r), add = TRUE)
text... |
defa5625fbc62337976aca5437223835c55f6821 | 20eb548b689f85ce0d88ee44ad6f1575999bf158 | /twinkle/man/starforecast-methods.Rd | 198ebf2f5a03a2af1a151a89e40b30d7a8ba46ce | [] | no_license | andbucci/twinkle | ea125d2f8d93a5a0a9836e96c046333904fdcaa7 | 615b8490bd3a6832bf747b7a9a39a2ba6b030e21 | refs/heads/master | 2020-04-13T11:52:42.870226 | 2018-12-26T14:07:42 | 2018-12-26T14:07:42 | 163,186,316 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,830 | rd | starforecast-methods.Rd | \name{starforecast-methods}
\docType{methods}
\alias{starforecast}
\alias{starforecast-methods}
\alias{starforecast,ANY-method}
\alias{starforecast,STARfit-method}
\alias{starforecast,STARspec-method}
\title{function: Univariate STAR Forecasting}
\description{
Method for forecasting from a STAR models.
}
\us... |
90e90e2099597793719b49fc89d07cf866260815 | da916f1ff93ed20ac43397b5f8b2f7d238bb821c | /man/e0.DLcurve.plot.Rd | 783a98c6dc5a0d91bb0982f5fc6e21749d0ff9a4 | [] | no_license | raquelrguima/bayesLife | 8572e4749f6e27ab5cf9d747746382e3c921fea9 | 8e1787fae8739a90eaf76aa8b6dd3352fb0a1756 | refs/heads/master | 2020-03-24T22:19:19.362694 | 2017-10-14T06:07:47 | 2017-10-14T06:07:47 | 143,079,065 | 1 | 0 | null | 2018-07-31T23:10:42 | 2018-07-31T23:10:42 | null | UTF-8 | R | false | false | 5,133 | rd | e0.DLcurve.plot.Rd | \name{e0.DLcurve.plot}
\alias{e0.DLcurve.plot}
\alias{e0.DLcurve.plot.all}
\alias{e0.world.dlcurves}
\alias{e0.country.dlcurves}
\alias{e0.parDL.plot}
\title{
Plotting Posterior Distribution of the Double Logistic Function of Life Expectancy
}
\description{
The functions plot the posterior distribution of the double ... |
5cdac3189d1dc61a9a1b6c1d32e2aef162f0e064 | a51f14302c8e4a2a0a48dc636d035c4e6669f686 | /man/colplotLikeExcel.Rd | 7829a5be3a66db4156416b5a115cc272c1c7deaa | [] | no_license | holgerman/toolboxH | b135c6033c015ac0c4906392f613945f1d2763ad | fb8a98ee4629dc5fef14b88f2272d559d5d40f30 | refs/heads/master | 2022-07-07T22:26:39.857012 | 2022-06-23T14:56:23 | 2022-06-23T14:56:23 | 100,366,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,246 | rd | colplotLikeExcel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colplotLikeExcel.R
\name{colplotLikeExcel}
\alias{colplotLikeExcel}
\title{FUNCTION_TITLE}
\usage{
colplotLikeExcel(
plotdat,
mycolors = c("dodgerblue2", "white", "red"),
lowest_colorval = "minimum",
middle_colorval = "median",
high... |
cf0db20336033374a5da66d597a9f2ec0cf95654 | 5feca36689ab072f63447022f577c0b5dcdcd214 | /R/tz_codes.R | 8dd66685ca14017c80c2d824cf0296224c36f60b | [
"CC0-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | iembry-USGS/ie2miscdata | dfc205ab712ff2b6adf1249fde4477104f9d6b20 | 142bffa6f678eb8d7cadc59669e8429d45da19c9 | refs/heads/master | 2021-01-21T04:35:30.514811 | 2016-07-16T06:55:22 | 2016-07-16T06:55:22 | 49,751,904 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 761 | r | tz_codes.R | #' Timezone (tz) codes
#'
#' A table containing the worldwide timezones and UTC offsets.
#'
#'
#'
#' @format A data.table data frame with 54 rows and 7 variables:
#' \describe{
#' \item{Tz Cd}{Timezone Code}
#' \item{Tz Nm}{Timezone Name}
#' \item{Tz Ds}{Timezone Location}
#' \item{Tz Utc Offset Tm}{Timezone UTC Offset... |
cc519e5b5fb59a7113c88467ab04f36bdeb3a0c6 | 76ff01977e7c670992ee2d31e1cc4bdb6ee8c9a4 | /projects/PAUP_lab/simulatingData.R | 74360efb7f4025085386696de1c92b1a7062281d | [
"CC-BY-4.0"
] | permissive | uyedaj/macrophy_course | 7555d206a0015d08402800429d371f4f9e02c317 | 6f9b8f39ae677d88ffbbc911b8491afcb063fcc9 | refs/heads/master | 2022-11-04T10:44:24.188048 | 2022-09-29T14:05:29 | 2022-09-29T14:05:29 | 146,303,663 | 3 | 15 | null | 2018-10-30T18:17:03 | 2018-08-27T13:46:38 | HTML | UTF-8 | R | false | false | 1,011 | r | simulatingData.R | ## Creating datasets for phylogenetic analysis in macrophy lab
## These are the answers for the lab exercise.
tree <- read.nexus("bears.tre")
plot(tree)
tree_sl <- tree
tree_sl$edge.length <- tree$edge.length/100
tree_sl$edge.length <- tree_sl$edge.length + 0.01
write.tree(tree_sl, file="bears.nwk")
system("seq-gen -... |
ee73487a94ce118b10d26ce3aae5cb8437c1ae70 | 29d97c13269fbd0543f44a68e1eee165d3c1c618 | /helper/DBSC/DBSCHelper.R | 849e2c3e3c35fa041150d6c638818d335ec78da4 | [] | no_license | roth-mh/occ-cluster | 22b6bb9a08fd084e0269d7389bdcb28abc2bda75 | 8365424fc6c845ca9f35fbd1e955ca25b074f62e | refs/heads/main | 2023-08-24T17:14:44.466616 | 2021-10-21T19:21:30 | 2021-10-21T19:21:30 | 322,646,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,729 | r | DBSCHelper.R | # DBSC.Helper.R
library(rgeos)
library(sp)
library(sqldf)
library(RTriangle)
library(igraph)
library(tcR)
# extracts and formats vertex points
formatVert <- function(WETA_df, covObj){
v_pts <- subset(WETA_df, select = c("latitude", "longitude", "checklist_id", covObj$siteCovs))
v_pts_df <- as.data.frame(v_pts)
... |
b5e9cdfb95ea1f4100e73dd365a5d9cf3f768aee | f03e91dffb3ebfbfc9dc611e91e07ff0d8f774e4 | /buildMapper.R | 210f7f5a9a307b90904789409dabe66d74badd06 | [] | no_license | rmoag/Mapper-Imputation | 1aedb2f94662735df4478d77335c92596b07e87a | bbba514e9e3dac249140be4d75ff131723596b26 | refs/heads/master | 2020-07-21T09:56:37.536992 | 2019-09-06T15:56:02 | 2019-09-06T15:56:02 | 206,824,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,276 | r | buildMapper.R | buildMapper = function(completeData,catVars = FALSE){
if(catVars){
distanceValues = as.matrix(daisy(completeData,metric = "gower"))
}else{
distanceValues = as.matrix(daisy(completeData,metric = "euclidean"))
}
filterValues = numeric(dim(completeData)[1])
points_in_vertex = list()
for(i in ... |
6716ba174d026057b6872f05d5ea3fde3a141f2d | d75069e9cafc74c591662c148c4571563480da46 | /onlineapi/R/onLoad.R | 2336124f302954155c42081656b9f0c606b7901f | [] | no_license | snakecy/R-Projects | de838ed2611efb162e176bb495945af92e304017 | efc6e6dcb42d3b11daac0c5ac2d7fcd2a6b6bf7d | refs/heads/master | 2021-01-10T03:33:04.905426 | 2016-03-14T11:40:50 | 2016-03-14T11:40:50 | 53,850,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 390 | r | onLoad.R | .onLoad <- function(lib, pkg){
#automatically loads the dataset when package is loaded
#do not use this in combination with lazydata=true
utils::data(wr,lm,clm, package = pkg, envir = parent.env(environment()))
library(methods)
library(foreach)
library(Matrix)
library(FeatureHashing)
library(glm... |
ac024e20548147663a9cf94ea53bfb223c331cff | d0108c3f8d99cf84d0227c57b10dbd8236585192 | /Fig.S4A.venn.H3K4me3.primed.R | 42e8f79cca44a0c1c2655eb60993e42cb65f47ae | [] | no_license | Webb-Laboratory/Maybury-Lewis_et_al_2021 | f2ef2f9e4571427571bfbf83f5242cc88254b51a | 77f353d6c5ae91fa0cb260abe0d674fbed946bc4 | refs/heads/main | 2023-06-05T10:24:03.584835 | 2021-06-30T19:55:13 | 2021-06-30T19:55:13 | 346,836,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,654 | r | Fig.S4A.venn.H3K4me3.primed.R | # ========================================================
# Venn diagrams for H3K4me3 in qNSCs and aNSCs
# that overlap with AvsQ.truStable sites
# v2 AvsQ DiffBind 9929 DBsites
# 19976 AvsQ truStable sites
# October-November 2019
# ========================================================
setwd("~/Dropbox/Brown_Webb/... |
a0188bf14c6f21924c614d0950cf75995fa5e514 | 44cbf9de96bd4db4b1458d4169d931d4cd58a0d9 | /Plot2.R | e9d316281e1cd6c75d6d802b19c7b5bef015939a | [] | no_license | Ando3121/ExData_Plotting1 | 7beeaabd0959eaa836a0013fca464d4ee942ba1c | b40c9db88a97ae0c7f9d3d2e4942dcad06076637 | refs/heads/master | 2021-01-18T19:54:56.605094 | 2015-01-14T10:23:30 | 2015-01-14T10:23:30 | 28,993,618 | 0 | 0 | null | 2015-01-09T00:46:40 | 2015-01-09T00:46:39 | null | UTF-8 | R | false | false | 895 | r | Plot2.R | setwd("~/ExData_Plotting1")
## Import Data
household_power_consumption <- read.csv("~/ExData_Plotting1/household_power_consumption.txt", sep=";", stringsAsFactors=FALSE)
## Create datetime
household_power_consumption$DateTime <- as.POSIXct(paste(household_power_consumption$Date, household_power_consumption$Time), f... |
ecfa8160a7ce2e53a928d96f8e2b0096ee429c81 | e9d1de2290c91be3225a8d245c36ad5a1e1049f8 | /man/parallelModePlots.Rd | 978c04a864fdd064a54dcbf776c79e534a5ca6c4 | [] | no_license | mwrowe/fretr | 895b066c596dc10d04a6df9127ff17afc1397dbb | 75fbbe16b015be89ca4ae6829b67f15ea6263d20 | refs/heads/master | 2021-03-28T00:17:56.622540 | 2020-03-16T22:42:44 | 2020-03-16T22:42:44 | 247,820,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 907 | rd | parallelModePlots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parallelModePlots.R
\name{parallelModePlots}
\alias{parallelModePlots}
\title{Fretboard Maps of All Parallel Modes of a Given Tonic}
\usage{
parallelModePlots(tonic, pdffile)
}
\arguments{
\item{tonic}{A character value specifying the (shared... |
08fc0ad1c3920dc1c549053ec54a22d397808a94 | 10b8c374979669fd8767d240da964924ed9b562c | /CountClust/MyHeatmapScript.R | aa281770657aa8ef59ba2755e5994ec2d4dcf5d8 | [] | no_license | benranco/docs | db253e4d160256ea4c72727903a4bceab48a0761 | 33e3dc82c0a97305747cb2720c78fbb733e820f4 | refs/heads/master | 2023-04-16T13:25:28.630662 | 2023-04-06T16:35:27 | 2023-04-06T16:35:27 | 68,756,861 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,618 | r | MyHeatmapScript.R | #########################################################
options(stringsAsFactors = FALSE, warn = 1)
#options(scipen = 999) # disable scientific notation for large numbers
#write("Running filterForHolly.R.", stdout())
#########################################################
# Initial Input Parameters:
#args <- com... |
1e0fca5aa28a930cdf31ac739a2f571df8cfdfad | 6e5efc0b6b6b37c735c1c773531c41b51675eb10 | /man/GetROCLassoFreq.Rd | b9e952efc35731c181f8eb35fb5694d261f2f6ad | [
"GPL-2.0-or-later"
] | permissive | xia-lab/MetaboAnalystR | 09aa09c9e57d7da7d73679f5a515eb68c4158e89 | 9edbbd1e2edda3e0796b65adf440ad827abb7beb | refs/heads/master | 2023-08-10T06:08:56.194564 | 2023-08-01T15:13:15 | 2023-08-01T15:13:15 | 109,994,826 | 268 | 165 | MIT | 2023-03-02T16:33:42 | 2017-11-08T15:38:12 | R | UTF-8 | R | false | true | 419 | rd | GetROCLassoFreq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/biomarker_utils.R
\name{GetROCLassoFreq}
\alias{GetROCLassoFreq}
\title{Get p-values from lasso}
\usage{
GetROCLassoFreq(data, cls)
}
\arguments{
\item{data}{Input data}
\item{cls}{Input class labels}
}
\description{
Get p-values from lasso
... |
64d8aac8b932b52c76b8926615c8f318d790fd49 | b0a28cdb2e2cd577094a703f3b17259f2bd91f5a | /Clases/Clase 3.R | 786919b4d463284b97e7038008e5cbf33a792bd2 | [] | no_license | EmilianoElias/Econometria | cb217ae73632454a9a3331daea61c7f32aaeb162 | 4d7bc6bfb7e1c435a0002f81223a9f7f24f3a62a | refs/heads/master | 2022-02-26T17:17:25.322624 | 2019-11-06T21:54:19 | 2019-11-06T21:54:19 | 108,468,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 237 | r | Clase 3.R | ###
### Clase 3
### Emiliano Elias Dena
###
install.packages("pastecs")
library(haven)
library(pastecs)
ceosal1 <- read_dta("Data/ceosal1.dta")
str(ceosal1)
plot(ceosal1$finance, ceosal1$salary)
pairs(ceosal1)
stat.desc(ceosal1) |
b63cc0055f38fd3de4934abc92c1b6d18aabb341 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i10-m10-u5-v0.pddl_planlen=31/dungeon_i10-m10-u5-v0.pddl_planlen=31.R | f4c7eaeb6d144abd55a0a250a4db3173559c2fb2 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 89 | r | dungeon_i10-m10-u5-v0.pddl_planlen=31.R | b9b6945c57f78e64ae9abb49f44bfa35 dungeon_i10-m10-u5-v0.pddl_planlen=31.qdimacs 5438 16660 |
e94e9599a8e7828464b1fe8a93ec243caa3f5bff | d252c07cab0da95211119ab06dca698b712652cf | /Code/mantel_phylogenetic_vs_latitudinal_distance.R | d6ca75edb120f73559e2a477378ff384ecca5b3d | [] | no_license | dgkontopoulos/Kontopoulos_et_al_thermal_sensitivity_2020 | ecf0bb2e05ba09e06a70a96adb241dbb38328154 | 0c8749d1000fdbccb3a403c5f337de721aa059f5 | refs/heads/master | 2022-11-30T01:54:57.349997 | 2020-08-18T08:04:21 | 2020-08-18T08:04:21 | 288,392,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,187 | r | mantel_phylogenetic_vs_latitudinal_distance.R | #!/usr/bin/Rscript
# This script performs a Mantel test to estimate the correlation
# between phylogenetic distance and latitudinal distance for the
# datasets of phytoplankton and prokaryotes.
library(ade4)
library(ape)
#####################
# F U N C T I O N S #
#####################
# This function runs a Mant... |
51437ef478136bef685aa4ca765cde8266b823ae | ab73d2e79ee4d4b6ad46a4d3bebf38ed902d2c8e | /plot4.R | 596f5e943a17ffd44fb0fd9ae0b6f4718dde1d7e | [] | no_license | ashmtwr/ExData_Plotting1 | d557306dc25dfa20a5b0013db822ec4498dc5786 | d57294f2b499829119af1de8d6541b1007947399 | refs/heads/master | 2020-05-21T08:44:54.995858 | 2015-04-12T21:09:34 | 2015-04-12T21:09:34 | 33,803,187 | 0 | 0 | null | 2015-04-12T04:38:02 | 2015-04-12T04:38:02 | null | UTF-8 | R | false | false | 1,768 | r | plot4.R | # This block of code is to read file from URL and create subset of data for plot function
fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
if(!file.exists("data")){
dir.create("data")
}
if(!file.exists("./data/exdata-data-household_power_consumption.zip")){
... |
3455fcca3813d7abbc623b570f3a1ef57e6d6420 | 3b801d00b90dee6d58f4f2c68fb7b4a242a16071 | /pre_made_scripts/LPS_belize_analysis14.R | f7404d45cacf62d4f4921b146fdd751b42fbf1c5 | [] | no_license | connor-klopfer/animal_response_nets | 421fe4319ad8524fd42432eab5967162dd7df032 | 31f9a561196f46a2a71224f77bf52c0deeb6e76e | refs/heads/master | 2023-06-14T17:21:42.976099 | 2021-06-29T18:18:51 | 2021-06-29T18:18:51 | 327,428,275 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 50,171 | r | LPS_belize_analysis14.R | # Analyze effects of LPS on Belize vampire bat social networks
# Gerry Carter and Simon Ripperger
# # set directory
# setwd(dirname(file.choose()))
# setwd("~/Dropbox/Dropbox/_working/_ACTIVE/belize_LPS/2018_Belize_analysis")
# setwd("C:/Users/simon.ripperger/Dropbox/2018_Belize_analysis")
# .libPaths("C:/R libraries"... |
b97fa272cba6095062a2f41db9f50eb1ff3f4f53 | e15ee0c012b591d8d81de637a4204d998e830778 | /East and West Coast UK names/scripts/metadata.R | 6aadbd3b16341a2d7ec7895816a5eb2ee67de73a | [] | no_license | froocpu/Analysis | ef6fe471d0a07ac685feed79597a476e90c2b898 | 3f00c62bccd24e555248fab5d4bba8075b11ed43 | refs/heads/master | 2020-03-21T13:09:16.129469 | 2017-09-28T21:57:01 | 2017-09-28T21:57:01 | 138,590,686 | 0 | 0 | null | 2018-06-25T12:15:37 | 2018-06-25T12:15:36 | null | UTF-8 | R | false | false | 480 | r | metadata.R | ## Get the relevant metadata for the region codes.
## fread() will try and get the data directly from the URL.
## We will join these back to the main data later.
codes <- "http://www.maxmind.com/download/geoip/misc/region_codes.csv"
regions <- fread(codes, col.names = c("Country","Region","State"))
## Create final dat... |
5ac4154b094f825587c061b430dbeb91393ccdcc | 37539e38b533649faf0531c00391755b81d823e1 | /twitter_cloud.R | 8d8bed698d52dd76c53738d4b306fee7ef8cbdd8 | [] | no_license | jawad3838/WordCloud-Using-R | f91f30f9bd303de272ab515074bb644a555cca7a | 835aafb9c4f0ca5603ef3714e164b7fd05068bd5 | refs/heads/master | 2020-06-08T17:34:09.221674 | 2019-06-22T21:01:08 | 2019-06-22T21:01:08 | 193,273,859 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,272 | r | twitter_cloud.R | # You can remove these lines once the packages are installed.
install.packages("twitteR")
install.packages("RCurl")
install.packages("tm")
install.packages("wordcloud")
# Include the necessary libraries
require(twitteR)
require(RCurl)
require(tm)
require(wordcloud)
# Download this file if you're running t... |
08d17cf35ade8503662f1c80abba7868f3c48e77 | 92438ef9bab506dc0366f61cbf572a98d2a4b966 | /Week09/RglIntro.R | d5cc9a00dc9b59b5ab237eb6aadf48c02680e55b | [] | no_license | maduhu/DataAnalysis101 | d24eefb7810349a9ee74d1bd3081f2af5fc718b6 | e11531f393ba5102121a5923589244aab6be44b2 | refs/heads/master | 2021-06-11T08:02:25.684357 | 2017-03-10T03:05:56 | 2017-03-10T03:05:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 885 | r | RglIntro.R | library( rgl)
library( dataWorkshop)
# need to point session to Week 9
Bolder<- read.table( "BB200.txt", header=TRUE, skip=2)
convertTime<- function(tt){
tt <- as.character(tt)
m<- nchar( tt)
mn<- substr(tt,1, m-3)
sec<- substr(tt,m-1,m)
mn<- as.numeric( mn)
sec<- as.numeric( sec)
return( mn + sec/60... |
dd67ba857b1c46cb602b401df90269eb84ea9223 | d4900aec988678febffdfbed490f784c562a2bec | /R/scale-continuous.r | 884d28c7f8cd0956db41daa8f1268e573cd49de4 | [] | no_license | vivekktiwari/animint2 | d64883c9f18c606fb3d5f34e457b5cb896d9d291 | 9a2ff243da6d97eb6b62a82ed81bbdb7ae55b554 | refs/heads/master | 2021-09-20T21:50:48.979177 | 2018-08-15T22:21:37 | 2018-08-15T22:21:37 | 117,336,879 | 0 | 0 | null | 2018-08-15T12:07:24 | 2018-01-13T11:07:03 | R | UTF-8 | R | false | false | 6,358 | r | scale-continuous.r | #' Continuous position scales (x & y).
#'
#' \code{a_scale_x_continuous} and \code{a_scale_y_continuous} are the key functions.
#' The others, \code{a_scale_x_log10}, \code{a_scale_y_sqrt} etc, are aliases
#' that set the \code{trans} argument to commonly used transformations.
#'
#' @inheritParams continuous_a_sc... |
9c0f9243eaa6544acb8df46859733bf95c42df99 | 92630399e7e476b1307eba0deceeab6048c69687 | /man/fit.optimal_feature_selection_learner.Rd | 3de14ca1a4518b5aeac0d6f5205b861911a59620 | [] | no_license | cran/iai | 53bbc8fa096659614e4b288902cec2021feb35d0 | 591d213c1a7f9cafa0673e3f897f2c589f3e0435 | refs/heads/master | 2023-06-23T03:16:43.953505 | 2023-06-13T15:10:06 | 2023-06-13T15:10:06 | 197,544,870 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,060 | rd | fit.optimal_feature_selection_learner.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/optimalfeatureselection.R
\name{fit.optimal_feature_selection_learner}
\alias{fit.optimal_feature_selection_learner}
\title{Fits an Optimal Feature Selection learner to the training data}
\usage{
\method{fit}{optimal_feature_selection_learner... |
444591267174921d484a04a141de07c41eb52ed6 | 1bc5af7c19261605be4cc80159914fc4e7d0835a | /ch07-regional-counts/ch07e-geary.R | 33cf9fdc49077e264d4cf06007f3ab6c91c7572c | [] | no_license | GregoryMatesi/SpatialDataAnalysis | 8f8e76b5ffc873c45a1a3e4b8e6896a32fac82a9 | 1f79582e7e7cf1f3ed5be9f15836afcc62d660b7 | refs/heads/main | 2023-08-03T01:45:29.980457 | 2021-09-30T17:43:48 | 2021-09-30T17:43:48 | 406,417,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,930 | r | ch07e-geary.R | # install.packages(spdep", "sf")
library(spdep)
library(sf)
# read shapefile for new york counties
ny8 <- sf::st_read("./data/NY_data/ny8_utm18.shp")
# read neighbor information
ny_nb <- spdep::read.gal("./data/NY_data/NY_nb.gal", override.id = TRUE)
# plot region boundaries from ny8
plot(st_geometry(ny8), border="gr... |
c75448ca234c1f59f05982e2a6bfe4de95fece00 | 5cbb67ee4bbb8b0522d5258059d6ed348ee79b6a | /Bagging_Boosting_RandomForest.R | e5bb0be826daa523fe3216afd114c8f5229f0245 | [] | no_license | jpzorrilla/R_Stats | 3096fc1c4ba948e604115c69ba6352b3d1613520 | 311316df0559c934bd84a4ba7a70861a25a193df | refs/heads/master | 2023-04-04T05:19:01.252600 | 2021-04-11T14:40:26 | 2021-04-11T14:40:26 | 297,765,850 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 14,596 | r | Bagging_Boosting_RandomForest.R | install.packages("rpart")
install.packages("rpart.plot")
install.packages("randomForest")
install.packages("adabag")
require(rpart) #arboles
require(rpart.plot)#gráficos árboles
require(randomForest)#radom forests y bagging
require(adabag)#boosting
setwd("C:/Users/usuario/Desktop/Archivos Escritorio/MAESTRI... |
5806fd06444cc54a06d7c45ff22d55316a6e17e3 | 24a12c041aab38220e0c4bbeabc50d296dd86ea3 | /deficit.R | 84ab627dc709ffc510473a467ba9616ca0248427 | [] | no_license | luksurious/national-footprint-visualization | 5a2770230abb49276b2f9c6ad415ae60c2ff8760 | 239273d9be9b09f4beb7bf8710d99290e2533459 | refs/heads/master | 2020-05-14T09:55:46.461190 | 2019-06-09T23:18:53 | 2019-06-09T23:18:53 | 181,752,596 | 0 | 2 | null | 2019-06-09T20:01:48 | 2019-04-16T19:21:37 | R | UTF-8 | R | false | false | 10,514 | r | deficit.R | library(plotly)
library(purrr)
library(RColorBrewer)
deficitTrendUI <- function (id) {
ns <- NS(id)
tagList(
h2(
"How is the evolution of the ecological reserve/deficit?"
),
sidebarLayout(
sidebarPanel(
radioButtons(
ns("regionType"),
label = "Type of reg... |
9782c2d5894c2ec1231e28573f6ce8cd38fd9285 | a20a227ce60b3c63f5018f03a91ef00110e5a7a0 | /task-1/Homework-Input/documentation/remote_nodes_and_searcher.R | e5f0738c3b79c1b0b3f5804c95565af18d59fb7f | [] | no_license | jiriklepl/NSWI080 | 7c8411bb4c78e370156372c1060599f2d8305ce3 | 0a1a30045b03c8f89abbdaad431618631e83b68f | refs/heads/master | 2023-06-04T09:36:02.866942 | 2021-06-29T00:20:30 | 2021-06-29T00:20:30 | 349,251,396 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,163 | r | remote_nodes_and_searcher.R | # This script to be run in the documentation folder after the files (see below) are generated
library(stringr)
library(tidyverse)
library(dplyr)
library(ggplot2)
files <- list.files(pattern="remote_nodes_and_searcher_\\d+_\\d+")
per_edges <- c()
remote_nodes_per_edges <- c()
remote_both_per_edges <- c()
distance_coun... |
cba6173834de1a036879a842b30dd8fdbc6b141d | 7394bc0e210ebb12931965b405cd53223fc1fe09 | /inst/tinytest/cv-ncvreg.R | 2774c7acb5d9bf51eba6cfe4f9cea22f741879d6 | [] | no_license | pbreheny/ncvreg | 75d33b6807f923a0e42e7f01e17552cca430012b | a50df574898bc19b6cae8bd8eeb0766cc93f4af3 | refs/heads/master | 2023-06-21T12:33:13.494695 | 2023-04-03T23:28:53 | 2023-04-03T23:28:53 | 6,141,265 | 39 | 30 | null | 2021-01-19T17:14:17 | 2012-10-09T13:38:30 | R | UTF-8 | R | false | false | 3,036 | r | cv-ncvreg.R | suppressPackageStartupMessages(library(glmnet))
#### Linear regression ####
# Works
X <- matrix(rnorm(500), 50, 10)
y <- X[,1] + rnorm(50)
cvfit <- cv.ncvreg(X, y)
print(summary(cvfit))
# Predict
b <- coef(cvfit)
p <- predict(cvfit, X, type='link')
p <- predict(cvfit, X, type='response')
p <- predict(cvfit, X, type=... |
aeecc440742e5a791acc699712366e14301d9240 | 8c662559e91c296b097e105eb62d2c748cb4898e | /matchingOverTime-loop.R | 28799a71301f37e44a70ceeae8a1d7abacf024c3 | [] | no_license | mfransham/2017-09-SHBE-analysis | 551351fcdd58c2e1c24a95b8e102e6abb59d00ea | d7c6112386b170b826eb5c1826bbd42aaaeab0bd | refs/heads/master | 2021-07-04T05:17:58.915694 | 2017-09-25T14:10:21 | 2017-09-25T14:10:21 | 104,734,945 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,154 | r | matchingOverTime-loop.R | # variables to match benefit units over time
library(dplyr)
library(ggplot2)
shbefile.1 <- as.character(filter(SHBEfile.matches, matchNo == matchIndex) %>% select(shbefile.1))
shbefile.2 <- as.character(filter(SHBEfile.matches, matchNo == matchIndex) %>% select(shbefile.2))
# read files
shbe.1 <- read.csv(shbefile.1... |
1b8e4eabfb76a754e173569303384e6293514847 | 0a3d5398e435fc81a61f832c0921304c72d7dbd5 | /man/unload.Rd | 31afa0d3190f500d7b5aced07a38ceac73dbd34e | [] | no_license | r-lib/pkgload | 609ea95e6f19b51f2ccfed1f71bbb0adbc647283 | 75938cd13f80e912af43d9632cdb54aa0bc9ebff | refs/heads/main | 2023-09-01T00:53:19.446111 | 2023-07-06T07:34:53 | 2023-07-06T08:15:47 | 73,123,753 | 46 | 38 | null | 2023-09-11T13:26:16 | 2016-11-07T21:45:48 | R | UTF-8 | R | false | true | 1,507 | rd | unload.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unload.R
\name{unload}
\alias{unload}
\alias{unregister}
\title{Unload a package}
\usage{
unload(package = pkg_name(), quiet = FALSE)
unregister(package = pkg_name())
}
\arguments{
\item{package}{package name.}
\item{quiet}{if \code{TRUE} s... |
ceb0c408942d0cfabe983ef7712237d17a3f5769 | ebd6a50bb49055ecba0527b1e3336a2e107ce9fc | /R/plot_cumu_set.R | b3129d32b3be4778fa31244fbca830092090d41c | [] | no_license | swmpkim/SETr | 3abbbc3e87004231703859f531e05559a9bef8b0 | 21a4d13fc0fd49215817e3b76878c35ea309f90c | refs/heads/master | 2021-07-12T11:10:47.274219 | 2021-02-27T17:24:20 | 2021-02-27T17:24:20 | 238,076,972 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,167 | r | plot_cumu_set.R | #' Make a graph of change over time by SET
#'
#' x-axis is date; y-axis is the average of the 36 pin heights' difference from baseline (first measurement). One facet per SET id.
#'
#' @param data data frame (e.g. `$set` piece of output from `calc_change_cumu()`) with one row per faceting variable, and the following col... |
ff2812d1056bb57ee6b485353c8f848159ffb244 | cf294059ae844d1d2abfcc989e5e04ee124fe37b | /man/alignSamples.Rd | 8038eb38f3b08acaaa8bdb046c7eda7a07044257 | [] | no_license | camilleroquencourt/ptairMS | 3557ba24e722508590a79c35f0c999d6ae186124 | 491ff08df3b2a07808db363dca961459a8aa3944 | refs/heads/master | 2022-08-19T04:05:01.232422 | 2022-06-30T14:11:08 | 2022-06-30T14:11:08 | 226,823,108 | 7 | 2 | null | 2020-03-18T10:30:49 | 2019-12-09T08:35:15 | R | UTF-8 | R | false | true | 3,431 | rd | alignSamples.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/alignment.R
\name{alignSamples}
\alias{alignSamples}
\alias{alignSamples,ptrSet-method}
\title{Alignment between samples}
\usage{
alignSamples(
X,
ppmGroup = 70,
fracGroup = 0.8,
group = NULL,
fracExp = 0.3,
pValG... |
a511ea751027a36dac367efaedb89eb437de5f1e | 4dbe90e567ee670e01a2e2ddf293fab56b5f815a | /man/start.experiment.Rd | afa624ef664637a0ed8d2dc905b7a3f6947e2ffb | [] | no_license | sashapr/betr | 2d39aa8625be5c4961354c42e3e6637bf5582524 | a5f8a7451aafc91f2d0559630792eaeee7d55783 | refs/heads/master | 2020-04-06T06:46:13.699847 | 2014-11-24T00:34:59 | 2014-11-24T00:35:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,360 | rd | start.experiment.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{start.Experiment}
\alias{start.Experiment}
\title{Start the experiment running.}
\usage{
\method{start}{Experiment}(experiment, force = FALSE)
}
\arguments{
\item{experiment}{Object of class Experiment}
\item{force}{Start the experiment even if there are fewer... |
0fe3e4f7ecd248d513c510ed6a8553e5525d33cb | 58e2ef9a0c60c30e728be8e4472da29d4da42048 | /library/tensorflow/tutorials/2-5_Overfitting_Underfitting.R | 923116a1c01b9f7d7787c90a608ace35801a3fa7 | [] | no_license | delta0726/r-deeplearning | 98ba3f982fbeacf7d7bc8b574f4e3cb398d192fb | 3f504b624e6ceb3ed55c36dc0ba63c930a83769d | refs/heads/master | 2023-07-17T14:58:17.990228 | 2021-08-20T22:14:54 | 2021-08-20T22:14:54 | 326,067,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,005 | r | 2-5_Overfitting_Underfitting.R | # ***************************************************************************************
# Title : Quick Start
# Objective : TODO
# Created by: Owner
# Created on: 2020/11/1
# URL : https://tensorflow.rstudio.com/tutorials/beginners/basic-ml/tutorial_overfit_underfit/
# **************************************... |
dcf344e5292c1532c40e3b5122a9a9e435e3a449 | c987617c7a52a18c327547fe76f5ecf5f4e636ec | /plot3.R | 97c07bca25f0fa9a3186745278dc38ad169adc0c | [] | no_license | lyonspat13/ExData_Plotting1 | 070568ddec13c33bf21b7af7472f9905e22282c4 | 182923ad478e1eb0d580c581540ab088cab402bd | refs/heads/master | 2021-01-15T19:49:17.359825 | 2015-09-13T20:19:43 | 2015-09-13T20:19:43 | 42,410,542 | 0 | 0 | null | 2015-09-13T19:52:35 | 2015-09-13T19:52:35 | null | UTF-8 | R | false | false | 1,906 | r | plot3.R | ### First we have the code for loading the data, which is the same for all plots ###
object.size(c(1)) * 2075259 * 9 / (10 ^9) ## roughly estimates full data size in gb, says 'bytes'
data<- read.table("household_power_consumption.txt",header = TRUE, sep=";") ## reads in full data set
data$dateTime <- strptime(paste... |
bcb8dca04bce7279adc44b0f70a6da3aa64e953b | 5524c80b983a068aa0805f5a68fcecc65c6de12d | /lab6-1.R | 7b3f093e0c873527dd50c8e34f2d2cb5ab74bb3c | [] | no_license | sebastianpantin/Stochastic-data-processing-and-simulation-R | 40f08770b53458382c663ea392bc609f36896316 | b9865a6458f7ca4c9eba85fc8f2bbf234b362f8e | refs/heads/master | 2021-01-20T11:10:45.183911 | 2017-10-18T10:26:06 | 2017-10-18T10:26:06 | 101,667,228 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 599 | r | lab6-1.R | g <- function(timeVector) {
nbrOfTimes <- length(timeVector)
out <- rep(1,nbrOfTimes);
out[timeVector < 0 ] = 0
out[timeVector > 0.5 ] = 0
return(out)
}
n=100;
xsi <- rexp(n, rate = 1)
eta <- rexp(n, rate = 1)
shotNoise <- function(time){
k1 <- length(xsi[cumsum(xsi) <= 10])
k2 <- length(eta... |
44f8256263cdd33b1c0f722c203d24e30ece8f86 | 149d8c5dc5216adab97e6acf528d87bac9705a4a | /R/isFunctions.R | d0b053c9fccdb17b4cf7533c72e649255b6a642a | [] | no_license | andrewjameshaynes/isPackage | b91ebde61f73cb8128fb52edbe607126a323563f | 583bb843703c056dfb8b3badc172e71c199eb48f | refs/heads/master | 2020-03-11T10:50:48.075476 | 2018-04-18T21:55:45 | 2018-04-18T21:55:45 | 129,953,432 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,249 | r | isFunctions.R | ##is.zero() - checks if a numeric is zero
is.zero<-function(x, strict = F){
if(strict == F){ifelse(x==0,T,F)}
else if (strict == T){identical(x,0)}
}
##is.natural() - checks to see if a number is both whole, and > 0
is.natural<-function(x){
if(is.numeric(x) == F){
stop("your input is not a number!")
}
... |
1891d72f6e3c7f84541c62f0a54afcae9e5b591c | 1686fa06d5eb86865d08cb08d8ee300a407505bc | /R/cvi.R | 0174955d8cd67ac5dab5d0afa8d258ae6a831741 | [] | no_license | ForkBackups/dtwclust | 1d6fa2002a74988dd65c0d7a9dcaeadff6dcae55 | 88eeb7767d80764084cecb49d96b8d753b74d1c7 | refs/heads/master | 2021-01-21T18:10:18.734116 | 2017-05-21T13:21:20 | 2017-05-21T13:21:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,573 | r | cvi.R | #' Cluster validity indices
#'
#' Compute different cluster validity indices (CVIs) of a given cluster partition, using the
#' clustering distance measure and centroid function if applicable.
#'
#' @export
#' @exportMethod cvi
#'
#' @param a An object returned by the [dtwclust()] or [tsclust()] function, or a vector th... |
b102e50942e9e35396449459521ccdd2a84bdff8 | 8f6e2b326ad3823b369bb6d9e07220d3dfa6756d | /poweranalysisVSmean_logscore.r | e02bb3f933e868ce56015c69238b21948e9f3372 | [] | no_license | jbessac/uncertainty_scoring | 491737ccf905fc6912a95566e72c305cb1dfe10c | 70f695106f762f626c931f786a4c49764f2f3d09 | refs/heads/main | 2023-03-08T17:47:59.734970 | 2021-02-05T01:14:56 | 2021-02-05T01:14:56 | 336,066,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,262 | r | poweranalysisVSmean_logscore.r |
rm(list=ls())
### --- true parameters
mu0 <- 0
sig0 <- 2
### ------------------------------------------------- statistical test and associated power
mu <- seq(mu0-3,mu0+3,by=.05)
Nsim <- 10000
reject_sx_mu <- NULL ; accept_sx <- NULL
reject_sy_mu <- NULL ; accept_sy <- NULL
reject_sc_mu <- NULL ; accept_sc <- NULL... |
74b96516b17224916dcdbb557207355591edfacf | 7ecfc5ee5160d783f8d73c5a30eb6be34a2d442a | /Heatmap.R | c6ae1442af9dc584cd35ec5bdb2663b2cc28c3a9 | [] | no_license | swu13/CAeditome | 77aef37c6bf6673c45497608b575e275a2cce4f8 | 1717b8ae7e0a8682df0ef818c5569df81bfdf2da | refs/heads/main | 2023-08-05T08:47:27.611547 | 2021-09-17T02:16:37 | 2021-09-17T02:16:37 | 407,364,352 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,921 | r | Heatmap.R | #!/usr/bin/R
####################################################
#draw the heatmap for any cancer-related files
#parameter1: Input File containing the heatmap_row and heatmap_col and values in each heatmap: Also containing the gene file
#parameter2: The col for the cancer type in the file
#parameter3: The col for the ... |
4a2df2617a77c8ebe63ed9ac3e7d8535c366e0ae | b0bb096cb220346b27b71a0c97db1b2056955ed0 | /crawling/crawling_icd10data.R | 3606dd8c6bea7c49a5d26ff391e71cfbf3980547 | [
"MIT"
] | permissive | lenamax2355/ICD2Vec | 596318fff534f482b47c64e1cb4ca42946207afc | 529f6a2a27607618a4844fb65859bc761ff55de8 | refs/heads/main | 2023-06-15T22:30:33.816176 | 2021-07-15T14:01:58 | 2021-07-15T14:01:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,336 | r | crawling_icd10data.R | ##crawling web
## https://www.icd10data.com
##https://www.icd10data.com/ICD10CM/Codes/A00-B99/A00-A09/A00-
library(rvest)
library(stringr)
library(data.table)
library(dplyr)
library(httr)
text_prepro <- function(tmp_string, tmp_word){
tmp_string <- str_replace_all(tmp_string, '</li', tmp_word)
tmp_string <- str... |
b528e37e0a08b8bfbf64c500b83b3dca878751f6 | b2a13f2ce0f81ebe7cbc0d574976b70ee5d8694e | /functions/specify_columns.R | 0363c2663f395ca9fe3afc268017689c7512a4ad | [] | no_license | gitHubSlinkman/Tornadoes | 586684f00dfc350b447c727d497773fe86d49708 | ae7bc3652d5bb94f547eb0994f0369d76190a066 | refs/heads/main | 2023-05-31T12:40:35.273769 | 2021-06-23T03:17:53 | 2021-06-23T03:17:53 | 375,800,747 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,757 | r | specify_columns.R | # specify_columns.r
specify_columns <-
function(){
cols(
EVENT_ID = col_character(),
CZ_NAME_STR = col_character(),
BEGIN_LOCATION = col_character(),
BEGIN_DATE = col_character(),
BEGIN_TIME = col_character(),
EVENT_TYPE = co... |
7394bc64a9e15331e7b673a6c17ad2541a64fbe7 | 3330f6c7c00e931d336b4de7d8fe80f955edb0d4 | /R/get_tn.fn.R | f2b3e48ceb1fc776025d8377adb146de04d17ea3 | [] | no_license | Chengshu21/SS_Benchmark | 0e6ef80bf1021b150801ccae04eb91ac8729cb1a | f34ef58f9c924b16624aaabd8cd7cdec95553721 | refs/heads/master | 2020-05-31T22:05:12.835316 | 2020-04-13T02:59:46 | 2020-04-13T02:59:46 | 190,512,630 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 840 | r | get_tn.fn.R | #### select NON-significant pathways of each cluster at first
##################################
#### get TN and FN
get_tn.fn = function(nonsig.pathway_result, target_pathway){
tn_count <- 0
fn_count <- 0
for (i in 1:length(rownames(nonsig.pathway_result)))
{
for (j in 1:length(target_pathway))
... |
888c42d7fef5a02bb7ea48fc1b898dfeb857199a | 5b51a6643499c4686b15f84052c18e79988cfa8f | /boggle.R | 16e1424934684214c4ea22d968cd2b0ad75d4ec2 | [] | no_license | cbedwards/Misc | c9325d4df4ba8a8c66a0d5f37e0a7afefe116d59 | a3dd887697028debb632b38902c7a1931586b6ef | refs/heads/master | 2021-03-30T06:35:43.131406 | 2020-03-17T17:00:19 | 2020-03-17T17:00:19 | 248,025,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,929 | r | boggle.R | # Code to generate and display boggle boards in R
# Using recent versions of R, random number generators should behave the same across platforms
# So multiple players can play across any distance
# by choose a shared number for the seed, and calling the function on their own computer.
# (although check this by gen... |
cb6142cbe18428dd1ad511d2d23f2415bd9ab434 | 35ae1d08f123b9e8abc5e7e91c76bd53266977dc | /R/RAFSIL_utils.R | 3e810faea66facfbabb8a8fee6230e466562a8e0 | [] | no_license | rahul799/RAFSIL | 7fe93639a1956fc25d61ded8d43fd4fc38572b0f | 69b1ab6edceb74dfc4ba8f6c722f06ddb0293a4f | refs/heads/master | 2023-05-28T20:00:52.926354 | 2021-06-08T14:47:00 | 2021-06-08T14:47:00 | 288,529,555 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,933 | r | RAFSIL_utils.R |
normal <- function(x) {
x = x - min(x, na.rm=TRUE)
x = x/max(x,na.rm=TRUE)
return(x)
}
#' ELBOW DETECTION
#'
#' @param scores vector
elbow_detection <-function(scores, if_plot = FALSE) {
# We included this function from uSORT package, version 1.6.0 .
#=====================
num_scores <- length(scores)
i... |
21254b6c858becacb278479c7400f6a128cf0ea2 | f36920dec49fb522a2f4334e8fe9b8412067ed5c | /scripts/format_rawdata/standardize_COGU_stora karlso_data.R | 31eb03699c62435c5ae6fec4fb02b3a1286e7da1 | [] | no_license | MartinBeal/annual_consistency | 2c628f624238e25b8aaca13acc0feea817a6934c | 951241499fce705891fc2918ea6dd87d10f94f81 | refs/heads/main | 2023-07-27T09:07:11.899977 | 2021-08-30T15:39:10 | 2021-08-30T15:39:10 | 397,925,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,325 | r | standardize_COGU_stora karlso_data.R | #---------------------------------------------------------------------------####
## Common Murre - Stora Karlsö ##
## Standardize tracking data across datasets ##
pacman::p_load(stringr, lubridate, dplyr)
rawdatafolder <- "C:/Users/Martim Bill/Documents/annual_consistency/data/raw_data/"
folders <- list.files(rawdat... |
d8022035f4d34bf6e71328e394587f56996dc51d | 722e13d427cc095153233052b1f90ed138484cc3 | /man/as.spectra.Rd | 2b61c86a355d9cfdf8a0c9878f4da2e93e0efa9d | [] | no_license | annakat/casper_defunct | 2eb0a261c67af7e3299c64816ec3e7113034c6dd | ed378b53ec54c104bfe66d615d944bf3622d3cfe | refs/heads/master | 2020-12-24T06:03:06.612672 | 2016-11-15T17:22:21 | 2016-11-15T17:22:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 363 | rd | as.spectra.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conversion.R
\name{as.spectra}
\alias{as.spectra}
\title{Convert matrix or data frame to spectra}
\usage{
as.spectra(x)
}
\arguments{
\item{x}{matrix or dataframe. See details for format requirements}
}
\value{
spectra object
}
\description{
... |
524326e20846ab4260ce2d6747cd34c08384b147 | db33566a0bb122cefb77a8561740538ab4869a1f | /man/server.scfind.Rd | 6e6ebff82ea607be6844a0d1425fef6c61fe771d | [] | no_license | wikiselev/scfind | 1fbdffbbb7a6a3b2934516106d8b388afee483b4 | 642497fe2bfee97b37059fa1c063437af11f8198 | refs/heads/master | 2020-04-05T22:08:12.478089 | 2018-09-17T14:06:10 | 2018-09-17T14:06:10 | 157,246,204 | 1 | 0 | null | 2018-11-12T16:53:01 | 2018-11-12T16:53:01 | null | UTF-8 | R | false | true | 403 | rd | server.scfind.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ShinyMethods.R
\name{server.scfind}
\alias{server.scfind}
\title{Server handler for scfind}
\usage{
server.scfind(object)
}
\arguments{
\item{input}{handler item for the ShinyApp}
\item{output}{handel item for the ShinyApp}
\item{session}{h... |
0126a69d8cec308082f3e482998995deba2b6f30 | 19f91f128022d247f25a91e3582b7a75d9b298c1 | /codes/manhattan_with_genes.R | ed541922e60e691e47f54f185661b86d3583da5a | [] | no_license | Jilong-Jerome/Pval2Gene | 682fc0ecdc2868990b52f1eadde13cd7febc36e5 | ccf4ce8dc3d8f7d4295c87b8c5315d29ecc03b41 | refs/heads/master | 2022-04-21T21:39:05.559016 | 2020-04-27T02:42:03 | 2020-04-27T02:42:03 | 251,028,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,014 | r | manhattan_with_genes.R | library(readr)
library(tidyr)
library(dplyr)
library(ggplot2)
# List of SNPs to highlight are in the snpsOfInterest object
# We will use ggrepel for the annotation
library(ggrepel)
# Prepare the dataset
args <- commandArgs(T)
snps <- read_tsv(args[1],col_types = "ddcdccc")
snps <- snps %>% filter(chr != 39)... |
2c6f864ee5ca30f2a8d9ee8b9cd5e661eb0e276a | fba8ed5d7792c8bbdff885690cc94f2ebcdb9881 | /man/clusterinfo.Rd | e69395d2027936a242820fb86df46009c58139e8 | [
"MIT"
] | permissive | kasperwelbers/topicbrowser | af19829fb092e84d3bcbbda6de62bae60e2fa216 | 14e9a00b7145fa9fdf8b607f831650f5be043084 | refs/heads/master | 2021-01-16T21:10:58.455765 | 2014-10-30T16:57:37 | 2014-10-30T16:57:37 | 26,169,122 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,030 | rd | clusterinfo.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{clusterinfo}
\alias{clusterinfo}
\title{Create a 'clusterinfo' object that can be used for the individual render methods}
\usage{
clusterinfo(m, terms, documents, meta, topic_ids = 1:m@k, words = terms,
date_interval = "year")
}
\arguments{
\item{m:}{the fitt... |
6c15b4814e4378a5a951e273dc0fabfb1337d8b8 | dd16e59de66cbf7984dd4ddac1267b22bb3f3702 | /R/graph_traversal.R | 20cf0e6640f0080b7db1798b673e33eb829377c3 | [
"MIT"
] | permissive | aaronrudkin/werner | 5688b4c472947305aad8a7bc995dadcd8643cdda | fe912fd2674ea0e837bf71cb12b00997f4cd7c1f | refs/heads/master | 2021-05-11T09:02:27.640334 | 2018-02-25T17:39:36 | 2018-02-25T17:39:36 | 118,067,648 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,687 | r | graph_traversal.R | #' Breadth first search of a directed unweighted graph with cycles
#'
#' Performs a breadth first search of node_matrix to find a path from
#' node `from` to node `to`. If a path is found, returns path and distance.
#'
#' @param node_matrix A square matrix where cells are 1 if there is an edge
#' between the row cell a... |
c565eaef0fed6042fc60c2430ce29503eea8e52b | 2d817fdf272731acf2355bce324ff1cf2f51de3b | /voter_file_panel/summarize_for_poq_neu_pew.R | 369712b8ec26fce8bb5d593f1c7c35194ece15bd | [] | no_license | sdmccabe/poq-constructing-samples-replication | a05e11b3228ecb08dcaaea6d454e85c28e5089b5 | 07db825113b5c56f1a3e8d6c523787a6f8ac783d | refs/heads/main | 2023-03-09T01:27:51.703669 | 2021-02-17T16:42:16 | 2021-02-17T16:42:16 | 326,231,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,790 | r | summarize_for_poq_neu_pew.R | library(readr)
library(plyr)
library(dplyr)
in_dir <- ""
out_dir <- ""
raw_data_dir2 <- ""
raw_data_dir <- ""
load("pew_histograms_with_standardized_breaks.RData") # pew hists
setwd(in_dir)
df <- read.table(
"demog_v4.tsv",
sep = ",",
colClasses = rep("character", 23),
header = T
)
names(df) <- c(... |
91c01c441ddbbd84cd55299ffde0b02c9f350563 | 290f7dc9b95b1f6895c72d74f72eeb6c977e7322 | /A2/hw2.r | a94feb352b9db4743f5f2f879d5bba532d059315 | [] | no_license | neha6490/MapReduceAssignments | 58d0c7ef1d7c4806244669e6362589fb21c47dde | ac954b8781f79b37b559d708bcdf6f05e111323c | refs/heads/master | 2020-12-24T19:04:05.837329 | 2016-05-13T13:13:04 | 2016-05-13T13:13:04 | 58,741,491 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | hw2.r | require(dplyr)
require(ggplot2)
args <- commandArgs(TRUE)
srcFile <- args[1]
outPutFile <- args[2]
files <- dir(srcFile, pattern='part-r-', full.names = TRUE)
outputs <- lapply(files, read.csv, header=FALSE, sep="\t")
output <- bind_rows(outputs)
colnames(output) <- c("carrier","price","month","frequency")
library... |
732a31a2a0669871b7f8266eb83bdcb12a313f31 | 240bf1139f6098ec9c8c2fc96555780fc58cda30 | /lib/R/packages/lilbambu/man/harvestSites.Rd | 60c3d3ff8a30e9375176c9cb5c4841ef8f1dd422 | [] | no_license | cerobpm/lilbambu | b9cf0d341f7f3cca493757e393cdb860331bdcdd | af48399a3198bbd2d3b3846a06a662851f705ea8 | refs/heads/master | 2020-03-22T06:22:35.764750 | 2018-09-11T19:42:15 | 2018-09-11T19:42:15 | 139,629,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 699 | rd | harvestSites.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/harvestSites.R
\name{harvestSites}
\alias{harvestSites}
\title{harvestSites}
\usage{
harvestSites(url, north = 90, south = -90, east = 180, west = -180,
update = FALSE)
}
\arguments{
\item{url}{WOFWML WS end point}
\item{update}{boolean co... |
10a455ee58958ab91ef9c9cf512756f43afd1fcb | 2269026d56631cd66d6db71f2ff97854c32b6e54 | /RollFutures-overshoot.R | 12cb30ca94b46a70f39cf46f00b973e4abb30315 | [] | no_license | memazouni/RollFutures | a61402f7138aac7e9b790d32bddcd791dcd35608 | 512691e61edff9ae9b67ef2081249d6a35d79df5 | refs/heads/master | 2022-04-07T21:20:23.724006 | 2020-01-31T20:47:45 | 2020-01-31T20:47:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,239 | r | RollFutures-overshoot.R | #Download data
library(tidyverse)
library(profvis)
#apikey <- 'putyourapikeyhere'
tick_<- list('1983':'2012')[[1]]
#C
c_contracts <- c('H', 'K', 'N', 'U', 'Z')
c_months <- c('03', '05', '07', '09', '12')
#S
s_contracts <- c( 'F', 'H', 'K', 'N', 'Q', 'U', 'X')
s_months <- c('01', '03', '05', '07', '09', ... |
e2619edb6be61a46d247146e5b33439676bf235e | 200ea59341293119f381dee1affd33e394c0eabc | /man/simpson.Rd | e1f05bda4df8fa8a2c79bcd2c43335dd0d3b52ed | [] | no_license | robchavez/robR | c17c65b8ca7b12de62272340bbd1e88d7fa9a163 | 33ce627a875e6a94aedfa0a0f078f80a1230727d | refs/heads/master | 2021-01-17T08:39:02.524184 | 2019-05-16T05:36:37 | 2019-05-16T05:36:37 | 31,325,134 | 1 | 1 | null | 2015-03-14T01:52:52 | 2015-02-25T17:03:59 | R | UTF-8 | R | false | false | 572 | rd | simpson.Rd | \name{simpson}
\alias{simpson}
\title{Simpsons Episode Selector.}
\description{Randomly selects episodes of The Simpsons to watch (from seasons 3-10).}
\usage{
simpson()
}
%- maybe also 'usage' for other objects documented here.
\details{
%% ~~ If necessary, more details than the description above ~~
}
\value{ }
\refe... |
11d1334eb1959c0ac9142a84cae9828ccb8673a2 | 03bdb07e5846d37a63d45a37e80a72d681f04f9f | /R/themes.R | e6cf1e5f289180547d55338096a2e1df7a753ec7 | [
"MIT"
] | permissive | tpemartin/econDV | 5a36daabd2aca947cd1cce755328566419f3160b | c4d03f64b6ec142fc605f3e1fad3d46b5314e81c | refs/heads/master | 2023-02-24T03:12:47.791627 | 2021-02-08T09:56:46 | 2021-02-08T09:56:46 | 283,764,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 406 | r | themes.R | #' Create a theme for time series that fit the format of the Economist
#'
#' @return
#' @export
#'
#' @examples none
theme_timeSeries <-function(){
ggplot2::theme(
axis.title=ggplot2::element_blank(),
axis.line.y=ggplot2::element_blank(),
axis.ticks.y = ggplot2::element_blank(),
panel.grid.major.y = g... |
3349c4d53f5cb2406634f090f0930a28c13c074b | 55fdb24e600e211d40241f5dec65ed422658a3c5 | /R/find.R | 6c4e397204b4ea9f70e265c65e76966da0fc5885 | [
"MIT"
] | permissive | layik/geocoder | d15ec93639ecf63392726fcb4983b49dbabf964b | 1ea6576a0d645ee1a42ee9c9944bab4914a2306a | refs/heads/master | 2022-04-04T03:29:54.526605 | 2020-02-28T00:38:55 | 2020-02-28T00:38:55 | 238,893,566 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,182 | r | find.R | #' Find geocode(s)
#'
#' The main function to find geocodes, using standard MongoDB queries,
#' with focus on particularly on returing "geometry" documents'
#' coordinates as useful objects (thinking about sfcs for instance).
#'
#' @return sf object from MongoDB or `mongolite::iterate`
#'
#' @param x keys and values to... |
107cf0a8d792c7169de9253aed1d13ba642df08f | 982dcc77db4a58e81527649b33db10014fd2edb3 | /day14/ggplot2_lab.R | b4e4411de3128537e9b67fa25084a7bd6c410f52 | [] | no_license | jaewon-jun9/R-in-multi | c734aaa1bce11b583a64b2309b852989924e51c4 | acd5f828557b8c54fcfc64a799a80340d3e6a086 | refs/heads/master | 2020-12-03T01:17:14.655310 | 2020-01-01T03:10:51 | 2020-01-01T03:10:51 | 231,172,519 | 1 | 0 | null | 2020-01-01T03:47:20 | 2020-01-01T03:47:19 | null | UTF-8 | R | false | false | 877 | r | ggplot2_lab.R | library(ggplot2)
library(dplyr)
#문제1
ggplot(data = mpg,aes(x=cty, y=hwy))+geom_point(colour="Blue")
ggsave("result1.png")
#문제2
ggplot(data= mpg, aes(x=class))+geom_bar(aes(fill=drv))
ggsave("result2.png")
#문제3
options(scipen = 99)
ggplot(data = midwest,aes(x=poptotal, y=popasian)) + geom_point() + xlim(0,500000) + ylim... |
a114faa4cbaa406730bbce03de263448b561af4d | dc3371eb1ebc1ee9a646ffa47a010a58695c393f | /reproducevarFMado/missingdata/completedata/maxima.R | 5c5e78c5c4cc196a76d99cb835cfcb91b9f48e8b | [] | no_license | Aleboul/var_FMado | 2a9a3eabcee7422540bad5b387b0030f8ef49754 | 8bf7b4bee89d1c98269b50b16d7ef34a25d0e47d | refs/heads/main | 2023-08-30T20:52:55.586686 | 2021-10-09T17:35:32 | 2021-10-09T17:35:32 | 380,979,571 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,065 | r | maxima.R | """
Produit un échantillon de maximum par bloc issu d'une copule de Student.
Estime un lambda-FMadogramme pour plusieur valeurs de lambda. Calcule la
variance sur plusieurs échantillons.
Inputs
------
M (int): number of iteration
n (c(int)): number of samples
nmax_ (c(int)) : length of ... |
4d260500c5571fe0f66bb055507248ed0bc051d7 | 2a7aa480771be71c941a8eb2b52d89012178482e | /src/exercises/s2-2.R | a13538e2a916bdd6c542423df3e3df373293effe | [
"MIT"
] | permissive | wilsonify/ModernOptimization | 49dc0caac87040e6dfb39a399ec9899f52d9b384 | 0d6946e07e5f0d4d95311da6a62fd1d2be0c52f3 | refs/heads/main | 2023-04-30T10:40:53.666553 | 2020-12-21T19:07:29 | 2020-12-21T19:07:29 | 313,118,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 80 | r | s2-2.R | v <- seq(2, 50, by = 2) # one way
print(v)
v <- (1:25) * 2 # other way
print(v)
|
2cf864c92ca57ef1823043db87205ca539bc3d6b | 9c7d347db48a305cfc21ea9bbb7d318fd1914f85 | /inst/doc/c-county-choropleth.R | 78874cdece289e188f633c9738e58f7e1af19787 | [] | no_license | DanielHadley/choroplethrModified | 351f27f0e512992da8c9b36b972a05bf11121bb9 | 7c923f95b0507769a515a2357b2a9ef96ce80aa7 | refs/heads/master | 2020-12-25T23:26:43.841806 | 2014-12-01T23:03:27 | 2014-12-01T23:03:27 | 27,182,951 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 918 | r | c-county-choropleth.R | ## ----hold=TRUE-----------------------------------------------------------
library(choroplethr)
?df_pop_county
data(df_pop_county)
?county_choropleth
county_choropleth(df_pop_county)
## ------------------------------------------------------------------------
library(choroplethrMaps)
?county.regions
data(county.reg... |
765d2b43be503b3b863ce1fa6fa7a5c781402a44 | ffcd9bbe4e4b11e19a53ffb85d2cca59b3762c9c | /man/dot-abort_water_leakc.Rd | c5cad6e597496388744aac2555edb0135dc46c20 | [
"MIT"
] | permissive | markushlang/sfcr | 6e6132238039e0b6aafe1ab8fa91501e4f323215 | 42f7fdf08da5deea3be2ca8210727a8fc3148ec7 | refs/heads/main | 2023-02-12T03:43:24.523380 | 2021-01-11T07:58:47 | 2021-01-11T07:58:47 | 330,479,115 | 1 | 0 | NOASSERTION | 2021-01-17T20:22:11 | 2021-01-17T20:22:11 | null | UTF-8 | R | false | true | 464 | rd | dot-abort_water_leakc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sfcr_validate.R
\name{.abort_water_leakc}
\alias{.abort_water_leakc}
\title{Abort if column validation is not fulfilled}
\usage{
.abort_water_leakc(c2names, which)
}
\arguments{
\item{c2names}{Names of offending columns}
\item{which}{Balance... |
ecebddf3623c45b23366f22bfca5601e499b9209 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rbmn/examples/dev4mn.Rd.R | 7cdae39de5e84bc45517638cdefd929831e02ee4 | [] | 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 | 208 | r | dev4mn.Rd.R | library(rbmn)
### Name: dev4mn
### Title: Computes the deviance for a sample of multinormal vector
### Aliases: dev4mn
### ** Examples
dev4mn(matrix(runif(3), 1), t(rbmn0mn.01$mu), rbmn0mn.01$gamma);
|
a30925b9cc87bcd9ecb7aa2f3e5a4d3c9e734160 | 060bf8e8b3f41e704a3d6620df1ccdcad4e4027b | /01_R.R | ad011b43261a8314976400a45e1eecad25334db0 | [] | no_license | FGalvao77/Fundamentos-da-linguagem-R | 51b96225ea46c01b7e283294a4d1fce938f37b3a | 1f1e4bb7a71d339a879f728b6aa106eeecdb4d44 | refs/heads/main | 2023-04-16T23:40:24.299488 | 2021-05-02T23:43:11 | 2021-05-02T23:43:11 | 363,127,544 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,304 | r | 01_R.R | ### LINGUAGEM R ###
# INTRODUÇÂO
# R é um software estatístico/linguagem de programação
# muito utilizado no campo acadêmico. Domina-lo é requesito
# essencial para Ciência de Dados e áreas correlatas,
# através da linguagem podemos manipular, visualizar dados e,
# criar modelos utilizando técnicas de Machi... |
d97488afe20c79d085c8b5711fee1d09e5acd5e6 | 191eb4a021427815a8a9c4a58bb7156106e9cb2f | /man/summary.xgb.Booster.Rd | b37276f687b1af96f860da8d52d487ee2d0fd5be | [
"MIT"
] | permissive | osofr/stremr | 65db4ed3720d5ea08e3b88a7cc408b8667c729cb | 5509d02786faf6f475331504934c5fb404c9f9b5 | refs/heads/master | 2022-02-13T15:22:02.706524 | 2022-01-21T20:31:15 | 2022-01-21T20:31:15 | 55,272,770 | 37 | 18 | MIT | 2017-12-09T23:57:32 | 2016-04-02T01:53:32 | R | UTF-8 | R | false | true | 687 | rd | summary.xgb.Booster.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summaryS3methods.R
\name{summary.xgb.Booster}
\alias{summary.xgb.Booster}
\alias{summary.xgb.cv.synchronous}
\title{S3 methods for fit summary from xgboost}
\usage{
\method{summary}{xgb.Booster}(object, ...)
\method{summary}{xgb.cv.synchrono... |
97b23db9dba2ff370af4f5c8ebe8db44f5597cde | 39c5367005b26b0c9ea6246ebc00584f08582588 | /NewsData_Analysis.R | a8990f0e4d707d6ce6b48e81368ad2e6a5e13307 | [] | no_license | konrad-c/GlobalTerrorismAnalysis | a82273e88f76f761cdbd88ca01ee386c318a9654 | 96fa12b3b9632ec3a5f105bcf17ed66b3ede8361 | refs/heads/master | 2021-01-22T22:40:19.028125 | 2017-06-16T02:07:11 | 2017-06-16T02:07:11 | 92,785,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,433 | r | NewsData_Analysis.R | library(ggplot2)
library(dplyr)
library(reshape)
library(gridExtra)
library(MASS)
library(lubridate)
install.packages(devtools)
devtools::install_github("baptiste/egg")
library(egg)
rlm_eqn <- function(df){
x <- df[, 1]
y <- df[, 2]
m <- rlm(y ~ x, df);
eq <- substitute(italic(y) == a + b %.% italic(x),
... |
d2cb98758e0d28871ca459df900cea8a3e860dbb | 5702e55d934ebabd9d61c01bc5b496ea17dc4435 | /man/specificity.Rd | d5150c1cc39228a6ef9a35bcc7532e77cb2bac11 | [] | no_license | selva86/woe | 438fbb7bc151360c97d5a8f300d79a8c02720c75 | 38481226136ff360b1e605dce9d34727d1dbed31 | refs/heads/master | 2021-01-15T10:47:39.246174 | 2015-07-15T09:24:14 | 2015-07-15T09:24:14 | 39,127,020 | 3 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,812 | rd | specificity.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/Main.R
\name{specificity}
\alias{specificity}
\title{specificity}
\usage{
specificity(actuals, predictedScores, threshold = 0.5)
}
\arguments{
\item{actuals}{The actual binary flags for the response variable. It can take a numeric vec... |
f4433433593c78ea822f1940a053c10aab6f7d2e | a97fcd5dd4476719add56cf3d2b5abda7f5551bc | /man/configShow.Rd | f55117b9252070e5f2d9fbc5e223dcdee66b9a2d | [] | no_license | cran/phyloTop | e80ceeb2370d8d2da8580faa8f15633fdeb98480 | 38204136f9ed299a02236a53f0bf025a4caa9a44 | refs/heads/master | 2023-02-07T07:22:57.555086 | 2023-01-24T14:20:02 | 2023-01-24T14:20:02 | 17,719,233 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,015 | rd | configShow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/configShow.R
\name{configShow}
\alias{configShow}
\title{Plot a tree highlighting configurations}
\usage{
configShow(tree, configSize, mainCol = "black", configCol = "red", ...)
}
\arguments{
\item{tree}{a tree of class \code{phylo4}}
\item{... |
399228d087e2ebf63801d9b4377c8afef7e90d1e | 2bf11ad7ba3acccdac7f5e7d2dedcbe7ca7029b8 | /Recursion_in_R.r | cfe0cf9319f0860da761043237608462284b4abb | [] | no_license | SainiManisha/r-tutorial | c6ba612ceaf6e326a660c279d645b82b6090ff32 | f83e8578a34f5b643bae6af387332fd93c208a77 | refs/heads/main | 2023-03-24T08:45:23.120828 | 2021-03-22T08:21:03 | 2021-03-22T08:21:03 | 335,750,797 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 144 | r | Recursion_in_R.r | recur_factorial <- function(N)
{
if (N == 0)
return(1)
else{
return( N * recur_factorial (N-1))
}
}
# calling a fuction in R
recur_factorial(5)
|
f27a9a11b78910f5c4c769489b5962475dc7c717 | 1e24762ee424a22667d890fbb6a42ac2fad38d4f | /bioconductor_docker/install.R | bc9ea9c2b06c977fa46821fe729af727187aa3eb | [
"Artistic-2.0"
] | permissive | ahalfpen727/Docker-Resources | ffad1005718ca58173dd20ba2efea36d3e4251f0 | f57f8801e45cea00155fcc195fb60b625ef4ed71 | refs/heads/master | 2023-07-09T15:01:00.559909 | 2021-08-16T20:05:42 | 2021-08-16T20:05:42 | 298,450,065 | 1 | 0 | null | 2021-05-19T09:47:14 | 2020-09-25T02:45:21 | Jupyter Notebook | UTF-8 | R | false | false | 162 | r | install.R | install.packages("BiocManager", repos="https://cran.rstudio.com")
BiocManager::install(version="3.12", update=TRUE, ask=FALSE)
BiocManager::install('devtools')
|
210cf7c0a2f7abb4fddf4a86901ab5f491695fbb | 76b152ff172124168f80893fd8a267bd7e72315e | /man/nonLinearNoiseReduction.Rd | 8dc839c6d93d98bbd3c2a71aa9382c1d89d299a1 | [] | no_license | constantino-garcia/nonlinearTseries | c303b79504f357b4e250f86edf2113798e01eefc | 1e311c272176cda17d27a7a293eb40e0542f2c65 | refs/heads/master | 2023-08-05T04:40:22.257391 | 2023-07-31T13:02:30 | 2023-07-31T13:02:30 | 101,268,975 | 31 | 19 | null | 2020-06-12T07:27:52 | 2017-08-24T07:53:46 | C++ | UTF-8 | R | false | true | 1,098 | rd | nonLinearNoiseReduction.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nonLinearNoiseReduction.R
\name{nonLinearNoiseReduction}
\alias{nonLinearNoiseReduction}
\title{Nonlinear noise reduction}
\usage{
nonLinearNoiseReduction(time.series, embedding.dim, radius)
}
\arguments{
\item{time.series}{The original time ... |
55282ced61f7a3c9aae28b015736e50b88283a3a | 17f54c156da4481ca94defe43c6017c87fc72045 | /code/textAnalytics.R | 61a3cb2d72926e30a2026c447869d56314f27bb0 | [] | no_license | dk27/dk-website | 86b58b3361ad20576b6ac3571680b7c560e78a00 | 159a5c0abba586cd1f4409e09c949622f03eb7f1 | refs/heads/master | 2021-07-10T12:00:08.618333 | 2021-02-23T04:05:49 | 2021-02-23T04:05:49 | 231,258,766 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,980 | r | textAnalytics.R | install.packages(c("tm", "wordlcoud", "ggplot2", "rvest", "udpipe", "lattice", "igraph", "ggraph"))
library(tm)
library(wordcloud)
library(RColorBrewer)
library(ggplot2)
library(rvest)
library(stringr)
library(udpipe)
library(lattice)
library(igraph)
library(ggraph)
# webscrape the following page
text<-read_html("htt... |
cd849cc8f803bd592fe59408743d137a88837eff | 59247616dbc503b0efb48b2725514e1310a47ada | /cachematrix.R | d09edf802933f0d51279203155829fefbae76cc1 | [] | no_license | mbemowski/ProgrammingAssignment2 | fc031e84398c5d6edd47ec54d663f69895c594ad | 93f94206f6c00f5ab9800d43ff4db1c4eba3fa7e | refs/heads/master | 2021-01-16T20:52:01.843966 | 2015-02-22T07:02:15 | 2015-02-22T07:02:15 | 31,138,693 | 0 | 0 | null | 2015-02-21T19:57:41 | 2015-02-21T19:57:40 | null | UTF-8 | R | false | false | 1,168 | r | cachematrix.R | ## A pair of functions that allows to create special matrix object that can
## cache its inverse and calculate the inverse or get the cached value.
## Creates a matrix object that can cache its inverse.
## Argument x is a matrix which will be represented by this object.
makeCacheMatrix <- function(x = matrix()) {
i... |
ec345cd0ceab36e6fa8798b04e73a4839f9d563b | a757ed0562e0bbe12fc142cb5f44bd84a0e1ee98 | /R/autoplotECRResult.R | 2ffd787af9ee3c49cb058edccd85977e924fb6bc | [] | no_license | kerschke/ecr | 5cc7d7bec3592fdbf80d1991a281cccddcc2e88c | eb4902e95acbb12d24b6701edaa81256c6efda31 | refs/heads/master | 2021-01-18T21:01:23.212562 | 2015-09-23T17:23:14 | 2015-09-23T17:23:14 | 43,227,729 | 0 | 1 | null | 2015-09-27T00:01:46 | 2015-09-27T00:01:45 | null | UTF-8 | R | false | false | 4,339 | r | autoplotECRResult.R | #' @title
#' Plot optimization trace.
#'
#' @description
#' Call this function on the result object of an \code{\link{doTheEvolution}} function
#' call to visualize the optimization trace.
#'
#' @param object [\code{ecr_result}]\cr
#' ecr result object.
#' @param xlim [\code{numeric(2)} | NULL]\cr
#' Lower an... |
f4eb0d4f759fcd3b1962431f95a74660c006225b | 081c62f36f7703d7987218c1c22931e083198e73 | /CML/tales/fig3pzrz.R | a00c9efe9f89849d3b8046716e40befc408c9ef2 | [] | no_license | radivot/myelo | be7ed23a6d1772e55310ced91270aa1d09da6735 | 2498bed404c98f096fcda4075c34a2881265e24b | refs/heads/master | 2022-12-15T00:11:22.751773 | 2022-12-04T14:24:36 | 2022-12-04T14:24:36 | 6,070,078 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,863 | r | fig3pzrz.R | library(phaseR)
hahnYZp<-function(Time, State, Pars) {
with(as.list(c(Time, State, Pars)),{
dy = py*y*(1-y/Ky) - m*y*z
dz = rz - a*z + pz*y*z/(Kz^2+y^2)
list(c(dy,dz))
})
}
(pars=c(pz=4.1e3,Kz=1e3, py = 0.25, Ky = 1e+06, a = 2, rz = 200, m = 1e-04))
equi=findEquilibrium(... |
d28a46ef562a397e274c852c90ab0faee291990e | c79f532b3393594c6be183db4344fa7430a4247d | /src/old-files/old_spray.R | 967b7cbc96639e4ea7f9ef4057e2466ef6f1cc07 | [] | no_license | kahultman/west-nile-virus | eaa6cd5ec968f9857ce67a8f7be18da9d7673b8d | d09be7ce7fa512e7b21c35121d7c0b9df03f3394 | refs/heads/master | 2020-06-12T18:43:36.063725 | 2017-06-01T15:21:02 | 2017-06-01T15:21:02 | 75,773,193 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,962 | r | old_spray.R | # Load Spray data
library(tidyverse)
spray <- tbl_df(read.csv("./data/spray.csv"))
spray$Date <- as.Date(spray$Date, "%Y-%m-%d")
spray$Date2 <- as.POSIXlt(spray$Date)
spray$Year <- spray$Date2$year+1900
spray$Week <- floor((spray$Date2$yday - spray$Date2$wday + 7) /7)
spray$Date2 <- NULL
save(spray, file = "./data... |
5f6c8dd21eb9392e108e0cdc51099f35e6a898b9 | b80d5cc2a076fd461f0478c5b265bc1d4ade5f75 | /man/lookup.Rd | 1be69cccb0a6a97821c0dde43bf10b4549f060e0 | [
"MIT"
] | permissive | minghao2016/DOPE | 0b3355db8220a1302e1c86cc92e8b175af2fc2c2 | 59b5c5c52cb27782225cd5dcffe098a85184a23a | refs/heads/master | 2023-06-02T15:44:07.358443 | 2021-06-18T18:05:58 | 2021-06-18T18:05:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,111 | rd | lookup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lookup.R
\name{lookup}
\alias{lookup}
\title{Make a table with the class and category for a drug name}
\usage{
lookup(
drug_vec = NULL,
...,
searchClass = TRUE,
searchCategory = TRUE,
searchSynonym = TRUE
)
}
\arguments{
\item{drug_... |
9a59e32ad7cb15911d7c40073a5d58db949e2904 | 8c15573683b8849dcd8b9022fcc6db81ed9b9b3a | /r/metaprep.r | 37db413f16107cb277beb04d30a3d5ff274a3286 | [] | no_license | seananderson/ext-meta | 3b9c94a7d62b756b9a136258b3acd14b98ee3889 | d03a13364e164a33825954808d4ef83a95fbbc85 | refs/heads/master | 2021-01-02T09:34:45.390037 | 2015-03-11T16:55:19 | 2015-03-11T16:55:19 | 11,616,353 | 0 | 0 | null | 2014-10-22T04:13:35 | 2013-07-23T18:53:14 | R | UTF-8 | R | false | false | 8,980 | r | metaprep.r | ############################
# Prep data and functions for the meta-analysis
#
#
# Changelog
# 20121030 - added centered environmental variables to ext
############################
#library and data
library(metafor)
library(plyr)
library(lme4)
library(ggplot2)
#######
# helper functions
#######
#read in a set of f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.