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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7d623138505de4f1eff432b1466f4ea633c63fe | f1de1e557c0013509bfa93ebec936e81549232fe | /Chapter 4/Test_Error.R | 34c538b420a00377679208011fc718ede3f611cd | [] | no_license | BassJohn09/Introduction-to-Statistical-Learning---Solution | f79036df36e4e741b2d2df79cec35f0a4b84cf55 | 499587a5bb836f3d6486b294d7144f983636979b | refs/heads/master | 2020-04-24T10:40:52.559098 | 2019-02-26T23:06:32 | 2019-02-26T23:06:32 | 171,902,010 | 0 | 0 | null | 2019-02-26T23:06:33 | 2019-02-21T16:00:22 | Jupyter Notebook | UTF-8 | R | false | false | 1,002 | r | Test_Error.R |
# Scenarios
# KNN Classification
require(ISLR)
library(class)
#Since data has different magnitudes, scaling is necessary
standard.X <- scale(Caravan[,-86])
standard.Y <- Caravan[,86]
# K- Nearest Neighbors
n <- 1000
test.vector <- sample(1:nrow(Caravan),n, replace = FALSE)
training.X <- standard.X[-c(test.vector... |
993af56288f019832cbd5f39c61f457f56b3b31a | a1241d111c801c927dc800722e82efd2329c1474 | /man/draw_person.Rd | c0c1b37552229f1395f9c15e6340914721dd2bd3 | [] | no_license | zkzofn/GEMINI | 819203296a8e6181aac2e8dfae868ee7a3e6c69b | 90cea036dc9fe851032c53dd3e85fb922aac7f6f | refs/heads/master | 2020-05-16T15:58:49.945475 | 2019-03-28T01:54:38 | 2019-03-28T01:54:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 258 | rd | draw_person.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/draw_person.R
\name{draw_person}
\alias{draw_person}
\title{Draw person}
\usage{
draw_person()
}
\description{
This function for draw graph from person RDS data
}
\keyword{gemini}
|
b3e2c66f3146b4b832a6e47d543e4ed0c586c7fe | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SDT/examples/summary.sdi.Rd.R | e3e529df887e40608dc7ac8f6d2d9c2d870bb1d0 | [] | 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 | 435 | r | summary.sdi.Rd.R | library(SDT)
### Name: summary.sdi
### Title: Summary Method for Objects of Class sdi
### Aliases: summary.sdi
### Keywords: methods univar
### ** Examples
## attach dataset to search path (for using variable names)
attach(learning_motivation)
## original and adjusted index summary
summary(sdi(intrinsic, identifie... |
8aa744a88cb00eda74ee42aa1e0cece764dc5720 | d42265adacbce1ff851fdb64c0ff4ed19af77a53 | /code/07-residuals-analysis.R | 803fe33dc10bee82385837a9ab5aece0db9f65ab | [] | no_license | Gui-go/human_capital_x_production_in_sc | fbb21bd4977c79fe60ec8bb508599d07a50a17d1 | 3f1d2af2ce3d01ffb0a42e8a45c9b4f41e61efb3 | refs/heads/main | 2023-02-27T07:52:32.949853 | 2021-02-05T22:26:02 | 2021-02-05T22:26:02 | 314,433,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,360 | r | 07-residuals-analysis.R | # R-script 07-residualas-analysis.R
# Setup -------------------------------------------------------------------
rm(list = ls())
gc()
options(stringsAsFactors = F)
ggplot2::theme_set(ggplot2::theme_minimal())
options(scipen = 666)
# Packages ----------------------------------------------------------------
if(!require... |
79d3cd08c769ef147fe46df5996574c0bc9f5aad | c57b7c0b78074544d19257e052c4d5849ee87936 | /Data Manipulation.R | 1a5f3b8206273aae8346ff27f1195ac8458b20d7 | [] | no_license | Lakshhmi/R-Course | af5a8751eac761dcc22dee5eaf0be8f08f2d55fb | ac247341c749308e06c04068236818dd862d5266 | refs/heads/master | 2020-03-17T19:42:48.745175 | 2018-11-08T15:45:27 | 2018-11-08T15:45:27 | 133,874,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,669 | r | Data Manipulation.R | # Data Manipulation
install.packages('dplyr')
install.packages('nycflights13')
library(dplyr)
library(nycflights13)
head(flights)
summary(flights)
# Dplyr built in functions
# filter() and slice()
# arrange()
# select() and rename()
# distinct()
# mutate() and transmute()
# summarise()
# file:///C:/Lakshmi/R-Cour... |
c947861bd4cb9fd72fddc23e87c7f8821efe3601 | 32ff5ccab138160fee9fca0ad39d550573f7b575 | /Quora_Functions.R | e8c637fcfe88b939879919d937b1931e0b7666fc | [] | no_license | mrbraveheart71/Quora | 48df310547f3469e22494e88a5a2bb3c7a8fb23b | 421a91749a4ea66f4787e5112c53409746d523eb | refs/heads/master | 2021-01-19T11:48:27.455552 | 2017-05-06T23:43:29 | 2017-05-06T23:43:29 | 87,995,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,237 | r | Quora_Functions.R |
MultiLogLoss <- function(act, pred){
eps <- 1e-15
pred <- pmin(pmax(pred, eps), 1 - eps)
sum(act * log(pred) + (1 - act) * log(1 - pred)) * -1/NROW(act)
}
getWordWeights <- function(count,eps=5000,min_count=2) {
if (count < min_count) {0} else
{1 / (count + eps)}
}
nGramHitRate <- function(question1,quest... |
b4539e83ff659cbd084a158d22da3ee0302c5c81 | 4df547967c830abe8126644cb78d2d416320066d | /man/availableMetrics.Rd | cdefcfaf6279df58830393ad67ca86d407dd97b7 | [] | no_license | josefansinger/sanapiwrapper | 80aa222c7eb1760596b9b7b0d914324182bdbf13 | 18204670e3c35860a57165d65b3c4d649a1faaab | refs/heads/master | 2022-06-20T00:20:32.228421 | 2020-05-15T19:45:27 | 2020-05-15T19:45:27 | 263,316,785 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 463 | rd | availableMetrics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sanapiwrapper.R
\name{availableMetrics}
\alias{availableMetrics}
\title{Get the available Santiment metrics for a specific project.}
\usage{
availableMetrics(slug)
}
\arguments{
\item{slug}{project}
}
\value{
vector of available metrics
}
\de... |
0fab8a2f6bc6369eca964f009d5498c002caaa4c | e6f1a90627518802d31beb663a18718759ba6463 | /login.R | 0b8a193e5b6614b3a64368035d6376b48bfe4e15 | [] | no_license | IntersysConsulting/R_Miracle_Foundation | 7a9ce933d8a084fcd281af3b324f266e9b9d9842 | 4c75274fe10497490ba1780b67b32290edffca57 | refs/heads/master | 2021-03-16T08:43:29.161934 | 2014-10-29T21:24:38 | 2014-10-29T21:24:38 | 25,941,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | login.R | install.packages ("RForcecom")
options(repos=structure(c(CRAN="http://cran.revolutionanalytics.com")))
library(RForcecom)
username <- "jimg@miraclefoundation.org.test"
password <- "Miracle2468NQOYQ9MUOB8jWV3bFGFm5WR0"
instanceURL <- "https://cs14.salesforce.com/"
apiVersion <- "27.0"
(session <- rforcecom.login(usernam... |
d4b8c1d714e032662e4c283252895081ac72e4fd | fbb4db1d64c5aace6cb921f5933a57df0da68ddf | /Model Finding Similar Features/Real Data/tuning_funs.R | 99fd6c0ee55b101a1e0816491a6a80a72e489453 | [] | no_license | bommert/phd-thesis | 0516255dfdb5b1428150b29eaf985554444da677 | 25a65101799fcba0211acc948f85395ca48b2479 | refs/heads/master | 2023-01-11T18:59:26.381428 | 2020-11-06T11:33:04 | 2020-11-06T11:33:04 | 306,611,652 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,133 | r | tuning_funs.R | eps.constr = function(acc, stab, p.acc = 0.025, p.stab = 0.1) {
cho = rep(TRUE, length(acc))
cho[is.na(stab)] = FALSE
best.acc = max(acc[cho])
cho[cho] = acc[cho] >= best.acc - p.acc
best.stab = max(stab[cho])
cho[cho] = stab[cho] >= best.stab - p.stab
best.acc.end = max(acc[cho])
cho = (acc == best.acc... |
fe37599167ade14c931c7058371c133e3dd7d05c | d08e69198fbd60086aa35d765c7675006d06cf3f | /R/plot.ellipse.R | a3769f852c0095c42ce2f8e73fe1a215c8f573b3 | [] | no_license | villardon/MultBiplotR | 7d2e1b3b25fb5a1971b52fa2674df714f14176ca | 9ac841d0402e0fb4ac93dbff078170188b25b291 | refs/heads/master | 2023-01-22T12:37:03.318282 | 2021-05-31T09:18:20 | 2021-05-31T09:18:20 | 97,450,677 | 3 | 2 | null | 2023-01-13T13:34:51 | 2017-07-17T08:02:54 | R | UTF-8 | R | false | false | 522 | r | plot.ellipse.R | plot.ellipse <- function(x, add=TRUE, labeled= FALSE , center=FALSE, centerlabel="Center", initial=FALSE, ...){
if (add)
points(x$ellipse, type="l", ...)
else
plot(x$ellipse, type="l", ...)
if (labeled) text(x$ellipse[1,1], x$ellipse[1,2], labels=x$confidence, pos=4, ... )
if (center) {
points(x... |
041eb0d66dfa0da0e2a5f516bd3e985ef0c83a3f | 9e90a923b49e53e8d402d85d66bee9d02f6a483f | /R/zzz.R | 65e03c042fcadf2ef29233843b91669190a417f8 | [] | no_license | thijsjanzen/pirouette | 7e66c8276a11a18a6184f27dab6cb8ee06abfa28 | 463a2bd61ee9d5ada7c249d803e99391de264b79 | refs/heads/master | 2020-05-25T16:21:22.467232 | 2019-05-07T12:46:27 | 2019-05-07T12:46:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 264 | r | zzz.R | .onLoad <- function(libname, pkgname){
suppressPackageStartupMessages(
lapply(
c("beautier", "beastier", "tracerer", "mauricer", "babette", "mcbette"),
library,
character.only = TRUE,
warn.conflicts = FALSE
)
)
invisible()
}
|
c680d720dbe70212bcdff999e225951e5d45c78b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SLOPE/tests/test_slope.R | 0748fe40d59dc2c59cccf1e83d8c80cabb95e648 | [] | 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 | 776 | r | test_slope.R | test_that("SLOPE accepts manually specified noise level", {
prob = random_problem(20, 10, sigma=2)
result = SLOPE(prob$X, prob$y, sigma=2)
expect_equal(result$sigma, 2)
})
test_that("SLOPE estimates sigma from data (when n-p is large)", {
prob = random_problem(100, 50, amplitude=6, sigma=2)
result = SLOPE(pr... |
3fdabad45e50265772af2f63de6d93aa25569d7d | da2aded3040e88b9b7e375a5c79bf1a4b90b0556 | /R/validate_method.R | 590eaadf43f23806d7d56070bcca6c89c4746d2c | [] | no_license | PolMine/polmineR.misc | f1c3cca7651dbd91fd7fce92103d11a5e8270be1 | 03dfef42f3242ce3120a45f283a61b89ebb903d4 | refs/heads/master | 2023-06-09T01:20:29.818197 | 2022-11-17T13:27:23 | 2022-11-17T13:27:23 | 54,013,177 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 931 | r | validate_method.R | setGeneric("validate", function(.Object, ...) standardGeneric("validate"))
mismatches <- variable <- NULL
setMethod("validate", "data.table", function(.Object, bundle, ...){
if ("TOTAL" %in% colnames(.Object)){
.Object[, "TOTAL" := as.integer(.Object[["TOTAL"]]), with = TRUE]
}
DT <- data.table::melt.data.t... |
a64781e9c797019156e79ae36fed93ea2e8c538f | f32c9ffd0118ae743eae83312587802302cb8728 | /R/allPackage.R | ef9387d6e8281af89c309ba13a862d1abb89c6a5 | [] | no_license | qiime/qiime.io | 2b7a28cd4c110882b43ec4237d10a12051b5497a | 95a309575a370e6fe48e40f88a9bdf233fb31007 | refs/heads/master | 2020-04-06T04:51:33.902087 | 2013-10-16T16:04:13 | 2013-10-16T16:04:13 | 10,043,792 | 1 | 0 | null | 2013-10-17T19:16:37 | 2013-05-14T00:03:45 | R | UTF-8 | R | false | false | 791 | r | allPackage.R | ###############################################
#' Support for loading and interacting with QIIME files in R.
#'
#' There are already several ecology and phylogenetic
#' packages available in R, including
#' adephylo, vegan, ade4, picante, ape, phangorn, phylobase,
#' phyloseq and OTUbase packages.
#' This package ... |
48088dac588a2c6b2c9326cef259c56e422f6788 | f4bbaaf60d7784a23fc934a8f2f42af9ac07b3a7 | /testCode_Backup/testOutlierDetection.R | 1aa378c48604289f11a20e4dcf59f89cfbae4d20 | [] | no_license | praster1/Unit-root-test-of-Non-stationary-time-series | 6e8fca8f47b8c71a48ab9e1022a4e10ac494ed51 | e47b62ac7dcefde7e4bcb16b29ccd12960ee3eb8 | refs/heads/master | 2020-04-02T01:54:59.554348 | 2019-04-17T18:04:10 | 2019-04-17T18:04:10 | 153,881,587 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 489 | r | testOutlierDetection.R | require(forecast)
require(tsoutliers)
dataLen = 500
### ARMA(1,1) process simulation
# purely random process with mean 0 and standard deviation 1.5
Z <- rnorm(dataLen, mean = 0, sd = 1.5)
# Process
X <- rnorm(1)
for (i in 2:length(Z))
{
X[i] <- X[i-1] + Z[i] + Z[i-1]
}
X[100:length(X)] = X[100:length(X)] -... |
7adf82fed72cd3959c664faa5bd0fd4948244616 | 7bf8ba22baa77854c9039cb2e4754d056ab7ecc6 | /Mikdat-hw3.R | 0b0954a68eaee9aec670e00fe18ae6db103446b8 | [] | no_license | teamwilf/Quant-I | 228580e813915229faaf1ee32d1fd9d35af18f6a | 8802bd55466029f16ceaab1472a8c15f6a54aa2c | refs/heads/master | 2021-07-07T19:53:22.329656 | 2017-10-04T14:13:35 | 2017-10-04T14:13:35 | 105,075,955 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 899 | r | Mikdat-hw3.R | #Question 2
install.packages("mvtnorm")
library("mvtnorm", lib.loc="/Library/Frameworks/R.framework/Versions/3.4/Resources/library")
set.seed(135467)
smat<-matrix(c(1,.5,.5,1),2)
data<-rmvnorm(100,sigma =smat)
x<-data[,1]
eps<-data[,2]
y<-3+7*x+eps
reg<-lm(y~x)
regtest<-lm(x~reg$resid)
summary.lm(regtest)
summary.lm(lm... |
4328a72abd95f499e6984b890daf5cc88292a5b1 | 7798ce0d75135ed0d0c664b79128e7fc3feedef6 | /2_RProgramming/week2/Programming Assignment 1 INSTRU.R | a9df36afca45b1bb352fb276b0e1ad96bbe1cdc4 | [] | no_license | artickavenger/datasciencecoursera | 7bcdd67e2175bcc7de967f8f6c9b8b69e332edf3 | 19df07f0d625413a30060af60f01f616ad41c64e | refs/heads/master | 2022-12-20T08:06:51.955067 | 2020-10-21T10:58:30 | 2020-10-21T10:58:30 | 297,189,939 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,159 | r | Programming Assignment 1 INSTRU.R | # Programming Assignment 1 INSTRU
pollutantmean <- function(directory, pollutant, id = 1:332){
# create a list of files
files_full <- list.files(directory, full.names = TRUE)
# create an empty data frame
dat <- data.frame()
for (i in id){
# add files to main data
... |
95f514366357c4f3b6fefd381e0f84f97ed588b0 | c395f9c5c3253cfa5b1b09d68afc5e1ce36b5a51 | /dpylr.R | e595ef7965658d5a6ec25ee6d7a8f80d5e3f7417 | [] | no_license | RohanZutshi/analytics | 8a945b9d4a7df100135d8072870b5142db772ac2 | a26d2a6b3e51b14f3691395cb6c3dcc363fcca83 | refs/heads/master | 2020-04-06T23:06:03.524954 | 2018-11-17T06:19:24 | 2018-11-17T06:19:24 | 157,858,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,480 | r | dpylr.R | install.packages('dplyr')
(rollno=1:30)
(sname=paste('student',1:30,sep=" "))
(gender=sample(c('M',"F")))
set.seed(1234)#to replicate the same pattern
(gender=sample(c('M','F'), size=30, replace=T))
table(gender)
(gender=sample(c('M','F'), size=30, replace=T, prob=c(.7,.3)))
(marks1=floor(rnorm(30,mean=50,sd=10)))
(mar... |
1148a15a0b6fe328d99bb7ded592f8c002752a47 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/wordspace/examples/eval_similarity_correlation.Rd.R | edbb6bfef813cd81c5e0aa0af488857eb4176542 | [] | 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 | 345 | r | eval_similarity_correlation.Rd.R | library(wordspace)
### Name: eval.similarity.correlation
### Title: Evaluate DSM on Correlation with Similarity Ratings (wordspace)
### Aliases: eval.similarity.correlation
### ** Examples
eval.similarity.correlation(RG65, DSM_Vectors)
## Not run:
##D plot(eval.similarity.correlation(RG65, DSM_Vectors, details=T... |
300a1aa201790b4e50c88fd8aafa8834b57d7ffd | dd0474b22e9ac1dc5aa420aea55277d44753d47e | /Analysis.R | 73062c546817e811bd279de439eb1c4be55df9a9 | [] | no_license | yatsenkotetyana/HR_Yatsenko | 73019ca858e531e214dd8906035510650b1e7fce | 151a6346b5b56911cd475c8284b7a65081f36893 | refs/heads/master | 2021-01-13T12:58:05.405703 | 2017-01-12T20:25:36 | 2017-01-12T20:25:36 | 78,783,437 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 27,857 | r | Analysis.R | # Install packages if we need it
if (!require("corrplot")) install.packages("corrplot")
if (!require("ggplot2")) install.packages("ggplot2")
if (!require("caret")) install.packages("caret")
if (!require("e1071")) install.packages("e1071")
if (!require("car")) install.packages("car")
if (!require("nor... |
2b254c77fde12a94eaa13476d2ae28d2a328547f | b959bed2a2da2b025fc0a6ce9fcd6766ba9bffe6 | /man/summary.class_item.Rd | a012b4ac6afd993c65b7e463e473fd074f725702 | [] | no_license | cran/MultiLCIRT | 074ac46148da08008180f775cd890c92f0907a14 | 2463a23604281b7516fe4001dec575925a32bb98 | refs/heads/master | 2021-01-17T08:58:16.283841 | 2017-06-06T16:10:33 | 2017-06-06T16:10:33 | 17,681,036 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 835 | rd | summary.class_item.Rd | \name{summary.class_item}
\alias{summary.class_item}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Print the output of class_item object}
\description{Given the output from class_item, it is written in a readable form}
\usage{
\method{summary}{class_item}(object, ...)
}
%- maybe also 'usage' ... |
4c52c9e0adcbca3239b103056ab2683137823cc3 | 3a2a402f434403db37d4f1ad5456185cc5c4f7d7 | /R/refit.R | c4e14695174998b3f85804487a865245dc222359 | [] | no_license | zdk123/pulsar | 445090f2814f02a6dfc461fc46737583c29b5996 | 9b78ec8dc01f9bf49497e4ecda9335a40d462e18 | refs/heads/master | 2023-02-18T14:26:15.152281 | 2023-01-26T02:25:45 | 2023-01-26T02:25:45 | 40,200,366 | 11 | 8 | null | 2023-02-07T17:19:28 | 2015-08-04T17:59:52 | R | UTF-8 | R | false | false | 3,067 | r | refit.R | #' Refit pulsar model
#'
#' Run the supplied graphical model function on the whole dataset and refit with the selected lambda(s)
#'
#' @param obj a fitted \code{pulsar} or \code{batch.pulsar} object
#' @param criterion a character vector of criteria for refitting on full data. An optimal index must be defined for each ... |
fc2cafccab97293432da6fa5e75ff8c66e4f1970 | 763de830f49f3ef8462eb3097b36535e4836cf63 | /InterLab_study/analysis_InterLab/2_normalize.R | dbe86a6d73ef884bb474e27e58f12af8c1c4f200 | [
"MIT"
] | permissive | Akmazad/batch_effects_workflow_code | ba44d64d8d10435696857ad4851231af55d42fbd | 696eb609a55ba9ece68b732e616d7ebeaa660373 | refs/heads/master | 2023-05-01T18:06:06.099583 | 2020-11-20T14:47:22 | 2020-11-20T14:47:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,498 | r | 2_normalize.R | #!/usr/bin/env Rscript --vanilla
#load the libraries
library(proBatch)
library(readr)
library(dplyr)
library(tidyr)
source('transition_fragment_conversion.R')
#load the data
essential_columns = c('peptide_group_label','filename','aggr_Fragment_Annotation', 'aggr_Peak_Area')
cols_to_get <- rep(list(col_guess()), lengt... |
deea11aa75a1011c0bd81ac4ae2c056fb071ea56 | 270ded734f3164c2b8996d87a0a4ba9723409fd8 | /R/data.R | b976ad59520da627dcaddde4eda59921ea79bfd8 | [] | no_license | cran/epos | 786602338b9da96c3b19a4233cba27cde658df18 | 21c8f0a2d46ffa61436eb31be9b8288efe33da54 | refs/heads/master | 2021-06-17T18:44:04.996756 | 2021-02-20T00:10:14 | 2021-02-20T00:10:14 | 152,093,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,719 | r | data.R | #' List drug terms with their frequency co-occurring with terms from the EpSO
#' ontology in publications since 2015 from the BioASQ 2020 corpus.
#'
#' @source The text mining workflows for data generation are described in
#' Mueller, Bernd and Hagelstein, Alexandra (2016)
#' <doi:10.4126/FRL01-006408558>, Muel... |
91d9e4805e3ed8eda0f526a1299039e26f77f94f | 72cfd71c7d584530657782c4a0a23cc22950dff7 | /man/demo_sim_SEG.Rd | 5ecd909a73fa58f3b8556efad883fa683d48fb3e | [] | no_license | juvelas/PVA | 6ae2b957705d9d317b71b05ae72a76f598f0d3ab | 795f571908caedb73f675de4526d35be9f7b2355 | refs/heads/master | 2023-02-28T06:28:47.192149 | 2021-01-23T00:36:18 | 2021-01-23T00:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,096 | rd | demo_sim_SEG.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/demo_sim_SEG.R
\name{demo_sim_SEG}
\alias{demo_sim_SEG}
\title{Stochastic Exponential Growth model demo}
\usage{
demo_sim_SEG()
}
\value{
Nothing is returned; the commmand is run for its side effect of
launching a shiny app. You will have to ... |
d3d0e54bab2e2232d362697ffa0ccfd8624d053a | 2496529c830072687f31657ef826d1aa695af025 | /man/summary.coxph.relsurv.Rd | 1d33678a2d22508fbb8778acc3219c083d8d477d | [] | no_license | damjanm/mstate-1 | 3d4823c2f08367704db2d69ff421db46a0743a7c | f497395b5d41a3cd1b988a05e867e4ec323db056 | refs/heads/master | 2023-07-16T09:52:47.986603 | 2023-06-26T09:25:21 | 2023-06-26T09:25:21 | 300,222,747 | 0 | 0 | null | 2020-10-01T09:31:00 | 2020-10-01T09:30:59 | null | UTF-8 | R | false | true | 909 | rd | summary.coxph.relsurv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/relsurv.summary.coxph.relsurv.R
\name{summary.coxph.relsurv}
\alias{summary.coxph.relsurv}
\title{Summary method for coxph.relsurv object}
\usage{
\method{summary}{coxph.relsurv}(object, conf.int = 0.95, scale = 1, ...)
}
\arguments{
\item{ob... |
6e96bbfe73c0b9a5f890dcf1dd165f4999e91ae5 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws/man/securityhub.Rd | 5a900965f8ad9a5734bb07a8ccb7d784ea08f038 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 10,084 | rd | securityhub.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.R
\name{securityhub}
\alias{securityhub}
\title{AWS SecurityHub}
\usage{
securityhub(config = list())
}
\arguments{
\item{config}{Optional configuration of credentials, endpoint, and/or region.}
}
\description{
Security Hub provides you ... |
8100b2a5421fc714d2c293eefc56169007dbe5b2 | a893f063e4fb685c6d959882b74f35cfc17686ee | /solutions/manu_colour_palette.R | 86bc84aac797ee4ff393387b5052b39b3cc9fef3 | [] | no_license | jmarshallnz/intro_to_r | e8ebe29fe4df3d32f9848e79eb75ead3a46bce4c | 35065a9255915f5f9eec4248972560fcbe7ff991 | refs/heads/main | 2023-06-16T10:09:57.485226 | 2021-06-21T04:13:12 | 2021-06-27T23:29:42 | 332,910,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | manu_colour_palette.R |
library(tidyverse)
library(palmerpenguins)
library(Manu) # from: https://g-thomson.github.io/Manu/
# install the Manu package using:
# remotes::install_github("G-Thomson/Manu")
my_colours = c(Adelie = "darkgreen",
Chinstrap = "#7f2b3c",
Gentoo = "orange")
my_colours
ggplot(data = pengu... |
941cb5cec17391422ad665defa511b9ae6ddb42c | 5397b2f52030662f0e55f23f82e45faa165b8346 | /R/j_example_xlsx.R | df442d6902b29f1631f98a7ef6611612ab8168a6 | [
"MIT"
] | permissive | data-science-made-easy/james-old | 8569dcc8ce74c68bcbb81106127da4b903103fcd | 201cc8e527123a62a00d27cd45d365c463fc1411 | refs/heads/master | 2023-01-12T21:16:23.231628 | 2020-11-19T13:46:17 | 2020-11-19T13:46:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 913 | r | j_example_xlsx.R | #' Create example xlsx file
#'
#' You can use this example to import, analyse, and visualise your own data
#'
#' @param file_name where your xlsx-file should be stored (default temporary xlsx-file)
#' @param multiple_tabs creates an xlsx-file with multiple tabs if TRUE (default), including a meta tab. If FALSE, it crea... |
8e56a2755e77e1c4e09282c7e534cf5605a333f9 | 9d8990e66af63d2e691d01fd66b1c28f314750ea | /IE544_PROJECT_Q1.r | f16b68f0b5bfd1f4259d330377d3dcb4b53ac716 | [] | no_license | buraksimsekkk/IE544-Project | 6333c97ca472e475acbbd242bb68faf73cbcbd17 | 1dd731627f4e54d977939d5a82d77d874d6853d6 | refs/heads/main | 2023-05-28T08:49:53.722563 | 2021-06-13T13:28:49 | 2021-06-13T13:28:49 | 374,346,175 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,915 | r | IE544_PROJECT_Q1.r | library(tibble)
library(bnlearn)
library(dplyr)
require(ggplot2)
data<-readRDS("amz_train.rds")
data$epoc = as.Date(as.character(data$epoc))
data_df <- data.frame(year = as.numeric(format(data$epoc, format = "%Y")),
month = as.numeric(format(data$epoc, format = "%m")),
day = as.numeri... |
41474212ec7ef1a0c97a8c4d4cf8b43b372643af | c75c5b232956e2c4c042ccb7193ed128262408a5 | /aggregate boiler analysis_341 Bloor.R | d35ab87392cd9d5064345e71c5d26fa5c70dea07 | [] | no_license | cchenyq/Boiler-Data-Analysis | 3b56bd0c655d0418b99e21e982c9982e7ee717e4 | d7ec3a6a3114ef098fd538be330856db2b642d6e | refs/heads/master | 2020-03-27T17:01:26.489501 | 2018-08-31T06:11:42 | 2018-08-31T06:11:42 | 146,823,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,358 | r | aggregate boiler analysis_341 Bloor.R | library(dplyr)
library(tidyverse)
library(lubridate)
library(ggplot2)
get_daily_rt <- function(df, num_days) { # num_days is the # of days in the month
daily_rt <- vector()
for (i in 1:num_days) {
day <- subset(df, (day(df$Timestamp) == i))
if (nrow(day) > 1) {
t <- day[,1]
status ... |
cf9c5b65fb2d20c521357573fdac0c74d4c3d75e | 4d4b524b7d5e1cbb1be26e391144cfa6cbce72f4 | /man/wtPlotResult.Rd | 3f4efcdc0f0b8293bd6e8f8768b7de21feeff5df | [
"MIT"
] | permissive | KWB-R/kwb.wtaq | e6afc2455e5a828e8d5c98c19868df2d13c505a8 | f05c8cb30c48051c7f4b856c40571bae08facc27 | refs/heads/master | 2022-06-28T07:47:09.950237 | 2022-06-12T08:31:16 | 2022-06-12T08:31:16 | 60,534,495 | 3 | 0 | MIT | 2022-06-12T08:29:57 | 2016-06-06T14:26:52 | Fortran | UTF-8 | R | false | false | 1,372 | rd | wtPlotResult.Rd | \name{wtPlotResult}
\alias{wtPlotResult}
\title{Plot WTAQ results}
\description{Plot WTAQ results}
\usage{wtPlotResult(wtaqResult, main = "", plottype = "w", showMeasurements = TRUE,
auto.key = NULL, asp = NA, PDF = FALSE, PNG = FALSE, pumpingWellName = "PW",
xlim = NULL, ylim = NULL, ...)}
\arg... |
225b4b8cc36d32df4dce6659f3c6d54553b77957 | 60a99dc425d9edca7b3dec562f5cf6367d9c61ec | /MExPosition/man/print.doact.statis.compromise.Rd | f7bdfe28ef81195c1b66d5c7dfddf1efcc79d2c1 | [] | no_license | LukeMoraglia/ExPosition1 | e7718ae848608f1dc3934513c6588f53f2c45a7f | a69da6c5b0f14ef9fd031b98c3b40b34dad5240f | refs/heads/master | 2022-12-31T17:45:10.909002 | 2020-10-22T19:45:49 | 2020-10-22T19:45:49 | 255,486,130 | 0 | 1 | null | 2020-10-22T18:08:38 | 2020-04-14T02:01:12 | R | UTF-8 | R | false | false | 444 | rd | print.doact.statis.compromise.Rd | \name{print.doact.statis.compromise}
\alias{print.doact.statis.compromise}
\title{Print the results of the Compromise for DO-ACT}
\description{S3 Class function to print results for MExPosition.}
\usage{\method{print}{doact.statis.compromise}(x,\dots)}
\arguments{
\item{x}{an object of class DO-ACT}
\item{\dots}{inh... |
f93951bd6103157cb4188fc21e87d70e4c55b66c | fbea782e161a7173ef98e7fa34d90743d75743e1 | /other/package_installs.R | 77c6fffec7087f7b725ce4df20343e3eb7057281 | [] | no_license | edimaudo/R-projects | c3523a0bb551b0a945f12aa8d6c34107d7dd7ced | 80af84e08fef61dfec4c87e7059f6dc50e24f868 | refs/heads/master | 2022-10-27T03:08:59.306013 | 2022-10-23T00:55:24 | 2022-10-23T00:55:24 | 94,769,351 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 116 | r | package_installs.R | install.packages ("reshape2")
install.packages ("dplyr")
install.packages ("ggplot2")
install.packages ("stringr")
|
41b9e75db883d5108d5e62df15a6ee7b569e2098 | 294a336d95509a0ce4b0d1a3ed9b77adc5a3bd13 | /man/breadth_profile.Rd | e2670caa1f9e64458a3f06504655a69ed7569677 | [] | no_license | anttonalberdi/ENMhill | 80069a2b6ad03c97912fb4d67df2bae3ab2094e3 | 2e26e0f5d67885b1f33d87ec2a15d2d02f1534f8 | refs/heads/master | 2020-08-17T20:09:25.836753 | 2019-10-23T12:48:32 | 2019-10-23T12:48:32 | 215,706,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,987 | rd | breadth_profile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/breadth_profile.R
\name{breadth_profile}
\alias{breadth_profile}
\title{Spatial breadth profile}
\usage{
breadth_profile(raster, qvalues, relative, threshold)
}
\arguments{
\item{raster}{A RasterLayer (single projection) or RasterStack (multi... |
0da9c02ab18935e5ce50820fa860cb35c94c5a7f | 0a906cf8b1b7da2aea87de958e3662870df49727 | /distr6/inst/testfiles/C_EmpiricalMVCdf/libFuzzer_C_EmpiricalMVCdf/C_EmpiricalMVCdf_valgrind_files/1610037035-test.R | 2eed7c743c07c4e74454dda22cc4ea4257544abb | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 494 | r | 1610037035-test.R | testlist <- list(data = structure(0, .Dim = c(1L, 1L)), x = structure(c(1.75150903897595e-260, 9.28267364693302e-215, 1.57064017100971e-307, 6.16474212895706e-270, 5.02154668707453e-304, 1.13659433913701e-259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0... |
b849af5fc63edd86fc58e9171112ca14c8f5e2ee | cc3c93f79576701be76eeafec0d3907e3f394970 | /generate_dashboard.R | 9fa8728453fdb554a9bba163d28b7582a9d82abc | [] | no_license | mkao006/cpmb_dashboard | 42ead463eacd18928c718626b50c3f8b2c27bc2d | 1f51825fa2f8ac984f1b532d2310ba50cf411df4 | refs/heads/master | 2021-01-23T03:54:32.400226 | 2014-08-19T15:16:40 | 2014-08-19T15:16:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,592 | r | generate_dashboard.R | ########################################################################
## Title: Script for the FAO strategic objective scorecard.
## Date: 2013-08-02
########################################################################
library(plyr)
library(reshape2)
library(data.table)
SO = "so5"
path = paste0(getwd(), "/dash... |
6bd1364710327e8e88822e638b3a7b1e83b2c0c9 | 1df1f61b46f89c0af6f1e2f2908f3be04f855df6 | /Taller_Mod2_IntroRcompac.R | 76a2edad28bc79a8fae25dedcc675893316023b3 | [] | no_license | erichr2018/Modulo2_Taller | e41fd486a7ca1ee4d76a29686dbf0e76e23712c8 | 495f221fcc601b9a33c0931b2f748bc65228fab8 | refs/heads/master | 2020-03-29T22:47:24.891467 | 2018-09-28T20:12:35 | 2018-09-28T20:12:35 | 150,440,540 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 4,505 | r | Taller_Mod2_IntroRcompac.R | ############################################################
# Curso Redes Aplicadas 2018 .... #
############################################################
# Sesion 2: #
###########28 de septiembre 2018############################
##########... |
e9a6aa5556bc0253edb921425311deffa3cad0ef | c6ffe1c30ab6f0d2d055c1dbf69a7c4d7fb5876e | /clean_data/clean_hotels/CleanDataHotel.R | 7e7294b00114e6a79a7650d119845565a74d9120 | [] | no_license | STAT133-Summer2016/finalproject-airbnb-team | eda415e5abe139520225263cbab4e431177257d2 | c91db49a87e1d554221081ddcb75415c57652472 | refs/heads/master | 2021-01-17T17:46:47.436130 | 2016-08-10T00:12:10 | 2016-08-10T00:12:10 | 63,273,451 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,788 | r | CleanDataHotel.R | ## San Francisco
sf_dbl = read_csv("sf_dbl.csv")
sf_dbl <- sf_dbl %>%
mutate(Room.Type ="Private room") %>%
mutate(City = "San Francisco") %>%
mutate(Bed = 2)
colnames(sf_dbl)[6] <- "Bed(s)"
sf_sgl <- read_csv("sf_sgl.csv")
sf_sgl <- sf_sgl %>%
mutate(Room.Type ="Private room") %>%
mutate(City = "San Franc... |
3c83808cff7c9d5a51a46a4297efd06357208d4e | 7a16dd81e0267984acc6df921eaa135466fd7640 | /codes/countclust_ebony_nd_bl.R | 0aa84e9cc8d89ce69e0f98bcb29b07e9aa74d654 | [] | no_license | kkdey/Black_magazines | f21d9ae4e6ee9960069d7a54906ddba4fd6b463a | 66d0c0bbe134b03b7531fa60fc788010b9e15946 | refs/heads/master | 2020-03-10T04:45:18.249343 | 2018-08-02T04:52:00 | 2018-08-02T04:52:00 | 129,200,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,268 | r | countclust_ebony_nd_bl.R |
########### CountClust on Ebony + Black World + Negro Digest ##################
tab_ebony <- get(load("../output/table_word_frequencies_ebony.rda"))
tab_bl_nd <- get(load("../output/table_word_frequencies.rda"))
all_words_ebony <- get(load("../output/all_words_ebony.rda"))
all_words_bl_nd <- get(load("../output/a... |
98efecc56d2bee68e7a9c45b928730e493eaca94 | ffd8d6c91609c708439aa6fe49d24325db01a264 | /plot2.R | 96ce96294cdde3877ac8deed67aa2191ead071e2 | [] | no_license | ebloo/ExplDataAnalysisPrj1 | e5df590127e2a7ff62ec01e0c4f5c8a5c56889f8 | 0f9c8fc586ceeb2bef78d59f67f7004a934dc970 | refs/heads/master | 2021-01-10T12:25:23.167910 | 2015-11-09T00:04:03 | 2015-11-09T00:04:03 | 45,804,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 595 | r | plot2.R | ## setwd("//Msad/root/NA/NY/users/desevan/My Documents/admin/datasciencecoursera/exploratoryanalysis/prj1")
# read in the data
data <- read.table("household_power_consumption.txt",sep=";",header=TRUE)
summary(data)
# take a subset
data <- subset(data, Date %in% c("1/2/2007","2/2/2007"))
# extract date/time
dt <- str... |
fd107d72a38f5a6a3db4eebe7e049f1bee761f9d | de8eac546dd1a7c3fb269735bf2283ea7b221cb4 | /r/compare_idw.R | ae99765e7535f885c0cec85e6a5f7c22e3f43bb1 | [] | no_license | nronnei/Geo866-Final | 37e1ca409ebc3f8711e6bff83d8a8afe9bdb2341 | 48460b6daff031450c6554ddfde7d8b92e430f7e | refs/heads/master | 2020-06-16T13:10:18.505413 | 2017-07-07T17:18:48 | 2017-07-07T17:18:48 | 75,098,903 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 489 | r | compare_idw.R | setwd("/home/nronnei/gis/class/spatial_analysis/final_project/")
dc.r <- read.csv("./data/points/study_points_R.csv", header = T, sep = ",")
dc.p <- read.csv("./data/points/study_points_Python.csv", header = T, sep = ",")
com.x <- dc.r$x[dc.r$x == dc.p$x]
com.y <- dc.r$y[dc.r$y == dc.p$y]
com.dc <- dc.r$dc[dc.r$dc ==... |
c062d259b418cebed9fbdfeb575d9f8b46e730e9 | 877459dbe42dcf958f12bce9a58c2312eb30fbb9 | /src/ConnectivityScores.R | cf7e5be385d2f6601d0675081049084a69e4eaae | [] | no_license | rhodos/cfdrug | f51b9dda38543836e4820df2c204623629fe5e46 | e70c56f3f205690dbbdcac42ab7b8dcd096207bc | refs/heads/main | 2023-03-25T23:20:46.413982 | 2021-03-08T12:59:27 | 2021-03-08T12:59:27 | 345,197,619 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,669 | r | ConnectivityScores.R |
library(foreach)
LINCS_CS_parallel = function(querySig, signatureBlockFiles, sigFilters=NULL, nPerm=50,
show_progress=TRUE, annotFilter=TRUE, debug=FALSE, csMetric='ks'){
if(debug){signatureBlockFiles = signatureBlockFiles[1]}
### compute background distribution of scores
... |
608c40d7cfc377e42908f5cca29e6b69a130b15a | 49f0605bea382482a028e543cac6e72e3c0335c7 | /man/nvdescstat.Rd | 1035902e92ab4b381469fe9e2262358803f2fe04 | [] | no_license | cran/cbanalysis | 2993af56c9b1b6809842132e43398207bad61940 | ce00fca11d555c4c251bb44908e0c32f2d33984d | refs/heads/master | 2021-01-19T13:44:33.718634 | 2017-09-04T17:43:49 | 2017-09-04T17:43:49 | 88,104,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,556 | rd | nvdescstat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nvdescstat.R
\name{nvdescstat}
\alias{nvdescstat}
\title{Numerical Variable Descriptive Statistics returns a data frame containing descriptive statistics for numerical variable.}
\usage{
nvdescstat(df)
}
\arguments{
\item{df}{- Input... |
ae5cb8b3efabff62005e242ca5c8a43d85bf46ed | 3f7bfee1072108a851a0c5c22dd632436327737a | /man/current.market.Rd | 58f734ae08cb3a3d4b566556496df576d3636f79 | [] | no_license | arturochian/maRketSim | 94e08c3d5adbeb00a67061b9d278dbae2df47b31 | 5e6ff01aff467d3d163390318e4471d170f8a9b8 | refs/heads/master | 2021-01-15T22:18:37.551423 | 2014-01-26T16:51:13 | 2014-01-26T16:51:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 554 | rd | current.market.Rd | \name{current.market}
\alias{current.market}
\title{
Find current market object
}
\description{
Function to return the market object at a given time from a history.market object. If no time point exists, interpolate by grabbing the previous market and returning a market object with those characteristics but the... |
558f9faf939c1251d0465c0af6697a2c49168aa8 | 81f6f50ab82bdd997b7da53f83771ac13323c2f7 | /plots/plot4.R | b81c8f3f8a7ed1b5fbb5178e49b4af6a3e6b04f3 | [] | no_license | zawhtetwai/ExData_Plotting1 | 04c739fbf206533c080692ddd2dedb6fc69b1dd7 | 507f56077d58796853c81a4177156b70f444f24f | refs/heads/master | 2021-01-13T14:38:45.648770 | 2014-11-08T19:06:11 | 2014-11-08T19:06:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 948 | r | plot4.R | source("load_data.R")
data <- load_data()
png("plot4.png", width=480, height=480)
data$DateTime <- paste(data$Date, data$Time, sep=" ")
data$DateTime <- strptime(data$DateTime, format ="%Y-%m-%d %H:%M:%S")
par(mfrow=c(2,2), mar=c(5,4,2,2),oma=c(1.5,0.5,1,0.5))
plot(data$DateTime, data$Global_active_power, type="s... |
1748ae2b1e33e01d818306f8995f7ec1bf060aa0 | 626e2140772938f91faf332daf1409af31f08454 | /code/Manuscript/Section2.R | 96004374c94ba489562e07cbe08ccd8505d4dde1 | [] | no_license | iLukegogogo/BreastCancerMetaPotenial | 56461d0a425c93b6ce0355a188f6723b9d3c1d59 | 79d39bc35372d997d755c9e927d404a8c9bed71e | refs/heads/master | 2023-02-08T14:42:44.665538 | 2021-01-02T03:24:16 | 2021-01-02T03:24:16 | 276,227,478 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,198 | r | Section2.R | require(CePa)
require(dplyr)
require(ComplexHeatmap)
require(RColorBrewer)
require(circlize)
require(segmented)
source('client-side/code/Manuscript/ggplot.style.R')
load('client-side/output/DE.breast.cancer.R.output/DE.breast.cancer.RData')
##############################################################################... |
94e4a6fcf1efa5c136ce06f1414c455adc00d3f3 | 4344aa4529953e5261e834af33fdf17d229cc844 | /input/gcamdata/man/module_gcamusa_L142.Building.Rd | 80300df1c06e0e9eb194d6ea46ce31f004b6aa9e | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | JGCRI/gcam-core | a20c01106fd40847ed0a803969633861795c00b7 | 912f1b00086be6c18224e2777f1b4bf1c8a1dc5d | refs/heads/master | 2023-08-07T18:28:19.251044 | 2023-06-05T20:22:04 | 2023-06-05T20:22:04 | 50,672,978 | 238 | 145 | NOASSERTION | 2023-07-31T16:39:21 | 2016-01-29T15:57:28 | R | UTF-8 | R | false | true | 951 | rd | module_gcamusa_L142.Building.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zgcamusa_L142.Building.R
\name{module_gcamusa_L142.Building}
\alias{module_gcamusa_L142.Building}
\title{module_gcamusa_L142.Building}
\usage{
module_gcamusa_L142.Building(command, ...)
}
\arguments{
\item{command}{API command to execute}
\i... |
d5b3ab9f525a654e472d52e27d998b8c818fb921 | d509d8563acbd99b2956df36876c80d80b004e7d | /2021-1-FunctionalDataAnalysis/Lecture5.R | c591fdb2a8d55000c7de7f226b26f7526130fe75 | [] | no_license | jbeen2/Today-I-Learned | a3ccd59180f1f2036e3948bb30ecaea612749a7f | a28ff8b16c018411bdc8a5b3836ea25bffc7e2f1 | refs/heads/main | 2023-06-15T12:51:00.188228 | 2021-07-10T18:33:36 | 2021-07-10T18:33:36 | 303,149,155 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,291 | r | Lecture5.R | ##### Lecture 5 Part 1 #####
library(fda)
library(refund)
set.seed(2016)
par(mfrow=c(2,2),mar=c(2,2,1,1))
gaus2<-function(x){exp(-x^2/2)/sqrt(2*pi)}
gaus4<-function(x){(1/2)*(3-x^2)*gaus2(x)}
ep2<-function(x){(3/4)*(1-x^2)*(abs(x)<1)}
ep4<-function(x){(15/8)*(1-(7/3)*x^2)*ep2(x)}
xlim=4
ylimh=1.4
yliml=-0.25
fnt = 1... |
f632d7739bde50509d829a0fb5283b6c1bd8f9b2 | dfe5f07a4e176a847e291bb681471a3d51e75222 | /exp_cens_I.R | fa718ddc506fd3ec473d80fcab94bde020da201d | [] | no_license | Bousfiha/ProjetSpeGit | bd1fb6322f8cde06c110254de0883488318414e6 | ba60f34b57a72478016e6d162906dea6148fe821 | refs/heads/master | 2016-09-01T05:47:04.772429 | 2015-06-11T06:38:58 | 2015-06-11T06:38:58 | 36,016,276 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,199 | r | exp_cens_I.R | ##Loi exponentielle
##Données censurées de type I
rm(list=ls())
lambda = 1
TailleEch = 100
NbIt = 1000
table = matrix(0,81,2)
Var_2 = table
P=seq(from=0.1,to=0.9,by=0.01)
for ( p in 1:81) {
tc = -log(1-P[p])/lambda
for ( j in 1:NbIt) {
R = 0
##Simulation de la loi
exp = rexp(TailleEch,lambda)
... |
ca6118c53805a5636ed7c3570ebcb23825e0c389 | 7fc453391224956da9ce2867d9bd54530a66aa43 | /R/distr_to_xml.R | b3f27dcbd33161c3fc53a6089849ab1422fae8e0 | [] | no_license | cran/beautier | 880277272f6cf48b4eca9c28db68e4a42c4ccc3a | 439683e296d755698c3861b447106556e540aa9f | refs/heads/master | 2022-08-30T18:21:31.772630 | 2022-08-11T09:40:07 | 2022-08-11T09:40:07 | 127,175,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,158 | r | distr_to_xml.R | #' Internal function
#'
#' Converts a distribution to XML
#' @inheritParams default_params_doc
#' @param distr a distribution,
#' as created by \code{\link{create_distr}})
#' @return the distribution as XML text
#' @examples
#' check_empty_beautier_folder()
#'
#' distr_to_xml(create_uniform_distr(id = 1))
#'
#' check... |
fb6662b8a8ca96a3302d1133e959d2bb19af4b85 | c66e8641380b3217feeacbe1ed60c754142dcce6 | /plants/03_output.R | a60fde1f24029c2868dc299724836cb861033219 | [
"Apache-2.0"
] | permissive | bcgov/invasive-species-indicator | 1a7354fe73c97e743c6a2b363adb85d3fe833f5b | c2c8cb46adece82965ae7040c271b39d599555c3 | refs/heads/master | 2021-06-17T20:09:25.889827 | 2020-12-16T23:05:10 | 2020-12-16T23:05:10 | 68,943,845 | 1 | 2 | Apache-2.0 | 2020-04-15T01:12:10 | 2016-09-22T17:10:01 | R | UTF-8 | R | false | false | 4,643 | r | 03_output.R | # Copyright 2016 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... |
fb9ee7545fd11e4d1b5cbc5a2666d331e8c162f2 | cde7a60b95e3a91bff43df40a6d0a8d16d48aeb5 | /plot4.R | 8c832a1ebd681fb3578ca7150cd00edf945d56c6 | [] | no_license | eborrero/ExData_Plotting1 | f4e9dbda6ed188b91d0add82fdf8ffa34504fccd | e25b3ba0d4868630cbc9974084f0dc7a7a191517 | refs/heads/master | 2021-01-17T06:31:17.224750 | 2016-02-14T08:01:50 | 2016-02-14T08:01:50 | 51,681,986 | 0 | 0 | null | 2016-02-14T05:57:24 | 2016-02-14T05:57:23 | null | UTF-8 | R | false | false | 2,322 | r | plot4.R | ## Make sure the working directory is the same directory ad the R files and the .txt data file
##read the file
data <- read.csv("household_power_consumption.txt", header = TRUE, sep=";")
##separate the file by the first date, Feb. 1st
dataFebFirst <-data[data$Date=="1/2/2007",]
##separate the file by the second... |
3c2c8c35369025448d4fb0c0613a0437729dd594 | 186dd33c855dc643aeef3953a373a6d704588cf0 | /R/io.R | 15ca95309e4882a9f0ff7cac3fb5ee79edbcff1b | [
"BSD-2-Clause"
] | permissive | cran/pubprint | 8432d36fc9d0aa8397bbb41d6fae1f189d967f80 | 864a5a20de759dcd50bee84ad44639601a5aadc6 | refs/heads/master | 2021-01-21T14:04:33.481164 | 2016-05-24T10:28:06 | 2016-05-24T10:28:06 | 50,608,880 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,702 | r | io.R | #############################################################################
# io.R
#############################################################################
#' @include style.R
NULL
#' Initialises a pubprint object
#'
#' \code{pubprint} returns an empty pubprint S3 object.
#'
#' This function initialises an emp... |
a0fc9f0682e1e8b3ea9899f541ff6dc1582a2b6b | c4547314bb5e40b6386968ef995b1a4149c1de8c | /R/options.R | 8b008f087563c1dd15f73a9fabdd977b5f49ecdc | [] | no_license | cran/colorSpec | a23ea51692949e43fce61e7ead9ba10b39668c58 | 7b6120a30cad781b413e6145a7d5b73c10991a64 | refs/heads/master | 2022-05-10T19:23:30.384707 | 2022-05-04T01:40:02 | 2022-05-04T01:40:02 | 58,973,975 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,069 | r | options.R |
# g.* are global variables for colorSpec that are "unlocked" in .onAttach()
# g.options is a list with private copies of the colorSpec.* options managed by the base package
# these copies are used because g.loglevel and g.word[] are derived variables,
# and we want to see whether the user has changed a colorS... |
2f42493e2279ed1391ecea76d170ca7aebbc176c | 72636b048d08f566acbb28d8d7f24a0adbdfa646 | /data/get-city-locations.R | 8365537a49b217ea574c01c4f4a09b5031da04ea | [
"BSD-3-Clause",
"CC-BY-4.0"
] | permissive | OxShef/oxshef_charts | 3a0bffec81eb9b612d92aa3e0514fa9dadf624a7 | 36a9cf91bd462b55e3a27f8f665ec745c545df27 | refs/heads/master | 2021-04-25T16:49:05.989536 | 2018-12-07T11:14:13 | 2018-12-07T11:14:13 | 108,114,095 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 355 | r | get-city-locations.R | download.file(
url = "https://simplemaps.com/static/data/world-cities/basic/simplemaps_worldcities_basicv1.4.zip",
destfile = "data/simple-maps_cities.zip"
)
unzip(zipfile = "data/simple-maps_cities.zip", exdir = "data/simple-maps_cities")
simple_maps_cities <- read_csv("data/simple-maps_cities/worldcities.csv")
un... |
4cb82b847f29b8b45be704f3df34d0814c621f45 | 3cde4b8f4c03c7513a59a349c988c3b1cefd1a18 | /rabbit/deseq2.R | 27c7f3008b71c2c2966b84c22034924a7a143815 | [] | no_license | x-nm/R | 7ce75d351c71d125cd3d27145d42c449902d8347 | 7ac7a6381422301195bd0235a83bc2320c4efee1 | refs/heads/master | 2021-01-13T14:19:41.633295 | 2016-11-04T03:33:18 | 2016-11-04T03:33:18 | 72,810,872 | 1 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,493 | r | deseq2.R | # 2016.05.19 by xnm
# prepare independent sample files
# With tactiful R skills, theses steps can be negleted...= =
setwd("D:\\Files\\Study\\½»´ó\\¿ÎÌâ\\16.1.13\\extract_data_from_raw\\data")
# CountData <- read.table("raw_count_aorta_sample.txt",
# header=T,
# row.names = ... |
6256ad82c443764f47ab35a85a40660cdc85b7e5 | d4ded9c7242ddad1a769f86a3072398ed62bb5ff | /003-model-output/003-seizure-rct-code.R | 81a22c7bb3256554ab5f509701b9af0633f962a6 | [
"CC-BY-4.0"
] | permissive | niebert/knitr-tutorial | a1a6fe5a37f348871041460afc352b4b763d19bf | dddb8e8737aaad749eed598eb9ab6e825370d230 | refs/heads/master | 2020-05-18T11:21:31.442593 | 2018-08-09T15:40:33 | 2018-08-09T15:40:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,736 | r | 003-seizure-rct-code.R | #####################################
# R Source code for seizure data
# Created: May 27, 2015
# Updated:
# NOTES:
#####################################
## ---- import-data ----
data("epil")
DT <- epil %>% as.data.table
DT.base <- DT %>% distinct(subject)
DT.base[,`:=`(period=0,y=base)]
DT.epil <- rbind(DT,DT.base)
... |
960f5e2a2cb42adb2600aa6cd84cae4981a6536e | 628ca710b26797ed36bb86ed21d7e3f40c41a599 | /project_01_new_product_recommendation/01_product_recommendation.R | 8a32c4ef35ca5a35ccf7b0f69ee413217cd0edf4 | [] | no_license | dexters-workshop/ds4b_101_bus_analysis_with_R | ecbc23d5777518d1fe6da9b6083de61a9a54cfc1 | 1ebe7e178b95664834d5103e641be831a3c97ebd | refs/heads/master | 2022-11-02T12:37:55.644870 | 2020-05-22T03:39:04 | 2020-05-22T03:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 853 | r | 01_product_recommendation.R | # DS4B 101-R ----
# PRODUCT RECOMMENDATION FUNCTIONS
# 1.0 LIBRARIES ----
library(tidyverse)
library(tidyquant)
library(parsnip)
library(plotly)
source("00_scripts/separate_bikes_and_outlier_detection.R")
bike_orderlines_tbl <- read_rds("00_data/bike_sales/data_wrangled/bike_orderlines.rds")
models_tbl... |
fa7bc30cdce0ed339c186152656cbb892a37def9 | 36ddd48ff64db62913b0fd1aaf20f7b0925610d2 | /man/correlate_mb.Rd | 25c37c1e0bb924f60497df55ee840b58f90ff95c | [
"BSD-2-Clause"
] | permissive | danlooo/coabundance | 0c1916e12441af5ed910efa53a25335fe2095462 | cef529a43e2ffd227e987ed3fc359797783c07f7 | refs/heads/main | 2023-02-13T06:14:58.882246 | 2021-01-12T09:40:13 | 2021-01-12T09:40:13 | 322,286,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 818 | rd | correlate_mb.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/correlate.R
\name{correlate_mb}
\alias{correlate_mb}
\title{Coabundance analysis using mb as implemented in SpiecEasi}
\usage{
correlate_mb(
data,
pulsar.params = list(thresh = 0.05, subsample.ratio = 0.8, ncores =
getOption("mc.cores... |
75473aac15c0a91a16be4fe13731d1c9a97e4948 | 5e90fe6a6db2611e73d08dca0245dab7d4039667 | /man/resample_partition.Rd | b1f890d5cc0e8c594afdfba7403a6b7133d1ad3e | [] | no_license | crazybilly/modelr | 4d5a719d4e0090c3ea9843eb6b820e291544907c | 71502aeeb74b7deaab3c2b033e12cdcacb8aa3d3 | refs/heads/master | 2021-01-21T00:02:19.878566 | 2016-09-09T13:25:53 | 2016-09-09T13:25:53 | 67,800,592 | 0 | 0 | null | 2016-09-09T13:19:44 | 2016-09-09T13:19:43 | null | UTF-8 | R | false | true | 650 | rd | resample_partition.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/partition.R
\name{resample_partition}
\alias{resample_partition}
\title{Generate an exclusive partitioning of a data frame}
\usage{
resample_partition(data, p)
}
\arguments{
\item{data}{A data frame}
\item{p}{A named numeric vecto... |
ded5d80ffd74e249cfdfcca9170b8e00e3fdfecb | d922758e6c9ac51cdbcfe25ff26a114d1635250c | /man/make.DemandPoints.Rd | 66ecd78d5cffa15329827e6717921a38f9cd605e | [] | no_license | jeffreyhanson/raptr | c7fa50617b080a72f8fe97c9534a664cc02d91b9 | 059a1abc9c2e2f071ce2a7d3596bfd1189441d92 | refs/heads/master | 2023-08-31T22:13:12.446845 | 2023-03-14T03:26:50 | 2023-03-14T03:26:50 | 44,244,406 | 5 | 0 | null | 2023-08-21T23:56:38 | 2015-10-14T11:51:44 | R | UTF-8 | R | false | true | 2,977 | rd | make.DemandPoints.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DemandPoints.R
\name{make.DemandPoints}
\alias{make.DemandPoints}
\title{Generate demand points for RAP}
\usage{
make.DemandPoints(
points,
n = 100L,
quantile = 0.5,
kernel.method = c("ks", "hypervolume")[1],
...
)
}
\arguments{
\it... |
2f76f9e334cf302c8f81e1c6d0cb9082892badb1 | 384c3dbc571be91c6f743d1427dec00f13e0d8ae | /r/kernels/mkgiitr-titanic-survival-prediction/script/titanic-survival-prediction.r | fff25887dae04c84d3706f10e157d4b2b1fbc3c8 | [] | no_license | helenaK/trustworthy-titanic | b9acdd8ca94f2fa3f7eb965596eed4a62821b21e | ade0e487820cf38974561da2403ebe0da9de8bc6 | refs/heads/master | 2022-12-09T20:56:30.700809 | 2020-09-10T14:22:24 | 2020-09-10T14:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,168 | r | titanic-survival-prediction.r |
## Importing packages
# This R environment comes with all of CRAN and many other helpful packages preinstalled.
# You can see which packages are installed by checking out the kaggle/rstats docker image:
# https://github.com/kaggle/docker-rstats
library(tidyverse) # metapackage with lots of helpful functions
## Run... |
a4c2a38b295a317d33a5370004f0956cf01c1f98 | e85887c76341d45a3829fc552d6c53536f32b719 | /R/trialr-package.R | 8bb78e423ba39f3185ac11a09012ed2d15cdc701 | [] | no_license | brockk/trialr | fa8fd43ca43dc79911677ba42c8e50d88a2fc03d | 15fd90d3a779a61454baedcd517e2ce8bb301f92 | refs/heads/master | 2023-03-16T21:41:49.580277 | 2023-03-11T07:36:58 | 2023-03-11T07:36:58 | 69,753,350 | 39 | 13 | null | 2023-09-10T19:11:18 | 2016-10-01T17:39:28 | TeX | UTF-8 | R | false | false | 535 | r | trialr-package.R | #' The 'trialr' package.
#'
#' @description
#' trialr collects in one place Bayesian clinical trial designs and methods.
#' Models are implemented in Stan and helper functions are provided in R.
#'
#' @docType package
#' @name trialr-package
#' @aliases trialr
#' @useDynLib trialr, .registration = TRUE
#' @import metho... |
c0b3b069639fedf7d8f4baef49dd04371a1a29e0 | a8c7bc56108f6dc3261d49bb361e93dc60ef5e9f | /plot1.R | a29f6fd285167f8a70b3b483f11e0891d672e4ac | [] | no_license | Zoeyihui/ExData_Plotting1 | d9dd2372b7832f65a909250015938daecb3adb85 | 02e56ef8f3602a83f44c88cb22396966d639882a | refs/heads/master | 2021-01-23T23:14:06.406865 | 2015-03-12T08:17:27 | 2015-03-12T08:17:27 | 31,900,574 | 0 | 0 | null | 2015-03-12T08:17:27 | 2015-03-09T13:45:35 | null | UTF-8 | R | false | false | 778 | r | plot1.R | setwd("E:/Data/exploratory analysis/exdata-data-household_power_consumption/ExData_Plotting1")
housepowercon<- read.table("household_power_consumption.txt",header=TRUE,sep=";")
date<-as.Date(housepowercon$Date,"%d/%m/%Y")
date1<- housepowercon[mapply(identical,"2007-02-01",as.character(date)),]
date2<- housepowercon[ma... |
250f5aae5ee3a905ff4786b12eeaf803b2e00d68 | 2734f403602b049277a786816a33fc82901f8388 | /회귀분석 실습 2.R | dbe007e953b083edd756616d247c8703435438ea | [] | no_license | youjin2github/-_R | b9799eb7b1e7f0ecdebb1b33ec8f50b22f3ec00e | 7fd1775ca3e3fc5510f003177bb9e85249f135fd | refs/heads/main | 2023-08-01T06:48:50.924295 | 2021-08-30T04:31:29 | 2021-08-30T04:31:29 | 401,216,069 | 1 | 0 | null | null | null | null | UHC | R | false | false | 2,234 | r | 회귀분석 실습 2.R | # 중회귀분석 연습
mtcars
# 분석 목표: 배기량(disp), 마력(hp), 무게(wt)가 연비(mpg)에
# 미치는 영향 분석
cars <- mtcars[,c("mpg","disp","hp","wt")]
# 그림
pairs(cars)
plot(cars)
# 배기량 vs. 연비
plot(cars$disp,cars$mpg)
lines(lowess(cars$mpg~cars$disp,f=0.8))
abline(lm(cars$mpg~cars$disp))
plot(cars$disp,cars$mpg)
lines(smoo... |
b73f604b6f68552197613d0f7652dd5c2178bb74 | ae79c3753f00b467c4bb0097f17033b84afffe7f | /man/module_water_batch_unlimited_water_supply_xml.Rd | c5d8c7978e68e69d85b42648a8ce12e621114e58 | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | JGCRI/gcamdata | c3fe3584984ca9115c498bb54cb5afabdc4eaa24 | 17f8d84d4cd08aed2418872f181544fb52cf81dc | refs/heads/main | 2023-06-07T19:44:37.473767 | 2023-03-15T14:39:09 | 2023-03-15T14:39:09 | 72,801,482 | 44 | 29 | NOASSERTION | 2023-05-31T22:52:33 | 2016-11-04T01:09:57 | R | UTF-8 | R | false | true | 853 | rd | module_water_batch_unlimited_water_supply_xml.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zchunk_batch_unlimited_water_supply_xml.R
\name{module_water_batch_unlimited_water_supply_xml}
\alias{module_water_batch_unlimited_water_supply_xml}
\title{module_water_batch_unlimited_water_supply_xml}
\usage{
module_water_batch_unlimited_wa... |
67eeccd7f865bdda0238a303be20f3f3b5162b0a | 4ae7e10a0a6bb332d65db0ae3a57de3593c7d95b | /Stat/cw2/2.R | 43153d47c2bac61d5b962aab8d3171f154a2d201 | [] | no_license | Doxxer/SPbAU-Spring-2014 | 1c591aa01059f6ca18e6ce5207ac8b4709ada9db | 70ace3e545d3abef1df717e1ab3b003df1ac8973 | refs/heads/master | 2020-04-15T21:42:54.597776 | 2014-06-20T16:29:10 | 2014-06-20T16:29:10 | 16,694,268 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 244 | r | 2.R | # Строим доверительный интервал для доли, normal approximation interval
# ответ (0.2747415, 0.5824014)
n = 28
alpha = 0.1
w = 12/28
ans = w + qnorm(c(alpha/2, 1-alpha/2)) * sqrt(w*(1-w))/sqrt(n)
print(ans) |
212acdaaaafa8303965ccfc5b83b3f3914715484 | 3366ac6055037e16738938a277a30377050fc876 | /scripts/prepareData.R | a92e2600e6448e5af7f3e950df7488dee284a340 | [] | no_license | ilsley/Ciona16 | 6721996f07731e0d6811518fff536cf3c4b1f25c | 0e6f0139aec59ac4ee777ebf332598fdbfa6ec31 | refs/heads/master | 2018-10-31T17:44:27.659770 | 2017-10-04T00:38:29 | 2017-10-04T00:38:29 | 105,616,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,430 | r | prepareData.R | library(SingleCellExperiment)
hiSeqCountData = read.csv("data-raw/hiSeqCountData.csv", row.names = 1, header = TRUE)
miSeqCountData = read.csv("data-raw/miSeqCountData.csv", row.names = 1, header = TRUE)
cellInfo = read.csv("data-raw/phenoData.csv", row.names = 1, header= TRUE,colClasses = "factor")
cellInfo = cellInf... |
4b3ef250c7d4447473cbec7b4ce47f5d7198f687 | eefcd8a80f3cebe5fc36fff145bea7c985d01d52 | /paper_expansion_test.R | 1a3e2ff809754d911e29285d05b53f56cbfe7f82 | [] | no_license | bbbales2/ising | 0202f3ecf9cdfe0152c42ecf45f8814afd92e4b7 | be7b24cf13b84db369f82676402ef96460bc276a | refs/heads/master | 2021-01-01T17:08:08.930806 | 2018-05-16T23:32:37 | 2018-05-16T23:32:37 | 98,006,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,464 | r | paper_expansion_test.R | library(MASS)
source("casm_helper.R")
source("ising_helpers.R")
require(Rcpp)
library(argparse)
library(reshape2)
library(tidyverse)
library(stats)
library(parallel)
library(gtools)
library(ggplot2)
library(rstan)
path = "/home/bbales2/casm/invent1"
N = 30
ecis = rep(0, length(getECIs(path)))
nonZero = c(3, 4, 5, 6,... |
2dcf7a2400cca9fdb430b93c87733b69f1bb0ff1 | 2a274b4036db38176ad4bcd7eada506f5280000a | /15-imp-results-convert.R | 18175ddd110bdbfebad41ae25ae36a066e4780ce | [] | no_license | philliphungerford/ndarc-point-fentanyl | d5e1f999c0e831ea10b66bd26ddd6408b54382b6 | 2bc8f0e3f2ac4100763506e62c4dde3eefdbe19a | refs/heads/master | 2022-11-28T17:52:37.828219 | 2020-08-04T01:28:39 | 2020-08-04T01:28:39 | 281,807,763 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,366 | r | 15-imp-results-convert.R | ################################################################################
# PROGRAM: 12-side-effect-table.R
# PURPOSE: Convert the bivariate results to table
# WRITTEN BY: Phillip Hungerford
# DATE: 07/07/2020
##############################################################################
# Setup
library(dplyr)
... |
e96f139c4e2cfce5bc8823d625c4c7b53c8d0302 | 37b7887265487badd542d592d1377db1712f39f3 | /man/write.table0.Rd | 54e002c0453a89d84158bb8db61ef40a770aa2b8 | [] | no_license | jkruppa/dataTools | 1d1f8a7b59ffdf529ff0fdbc48106f450b13ed11 | d00c41dbdd359e124d4de826ce7a05b4aa641e43 | refs/heads/master | 2020-09-22T20:07:41.356365 | 2017-11-29T12:31:20 | 2017-11-29T12:31:20 | 66,249,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 403 | rd | write.table0.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataIO.r
\name{write.table0}
\alias{write.table0}
\title{Small wrapper for write.table}
\usage{
write.table0(...)
}
\arguments{
\item{...}{}
}
\description{
Small wrapper for write.table
}
\details{
Small wrapper for write.table with the opti... |
46c8e0c31273ce463d8a42593af6b016efab395e | c03754bd79a6f9baf6bd55e74483bed1a2dbe8a7 | /R/superCell.R | 457cabde30d1da32072fd269e7f3f69587da74fd | [] | no_license | julienide/Atoms | 675ee51c5803bef9868838b1a229dc9d037bce9b | d805bd893a152bd4edc350a2fb18de0ed2d19a3c | refs/heads/master | 2021-04-27T06:57:27.989087 | 2018-06-19T09:09:53 | 2018-06-19T09:09:53 | 122,623,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,766 | r | superCell.R | #' superCell
#'
#'
#' @name superCell
#' @export
superCell <- function(x, ...)
UseMethod("superCell")
#' @rdname superCell
#' @export
superCell.Atoms <- function(x, aInds = 0L, bInds = 0L, cInds = 0L,
current = NULL){
if(is.null(current))
current <- current(x)
if(!is.integer(aIn... |
ab50e1e5d1be817ab7766b9f429259f1e2805a4e | f29f603c38cd2ab4a3d350adc3be560aa3a99285 | /R/rowWeightedMedians.R | b3b99b53a0c7fd6dd6b02d5d4322a9b7d836fe38 | [] | no_license | const-ae/matrixStats | 03ff8cdbfc6439e4ff640cce9b7cd4ef7f0b91a0 | f84d13431889596b543fbdbf4d2af10b44cbb62c | refs/heads/master | 2023-06-27T19:59:17.105135 | 2020-09-25T22:23:30 | 2020-09-25T22:23:30 | 266,979,193 | 1 | 0 | null | 2020-05-26T07:52:24 | 2020-05-26T07:52:23 | null | UTF-8 | R | false | false | 4,532 | r | rowWeightedMedians.R | #' Calculates the weighted medians for each row (column) in a matrix
#'
#' Calculates the weighted medians for each row (column) in a matrix.
#'
#' The implementations of these methods are optimized for both speed and
#' memory. If no weights are given, the corresponding
#' \code{\link{rowMedians}}()/\code{colMedians(... |
c44bcfef208847fb396a90f3ece139e6a6ec2cb8 | d6aba2b5d8c3a9f2c6bffb994e3d54101872a12d | /2准备模型数据-种植方案数据获取与分析流程.R | 2a0b1f9d8c00ce7c22db960b1ec67ce1e0b02aed | [] | no_license | wellionx/iCAN | c73539ef53836d6eaa89307702d047571b52536d | d9a69e246fa302cd621406db743f26b97d519a11 | refs/heads/master | 2021-09-17T03:29:25.665921 | 2018-06-27T08:04:58 | 2018-06-27T08:04:58 | 112,999,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,092 | r | 2准备模型数据-种植方案数据获取与分析流程.R | load(file = "D:\\Data\\datav\\Weather of 30 years clean data to2017.rda")
#pick up the station we need
# two stations in Xinjiang
library(data.table)
DT <- DT30ys[stationID %in% c("51133")] # tacheng
DT <- DT30ys[stationID %in% c("51076")] # alatai
DT <- DT30ys[stationID %in% c("54254")] # kaiyuan
DT <- DT30ys[st... |
675132b19ae8eaed72fbd7acaf96a75afe8c2ce9 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.developer.tools/man/codebuild_stop_build_batch.Rd | 21fb73585992f1abdeaf0515ef88a49b8eaa58b2 | [
"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 | true | 485 | rd | codebuild_stop_build_batch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/codebuild_operations.R
\name{codebuild_stop_build_batch}
\alias{codebuild_stop_build_batch}
\title{Stops a running batch build}
\usage{
codebuild_stop_build_batch(id)
}
\arguments{
\item{id}{[required] The identifier of the batch build to sto... |
42ff20dfaf10f0bb3c1eb4a7cfbb1a3b08454b92 | 1407f90078724f562ec58c34f7878c909044de0c | /modified_rainbow/man/fboxplot.Rd | 4d7704440c6164b8db1edd37e904785796fb3ec8 | [] | no_license | Chris7462/Modified-Rainbow | 3a91d16e55c4de043128153b497bf174e6aa0ca6 | 19d6f714a244d70241a364a27455c2e19d4ee051 | refs/heads/master | 2021-01-19T00:40:25.907579 | 2017-04-04T14:39:42 | 2017-04-04T14:39:42 | 87,197,743 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,094 | rd | fboxplot.Rd | \name{fboxplot}
\alias{fboxplot}
\title{Functional bagplot and functional HDR boxplot}
\description{
Compute bivariate bagplot, functional bagplot and bivariate HDR boxplot, functional HDR boxplot.
}
\usage{
fboxplot(data, plot.type = c("functional", "bivariate"),
type = c("bag", "hdr"), alpha = c(0.05, 0.5), projmeth... |
944a2268fc61a33a97aa3baf765721b7eee4084f | b437adefdb097c34f01f2470790ef8c6fe3648df | /scripts/Niche_Models/old/bioclim_pca.R | 9bfbb16af70cdaf8c9f47f1d470722439b66fd06 | [] | no_license | kaiyaprovost/GDM_pipeline | 607887afed2f6faddb2584eebb9eb7ff0120fea1 | 05e8f5d0a46781d727b60fe913c94137b9b35824 | refs/heads/master | 2022-09-20T22:55:39.707325 | 2022-08-31T18:24:19 | 2022-08-31T18:24:19 | 237,048,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,074 | r | bioclim_pca.R | ## pcas of bioclim variables plus elevation
library(raster)
folder = "/Users/kprovost/Dropbox (AMNH)/Dissertation/CHAPTER3_TRAITS/ECOLOGY/enm_layers/bio_2-5m_bil/"
worldclim = list.files(folder,pattern="bil$",full.names = T)
clim = raster::stack(worldclim)
## clip to SW
#ext = raster::extent(c(-125,-99, 22, 44))
#ext... |
246cdff8f086c03775ae75cfa963e472f5ea1048 | 5cfcd5e4dc4068737571a376cd8ee414810f7289 | /E_expression_analysis/5_WGCNA.R | 131c96a93ccf6964f6c3b97132d0a3596b6e1571 | [] | no_license | RJEGR/Small-RNASeq-data-analysis | e42926cf3e6d28c117cb5bcd4a41d371bdbd528b | 1b0ea5a3f302f942e881c624497b2ed09da0978c | refs/heads/master | 2023-09-04T12:34:50.444113 | 2023-08-25T00:05:32 | 2023-08-25T00:05:32 | 77,959,541 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,291 | r | 5_WGCNA.R |
# LETS CLUSTER MIRS TO OVERVIEW PANEL OF RESPONSE TO ACIDIFICATION AND DEVELOPMENTAL STAGES:
# EX. https://doi.org/10.1038/s41598-020-75945-2 (LOOK GENES HUBS SEACH M&M)
library(WGCNA)
library(flashClust)
library(tidyverse)
rm(list = ls());
if(!is.null(dev.list())) dev.off()
path <- "~/Documents/MIRNA_HALIOTIS/S... |
64a56d7ebc81379221e81cd2dfd78d26c62bba09 | 8532b2aff57e42dabb8170f6aee416e801d08c13 | /Places/PlacesHelper.R | 25f59c4f35bba9c216e332b61ad49146516e1b44 | [] | no_license | sztal/MA | b5295472cf37b9b740676dc1ddbca0b05da5b0aa | 818ec13170e3d7e8e7257cc796f822356bc571e0 | refs/heads/master | 2016-09-05T11:14:56.150329 | 2015-11-09T02:12:08 | 2015-11-09T02:12:08 | 27,833,877 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,596 | r | PlacesHelper.R | # This is a file with helper funtions for network datasets derivation
getNames <- function(P) {
# This function gets a list of all unique place names from a place dataset
N = vector(mode="character", length=dim(P)[1]*dim(P)[2])
for(i in 1:dim(P)[1]) {
for(j in 1:dim(P)[2]) {
... |
54f0968708c332e1486c46f2a77838e7c61327df | 0918eb5ea18915bc59bb64357ab06eff86ad3ee3 | /R/add_R2_from_gds.R | 108f07e4fb9b7a5c005647b1e4ff0b5340e7d429 | [
"Apache-2.0"
] | permissive | raonyguimaraes/POEMColoc | fd9ddfea8dfa6e788453b29c321ea5fbd27e0c74 | ac38733626eab2fca852187ac42248532126b018 | refs/heads/master | 2022-10-03T10:55:46.213718 | 2020-05-19T20:22:09 | 2020-05-19T20:22:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,770 | r | add_R2_from_gds.R | #' Compute R2 from gds input
#'
#' @param dataset_list
#' list of datasets formatted according to the requirements of coloc.abf with the following differences
#' pos, and chr are additionally required.
#' snp is ignored as it is determined by pos.
#' For top SNP datasets, R2 and MAF and gds_file and subset are optional... |
872433359821f51c7e32563fde55f64a4fca1f91 | 3f2f9819395da80010e0b1b21e7c6f261b12ae82 | /Melphalan/Simulation/NONMEM_Melphalan_Simulation_Model.R | c69770b54b54ab5c6ebeded7280f042030d6d0b9 | [] | no_license | wojjy001/melphalan-app | 84ffbbc9e4718dbb52816d877023c1e36acb7769 | 0b1d0a65769572756a1774e4bf9e28e49bf5e2c0 | refs/heads/master | 2021-03-27T10:30:11.024709 | 2016-10-19T06:18:48 | 2016-10-19T06:18:48 | 64,433,526 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,569 | r | NONMEM_Melphalan_Simulation_Model.R | #Script for simulating a population from a PK/PD model for melphalan
#------------------------------------------------------------------------------------
#Remove all current objects in the workspace
rm(list=ls(all=TRUE))
#Load package libraries
library(R2HTML)
library(ggplot2)
library(doBy)
library(stringr)
... |
47243e023348dcfa486857c0646507ae8363a278 | d37b8ff5c3b3c211a215b0497b09eb29a1b384ed | /man/BIRCH-get_microclusters.Rd | 7dc0571ca8a0489b419e5eef7d22ac6542500af3 | [] | no_license | Dennis1989/stream | 6d610478ac40db092f80e1f182ae675d0eb2c10e | 87d586251337b42f838a2d3920c3e532dd9996ba | refs/heads/master | 2020-03-06T17:13:54.979940 | 2018-03-27T13:29:13 | 2018-03-27T13:29:13 | 126,986,355 | 0 | 0 | null | 2018-03-27T12:56:32 | 2018-03-27T12:56:32 | null | UTF-8 | R | false | true | 267 | rd | BIRCH-get_microclusters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DSC_BIRCH.R
\name{BIRCH-get_microclusters}
\alias{BIRCH-get_microclusters}
\title{Centroids of micro clusters}
\description{
This function returns all micro clusters of a given CF-Tree.
}
|
cb20074e2db5abac96efdc37f11c8803dbcbee30 | e55cd127187b8ea6aea6848f8b75fce2ea242fea | /head/2scripts/00A.BasicSelectionModes.R | 76976d2be799c4ab7debbc04c7c59aa8b3b290b6 | [] | no_license | mitoclub/GeneticHandicap | 3059d5f14d7eae8acced691025bb3e0c93338e2b | d7d0e7a5e15ec5f4a4cc0335de93101c461b5356 | refs/heads/master | 2022-11-07T22:30:32.347008 | 2020-06-26T15:51:13 | 2020-06-26T15:51:13 | 272,410,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 624 | r | 00A.BasicSelectionModes.R | ############################## SELECTION SCHEMES:
# see "Multiplicative versus additive selection in relation to genome evolution: a simulation study" 2001
rm(list=ls(all=TRUE))
pdf("../../body/4figures/00A.BasicSelectionModes.R.pdf", height = 14, width = 14)
# additive
NumOfMuts = seq(0,10000, by = 1)
SelCoeff = 0.0... |
3bf128a9de409f6e57b89a63fa794320dcc3024f | 45ed40d811fdc426a97e5efe61210a4d6fd3b786 | /Simulacion.R | 047f3d1d4d48178b5cabad15f6f5007d00027694 | [] | no_license | rschifini/Monte-Carlo-completando-album-de-figuritas | 4fa4b3be2a9e092ab60a80bc67614b10d605a2d4 | a1e4e73ab15ba416b7eb8ca873daadac2ad91d30 | refs/heads/master | 2021-05-07T19:22:53.635738 | 2017-10-30T16:29:50 | 2017-10-30T16:29:50 | 108,866,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 702 | r | Simulacion.R | figuritas = 200
SobresXAmigo = c()
Grupo = c(1:10,seq(20,100,5))
for(amigos in Grupo){
resultados = c()
for(k in 1:1000){
albumLLeno = FALSE
sobres = 0
album = rep(0,200)
while (!albumLLeno){
# Se abren tantos sobres como amigos
paquete = floor(runif(amigos * 5,1,figuritas+1))
... |
9054570c54650eea3695f020799e88c327fda8f7 | a1d6673d62231ea7b82f695b2f4e2616d3bf5abf | /install_scripts/hpc_r_packages.r | 1694b517f2073e1b5a967975c61b669ba17f45ee | [
"MIT"
] | permissive | coatless/stat490uiuc | 16f6ea925dae94fdc9879f217692c9cca59ac3f5 | f62fd9cb02fc3908bbdfadc1a73e3290d6ddd8ca | refs/heads/master | 2021-01-19T21:54:23.478814 | 2016-01-21T22:23:52 | 2016-01-21T22:23:52 | 29,217,236 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 587 | r | hpc_r_packages.r | # Install rmr2 dependencies
install.packages(c('RJSONIO', 'itertools', 'digest', 'Rcpp', 'functional', 'httr', 'plyr', 'stringr', 'reshape2', 'caTools', 'rJava'), repos="http://cran.us.r-project.org", INSTALL_opts=c('--byte-compile') )
# Install plyrmr dependencies
install.packages(c('dplyr', 'R.methodsS3', 'Hmisc'), ... |
45eef5ee14b3804f5e0fb422fc23b02fa9b158ab | 7f82b6d5c3a88decef6b25549ba8e101945d0124 | /ITS_analysis/ITS_analysis_20site.R | 596e34f3db4761acb3022074fb8fee63f14b41c2 | [] | no_license | ShadeLab/apple_replant | 09e3cb0cad0b0e11e753d38ca3437f22c995e4ad | 656245dead6f50eb1ea78bd9499fca5cac7134be | refs/heads/master | 2022-01-13T06:21:01.849461 | 2019-05-02T20:52:12 | 2019-05-02T20:52:12 | 112,532,108 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 13,333 | r | ITS_analysis_20site.R | #################################### Analysis ITS Sequences of 20 Sites only #####################################
# Date: May 30th 2018
# By : AF. Bintarti
# INSTALL PACKAGES
install.packages(c('vegan', 'tidyverse'))
install.packages('reshape')
source("https://bioconductor.org/biocLite.R")
biocLite()
library(vegan)
l... |
bea6f01077451396cabab253bdad8b435e6467ee | 34b429c98a64f8a9c43908cc57d6d622d4df1ffc | /man/getters.Rd | f1953998a30a136a5d792762b7bcc3bd1fca0334 | [] | no_license | mkoohafkan/wqpr-clone | f55212370ff548fab586fc28c3d91fda408f1a28 | 96f17b980125420a0d170dd9d145509c31f60e30 | refs/heads/master | 2023-04-18T03:02:17.881632 | 2021-04-27T16:37:29 | 2021-04-27T16:37:29 | 362,178,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,954 | rd | getters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getters.r
\name{getters}
\alias{getters}
\alias{get_contact_id}
\alias{get_station_id}
\alias{get_event_id}
\alias{get_event_type_id}
\alias{get_reason_id}
\alias{get_summary_id}
\alias{get_result_id}
\alias{get_reading_type_id}
\alias{get_so... |
a33f47dc101b3eae407f283e39fd389fb63ef693 | 9b9e21fea61870f3458bec92ee25a5a9f10345c3 | /man/summary.Rd | fdab10cfec1ee799d7b8083924bd138dd380c1da | [] | no_license | brendo1001/GSIF | dd46bc744309a970ef5622f1af423e179bf1d3d7 | 12ed85244a1ca46212033f0ecc16f8cd0303ea64 | refs/heads/master | 2021-01-14T09:18:33.661687 | 2014-01-15T00:00:00 | 2014-01-15T00:00:00 | 18,876,903 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,382 | rd | summary.Rd | \name{summary-methods}
\alias{summary}
\alias{summary,SpatialPredictions-method}
\alias{show,SpatialPredictions-method}
\title{Summarize an object of class \code{"SpatialPredictions"}}
\description{Derives a statistical summary for an object of class \code{"SpatialPredictions"}.}
\usage{
\S4method{summary}{SpatialPredi... |
13b6a892dc7070e2fcdb792139ad6b183148f41b | 3cfaa91742c7d723ce0f87a6ace95a392e872941 | /functions/munge_functions.R | f4f13c44ae7a566ca791b093af5481aaaab21cfd | [] | no_license | jbayham/weather_risk_resource_orders | 1e26cccd9ff5854481b472ed12333512de476ae9 | 5fe40759ee4194f3a5a86926e1105fdc3b66ca0e | refs/heads/master | 2020-11-30T10:50:13.476728 | 2020-01-28T17:19:09 | 2020-01-28T17:19:09 | 230,381,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 180 | r | munge_functions.R | #Function to remove outliers (identified by 3 sd away)
isnt_out_z <- function(x, thres = 3, na.rm = TRUE) {
abs(x - mean(x, na.rm = na.rm)) <= thres * sd(x, na.rm = na.rm)
}
|
6c4df71782f1eb69b168265605d189110b7ee4a1 | f250f747e450ca7b1d4ee0b8be200403eb2d0059 | /Rcode_and_Graphs/plot4.R | fe8503d258d4266db3d11064893529d2216f9b1d | [] | no_license | miguel19c/ExData_Plotting1 | e680af838d1726c0609690692be9117bc6ce6e34 | e01568432acbac197d08c34cb7e4674bd2be6ab7 | refs/heads/master | 2021-03-13T21:51:32.056757 | 2017-05-17T18:37:25 | 2017-05-17T18:37:25 | 91,510,281 | 0 | 0 | null | 2017-05-16T22:33:23 | 2017-05-16T22:33:22 | null | UTF-8 | R | false | false | 1,604 | r | plot4.R | #Loading the dataset
setwd("C:/Users/0016/Dropbox/Exploratory_Data_Analysis")
data.p1=read.table('household_power_consumption.txt',header=T,sep=';',stringsAsFactors = FALSE)
dates=data.p1$Date
times=data.p1$Time
x=paste(dates,times)
date.time=strptime(x,"%d/%m/%Y %H:%M:%S")
#taking the original dataframe w... |
66cb505d2bba915a0e7a83454e075832772fd0fc | fe2fbba0a0b961918be0a57b7c5aa4bfd0a0c0b0 | /R/divideAndConquer.R | 101a34ba036e6542efe85076726157048f00da76 | [] | no_license | tbemsi/consensusClustering | 8411cb2912b722fb774f2236a5c538000d03aae8 | 9fc2bd26f50581bd520d52fbf8b8ed8f4731f152 | refs/heads/master | 2023-05-27T11:01:34.615854 | 2021-06-10T14:18:08 | 2021-06-10T14:18:08 | 367,302,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,507 | r | divideAndConquer.R | divideAndConquer <- function(sampleID,
dataframe,
numberOfSweeps,
BurnIn,
seed = 1234){
train <- dataframe %>% filter(sampleGroup == sampleID)
runInfoObjTrain <- profRegr(yModel="Bernoulli",
... |
7e964ca34df81a28b2dd06542b036cbb957be353 | a32d9125f203e83d526828b862203bb710f18323 | /R/util.R | 69f0103d4e91b33548e45fc777e8c76348140f23 | [] | no_license | hrbrmstr/porc | 2332dbd03eaf1e33e12350fd53012a947ba0ee89 | e9937564e7f72938ab3aab450bb6af9e65939e82 | refs/heads/master | 2021-08-28T16:24:09.742487 | 2017-12-12T18:34:23 | 2017-12-12T18:34:23 | 113,615,400 | 10 | 4 | null | null | null | null | UTF-8 | R | false | false | 452 | r | util.R | is_blank <- function(x) x == ""
not_blank <- function(x) x != ""
has_colon <- function(x) grepl(":", x, fixed=TRUE)
no_colon <- function(x) !grepl(":", x, fixed=TRUE)
not_na <- function(x) !is.na(x)
#' Helper to class a Snort rules data frame properly
#'
#' @param rules a Snort rules data frame read in with [read... |
cfab48639f502d55299dfa217cfae7faa29d294c | 3fce42b76523b546e2d8253bce9fcc8c8790d023 | /tests/testthat.R | ee25192d971232b64dc331400f6e4dd28204b82b | [] | no_license | KrystynaGrzesiak/gslope | e962997fbad21345ee1628ffebdccc6657f79919 | 83c45a6c78a0263d08cfecc083d297569af8bc13 | refs/heads/master | 2022-12-27T02:21:27.861557 | 2020-10-03T13:59:03 | 2020-10-03T13:59:03 | 256,288,231 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(gslope)
test_check("gslope")
|
c41e394a91d473ffb44266f669860699fd0a9868 | b733d3f7e67a62c34d4889c561d2388da835d451 | /man/tidyeval-data.Rd | 5888b26b810b2e259cc99c427916530a1915d523 | [] | no_license | cran/MazamaCoreUtils | 7c3c4c71d2667b4512f203ca5ba7c67df773dc9d | 15f2b32ed32835229b1df8cf74243d745ea7fd16 | refs/heads/master | 2023-09-05T17:48:57.276030 | 2023-08-29T21:50:02 | 2023-08-29T23:30:40 | 154,902,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 284 | rd | tidyeval-data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-tidyeval-data.R
\name{tidyeval-data}
\alias{tidyeval-data}
\alias{.data}
\title{Data pronoun for tidy evaluation}
\description{
See \code{rlang::\link[rlang]{.data}} for details.
}
\keyword{internal}
|
d868e6ebb0850ab1b0a8df98855c4f3e3c689df3 | e70edad7de0cb8c66d211afc5623cbec935301d4 | /Code/Old/State County Analysis/County Regression.R | 021415a8d2006f668f7db0d994a0fb1838d989ea | [] | no_license | man44duke/Thesis | c8420528384131bd3ad6e4990bbc422e5da52c14 | 7633202e1ac2d0d3b817a2ae2fd1948eb78ee5dd | refs/heads/master | 2021-01-09T16:32:46.943538 | 2020-03-15T14:27:36 | 2020-03-15T14:27:36 | 242,359,762 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,546 | r | County Regression.R | library(knitr)
library(leaps)
library(MASS)
#############################
# Select Data
###########################
#county_data_fred <- county_data_fred[-c(672, 941, 1578, 1318),]
#save(county_data_fred, file = "county_data_fred.RData")
load("RData/County/county_data_fred.RData")
data <- county_data_fred
###########... |
d986e469beba4758490c0f08cff7e09d3704819b | 2f85eb97602cdb2db24d454abaea4ffed7942a33 | /run_analysis.R | 72d9cb4a50e02dd943435331d20ad4e6a9c47239 | [] | no_license | gsouza2001/datacleaningassign | 381519a1199695a608d08d9173823b496e176ab9 | 98a1a23dedf1de913165b83f32cd292de0cd0406 | refs/heads/master | 2021-01-11T14:14:18.050197 | 2017-02-07T15:41:43 | 2017-02-07T15:41:43 | 81,222,674 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,788 | r | run_analysis.R | # This code is for Programming Assignment in Week 4
# First, separately reads all the data
names.measur <- read.table("./ucidata/features.txt",header = FALSE,colClasses = c("integer","character"))
activity.names <- read.table("./ucidata/activity_labels.txt",header = FALSE,colClasses = c("integer","character"))
values.... |
35c3ed2d7a01adacaa83e7b65178d13ad969bd78 | 497360e57330ad027b78852ecfbe9ec7b1fb1b66 | /plots/step1_read_count.R | bdd64ae3c365cdfc93375d79b0cc0b29bce88897 | [] | no_license | YutingPKU/Bulk_RNA-seq_Process | c05d2af1eb3e8b23971461ade09e8089b7456841 | 28146c158da68b78ac7a241d83f199c06b9b877b | refs/heads/master | 2022-12-12T21:10:09.948317 | 2020-08-27T14:26:05 | 2020-08-27T14:26:05 | 290,795,313 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,590 | r | step1_read_count.R | ######## reads counting step for all samples
library(GenomicAlignments)
library(Rsamtools)
#library(GenomicFeatures)
#library(refGenome)
#library(BiocParallel)
#library(DESeq2)
library(data.table)
library(BiocParallel)
## step 1 definning gene models
#print("definning gene models")
#setwd("/lustre/user/liclab/publicD... |
3bd9e41e56aaf419622fb47dbb255a1a5edf72ba | bdb413b1d969f5619842b8d561af7e0183de5e02 | /study4/1nocirROC.R | 9a1203149cb70e7dda26cd95fecd05e8b9c4e361 | [] | no_license | FocusPaka/NIMEB | d5645c31e32440dac5e5de8809798867d30e0627 | d26065eeb5e5584adf3510f7adcbe73d43409f16 | refs/heads/main | 2023-04-02T12:15:53.347608 | 2021-04-08T21:44:22 | 2021-04-08T21:44:22 | 356,049,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,842 | r | 1nocirROC.R | #多个replicates=2,3,4,5,6,7的情况(循环)
rm(list=ls())
source("functions.R")
source("DEmethods_replicates.R")
#产生数据
data_primal <- read.table("Grimmond_lengths.txt",
sep="\t", header=TRUE, stringsAsFactors=FALSE)
library('limma')
# ------------------------------------
# simulate data fr... |
dbc552c76e7b31afbcc819a91145472487b937a7 | febc9fe1ca5814fc96cba4594c08057bcb6a5c9b | /examples/06-predict-implementation.R | 736933e208ae07ee4e9f4fa5d3b4bdeccba48aee | [] | no_license | MaryleneH/2019-useR-workshop-design-for-humans | 4cd9ef1af1698759dcf359df340c5d9dac98d723 | 66a9d0dce0f862c1be8f79c022b0f77a16a56466 | refs/heads/master | 2020-06-17T17:53:16.463349 | 2019-07-09T08:47:43 | 2019-07-09T08:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 684 | r | 06-predict-implementation.R | library(rsample)
library(tibble)
library(dplyr)
library(hardhat)
set.seed(123)
split <- initial_split(admittance)
train <- training(split)
test <- testing(split)
model <- logistic_regression(admit ~ gre + gpa, train)
model
# outcome levels info
model$blueprint$ptypes$predictors
model$blueprint$ptypes$outcomes
lev... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.