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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70c739066ad5e3c82770f0fb4aa0d955458ed923 | ab79177ad95b0e89d70210a3478b91f98cdb6b30 | /tests/testthat/test_fmriglm.R | f7f87b498ea1c279f8509588dec65423f432f5b2 | [] | no_license | bbuchsbaum/fmrireg | 93e69866fe8afb655596aa23c6f9e3ca4004a81c | 2dd004018b3b7997e70759fc1652c8d51e0398d7 | refs/heads/master | 2023-05-10T17:01:56.484913 | 2023-05-09T14:38:24 | 2023-05-09T14:38:24 | 18,412,463 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,516 | r | test_fmriglm.R | options(mc.cores=21)
facedes <- read.table(system.file("extdata", "face_design.txt", package = "fmrireg"), header=TRUE)
facedes$repnum <- factor(facedes$rep_num)
gen_mask_file <- function(d, perc) {
arr = array(0,d)
vals <- ifelse(runif(prod(d)) > .5, 1, 0)
vol <- NeuroVol(vals, NeuroSpace(d))
fname <- paste0... |
0704e4d368ca0018f2be60e59a10218b85f0c9c3 | 3b6e33423205f0766e050f5e215b44c69b730210 | /experiment/ModelBSP-Subsequence.R | 422a4a760d08e5f169d6c4b58f147d3c288aca8f | [
"MIT"
] | permissive | marcosamaris/BSPGPU | f200b920fa28255ecebfc3bc801a7a948656d192 | 41e6e8cf836fdc2b501e48ce58de7d752daf2926 | refs/heads/master | 2021-01-22T04:57:44.867505 | 2015-11-17T13:14:27 | 2015-11-17T13:14:27 | 26,322,065 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,666 | r | ModelBSP-Subsequence.R | ############ Maximum Subsequence GLobal Memory #################
### BSP MULTILEVEL MEMORY
# The palette of color
cbbPalette <- gray(1:6/ 8)#c("red", "blue", "darkgray", "orange","black","brown", "lightblue","violet")
Nn <- 17:29;
N <- 2^Nn;
gridsize <- 32;
blocksize <- 128
numberthreads <- gridsize * blocksize;
N... |
95a54fef7a012ed466d6a24614ff443509332be8 | 1c1e0c617214a4e13304e47df84167a646e94935 | /ExploratoryDataAnalysis/assignment1/plot3.R | 6ef1bf92996fafb171b927f59e01ef2731cd0fb8 | [] | no_license | kn2m/datasciencecoursera | 667e0710c939518438a9d4982c76f3b4f12ff41d | 1455050fe5983f35969732c86d9c2c83bad23902 | refs/heads/master | 2016-09-05T11:04:29.116509 | 2015-06-07T07:46:46 | 2015-06-07T07:46:46 | 25,230,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 950 | r | plot3.R | #get data if needed
power <- read.table(file="./household_power_consumption.txt", header=TRUE, sep=";", na="?")
power$Time <- strptime(paste(power$Date, power$Time), "%d/%m/%Y %H:%M:%S") #convert to time class
power$Date <- as.Date(power$Date, "%d/%m/%Y") #convert to date class
powersub <- subset(power, Date %in% as... |
10e21ed480ee8598027545ebde48bf6bf939d0ca | c275a9710945be41621d3981d8c78fc7a6e74873 | /R/plot.R | f357a1eccfce56e90fb4799c82a312899c564e2e | [] | no_license | mhu48/pudms | e60bbc1a359e191a28787d2debfa3ccb6394e40c | 1564b34f6c241b9e02f814ac73d0cbd12bfc3112 | refs/heads/master | 2023-02-06T01:36:16.598004 | 2020-12-29T22:53:18 | 2020-12-29T22:53:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 148 | r | plot.R | #' @export
#' @method plot vpudms.fit
plot.vpudms.fit<-function(x,y,...){
idx=which(x$py1 == x$py1.opt)
rocplot(x$roc_curves[[idx]],x$py1.opt)
} |
1aa0bb38a869c3f841cc9e3ab95e55233173a904 | 707dc4af84fb0269217e4d611ba3c55ee953df89 | /practice.R | d0025b2abc08560bf96a9376bfd875e80add2ef9 | [] | no_license | solayman34/intro_to_r | 82544c917299b8363799502cdff83f6821acd203 | 57e5b35ac5d5a308ec623b213583173a9c1171e3 | refs/heads/master | 2020-07-04T10:58:14.887074 | 2016-11-17T23:39:29 | 2016-11-17T23:39:29 | 74,071,055 | 0 | 0 | null | 2016-11-17T21:56:59 | 2016-11-17T21:56:59 | null | UTF-8 | R | false | false | 179 | r | practice.R | library(ggplot2)
library(dplyr)
load('suicides.rdata')
all_suicides <- copy(suicides)
suicides <- suicides %>%
group_by(year, state, means)%>%
mutate(deaths = sum(deaths)) |
0ab16f67febe071dc5bf4ed349c4e4ef0a44e164 | 13358b75a418e71fa66078bb84832428707e656e | /R/getSEcoverage.R | 3180396083f5743bb26eacd53af4e51efa12b419 | [] | no_license | vjcitn/groupAct2018 | dc2acbb0a6afd96fbcd730c6c5067282e168c9ba | 901d3a2f0573ee4785fbb29628800eb24c970e06 | refs/heads/master | 2020-03-23T20:04:35.036796 | 2018-07-23T14:49:55 | 2018-07-23T14:49:55 | 142,019,939 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 684 | r | getSEcoverage.R | #' retrieve a covr report for SummarizedExperiment
#' @import covr
#' @export
getSEcoverage = function() {
get(load(system.file("coverageObjs/SE_covr.rda", package="groupAct2018")))
}
#' retrieve a covr report for DESEQ2
#' @export
getDESEQ2coverage = function() {
get(load(system.file("coverageObjs/DESEQ2_covr.rda", ... |
478bb37494cae5741170d5fcd0f7c73aa5dec902 | a44911027ee6ec4612407db8b32b6428c6f61474 | /Data/KNI/Archive/wind 2.R | 68ed5e6c5480dc3db0c2b004abb6daac8a3ea479 | [] | no_license | OVazquezVillegas/Complex-knowledge-repository | 8db607994ebff801a9573a3e8ebf37a685d89b15 | 7b28cc886121dbcae1797cf2ccaaed03d79bccb9 | refs/heads/main | 2023-08-15T07:13:01.282231 | 2021-10-07T14:57:42 | 2021-10-07T14:57:42 | 414,311,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,487 | r | wind 2.R |
###################################
#### #####
#### Calculating KCI #####
#### #####
###################################
setwd("~/OneDrive - UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO/MSc Innovation Sciences/Thesis/Data/KNI")
library(dplyr)
library(igraph)
# ... |
29d18237442d3ac23e0d1d4118649cfc463be55f | 54cf3cbbf1bd7d7561bbdc91c6ed2731f06863ba | /testOfMVaR.R | c37e5d6a4c9e2d01989d61399fa38cbd5bf3e30a | [] | no_license | mcastagnaa/ODBCtest | 037994e96330424dec448e1d4955b8d4c26c0d88 | 6f93ad94b992033fa51ecbeb9623f82022914222 | refs/heads/master | 2020-05-26T21:45:43.637906 | 2015-07-06T09:30:25 | 2015-07-06T09:30:25 | 38,609,739 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,059 | r | testOfMVaR.R | rm(list =ls(all=TRUE))
perfSet <- readRDS("perfSet")
finalSet <- readRDS("riskSet_allData")
# Define top n risk contributors
n = 1
typicalPortSize <- nrow(finalSet)/nrow(perfSet)
finalSet$WBeta <- finalSet$Weight*finalSet$Beta
#change this to perform different sorting
##############################
selector <- fina... |
586dbfb92585f5db5b4335a6ab4e8b049aa1c304 | a2a59e1b3f41868d7e1206cbd54381e60340d303 | /main.R | 8e651c0c6bff3f33b14ee8dabaa680da88f754af | [] | no_license | jakub-tomczak/HerringsLengthAnalysis | cf1180730e76a274c5798e2d73c153b7e87f8390 | 7951dc23caf22e8d8d3a3e2bbd5e9dc5e51e213c | refs/heads/master | 2020-08-21T07:50:20.098513 | 2019-12-14T23:36:57 | 2019-12-14T23:36:57 | 216,113,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,287 | r | main.R | source("src/functions.R")
herringsFilename <- 'files/herrings.csv'
rawData <- loadData(herringsFilename)
####################################################
################ data transform ####################
####################################################
herringsData <- transformData(rawData)
herringsDataY... |
f909d97ce63b326d0bfee90c224d7009286a2dd7 | 294e36fef96337698265224df79603842e6f242b | /Q3.R | 02cb3cda296816d29c2755d339e9807003a586c0 | [] | no_license | rizwanhaidar/Data-Visualisation-probability-and-statistic-Assignments | 5b3c6d43fe2061b87e16d749c8a0a39f1cf67b4b | c82bf519597408b7ed32b0345b3851765854bc2d | refs/heads/master | 2022-11-14T21:08:00.835527 | 2020-07-02T05:32:16 | 2020-07-02T05:32:16 | 242,201,248 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 373 | r | Q3.R |
#including Plot library for 3-d Plot
library(plotrix)
Robots_Name_vector <- c('Legs','Wheels','Both','Neither')
Robots_Number_vector <- c(63,20,8,15)
color_vec = c ('bisque2','darksalmon', 'lightyellow3', 'lightcoral')
#Pie chart of Robots
pie3D( labels = Robots_Name_vector , explode=0.09, Robots_Number_vec... |
d0cd5366da8be9f88e6c361b95b70d5eed778719 | 3f14dbf3fe52796815b2a898cceeeebad084e01b | /R/allele.predictors.R | 5b5978638a610a2a7999cbcca3284744c70b8b00 | [] | no_license | IFIproteomics/E2Predictor | 27ad22c3cd3e47ca5eeb1fc2e05610033317c399 | ee8208b13547fcaf25c11802459e453088053b36 | refs/heads/master | 2020-04-06T07:10:44.952674 | 2016-09-12T09:27:38 | 2016-09-12T09:27:38 | 65,803,735 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,328 | r | allele.predictors.R |
#' predictNeoEpitopes predicts the most likely alleles for ligands
#'
#' @param ligands a data frame, which should contain at least two variables: Sequence, cell.line
#' @param predictor.value indicates which value is used to estimate the best prediction between different alleles
#'
#' @return netMHCpredictions data.f... |
9da06e908264cc275cd5640fe12a42fd040e8b32 | 603bb2c32e69c8aaf72d14c503411160c63944b3 | /eseguiScript.R | 5474f18715e85b9fcd2c3379891ee8f536cc1ebc | [
"MIT"
] | permissive | flavioaic/LongTermPlanningDISD | ba3697d32d3c1a6dd48ab743dbfb6f1c8f860277 | 59ec9011dc129be8c437f25ec17b05a53915d5dd | refs/heads/master | 2021-01-25T10:21:40.930682 | 2018-02-26T17:50:46 | 2018-02-26T17:50:46 | 123,350,191 | 0 | 0 | null | 2018-02-28T22:31:16 | 2018-02-28T22:31:15 | null | UTF-8 | R | false | false | 469 | r | eseguiScript.R | #Modulo1 - Interpretazione db
source("InterpretazioneDB\\caricamento_serie_da_db.R", echo = TRUE)
#crea le rotte 1
source("AnalisiDatabaseDataMining\\rotte2.R", echo = TRUE)
#crea le rotte 2
source("AnalisiDatabaseDataMining\\AnalisiRegressioneLineare\\voli_vs_rotte.R", echo = TRUE)
#clustering
source("ClusterAnalysi... |
c618a12847b10916e37a87b1b28f314445ec99f8 | 432ae33415269ec9ec4d22dce53f5375422c138f | /plot1.R | 8ee22bea7661a75c9e4f7943ef66e5763cccd61e | [] | no_license | davijeo89/ExData_Plotting1 | 74482c0f78f41dce1ee8bb6fb4d25d1378a2e067 | 2f010515fdd28e6d93a832bda5be0ebea46b0b62 | refs/heads/master | 2021-01-18T00:14:14.683023 | 2015-11-08T01:09:43 | 2015-11-08T01:09:43 | 45,704,103 | 0 | 0 | null | 2015-11-06T19:55:22 | 2015-11-06T19:55:22 | null | UTF-8 | R | false | false | 393 | r | plot1.R | data = read.table("household_power_consumption.txt", sep=";", header = TRUE)
data$Date = as.Date(data[,1], format = "%d/%m/%Y")
dataToUse <- data[data$Date >= "2007-02-01" & data$Date <= "2007-02-02", ]
png(file = "plot1.png")
hist(as.numeric(as.character(dataToUse[,3])), breaks = 12, col = "red", main = "Global Active... |
923b88da922e2622947e56e40d3073bda4fe8669 | 2f6f49557b57baeaaf4993d5f1cfcf72c2e797f5 | /installs_for_sangerseqR.R | 520e05c54c06db4e7976ed8d12c7335fe87f0bcc | [] | no_license | James-Kitson/OPM_nest_associates | b91292a39144c59eb01a66395da80f68048f8e61 | 822d4a96c33216e7cfcb80ba9200e64e5bb8ed7d | refs/heads/master | 2021-01-19T09:03:50.124650 | 2017-02-17T16:15:26 | 2017-02-17T16:15:26 | 82,082,363 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 468 | r | installs_for_sangerseqR.R | ## clear workspace
rm(list=ls())
# CRAN packages
#install.packages("parallel")
install.packages("ape")
install.packages("reshape2")
install.packages("phangorn")
install.packages("stringi")
install.packages("stringr")
# Bioconductor packages
source("https://bioconductor.org/biocLite.R")
biocLite("DECIPHER")
biocLite("... |
e8b300399143c5d449df71cab14dcd779100cb77 | 1f9b2393f1ad1408b5f41723d76b93a6c3817640 | /productorapp/R/spinnerbox.R | 0fb601e84d9b18d2e3ab193d41845da2e268e7ef | [] | no_license | dscheel42/productor | 259d8bf31da3e12dd3153af5c4739c06c8348990 | 413387ed6b35e503777820ffeb47e8f625d36064 | refs/heads/master | 2022-12-03T12:04:35.841905 | 2020-07-29T21:21:18 | 2020-07-29T21:21:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 111 | r | spinnerbox.R | #' @export spinnerbox
spinnerbox <- function(output, width = 12) {
box(withSpinner(output), width = width)
}
|
aca97539e03512b199b535a8e884e4ea8b5fa359 | 9634fe37b7cc53537d85e456886d842f8233401b | /R/robust_variation.R | 63047426a656f62bbc7425f49c7c82a9167ffb1e | [] | no_license | MoseleyBioinformaticsLab/manuscript.ICIKendallTau | 685ee22b6f46a54c611bd92f7377ada0161ee23b | 8fd33d7a52432ff4a4b89d14c899b13c3050837a | refs/heads/main | 2023-08-03T21:02:02.111442 | 2023-07-25T19:36:40 | 2023-07-25T19:36:40 | 429,873,882 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 711 | r | robust_variation.R | calculate_variation = function(median_cor_df){
suppressMessages(median_cor_df %>%
dplyr::group_by(method, sample_class, keep_num) %>%
dplyr::summarise(median = median(med_cor), mad = mad(med_cor)))
}
calculate_differences = function(median_stats, groups = NULL){
if (is.null(groups)) {
groups = unique(m... |
f8af4e066076f3852f765f4778d2da75221d7889 | 33dcb93db307d9c524b20476104fa1109570351b | /man/fac_set.Rd | 31d843b06c1aacdd0bda94c77ef84473654f6654 | [] | no_license | STAT545-UBC-hw-2018-19/hw07-chenchenguo | 2e5d93c1dbf06803533327e3257c38282aa869b0 | 45eb5588ed25c18002ce38512142b11b26535e1d | refs/heads/master | 2020-04-05T09:20:05.706634 | 2018-11-13T03:40:35 | 2018-11-13T03:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 335 | rd | fac_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fac_set.R
\name{fac_set}
\alias{fac_set}
\title{Setting levels as it appears in data}
\usage{
fac_set()
}
\arguments{
\item{one}{factor}
}
\value{
same factor but whose level set to the order of itself
}
\description{
Setting levels as it app... |
27d79ab20f04697369d51b4f821c7cf4d7a211b2 | 2c263c502c2b46a067ad8af056a29e29980b6aa8 | /Final Codes/Data cleaning.R | c1e4242b903cd7d66461b02547dac662fd44bd8e | [] | no_license | shivamnegi92/Prudential-Life-Insurance-Assessment--Machine-Learning | 9e58aa69b9a726199f5575f2b7b69b10c99ea1b9 | 61de86df3af746de48d0f7a6c8f1e52ad3e8dfeb | refs/heads/master | 2021-09-07T21:05:42.409606 | 2018-03-01T05:09:50 | 2018-03-01T05:09:50 | 108,802,485 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,846 | r | Data cleaning.R | #installing all packages
install.packages("forecast")
install.packages("ade4")
install.packages("forecastHybrid")
install.packages("e1071")
library(forecast)
library(ade4)
library(e1071)
library(ggplot2)
library("rpart")
library("rpart.plot")
# Loading our dataset into R
mydata <- dataset
#1. Pre-processing and cl... |
92e266174cb31ebfdfd5a2eb97596abf43464efc | 495a06460a2a3d55be2de4a707bfea492a88fb59 | /program/leave-vs-leave.R | a4142e9aa3225d19d095d6a2eaf8616fc39b10bb | [] | no_license | mlmagniette/Key_ingredients_Differential_Analysis_RNAseq | 582bb95ec5e4df5751e5153cc5596f8f42a67594 | b0f401551b2c0d2c617828c8ca94fbdb43a43d00 | refs/heads/master | 2020-05-29T16:09:16.095448 | 2016-09-19T06:31:33 | 2016-09-19T06:31:33 | 59,275,079 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,094 | r | leave-vs-leave.R | origin<-getwd()
source("DiffAnalysis.limmavoom.R")
source("DiffAnalysis.edgeR.R")
source("DiffAnalysis.glm.edgeR.R")
source("DiffAnalysis.DESeq.R")
source("DiffAnalysis.DESeq2.R")
## data
dat <- read.table("../real_datasets/Arabidopsis_dataset.txt",h=T)
countTable<- dat[, c(4, 6, 5, 7)]
rownames(countTable)<-dat$ID
#... |
8eb79ceb33428a7be68be173d85d1548c0971ba3 | eb62b4e11c2fabee75b4dcfbe5ab2e11a64450b9 | /man/search_variants.Rd | 81d975158f5d5702d5fc75f9e9316a5b7fa4e8b9 | [] | no_license | cran/Rga4gh | af195a0de5a16298c01d9c0692715ec1e582bf5b | 76cd4974e4a1d9fc6dcebe3c46c27f4f164b75e6 | refs/heads/master | 2020-12-24T10:57:01.533892 | 2016-11-07T21:07:40 | 2016-11-07T21:07:40 | 73,116,702 | 0 | 1 | null | 2017-02-08T20:45:22 | 2016-11-07T20:12:44 | R | UTF-8 | R | false | true | 1,971 | rd | search_variants.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/search.R
\name{search_variants}
\alias{search_variants}
\title{Search for Variants}
\usage{
search_variants(client, variant_set_id, call_set_ids = NULL,
reference_name = NULL, start = NULL, end = NULL, page_size = NULL,
page_token... |
0eb5f38692d3f9fbc30665fdabfcb9e19f8b5ab0 | 17456a986046b7762673ca2f77bcc68c33108e88 | /man/streambugs.write.sys.def.Rd | 9492a866381534e95bfce8e32808be5f7bf6fe3d | [] | no_license | cran/streambugs | 1616a27c952f788df0cd9def1656676ba46adb9e | a9e608ff6575e9cab9148b8be6a61389eecc7933 | refs/heads/master | 2023-02-02T20:42:30.709825 | 2023-01-27T14:00:02 | 2023-01-27T14:00:02 | 112,500,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 766 | rd | streambugs.write.sys.def.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/streambugs_aux.r
\name{streambugs.write.sys.def}
\alias{streambugs.write.sys.def}
\title{Write system definition of the streambugs ODE model}
\usage{
streambugs.write.sys.def(sys.def, file = NA)
}
\arguments{
\item{sys.def}{system definition ... |
4724a92776de9566d77b1fb2373df55cbfada211 | bd9e04f73b0026b6be309d67ee78f786ef3d32f4 | /man/convert_gene_id.Rd | db1f10119c2ccba0055e3eb38c8802f1ceb03f0d | [
"MIT"
] | permissive | 12379Monty/Larson_cfRNA_DarkChannelBiomarkers | b3ccc4d4664c5457611735c69c1b3aa9ddf67e57 | 8d891283a41a004b7e759076f66d4573e02aedb8 | refs/heads/master | 2023-02-24T08:30:11.663742 | 2021-01-29T17:26:08 | 2021-01-29T17:26:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 483 | rd | convert_gene_id.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert_gene_id.R
\name{convert_gene_id}
\alias{convert_gene_id}
\title{Convert the gene_id to gene_symbols}
\usage{
convert_gene_id(data)
}
\arguments{
\item{data}{a data frame for the expression matrix. The first column is the
feature name ... |
4f76525b67e6975755dfcb6ee211245d51d86cf7 | 4d07eecae0429dc15066b34fbe512b8ff2ae53ea | /mds-writeup/figs/wt2-mds.R | b044c5ec74b4bfa3f8b3ba9d1007cb4c01e1d8d8 | [] | no_license | distanceModling/phd-smoothing | 7ff8ba7bace1a7d1fa9e2fcbd4096b82a126c53c | 80305f504865ce6afbc817fff83382678864b11d | refs/heads/master | 2020-12-01T09:31:24.448615 | 2012-03-27T18:35:45 | 2012-03-27T18:35:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,534 | r | wt2-mds.R | # wt2 MDS diagram
source("mds.R")
bnd <- read.csv("wt2-verts.csv",header=FALSE)
names(bnd)<-c("x","y")
# data
gendata <- read.csv("wt2truth.csv",header=TRUE)
gendata<- list(x=gendata$x[gendata$inside==1],
y=gendata$y[gendata$inside==1],
z=gendata$z[gendata$inside==1])
na.ind<-!(is.na(g... |
5f6d8c24b73794c55674635194ca78316f03b0a4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NRejections/examples/resample_resid.Rd.R | 8ce5cd566ea7e77e3faf758da0234e33c44186d1 | [] | 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 | 806 | r | resample_resid.Rd.R | library(NRejections)
### Name: resample_resid
### Title: Resample residuals for OLS
### Aliases: resample_resid
### ** Examples
samp.res = dataset_result( X = "complaints",
C = c("privileges", "learning"),
Ys = c("rating", "raises"),
d = attitude,
cent... |
7aed99c0ad1b534519017b5c9fcdc5061bb1f8a2 | abf5d4febfcbf9fc3e482bfb1b9d2b6beffab12d | /inst/examples/geoquery.R | 5f7063378f720ad9781bceb4a273e40b187b85d2 | [
"MIT"
] | permissive | jrnold/UKCensusAPI | d7fb489a166f81b4d84821910713b2ea0abe8c06 | 7523bca9454ecd7cc1d670861adb6c134a52ce74 | refs/heads/master | 2021-07-03T15:23:31.965972 | 2017-09-22T21:23:17 | 2017-09-22T21:23:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 846 | r | geoquery.R |
library("UKCensusAPI")
cacheDir = "/tmp/UKCensusAPI"
# Here's a predefined query using Leeds at MSOA resolution,
# but we want to change the geographical area and refine the resolution
table = "KS401EW"
table_internal = "NM_618_1"
queryParams = list(
date = "latest",
RURAL_URBAN = "0",
MEASURES = "20100",
CE... |
f8142ac070433ce682034a3f4911c8edb4e45db8 | 15b0e0513e6206bb50c8fe6be4abbb16793eb560 | /man/mapsources.Rd | e10447dbb876747826788c94a77aabc754ead0fa | [
"MIT"
] | permissive | terminological/arear | 2566759ae77342a79a28b2a0d1cb389da337194b | 98cece8079c4470e029c966c6b6d103797207eba | refs/heads/main | 2023-06-07T16:02:46.919877 | 2023-05-26T14:49:17 | 2023-05-26T14:49:17 | 340,773,310 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 982 | rd | mapsources.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{mapsources}
\alias{mapsources}
\title{Locations of UK and international shapefiles relevant to COVID}
\format{
A list with:
\describe{
\item{source}{the human readable location of the map}
\item{url}{the web lo... |
73f3c8065fe0f186cf1305832fe65087e93cab13 | 103cefcd0a90175d953b11b1a13a6c76adb28aef | /analyses/traits/results_SeedMass_plot.R | 522a638506829930fcd6792e33946711ae53a821 | [] | no_license | lizzieinvancouver/ospree | 8ab1732e1245762194db383cdea79be331bbe310 | 9622af29475e7bfaa1b5f6697dcd86e0153a0a30 | refs/heads/master | 2023-08-20T09:09:19.079970 | 2023-08-17T10:33:50 | 2023-08-17T10:33:50 | 44,701,634 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 16,857 | r | results_SeedMass_plot.R | # rm(list=ls())
# options(stringsAsFactors = FALSE)
## Load libraries
# library(rstan)
# require(shinystan)
# library(hdrcde) ## better quantiles
# ## Set seed
# set.seed(202109)
#
# # Specify if this code should be run on Midge or on your own computer.
# MidgeFlag <- FALSE
#
# if(MidgeFlag == TRUE){
# traitsDa... |
91cd1829f13683fb8d0c61625191a51ff3e6308c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/metafolio/examples/count_quasi_exts.Rd.R | 2d9832f65289362df84f716aee2bb953730aa1ac | [] | 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,203 | r | count_quasi_exts.Rd.R | library(metafolio)
### Name: count_quasi_exts
### Title: Take 'meta_sim' output objects and count quasi extinctions
### Aliases: count_quasi_exts
### ** Examples
## Not run:
##D set.seed(1)
##D w_plans <- list()
##D w_plans[[1]] <- c(5, 1000, 5, 1000, 5, 5, 1000, 5, 1000, 5)
##D w_plans[[2]] <- c(5, 5, 5, 1000, 10... |
acb14900d3a589aa026db9eae07460e9df81d799 | 980ba508e74a2bae7724f32b74451453956ce61a | /functions/Screeplots.R | 1f3ed42253ff2e5df9f46c5c6b4171a7e46403f4 | [] | no_license | admash/aJIVE_NOWAC_code | 1727a4e571e9637b47c43f172d2e9a59e3a5d5bd | 16baeeb7335187225b0693a5e48a181047bb495b | refs/heads/master | 2023-04-25T07:46:14.848379 | 2021-05-03T08:52:59 | 2021-05-03T08:52:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 419 | r | Screeplots.R | # screeplot function
screeplot <- function(data, title=''){
for(l in 1:length(data)){
singular.values <- svd(data[[l]])[['d']]
singular.values <- singular.values[2:50]
index <- 1:length(singular.values)
print(ggplot(as.data.frame(x=cbind(index, singular.values)),
aes(x=index, y=singular.values)) +
... |
23c071233da7f56e68528d5233bac919188be59f | 29585dff702209dd446c0ab52ceea046c58e384e | /CompR/R/function_annexe.R | 714dbb1190b3d7ef5402bf717e29d4f33029c17d | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,450 | r | function_annexe.R | somme<-function(X,poids)
{
return(sum(X*poids))
}
contrindiv<-function(Pinoyau)
{
ncrit<-ncol(Pinoyau)
nprod<-nrow(Pinoyau)
vpi<-vector("list")
u<-vector("list")
denom<-vector("list")
res<-vector("list")
for (k in 1:ncrit)
{
vpi[[k]]<-rbind(t(Pinoyau[,k]),matrix(Pinoyau[,k],nrow=... |
6c6e93fa5d8f2b3d875393831e210f436160247f | db5539ed692b76179486d44db061599e5b3f37bb | /plot1.R | 89741bcaa270dcb17f32f6a7a7bdf5f97607aa31 | [] | no_license | Bluntgiantpanda/exploratory_analysis_project1 | 01c9596160789ce7036691d1ab2935ffc55bd939 | 12e35f83dfb4e3e619228bb4f2bfa7a58aa000c4 | refs/heads/master | 2021-01-12T21:09:40.593445 | 2016-07-24T19:36:35 | 2016-07-24T19:36:35 | 64,076,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 524 | r | plot1.R | # download the data to local directory and read the it as table.
data <- read.table(choose.files(), header= T, sep = ";", stringsAsFactors = F, dec = ".")
names(data)
newdata <- data[data$Date %in% c("1/2/2007", "2/2/2007"),] # only extract the rows between 1/2/2007 and 2/2/2007
str(newdata)
globalactivepower <- a... |
fd96992cd78a471832f797a9b851dac0fe0e49c5 | 523b71e8c9f9c792ae04ebcc32def70cc5b73dd7 | /biolog/script/20181210_dataprep.R | 9adf455599049fcc8400cbe34f09c3e632e410a4 | [] | no_license | padpadpadpad/alex_biolog_sequencing | 10c622a923782a0b9378c7145dc58f35d947f018 | cb7c96d169c8aecc87accc4a25d2cfae738ac751 | refs/heads/master | 2021-01-20T01:31:00.909879 | 2019-09-17T09:19:26 | 2019-09-17T09:19:26 | 101,292,510 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,274 | r | 20181210_dataprep.R | # prepping biolog files
rm(list = ls())
# load packages
library(ggplot2)
library(dplyr)
library(tidyr)
library(viridis)
library(ggridges)
library(lme4)
library(patchwork)
# figure path
path_fig <- 'biolog/figs'
# extra functions
read_plate <- function(x, type = c('raw_data', 'meta_data')){
if(missing(type)){type ... |
f77859085ce6b809fc8233974af48816ac9d2116 | c8c6861c5b847a7a7c22402537cf616780dcbfe8 | /historical_stock_data.R | f5772fdee673ccde09fb674cc34ee1ba2a885fa0 | [] | no_license | rafiqd/StockData | 3c7e630ba93a248fbbaad303a8171a0ae613a249 | 2d1f82d4ddd78ed739ce9eb1a863dd89a71f4a50 | refs/heads/master | 2021-01-23T16:18:22.829229 | 2017-06-04T04:57:15 | 2017-06-04T05:02:20 | 93,291,149 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,469 | r | historical_stock_data.R | library(RCurl)
library(XML)
library(ggplot2)
get_historical_data <- function(symbol){
url <- sprintf("https://www.nasdaq.com/symbol/%s/historical",
symbol)
html <- getURL(url, followlocation = TRUE)
doc = htmlTreeParse(html, useInternalNodes = TRUE)
text <- xpathSApply(doc, "//div[@id... |
5d28a1332865eece8f0b4de9a46737d4b666a3f9 | ed8d071495fc93ea0f724b5bb6d23961342e3c0d | /man/cyclic_fit.Rd | 81e9bd55e18b77ca5d40d2ac1f5c86282573eb75 | [
"MIT"
] | permissive | staggelab/spibayes | 0f456c8b260f6473a4e015dcdfccea5996f85a76 | 364024c1facc8598f50f7d68f0a9425f1ea188ee | refs/heads/master | 2023-04-12T19:33:01.296625 | 2020-11-12T16:43:06 | 2020-11-12T16:43:06 | 254,717,440 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 908 | rd | cyclic_fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_run.R
\name{cyclic_fit}
\alias{cyclic_fit}
\title{Run Cyclic model}
\usage{
cyclic_fit(
spi_input,
n_chains = 1,
iter = 1000,
cores = 1,
engine = "sample",
output_dir = getwd()
)
}
\arguments{
\item{engine}{options are sampl... |
6ddb4609e95497871921cb8c4b605358d65e6c8e | 3fe120aa90b0038d20249c62c9a289606a869994 | /R/Figure_1.R | 596fae4443ce5ab7c548eab731b749189c332d69 | [] | no_license | bradduthie/RandomMatrixStability | 571aa3664336ec0d138adddaea3bd10ad7151ced | cb445a765119e235e144277614bfdf19709e78e7 | refs/heads/master | 2022-11-20T14:33:56.175466 | 2022-11-15T22:00:54 | 2022-11-15T22:00:54 | 125,352,540 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,209 | r | Figure_1.R | #' Find a stabilised system
#'
#' This function finds a random matrix (M) for which the complex system it
#' represents is unstable before the addition of variation in component
#' response rate, but stable after its addition.
#'
#'@return If successful, a list that includes a matrix (A0) that is unstable in
#'the ab... |
5ac12134f4ef07eab86718d32ed6b0526cebbbac | 1efb93841792888abf660cc06107e6f405f08c63 | /metaanalysis.R | 24f6459ecfe128a805ec8ceb36a403d10184de23 | [] | no_license | sarraahr/Thesis_supplementary_material | 804c2243041cb08b690ff8278650ed7972a11d29 | 04cdf1818b4864c85397537b42a11ead48826e95 | refs/heads/main | 2023-07-04T08:02:33.032601 | 2021-07-31T17:13:11 | 2021-07-31T17:13:11 | 391,414,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,857 | r | metaanalysis.R | setwd('/...')
library(metafor)
library(tidyverse)
library(outliers)
library(PerformanceAnalytics)
#----PREPARE DATA----
# read the data set
data <- read.csv(
"meta-dataset.csv",
sep = ",",
dec = ".")
# inspect data
glimpse(data)
# inspect and visualize important values
summary(data$Percentage_IntegrativePot... |
e5179eab8d22e108a855086df706cc7d71005d63 | e3ce3ad557ebd51429ed7acfea936723149a8d4c | /R/sof.hosaki.R | 9a8ea2e804a3af97e2e50131977e079b0f7edb95 | [] | permissive | jakobbossek/smoof | 87512da9d488acfe3a7cc62aa3539a99e82d52ba | d65247258fab57d08a5a76df858329a25c0bb1b8 | refs/heads/master | 2023-03-20T02:05:12.632661 | 2023-03-08T13:59:27 | 2023-03-08T13:59:27 | 22,465,741 | 32 | 27 | BSD-2-Clause | 2022-01-21T10:02:19 | 2014-07-31T10:39:43 | R | UTF-8 | R | false | false | 1,395 | r | sof.hosaki.R | #' Hosaki Function
#'
#' Two-dimensional test function \eqn{f} with
#' \deqn{f(\mathbf{x}) = (1 - 8 \mathbf{x}_1 + 7 \mathbf{x}_1^2 - 7/3 \mathbf{x}_1^3 + 1/4 \mathbf{x}_1^4)\mathbf{x}_2^2e^{-\mathbf{x}_2}}
#' subject to \eqn{0 \leq \mathbf{x}_1 \leq 5} and \eqn{0 \leq \mathbf{x}_2 \leq 6}.
#'
#' @references G. A. Beke... |
2d5373cce82be3f45fa4a316c7c2739dcc52db41 | abaf4eeb0c3b490b9ec499591fbbdeaf09e2e138 | /man/test.loom.Rd | e05ad53dc28a5ef5824681e4451cab260aefba9b | [] | no_license | drisso/LoomExperiment | ab0b0eb876907236b399ab1802129fecf44903a7 | 99268dd36b2520d41dfdba816103d9772e3718e4 | refs/heads/master | 2021-09-08T12:47:10.678887 | 2018-03-09T19:56:23 | 2018-03-09T19:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 297 | rd | test.loom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test_loom.R
\docType{data}
\name{test.loom}
\alias{test.loom}
\title{test.loom}
\format{An hdf5 file in the .loom format}
\description{
A simple loom file with dummy data used for testing purposes.
}
\keyword{datasets}
|
6882356ef257d8f1a7f4eedc4c44bcc795f10426 | 8fb835ddd09b3c4d9a82341e9ce4786df1185c3a | /R/redundant.R | 7b493d96d3fc9384ee6d2d2d3446deaf7b3ff7d8 | [] | no_license | cran/cna | 45d270414ce1e8773476bc61804cfde9cf9f4f7d | 5cb4a6902ad3c08e0cce3a20feaf5eb8a118e297 | refs/heads/master | 2023-08-16T22:57:16.661350 | 2023-08-10T18:00:11 | 2023-08-10T19:30:27 | 19,706,878 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,671 | r | redundant.R |
redundant <- function(cond, x = NULL, simplify = TRUE){
cond <- noblanks(cond)
.redund(x, cond, simplify)
}
# ==== .redund() ====
# Switch order of first 2 args to provide dispatching on x
# Generic function
.redund <- function(x, cond, ...) UseMethod(".redund")
# ==== Default Method (for matrix or da... |
cde6fa9f36be4ae6283c2a3b9a40578a7b9a310a | 990bf4ec6404fb77557dfe1fc65841b327fd426d | /man/geobon_get.Rd | f884f18c58c58f5acf9d6eed7765eefe7132b685 | [
"MIT",
"CC-BY-4.0"
] | permissive | VLucet/rgeobon | 83a42d0b824c5ec4f2f9ea6934230fba039a432d | 247a522330c5a4c30c7341d66c0e0789e527a179 | refs/heads/master | 2023-03-21T18:04:38.711471 | 2021-03-13T19:35:34 | 2021-03-13T19:35:34 | 273,297,516 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 741 | rd | geobon_get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geobon_get.R
\name{geobon_get}
\alias{geobon_get}
\title{Get specific GEOBON EBV record}
\usage{
geobon_get(id = NULL, ebv_class = NULL, ebv_name = NULL)
}
\arguments{
\item{id}{(integer) ID of the dataset}
\item{ebv_class}{(character string... |
ba95d1727b1eaa16f4500b9ad1bf7d13f4622413 | adbc26a052ea437a933c2dd2e9cb45a216d90946 | /Calibration.R | 5f97af66af97af0a4a90eb5ad1eee4169a957e91 | [] | no_license | jamarabe/Math5 | 2bba471ee315eda379252cb4b990209b39408bf3 | a96d32c1197d6b21a92d8a1b7647455c5d5521d4 | refs/heads/main | 2023-08-27T13:18:28.091914 | 2021-11-01T21:36:00 | 2021-11-01T21:36:00 | 423,619,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,605 | r | Calibration.R | #####
#Defining Q matrix
Qmatrix <- matrix(0, nrow = 57, ncol = 4)
dim.1 <- c(1,2,3,4,5,6,9,15,19,32,33,41,42,45,49,53,55,56,57)
dim.2 <- c(7,11,13,16,17,18,20,22,23,24,27,35,37,39,40,43,54)
dim.3 <- c(8,28,29,30,34,36,44,51,52)
dim.4 <- c(10,12,14,21,25,26,31,38,46,47,48,50)
Qmatrix[dim.1,1] <- Qmatrix[dim.2,2] <- Qm... |
1aa02bb590ac4bfdc67e2969337b8e1717396585 | edf2d3864db8751074133b2c66a7e7995a960c6b | /man/adjacency_knn.Rd | d0598dd08b5ac485063aa396ad657606991cccf9 | [] | no_license | jkrijthe/RSSL | 78a565b587388941ba1c8ad8af3179bfb18091bb | 344e91fce7a1e209e57d4d7f2e35438015f1d08a | refs/heads/master | 2023-04-03T12:12:26.960320 | 2023-03-13T19:21:31 | 2023-03-13T19:21:31 | 7,248,018 | 65 | 24 | null | 2023-03-28T06:46:23 | 2012-12-19T21:55:39 | R | UTF-8 | R | false | true | 609 | rd | adjacency_knn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LaplacianKernelLeastSquaresClassifier.R
\name{adjacency_knn}
\alias{adjacency_knn}
\title{Calculate knn adjacency matrix}
\usage{
adjacency_knn(X, distance = "euclidean", k = 6)
}
\arguments{
\item{X}{matrix; input matrix}
\item{distance}{ch... |
ac7071da0d15b49dca7d2ebaa557d756c4402941 | 6a6cd2d4604796f13b728b0294400a63d28d806c | /Caso1/completos.R | 4de95ef38d47d648da26f7f5f596cc6c167eb783 | [] | no_license | ArianEscobar/Programacion_Actuarial_III | 49be34251df8f12e4b5caeb360495370b60209c8 | 4d9fec7f98e6decd4f7520334fe9feb0f7aae52e | refs/heads/master | 2021-01-09T05:59:49.221776 | 2017-06-01T14:35:36 | 2017-06-01T14:35:36 | 80,865,970 | 0 | 2 | null | null | null | null | ISO-8859-10 | R | false | false | 1,056 | r | completos.R | setwd("C:/Users/Naira/Documents/GitHub/Programacion_Actuarial_III//Caso1/specdata")
completos <- function(directorio,id=1:332){
num<- c()
num2<-c()
for(i in id){
if(i>=1 && i<10){NombreArchivo<-paste("00", i, ".csv", sep="")}
else { if(i>=10 && i<100){NombreArchivo<-paste("0", i, ".c... |
a7a152ce02f9f31e15b7086cfaa62e0d581087fc | 05ac3ce77d44e177c591eb931448b2a602aeb603 | /Scripts/to_be_loaded_packages.R | 7150b424af82204fec658d100bd78f37c850bc5e | [] | no_license | JasperMCDenissen/2022_Denissen_ELI_CMIP6_Nat_Clim_Change | 1ce01deaed62fe9f53e3602ef37c69ea6369df2f | 78c7450341747e1d10e84c106d35530787c3118e | refs/heads/main | 2023-04-12T17:35:15.585380 | 2023-02-27T20:57:50 | 2023-02-27T20:57:50 | 452,419,867 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 541 | r | to_be_loaded_packages.R | # load packages
library(fields)
library(ncdf4)
library(lubridate)
library(raster)
library(dplyr)
library(ggplot2)
library(RColorBrewer)
library(Hmisc)
library(maptools)
library(egg)
library(grid)
library(MuMIn)
library(relaimpo)
library(akima)
library(ggpubr)
library(precrec)
library(pdp)
library(purrr)
library(EnvStat... |
188cb52071de274f0adb835b89fadf7006afb4b9 | c8ee0d4306cc6d0aabaecaec53b3c4634e506045 | /golchi resources/MonGP_mod/R/plots.R | ebc69cba94b6862890fec1a4e7b19c739ab857b1 | [] | no_license | 561GH/masters | b6944977e2075b09ce5613edc689cfadc2e77ef2 | 2e10312e66c770ad90f16c13c2cbc8072b9b150b | refs/heads/master | 2021-03-27T20:13:34.600061 | 2017-11-14T22:42:24 | 2017-11-14T22:42:24 | 90,776,844 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,560 | r | plots.R |
par_density = function(obj, par) {
if (par == 'l') {
df0 = as.data.frame(obj$l)
df0 = melt(df0)
names(df0) = c('step', 'l')
L = length(levels(df0$step))
levels(df0$step) = 1:L
select_step = floor(seq(1, L, length = 5))
df0 = df0 %>%
filter(step %in% select_step)
p = ggplot(df0, ... |
6b84b86d80762bdb24fc8f09e6e9590a99969d56 | a1a702de311f4ff1671b27215421a7fb0677a3c9 | /man/postr_observed.Rd | f7a33676f59a0252268d57db91fb02a38ff59e14 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | josherrickson/postr | f16b1c943ca02380d0d99956fc2487fd57a6688e | 10c594b409d07bbe7f6f69834bacbb9ffeaeeda2 | refs/heads/master | 2021-06-29T04:15:00.806107 | 2020-11-07T01:03:37 | 2020-11-07T01:03:37 | 182,087,218 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 348 | rd | postr_observed.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/observed.R
\name{postr_observed}
\alias{postr_observed}
\alias{pr_observed}
\title{Return observed values}
\usage{
postr_observed(model)
pr_observed(model)
}
\arguments{
\item{model}{A supported model}
}
\value{
Observed values
}
\descriptio... |
ec4f2c22fac83470c75444c333cb501ab341de0a | 4097d74a1c1645d25397e7a13f20b78da11d7acb | /R/modelPlot.r | 9bab5508feb5a45c347ad7f41f94bda330a4dbdf | [] | no_license | robintrayler/modifiedBChron | 553d85db0a0a3153e9f90bf76d15c66f9d463416 | 10b8704c3e543a53b27daeb11cee033b0f50bb9d | refs/heads/master | 2023-04-06T04:54:44.579936 | 2023-03-31T23:38:17 | 2023-03-31T23:38:17 | 144,030,282 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,650 | r | modelPlot.r | #' This function generates two age model plots given the output of an ageModel run.
#'
#' @param model Output of the \code{ageModel} function
#' @param agePredictOutput Output of the agePredict function. If specified, points and error bars will be added to the age model plots for the predicted points
#' @param scale Sc... |
d7b3e617b1b580b42a7ca9b84d34943ac5521f77 | 1224064889c5743eae03082ed64d48dae632052d | /vaja4.R | 3a4c93614429ace165f1e30204995765e05a0a8c | [] | no_license | LampicJ15/Financni-praktikum | 720ef38e72168bad7f48846902c38368eeabe7ed | 0e87edd912c682e5fb511282e6e738c853a0f77a | refs/heads/master | 2021-09-01T14:22:08.239137 | 2017-12-22T10:18:59 | 2017-12-22T10:18:59 | 111,736,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,183 | r | vaja4.R | #VAJA4
library(dplyr)
library(Quandl)
#1.naloga
#a.)
podatki <- Quandl("LBMA/GOLD", collapse="monthly", start_date="2012-12-07")[c(1,6)]#uvozi podatke o zaključnih tečajih bitcoina iz Quandl-a
podatki <- podatki[-1,] #zbrišem eno vrstico
podatki <- podatki[c(60:1),] #obrnem podatke za pravi vrstni red datumov
#b.)... |
a0f5d615626d3053ca9906bc0399997281723de8 | e1765730475b01c631e466f6a2eb265761d277e9 | /R/subsample.R | 0c1794ec8a937d1e8ea2e40b5c5645abf310e2b5 | [] | no_license | cran/sgee | 37ac3ad4077b2c14e6eb5bc4203cd5c0e895e2fe | 0b1213c5a15ee40e670650b3d9ba7643aee7196a | refs/heads/master | 2021-01-11T04:39:03.313718 | 2018-01-08T17:34:38 | 2018-01-08T17:34:38 | 71,120,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,471 | r | subsample.R | ################################################################################
##
## R package sgee by Gregory Vaughan, Kun Chen, and Jun Yan
## Copyright (C) 2016-2018
##
## This file is part of the R package sgee.
##
## The R package sgee is free software: You can redistribute it and/or
## modify it under... |
a0e3ee0c9d5e1b5bbeaf53683041d5187221397a | 9978cd1445ca2c95301169faadc6c1337649132a | /tests/testthat/test_generateEnc.R | 9093968876b7df466171e25e68db34c60bdac0c8 | [] | no_license | cran/wyz.code.rdoc | f9e607ab38b89c62340388ad353d07fa553fb4b9 | 983f4cc651fe63f909a03caaa1089ca7254a49a0 | refs/heads/master | 2021-10-08T20:22:59.419778 | 2021-10-06T06:00:02 | 2021-10-06T06:00:02 | 213,606,275 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 225 | r | test_generateEnc.R | context("generateEnc")
a <- generateEnc(list(list(text = 'Français', ascii = 'Francais')))
test_that("generateEnc", {
expect_true(is.list(a))
expect_length(a, 1)
expect_equal(a[[1]], "\\enc{Français}{Francais}")
})
|
2b125674c880aa36deec95fe83c826fbc0a9b8b5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/oce/examples/summary-oce-method.Rd.R | 24726ee0a5367a5990b8df196f4eadee5144098f | [] | 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 | 159 | r | summary-oce-method.Rd.R | library(oce)
### Name: summary,oce-method
### Title: Summarize an oce Object
### Aliases: summary,oce-method
### ** Examples
o <- new("oce")
summary(o)
|
a548deee10724f5ff10567e4a8f7b499b57f26e8 | 44a71491f4ebc032aaabf236f9740d149c84cafd | /Chapter_10/Chp_10_Example_4.R | f815870d0fb93f5a831276b339d1446dadb6daa2 | [] | no_license | artofstat/RCode | 82ae8f7b3319888d3a5774fe2bcafbae3ed17419 | 8e8d55d1ac4bc111e5d14798f59033d755959ae5 | refs/heads/main | 2023-03-22T03:17:45.284671 | 2022-08-15T18:09:08 | 2022-08-15T18:09:08 | 503,484,584 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,278 | r | Chp_10_Example_4.R | #############################################################
## R code to accompany the textbook
## Statistics: The Art & Science of Learning from Data
## by A. Agresti, C. Franklin and B. Klingenberg
## 5th Edition, Pearson 2021
## Web: ArtofStat.com
## Copyright: Bernhard Klingenberg
################################... |
3345e121967f4287409f21278139b59b7a7830bb | 1332d8b68c6b86c2be5ed064473794f9f808d16a | /binomial/man/bin_probability.Rd | 0593c424e7495dd22819079e7cca92d7a62e0364 | [] | no_license | stat133-sp19/hw-stat133-mallikakolar | e7ffe1bbd22c2b9e2d466c12bdc3685db88af096 | bc99e849eebe2c233455053271aed6f3fae8c541 | refs/heads/master | 2020-04-28T14:45:55.706460 | 2019-05-02T22:54:45 | 2019-05-02T22:54:45 | 175,348,070 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 604 | rd | bin_probability.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main-functions.R
\name{bin_probability}
\alias{bin_probability}
\title{bin_probability}
\usage{
bin_probability(success, trials, prob)
}
\arguments{
\item{int}{integer success}
\item{int}{integer trials}
\item{int}{integer prob}
}
\value{
b... |
1d33b12d21b294d25f491db0df1aedc30479d78e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MVB/examples/unilps.Rd.R | 61ba9e7bba372c777119fdd26dc8541143ce5626 | [] | 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 | 295 | r | unilps.Rd.R | library(MVB)
### Name: unilps
### Title: univariate model fitting with lasso penalty
### Aliases: unilps
### ** Examples
n <- 100
p <- 4
x <- matrix(rnorm(n * p, 0, 4), n, p)
eta <- x
pr <- exp(eta) / (1+ exp(eta))
res <- rbinom(n, 1, pr)
fit <- unilps(res ~ x - 1, family = 'binomial')
|
1ace358c4cc2e5a1b094f44e1c7f72b69a81acfd | 660bbad7d5e31395180ef0c30b8c79d9d1176f4c | /real/AML/analysis.R | 20831d08614903fe24380b84a2e572605b06202f | [] | no_license | Lei-D/sparsePC | e9ed663c5a9cd4f6b64e29e5e00bab71498b595f | 5503e09c9ad49d33857554e8c5db5cf496ecf0c3 | refs/heads/master | 2021-06-19T19:58:22.654037 | 2021-01-20T07:37:32 | 2021-01-20T07:37:32 | 152,515,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,042 | r | analysis.R | source("~/Desktop/Lei/AIMER2/github/sparsePC_reg_real.R")
# read in data
expressionData = read.table("~/Desktop/Lei/AIMER/AML/rawdata/Bullinger2004_expression_data.txt",
sep = ",")
survivalData = read.table("~/Desktop/Lei/AIMER/AML/rawdata/Bullinger2002_survival_data.txt",
... |
e928d94a3966a54fd21e34a1fb8786a108b9bf44 | c952a238bed44ef7e9b5714c832bad745449abc5 | /plot6.R | a31ff525f55d949fbbdda8f7f35455d88bb34c31 | [] | no_license | kevinroche22/EDAProject2 | 5080c257d1b4bc8e2837b9c5c2e4705dd6b10916 | 172d161ceaeee21a8e0a34370c313559527e16fb | refs/heads/main | 2023-07-06T16:19:53.083680 | 2021-08-09T16:31:58 | 2021-08-09T16:31:58 | 394,334,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,767 | r | plot6.R | ## Load Packages
library(tidyverse)
library(ggplot2)
## Load Data
NEI <- readRDS("exdata_data_NEI_data/summarySCC_PM25.rds")
SCC <- readRDS("exdata_data_NEI_data/Source_Classification_Code.rds")
#############################################################################
# Compare emissions from motor vehicle source... |
b753c1dce5373cd24a5da7f5046e0bb0deb45c2f | 8630045b7197bbcbc42bf58f77284d6b8fd39d50 | /R/MulticoreParam-class.R | db0247b8acafdee5433c84f837980d1a4f793ea3 | [] | no_license | Feigeliudan01/BiocParallel | 6356b01f4e08db1794571de5869d44f05e5135f9 | e46d9535938923b84a98378a025cdd1402c67794 | refs/heads/master | 2020-03-21T05:56:59.170113 | 2018-05-26T18:07:09 | 2018-05-26T18:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,159 | r | MulticoreParam-class.R | ### =========================================================================
### MulticoreParam objects
### -------------------------------------------------------------------------
multicoreWorkers <- function()
.snowCores("multicore")
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ... |
f034b5c43cfc6f5d1a6183ec1dfc36f8298a2226 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/VaRES/examples/lfr.Rd.R | 4808bc8e7eaf60fb4d85414b4c98535b6f4bdc3a | [] | 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 | 237 | r | lfr.Rd.R | library(VaRES)
### Name: lfr
### Title: Linear failure rate distribution
### Aliases: dlfr plfr varlfr eslfr
### Keywords: Value at risk, expected shortfall
### ** Examples
x=runif(10,min=0,max=1)
dlfr(x)
plfr(x)
varlfr(x)
eslfr(x)
|
3e3248c2db60f16b0507cf83275e0193fdd1561c | 2419bdaa9a452b9c420760335cb04d95067cd05a | /Postprocessing/North_East/Cluster_script_ne_full_predictions_smaller.R | 69bd1959b2f135ac7d72a68c386da0f834395363 | [
"BSD-3-Clause"
] | permissive | RachelKillick/Daily_benchmarks | 856f2df4d98bc768cf24752bd11a0179f3b78a98 | 5867ec606b8b5c825f1f6fe9151fe11d2ad47a84 | refs/heads/master | 2021-08-18T02:44:58.686402 | 2021-06-09T15:58:46 | 2021-06-09T15:58:46 | 137,796,182 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,094 | r | Cluster_script_ne_full_predictions_smaller.R | # Hopefully verging on my final model in the Northeast:
# Load the necessary packages first:
library(mgcv)
library(akima)
library(fields)
# Load the necessary dataframes and other R things:
load('modelnecoast5gf3other.RData')
load('loesssurf1.RData')
load('NEcoast1relocor_1714.RData')
# Create my predictions - ... |
9e69501f080d718dd6d4ef3328565410631c6b21 | 61180649c781ca23ee434754577acea001eb4bc0 | /man/gettfvalid.Rd | ff2b32e6c058c73920db128a173a939c371a2061 | [] | no_license | malexan/fclhs | 87e0b4c9b86eb1c954644bbdb699699677d4163b | f93e69dd96bbd15bdbc68a5c52db5fe0dde3a0fa | refs/heads/master | 2020-05-31T15:48:22.614152 | 2015-08-09T07:59:08 | 2015-08-09T07:59:08 | 27,025,796 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 329 | rd | gettfvalid.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/faostatdb.R
\name{gettfvalid}
\alias{gettfvalid}
\title{Returns data from FAOSTAT.TF_VALID}
\usage{
gettfvalid(reporter = NULL, year = NULL, partner = NULL, flow = NULL,
fcl = NULL, ...)
}
\description{
Returns data from FAOSTAT.TF_... |
458c46c79f66174e426ae53666608ee638ecb724 | b3905a249f9bfbd2af1bdb3f4fbabadae16fa70f | /cleaner_succotash_sims/succotash_diff_init/muscle_succ_diff_init.R | e926860f8a2f5434d0994c3abcd2384586d8fe9f | [] | no_license | Feigeliudan01/sim_code | 13b146c330a66d90b45c66f18656aa55e50ec733 | 488d538529040c8c26a739ed1d7dfc1af9cf9182 | refs/heads/master | 2021-04-15T17:58:03.145322 | 2016-10-12T21:01:39 | 2016-10-12T21:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,733 | r | muscle_succ_diff_init.R | library(Rmpi)
library(snow)
one_rep <- function(new_params, current_params) {
source("../code/datamaker_only_counts.R")
args_val <- append(current_params, new_params)
set.seed(new_params$current_seed)
d_out <- datamaker_counts_only(args_val)
which_null <- d_out$meta$null
half_null <- which_n... |
a32893871d4e6c8d29cdd5382f9e7dee65b93f1d | d6c1e61d203ccec997f422899a0e1b4e8d5c7d92 | /data wrangling.R | cd5fc794088121d392e8041fe08e1c8a6376c2c4 | [] | no_license | MuchenZhu/RShiny_Toll_Transactions | bc1e7fe093830f22a80107550413fa39b1382100 | a69ab93869bb59f2ddc0be4c2f371aff0741beb0 | refs/heads/master | 2020-04-25T07:40:10.323207 | 2019-02-26T02:23:33 | 2019-02-26T02:23:33 | 172,621,179 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,584 | r | data wrangling.R | #---Muchen Zhu Individual Project Data Preparation---
setwd("~/Desktop/programming-class/individualproject/Toll_Transactions")
library("tidyr")
library("dplyr")
mydf <- read.csv("Toll_Transactions_wrangled.csv")
mydf <- separate(mydf, Location, c("lat","long"), sep = ",")
mydf <- separate(mydf, Date, c('Date','Time'),... |
45129a0806b81b285d8fc7193c5bca76a5bdfa2e | 3dfcad5e4ca29823a6e7899dcd22aaf7f5df971c | /R/getDeviceResolution.R | 66cbb6a1e5f20c90dd54d4e887ebb0aa293534c8 | [] | no_license | HenrikBengtsson/aroma.core | f22c931029acf55f3ad2fdb6eb3bc2f0d2ba04e4 | 1bf20e2b09f4b8c0ca945dfb26fdf1902c187109 | refs/heads/master | 2022-12-01T09:01:49.295554 | 2022-11-15T18:29:17 | 2022-11-15T18:29:52 | 20,845,682 | 2 | 3 | null | 2018-04-21T02:06:48 | 2014-06-15T01:32:43 | R | UTF-8 | R | false | false | 121 | r | getDeviceResolution.R | setMethodS3("getDeviceResolution", "default", function(scale=1, ...) {
res <- scale * par("cra") / par("cin")
res
})
|
7cc39ffd4bf123119a2ba967ecd57b4d74a30d08 | 2e1a9e1d0d038293bc8dba83d0473e9dc2f7f93e | /stats/scripts/plos_one_twitter.R | ffe339d868854197c3da06de3bea18b6a959fab9 | [
"MIT",
"CC0-1.0"
] | permissive | neostoic/plos_altmetrics_study | 92821fa2634e75235f0fc5603b7ee7e25d298c91 | 5d4bd840763286c77cb834ef351e137eefb7946b | refs/heads/master | 2020-12-25T08:29:47.940176 | 2011-03-22T15:00:48 | 2011-03-22T15:00:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,216 | r | plos_one_twitter.R | options(width=250)
setwd("/home/jason/projects/Plos altmetrics study")
# load raw_events.txt
d<-read.csv("./datasets/raw_events.txt", sep="\t")
# get the tweets
bt <- d[d$eventType=="backtweets",]
# column for which journal
bt$journal <- substr(bt$doi, 17, 20)
# frame for just Plos ONE, where we have much more data... |
04a4c821a773d3af7d25699aef8093badf633d06 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/trestletech/ArrestAnalysis/getRecords.R | 3244ce6dbbf0c1c7bb5bb87b2c2e9321a8458e1c | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,220 | r | getRecords.R | library(lubridate)
library(httr)
#' Itemize all days in the specified format between the start date and the end date.
itemizeDates <- function(startDate, endDate,
format="%Y-%m-%d") {
out <- seq(as.Date(startDate, format=format),
as.Date(endDate, format=format), by="days")
... |
c888ed8622c39dc890d477bbf56d9545f239ace3 | eb38ef31796289e538b81139186bf86ef18e88f6 | /R/kinplot.R | 41116586cba1138043c49f8132df111a065c7b43 | [] | no_license | cran/kinfit | c1d22a473685c48550802f7f3ada9559e2027473 | 4ae9d56c94f3be2fc44fb48917b2eddc741b8bb1 | refs/heads/master | 2016-08-04T16:03:48.555799 | 2015-07-03T00:00:00 | 2015-07-03T00:00:00 | 17,696,895 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,218 | r | kinplot.R | # $Id: kinplot.R 117 2011-06-14 08:52:14Z kati $
# Copyright (C) 2008-2013 Johannes Ranke
# Contact: mkin-devel@lists.berlios.de
# This file is part of the R package kinfit
# kinfit is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by ... |
c5bdf1ff28d6660a8ba63868550acede29a121de | 9ef498d146d1b59ac392e673f2f07c10e83224bd | /scripts/DefactoDescriptionSwaziland.R | e77671d3a7e356bfc74bced6fe0bbebe2b922a4b | [] | no_license | ceh-2000/ABM | 647cfbaecbfa0e7c413525b3cbbb63905ed169f4 | a05793fe6e9b122c8c2b3cf7b168e39ca3a1200f | refs/heads/master | 2023-01-13T23:39:16.354682 | 2020-11-24T04:53:37 | 2020-11-24T04:53:37 | 288,858,761 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,804 | r | DefactoDescriptionSwaziland.R | rm(list = ls(all = TRUE))
library(raster)
library(sf)
library(tidyverse)
library(maptools)
library(spatstat)
library(units)
setwd("~/Desktop/data-science/data")
# Get raster information for adm2
swz_pop20 <- raster("world_pop/swz_ppp_2020.tif")
# Get shapefile information for adm2
swz_adm2 <- read_sf("gadm36_SWZ_sh... |
8b255d09b91637c112ce82d8550699a1b632368a | 459749b2629cf7697105c3e1289b2b875a1d5822 | /man/moveToGroup.Rd | 5f6a6e94efc2fb54819e34e07ef1bcf27783fd04 | [] | no_license | GitBrianLaw/rcrunch | 52d0be58a552c9609fb487fdb8de408d081d9577 | f75deb52282175b6f9d4c69db954ee7ea8b89a9b | refs/heads/master | 2021-01-09T08:05:51.008417 | 2018-01-25T22:08:16 | 2018-01-25T22:08:16 | 48,709,208 | 0 | 0 | null | 2016-02-10T19:20:37 | 2015-12-28T19:37:57 | R | UTF-8 | R | false | true | 1,053 | rd | moveToGroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shoji-order.R
\name{moveToGroup}
\alias{moveToGroup}
\alias{moveToGroup<-}
\title{Move entities to a group}
\usage{
moveToGroup(x, value)
moveToGroup(x) <- value
}
\arguments{
\item{x}{VariableGroup}
\item{value}{Variable, VariableCatalog s... |
3c1e17a352976be31ba6087c9525b107c2eaca61 | 2347ff63059616ee941ba140aaf12531d9ce9540 | /ML-4-MLE.R | e6d6dce2c3467dc6b4ad46f21968494806578517 | [] | no_license | AshwinSarath/R | 7bd6a50a824fd11188a519894c769ab556c09179 | 92d33d6b0a3092bdb74bdff0ba2eb66efe53bec4 | refs/heads/master | 2023-06-27T19:52:54.749273 | 2021-08-03T06:13:50 | 2021-08-03T06:13:50 | 223,977,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 935 | r | ML-4-MLE.R |
#EXP4
# MLE
#AIM: To estimate the parameter of the binomial distribution using maximum likelihood estimation in R
# To estimate the parameters of the normal distribution using maximum likelihood estimation in R
#(1)
set.seed(1001) # even its randomly generated, the randomness remains the same
N=100
x... |
05cf51c7bb4c99d9ed8295053a39ba7ea9829c60 | c5baacf45414864179c18c4878af5464e103ece8 | /Lab18/Interfacing R and Python/python_from_r.r | 37c9344a3f267163414a69a08494eae037c56419 | [] | no_license | VladimirShleyev/Method_R_doc | ed1cbbd9b59cc1cec445e87a9e5696f665f83065 | 85aa7c64e3816108f0e84a0ff1efa11cc8e37d3b | refs/heads/master | 2023-07-16T00:29:57.871114 | 2021-09-03T12:13:19 | 2021-09-03T12:13:19 | 286,023,236 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,308 | r | python_from_r.r | renv::init() # инициализация виртуального окружения
renv::install("reticulate") # установка библиотеки из CRAN
renv::snapshot() # делаем снимок версий библиотек в нашем виртуальном окружении
# фиксируем этот список в .lock-файле для возможности восстановления
# renv::restore() # команда отктиться к предыдушему удачному... |
0b737a07cf1a6ab028f6d2bdda03696dff6e4b39 | 845c33e99e5a2475ae334ed00b12f08f7346c8b0 | /man/seqfishplus.Rd | b8e0ccfd7bfe96b2502a0cbbf92117fd5a631a6f | [] | no_license | cran/smfishHmrf | 0236d9802a718b6477a8732e8a0130bdcdf7fda4 | 41aae463be028aeb53e34eb5e49a044af0472565 | refs/heads/master | 2023-01-05T12:54:43.094726 | 2020-11-03T11:20:02 | 2020-11-03T11:20:02 | 310,523,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 965 | rd | seqfishplus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/seqfishplus.R
\docType{data}
\name{seqfishplus}
\alias{seqfishplus}
\title{SeqFISHplus dataset}
\format{
A list containing the following fields: y, nei, blocks, damp, mu, sigma
\describe{
\item{y}{gene expression matrix}
\item{nei}{cell adjac... |
f2ea79b3384b259b57d3af54991cf9a07835fb64 | a0bfaeef32beb7fd99b611108fbbf1b9d2067bce | /ui.R | 02d8b45ccf1141c7045fdec8a00b5863458b5702 | [] | no_license | HCH1/demo_fig_app1 | 7c1d3df492fd2a199bd65487a342d8b5a3a24bae | 2d6132b7e7a987f41d92ddd5d50bb9ba66659e79 | refs/heads/master | 2020-03-30T22:21:08.900302 | 2018-10-05T08:33:27 | 2018-10-05T08:33:27 | 151,663,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,157 | r | ui.R | library(shiny)
ui <- fluidPage(
titlePanel("Auto-export allow layer list app"),
sidebarLayout(
sidebarPanel(
textInput("text1", "what's ur Tech Variant?", value = "22FDX"),
fileInput("file1", "(1) Pls input 22FDX's LPO***.csv -> ALL",
multiple = TRUE... |
eb1e3af2e8116cee6a7da882b7bb1b35f66b4041 | 01ececa7c221357eaedf85a1c2b8414fd45302a2 | /helperScripts/PutNewCodeHere.R | d8f65bce6c73c794f132b57fcb797a813ac4a503 | [] | no_license | sonejilab/cellexalvrR | d7e30f147d3d991e6858f50b11e90a31863e759c | c533136f59fa906e1c173a46cc4f2e36608c0204 | refs/heads/master | 2023-03-31T19:05:15.669831 | 2023-03-17T07:24:40 | 2023-03-17T07:24:40 | 133,559,720 | 4 | 2 | null | 2018-05-15T18:52:17 | 2018-05-15T18:52:15 | null | UTF-8 | R | false | false | 64 | r | PutNewCodeHere.R | CompareToSubset <- function (x, linearSelection, cells ) {
} |
5f44bde49eb16269ffdd2e0d535ab87472e50523 | 37794cfdab196879e67c3826bae27d44dc86d7f7 | /Chemistry/Proteins.Structure.R | 8538aefb132509fb4ea742d2ee15b29a974e7c3a | [] | no_license | discoleo/R | 0bbd53a54af392ef53a6e24af85cec4f21133d17 | e9db8008fb66fb4e6e17ff6f301babde0b2fc1ff | refs/heads/master | 2023-09-05T00:43:32.381031 | 2023-08-31T23:03:27 | 2023-08-31T23:03:27 | 213,750,865 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 8,257 | r | Proteins.Structure.R |
# this file:
# source("Proteins.Structure.R")
###########################
### Fi-Score
# - based on package Fiscore:
# https://github.com/AusteKan/Fiscore/blob/main/Fiscore/R/PDB_prepare.R;
# - specific code has been extracted as individual helper-functions,
# see functions below;
# - the initia... |
e9b72f49cc17a8ad57e83c3fc7be2cede66d6513 | 540929ccef8ecc44bb1c2971f6fa605f4c603130 | /code/covidmultistartparaV.R | cf8e8101f95685c8401a64066293d8e772e5a4f0 | [] | no_license | tahmid-usc/covidGP | 46667ff5fcfd94365190e8d08eab9f17b4021197 | 44e8ab17307ca7a923df58ddd303e9187b315aa6 | refs/heads/master | 2022-12-01T12:00:13.246927 | 2020-08-13T22:36:23 | 2020-08-13T22:36:23 | 261,368,391 | 2 | 0 | null | 2020-05-14T09:18:11 | 2020-05-05T05:21:07 | R | UTF-8 | R | false | false | 2,923 | r | covidmultistartparaV.R | library(mvtnorm)
library(kernlab)
library(optimx)
# RBF kernel
ker <- function(x, l, sigf) {
rbf <- rbfdot(sigma = 1/l^2)
return(sigf^2 * kernelMatrix(rbf, x = x))
}
ker2 <- function(x, y, l, sigf) {
rbf <- rbfdot(sigma = 1/l^2)
return(sigf^2 * kernelMatrix(rbf, x = x, y = y))
}
mu <- function(t, a =... |
96f6b74c1dbc40c8f3f7114598cb7f116695bc8f | 84af03713835e6ec0792f24e15265006e9e64eff | /R/geteegdata.R | aa6dd8827807ca07fb5f615af840898f4e8f3bc0 | [] | no_license | cran/eegkitdata | 56848e2fb91623c1c186a1c2c6743f58376d5cd3 | 62a293d9cfa2332e2d41a240ba5ca32b9dfaad5e | refs/heads/master | 2022-06-12T08:05:11.413203 | 2022-05-16T13:50:02 | 2022-05-16T13:50:02 | 23,852,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,897 | r | geteegdata.R | geteegdata <-
function(indir, outdir = indir, cond = c("S1", "S2m", "S2n"), nt = NULL,
filename = "eegdata", filetype = c(".rda", ".csv", ".txt")){
###### Create data matrix from UCI EEG data
###### Nathaniel E. Helwig (helwig@umn.edu)
###### Last modified: May 16, 2022
### initial checks
... |
2d3b369beefe1492dd194536668cc21ad3184579 | a11ed9642e3b20e27f0fefa69eeafe6acef43cae | /tests/testthat.R | b9edfcf3180f9750fe371036d75a1d77da0f6eba | [] | no_license | jackingg/ChangbaiLiTools | 2dd6f190d53b662822d56ca4cbd21a9ab9008f8f | df572c4939eea8b914c1e5b0da8c4d6ab2038cb9 | refs/heads/master | 2021-04-06T18:04:05.563721 | 2018-03-10T04:21:30 | 2018-03-10T04:21:30 | 124,169,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 74 | r | testthat.R | library(testthat)
library(ChangbaiLiTools)
test_check("ChangbaiLiTools")
|
9911dfb538db835a8efee8aee97b806c2547a327 | 16024c7bbfbbbc54160341360b7e60d46e76880c | /src/analyze_cell_features/invado_analysis_lib.R | 08b96ba4cad2635acd29258f704b427c87c8d9d8 | [] | no_license | gomezlab/single_invado_analysis | d7fa19410f99947b4df40e486dfd21d3d0213c39 | c05c7b48dc53c66da389917c4f4f76611cacff48 | refs/heads/master | 2021-01-18T22:36:06.795333 | 2019-07-30T15:40:03 | 2019-07-30T15:40:03 | 10,411,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,274 | r | invado_analysis_lib.R | ################################################################################
# invado_analysis_lib.R: the R functions associated with processing the
# invaodopodia data
################################################################################
gather_invado_properties <- function(results_dirs,time.spacing, c... |
31f93e7f354ad6ca8cd10670f26d7532321a94d8 | 9290006b5108e9fe9f22ea786ac421d1a6125ec4 | /Combine_Data_IN/db_site_ingest.R | 0897aa45e675da826bf3168b8f9d1714bfb62003 | [
"MIT"
] | permissive | lehostert/Kaskaskia-River-CREP-Monitoring-Data-Tools | 82bedacdccf103ad7ccb866b833531a62adb1bd3 | b55a8b1b199e463c4c7e946ef184e60f964a5d3f | refs/heads/master | 2022-05-03T11:59:16.697581 | 2022-03-29T17:29:45 | 2022-03-29T17:32:59 | 161,382,841 | 0 | 0 | MIT | 2022-02-02T17:35:13 | 2018-12-11T19:24:38 | R | UTF-8 | R | false | false | 3,702 | r | db_site_ingest.R | library(tidyverse)
library(odbc)
library(DBI)
# library(docstring)
network_prefix <- if_else(as.character(Sys.info()["sysname"]) == "Windows", "//INHS-Bison.ad.uillinois.edu", "/Volumes")
network_path <- paste0(network_prefix,"/ResearchData/Groups/Kaskaskia_CREP")
### with odbc
odbcListDrivers() # to get a list of th... |
7079d894345872a3d0aeed40041b03477bd5d795 | 2e627e0abf7f01c48fddc9f7aaf46183574541df | /PBStools/man/uniqtows.Rd | fcaaf5ddad4b369b90de608279c37049220e9297 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | pbs-software/pbs-tools | 30b245fd4d3fb20d67ba243bc6614dc38bc03af7 | 2110992d3b760a2995aa7ce0c36fcf938a3d2f4e | refs/heads/master | 2023-07-20T04:24:53.315152 | 2023-07-06T17:33:01 | 2023-07-06T17:33:01 | 37,491,664 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,805 | rd | uniqtows.Rd | \name{uniqtows}
\alias{uniqtows}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
PJS -- Ensure Unique Tows
}
\description{
Ensure unique tows occur for each survey, collapse records as needed.
}
\usage{
uniqtows(dat)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\it... |
cb6176ebd16858c9a64c3e884533c1b47a0b0fb3 | f3eb97cecdc4a514e4981980352eee9a01652a17 | /time_series/random_walk.R | 9cabf45c97bbd392874c2ee49f13fe117deb65e8 | [] | no_license | RyotaBannai/r | 88ccc2791d769ed92f145d0710a77a59e7f6bed2 | f861e8b632f885d2eae11a301eab1b017bd89866 | refs/heads/master | 2023-08-19T07:44:52.497319 | 2023-08-14T11:06:54 | 2023-08-14T11:06:54 | 166,720,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 889 | r | random_walk.R | # ランダムウォーク、ドランカーズウォーク、酔歩
# ホワイトノイズの累積和を取ると簡単に作れる
# 和を取っているからランダムウォークは和分過程
# 同じ数値が使われる=似てる=自己相関がある
#
#
set.seed(1)
white.noise <- rnorm(n = 400) # 正規分布
random.walk <- cumsum(white.noise)
par(family = "HiraKakuProN-W3") # plot するグラフの日本語化
plot(random.walk, type = "l", main = "和分過程:ランダムウォーク")
acf(random.walk) # 自己相関が無いかどうか... |
7842554fe9c765ae85c7fa6074f84948e6cbf539 | 228f43bdc34da185743bc696e9e4deabafedf051 | /R/utils.R | 27af9bb3d46cd63db58dbc1062d5980f97911523 | [
"MIT"
] | permissive | seandavi/BIRSBIO2020.scNMTseq.PLS | 2f5b34e1b54fbc7e79c1ff821427b30bcbd21669 | 9b80860d7deb5068f2698514ec3a8117c7bcd5ec | refs/heads/master | 2022-11-20T22:00:15.952855 | 2020-07-14T18:48:22 | 2020-07-14T18:48:22 | 281,267,958 | 0 | 0 | null | 2020-07-21T01:48:13 | 2020-07-21T01:48:12 | null | UTF-8 | R | false | false | 1,462 | r | utils.R |
## ----------- Imports -----------
#' @import MultiAssayExperiment ggplot2 data.table reticulate
#' @import uwot nipals biomaRt
#' @import reshape2 grDevices
## ----------- all_identical -----------
## check if elements in a list are identical
#' @export
all_identical <- function(lst) {
for (j in seq_along(lst[-1])... |
3a9c739fd8a699ba2d54b901bc3dc3e36eca2d02 | 8f8eac85cfbf8d3bc768318848ec964cb297b1cb | /casen/r-script/scripts/4_health_data.R | 99f059f3efae8d6727326145061b8a655922521a | [] | no_license | jnaudon/datachile-etl | 5231a3762dd32f3f3def4d568fc63934d603cf8b | 8fa577378d38f8d63f6dfdb00ed515bbb439f154 | refs/heads/master | 2023-03-23T00:36:35.698292 | 2019-03-23T03:30:16 | 2019-03-23T03:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,574 | r | 4_health_data.R | try(dir.create("tidy_data"))
try(dir.create("tidy_data/health_system"))
comunas <- as_tibble(fread("~/GitHub/datachile-data/official_ids/2017_06_27_comunas_datachile_fixed.csv"))
casenclean_zip <- list.files(path = "fixed_comunas", recursive = T, full.names = T)
healthclean_zip <- grep(casenclean_zip, pattern = paste... |
d657979736f215469698dec5af9be556bdefde83 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/R/forecastqueryservice_interfaces.R | 2103582f398ab1e042caa826128041e9894a13fe | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 2,402 | r | forecastqueryservice_interfaces.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common populate
#' @include forecastqueryservice_service.R
NULL
.forecastqueryservice$query_forecast_input <- function(...) {
args <- c(as.list(environment()), list(...))
shape <- structure(list(ForecastArn = structure(logical(0), ... |
1c0122ab8b27534b003e68b1ca80f83de93f8ff9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MiDA/examples/MiNTreesAjust.Rd.R | 51b5e492d6f416725c086c3a8f432d78785a696c | [] | 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 | 806 | r | MiNTreesAjust.Rd.R | library(MiDA)
### Name: MiNTreesAjust
### Title: Ajust number of trees parameter for fitting generalized boosted
### regression models
### Aliases: MiNTreesAjust
### ** Examples
#get gene expression and specimen data
data("IMexpression");data("IMspecimen")
#sample expression matrix and specimen data for binary cl... |
f839f4005a788aae6c695b798f51e4ee85dde19f | 0e92fae9265aa15dc939b0a95d497888e8d946d3 | /R_func/names.R | 3705d54757d12f13d5eaf66e62a189ab3a46e938 | [] | no_license | qBioTurin/Multiple-Sclerosis | 9b7d59924916098e6bad0910e8b5f2001ac4a006 | f7732970a6cdfec750ab8242f31c281cf322c226 | refs/heads/master | 2022-11-13T04:28:26.523355 | 2020-07-06T13:56:57 | 2020-07-06T13:56:57 | 255,663,155 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 207 | r | names.R | Names <- read_table2("Net/MS_Model.PlaceTransition")
transStart<- which(Names[,1] == "#TRANSITION")
NAMES = unlist(Names[1:(transStart-1),1])
NAMES = unname(NAMES)
saveRDS(NAMES,file="./input/NAMES.RDS")
|
4325f3eb167987b32af4d876abc0cc453c5214a3 | c12893fddae5e96acdfd8fcbc99ffde079a84857 | /attic/08-feature-eng/rsrc/ames-encoding.R | 094c8f1a461abc5acdf2764f9d02cab0c6789d90 | [
"CC-BY-4.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-free-unknown"
] | permissive | Pizzaknoedel/lecture_i2ml | 0ddb98f02f27377bf3de73235adb5025fe6630f5 | a630c6608aa642d45439a0742511d47267a61c20 | refs/heads/master | 2023-02-24T19:10:23.075536 | 2021-01-31T11:43:20 | 2021-01-31T11:43:20 | 315,969,310 | 0 | 0 | CC-BY-4.0 | 2021-01-31T11:43:21 | 2020-11-25T14:49:45 | null | UTF-8 | R | false | false | 1,128 | r | ames-encoding.R | library(tidyverse)
library(mlr)
library(mlrCPO)
library(parallelMap)
parallelStartSocket(7)
data = read.csv("data/ames_housing_extended.csv")
task = data %>%
select(SalePrice, MS.Zoning, Street, Lot.Shape, Land.Contour, Bldg.Type) %>%
makeRegrTask(id = "None", target = "SalePrice") %>>% cpoFixFactors()
task1 ... |
d8706deb0151f001e8135213bd9d35a8a6ebf681 | 681ea7c375e718bb0faabfed9a544918efaf08d6 | /man/kproto_gower.Rd | dd0148dd3faebdc8ed81c41fe73fbbf8a215d013 | [] | no_license | cran/clustMixType | d434fa2577642ca3cdc8e6b93ed6d2b146939a4d | fd399a4c6fcba3f7073885323ab21c431fe7b8c1 | refs/heads/master | 2022-12-25T15:13:46.543557 | 2022-12-14T18:50:02 | 2022-12-14T18:50:02 | 52,676,831 | 6 | 8 | null | 2018-01-24T20:17:13 | 2016-02-27T16:44:43 | R | UTF-8 | R | false | true | 5,213 | rd | kproto_gower.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kprototypes_gower.R
\name{kproto_gower}
\alias{kproto_gower}
\title{k-Prototypes Clustering using Gower Dissimilarity}
\usage{
kproto_gower(
x,
k,
lambda = NULL,
iter.max = 100,
na.rm = "yes",
keep.data = TRUE,
verbose = TRUE
)
... |
1d114c5c7f23aebbdff99d78377565f77b91784d | ca1f3439c33953bf3ab0a6667849ec2f06e46fc1 | /examples/South_African_Municipal_Population_Density/app.R | d330e388b6007766eff5628fb269305601e10982 | [] | no_license | artilery/shiny_leaflet_choropleth | 1ed0fd346148c14bb3d28309674d8ae5b311a49e | 9fbc0012ed0059bf465ef85b07b680ba8611e69b | refs/heads/master | 2021-01-22T03:40:35.951569 | 2015-08-17T08:51:14 | 2015-08-17T08:51:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,876 | r | app.R | library(shiny)
library(leaflet)
library(DT)
load("R/v1.RData")
ui <- bootstrapPage(
# Add CSS to give floating Panels a style
tags$head(tags$style(".floater { background-color: white;
padding: 8px; opacity: 0.7; border-radius: 6px;
box-shadow: 0 0 15px rgba(0,0,0... |
82d3aed03b4c4739c8b330e88157ece0f53a6e53 | 72183028eec7ba0efe2d626ab158f51d773618ec | /man/sdm_thresh.Rd | 86e33a55e74cb8ce7fb441fd05ec1b46ee2d68b2 | [] | no_license | silasprincipe/sdmvis | 35b56cc128f2b89b0231a251550066f773096141 | ef7d1f7cf082da776730888a389dbd7e83f79d6b | refs/heads/main | 2023-06-03T02:24:47.642458 | 2021-06-15T13:12:49 | 2021-06-15T13:12:49 | 373,350,187 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,544 | rd | sdm_thresh.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sdm_thresh.R
\name{sdm_thresh}
\alias{sdm_thresh}
\alias{sdm_thresh,Raster-method}
\alias{sdm_thresh,data.frame-method}
\title{SDM Leaflet map with different thresholds}
\usage{
sdm_thresh(
sdm,
thresh,
tname = NULL,
pts = NULL,
pal... |
45a9e376741f6593935504cdb4dc7f94252d65bd | 23c09350187a1d88b914765a56d2b68e3158cdee | /official/explore.R | 696158cee219c70185e5a83d9ecbde4210fb4d44 | [] | no_license | mdelhey/esther-data | dd01fbe6714ebdc49f2d7debf0ee6c478003483e | 2e47d1daa42e62592ecf987278a7c025cfb3bf68 | refs/heads/master | 2020-04-15T23:56:52.904813 | 2013-08-20T23:20:42 | 2013-08-20T23:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,131 | r | explore.R | ### Esther exploratory data analysis
library(plyr)
# Load the data into one data set (harder than it sounds)
options(stringsAsFactors = FALSE)
sp12 <- read.csv("sp12.csv")
sp11 <- read.csv("sp11.csv")
sp10 <- read.csv("sp10.csv")
sp09 <- read.csv("sp09.csv")
sp08 <- read.csv("sp08.csv")
sp07 <- read.csv("sp07.csv")
sp... |
087aef8f4c2e010cc982a33ff1ce0193ac8be463 | 852beff699832333f51a9cbaf95e8ba9b7c972b4 | /InstaRF/R/gaussian_blur.R | c6b9a0e576533b7eaaa2394ed9b145e94c8d3e9a | [] | no_license | cheukman1207/InstaRF | 468c2474f9b669e2ffe432e30a504aaf7c8dd74c | 8e54a59a90ab1ddbafe6e9de0237f7891bec665a | refs/heads/master | 2020-04-21T05:11:00.729163 | 2019-02-09T01:00:05 | 2019-02-09T01:00:05 | 169,333,325 | 0 | 0 | null | 2019-02-06T00:12:46 | 2019-02-06T00:12:45 | null | UTF-8 | R | false | false | 288 | r | gaussian_blur.R | #' Gaussian blur
#'
#' @param string, path to the input png file
#' @param string, path to the output png file
#' @return png file in the output path
#' @export
#'
#' @examples
#' gaussian_blur("input,png", "output.png")
gaussian_blur <- function() {
print("gaussian blur working")
}
|
2e3be784a60e3c8fb2dfe4ef00a342e5882ce78e | 700d8121a4e3a9fc4c31e015db643758cb843569 | /inst/registered/NCBI_assemblies/Drosophila_virilis.R | 8e6578e69db82567a688582be12bf7d7a5672b90 | [] | no_license | Bioconductor/GenomeInfoDb | 727c90f03c289f692999860a12077775f4d65317 | 9dba03f8d2a4f76732e2b12beac7c0ee3230a693 | refs/heads/devel | 2023-08-09T21:33:11.074781 | 2023-06-20T21:40:39 | 2023-06-20T21:40:39 | 102,149,975 | 14 | 15 | null | 2023-03-13T17:45:24 | 2017-09-01T20:19:20 | R | UTF-8 | R | false | false | 290 | r | Drosophila_virilis.R | ORGANISM <- "Drosophila virilis"
### List of assemblies by date.
ASSEMBLIES <- list(
list(assembly="dvir_caf1",
date="2006/07/12",
extra_info=c(strain="TSC#15010-1051.87"),
assembly_accession="GCA_000005245.1", # droVir3
circ_seqs=character(0))
)
|
1959d3bdf35d83fb9844565736ac8a592e11c81a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/beginr/examples/plotcolors.Rd.R | 6868453f04f41ea438aecf6d3fa50dff3bde5e96 | [] | 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 | 131 | r | plotcolors.Rd.R | library(beginr)
### Name: plotcolors
### Title: A reminder for colors
### Aliases: plotcolors
### ** Examples
plotcolors()
|
fe0cbdb48a70a5742518f3cd5d3e6a4111c48aa3 | 5febc1e3f2dd766ff664f8e0ae79002072359bde | /man/scdb_mctnetwork.Rd | 4c631afbc9a9f2ff667ba7aec85e697d75245fa5 | [
"MIT"
] | permissive | tanaylab/metacell | 0eff965982c9dcf27d545b4097e413c8f3ae051c | ff482b0827cc48e5a7ddfb9c48d6c6417f438031 | refs/heads/master | 2023-08-04T05:16:09.473351 | 2023-07-25T13:37:46 | 2023-07-25T13:37:46 | 196,806,305 | 89 | 30 | NOASSERTION | 2023-07-25T13:38:07 | 2019-07-14T07:20:34 | R | UTF-8 | R | false | true | 314 | rd | scdb_mctnetwork.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scdb.r
\name{scdb_mctnetwork}
\alias{scdb_mctnetwork}
\title{scdb_mctnetwork - get a mctnetwork object}
\usage{
scdb_mctnetwork(id)
}
\arguments{
\item{id}{- id of mctnetwork}
}
\description{
scdb_mctnetwork - get a mctnetwork object
}
|
f7eecbb922c1bd4309110e6006a8ec078b23a2db | c6ab22e84df7b7dcf7a1ab462a99484237694fa7 | /man/SpMAverage.Rd | 900f62ebe4a3f5007d989967a89764a6aef29e28 | [] | no_license | Nisus-Liu/bbturns | d2f55950450851946987ed816b02f557bee5c471 | 84ea91b86568c060609c644bf2c6a4f022970740 | refs/heads/master | 2021-01-11T17:37:58.308645 | 2017-02-06T14:54:19 | 2017-02-06T14:54:19 | 79,809,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 313 | rd | SpMAverage.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SpMAverage.R
\name{SpMAverage}
\alias{SpMAverage}
\title{Spencer moving average}
\usage{
SpMAverage(x)
}
\arguments{
\item{x}{numeric vector.}
}
\description{
return a 15 period moving average.
}
\examples{
x = c(1:20)
SpMAverage(x)
}
|
570d10f7466165556accc669c8bc560ed300c822 | 830f6de1a8cd3d852de79dc0c172bd7b534ee210 | /Scripts/pseudotimeRyu.R | a4b9cdacb8b04e4f80a15e51e3256a855d939173 | [] | no_license | ahmadazim/scPlastidDiff | c823badc2d0cdb587841abd1f59d32f2e9246fbb | 8d4cfa9d10296f77ba99e5dfce2af5f5246ca88e | refs/heads/master | 2022-11-20T04:44:51.594138 | 2020-07-28T05:12:24 | 2020-07-28T05:12:24 | 283,099,671 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 35,883 | r | pseudotimeRyu.R | ##=======================================================================================
## Running pseudotime on Ryu dataset
## Ideas:
## Will try between meristem and other cell types to see if we can remove gap
## Try to find genes that are indicative of plastid and cell state
## Track the express... |
3307bbad388879e3ebb7a1120b329247142d9b49 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Probability_And_Statistics_For_Engineers_And_Scientists_by_Ronald_E._Walpole,_Raymond_H._Myers,_Sharon_L._Myers,_Keying_Ye/CH11/EX11.3/Ex11_3.R | 0702fe556ca80384ead8849f59ecfb017044c84e | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 1,267 | r | Ex11_3.R |
# Chapter 11
# Example 11.3 page no. 404 from the pdf..
# Hypothesis Testing On Slope Of Regression Line..
# to test the hypothesis of beta1 slope of regression line..
# Null - beta1 = 1.0, alternative < 1.0
x <- c(3,7,11,15,18,27,29,30,30,31,31,32,33,33,34,36,36,36,37,38,39,39,39,40,41,42,42,43,44,45,46,47,... |
c4d744a295c113caab8fa38f6b9bbdda9d93c0e4 | ed9c3b1ae7b4bc58fb287ce22ecf1fedbdb0e7e5 | /A-MDR.R | d56205ce718a483575c0619eaa32e6485e2bbb37 | [] | no_license | SJAndrews/MDR | ee4fdb8743546b58e25d1ca00b2c84a62aedcf51 | 359d0aea7c8b4c241b305585e5bb9af79017f7f3 | refs/heads/master | 2021-01-10T15:34:34.131580 | 2015-11-18T04:43:42 | 2015-11-18T04:43:42 | 46,376,297 | 0 | 0 | null | 2015-11-18T04:43:43 | 2015-11-17T21:23:05 | R | UTF-8 | R | false | false | 5,597 | r | A-MDR.R | ##-----------------------------------------##
# Functions
##-----------------------------------------##
#classify genotypic combinations as high or low risk
#pi0, equation pg 3
pi0.func <- function(x, z){
ifelse(x[1]/(x[1] + x[2]) >= sum(z)/ length(z), 1, 0)
}
#counts the number of matches of an individual data v... |
9b3791d2a45c805286af694dd49c5a197d6a533b | 2785f694ee390cfe78b189e9956ff8c58fe68ac6 | /R/est_pow_het.R | d2aa966c2a82f13c3f5738a8823b7651a3c54d9b | [] | no_license | VanAndelInstitute/bifurcatoR | e8400afad194e41802f5156ba6a6184e6d8d1d5b | 9346700eb392f494d79485c9734c2a1e54996219 | refs/heads/main | 2023-08-17T04:08:22.138059 | 2023-05-30T17:40:16 | 2023-05-30T17:40:16 | 452,341,124 | 6 | 5 | null | 2023-08-30T16:00:10 | 2022-01-26T15:59:38 | R | UTF-8 | R | false | false | 578 | r | est_pow_het.R | #' est_pow_het
#'
#' @param n number of [somethings]
#' @param p pr(event)
#' @param alpha default significance level (0.05)
#' @param x I have no idea what this does
#' @param nsim number of simulations (20)
#'
#' @return a power estimate
#'
#' @export
est_pow_het = function(n,p,alph... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.