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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a02e756c459ecfabfe0c42509c1324f6d914c36 | 700184e0580ebe891897fc23b7c4f960eb61a9db | /labs/16/lab16.R | 3396d71b59903f97257987bbb03a5681730aa3e9 | [] | no_license | gjhunt/688spring2021 | f729905297236e992580f2d15acdb00f4ed94b65 | c187b650ccd9f7152db6311db5fa62bd694b91e1 | refs/heads/main | 2023-04-16T06:59:21.213700 | 2021-04-26T02:46:41 | 2021-04-26T02:46:41 | 331,686,631 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,207 | r | lab16.R | # ---
# jupyter:
# jupytext:
# formats: ipynb,Rmd,R
# text_representation:
# extension: .R
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.9.1
# kernelspec:
# display_name: R
# language: R
# name: ir
# ---
# # Lab 16
# ## Lecture 16
... |
50dea27b94c090e79a3bbbbcd2159505a819c25f | 0919df75fe691228ecdb8369f03c224072f4b3a9 | /test.R | 8c26869f360b5729e28ecce57798362d9c606239 | [] | no_license | docxia/r-base-pathology | 6bdb322eebe517182bcdbcb3533c8077b1ddb86f | e8c02a843a879336be4a256f9f7ae6319b6e4a8f | refs/heads/master | 2023-08-28T02:57:50.539104 | 2021-10-18T08:51:31 | 2021-10-18T08:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,888 | r | test.R | library(matrixStats)
library(MatrixGenerics)
library(BiocGenerics)
library(stats4)
library(BiocGenerics)
library(parallel)
library(SummarizedExperiment)
library(TCGAbiolinks)
library(SingleCellExperiment)
library(scRNAseq)
# 宸ヤ綔鐩綍
work_dir <- "C:/Users/Administrator/Desktop/bkb"
# tcga瀵瑰簲鑲跨槫鏌ヨ
project <- "TCGA-KIR... |
cabfe792fdecc9a4883a4b88169ffbeed2402139 | b025dfdc791d5222bf6c5844689f939d8dbf3e00 | /DQ/DQ/dq.r | 70241b6e0ff7d245eda36fd39204db830077b9b0 | [] | no_license | balajisubudhi/projects | ed2bd65099d59fe995dc07dde1a815dbf71d01ca | 76ece9de664914f10de7a9d349e144d38197f52f | refs/heads/master | 2021-01-16T22:02:17.727239 | 2016-05-30T15:11:36 | 2016-05-30T15:11:36 | 60,018,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 61 | r | dq.r | library(shiny)
runApp(appDir = "D:\\github\\DQ",port = 1009)
|
42c8b0945b5e675590bdc1378df6dd1434dc5c6f | 09450ca02618728164fcd8cb9c7a6d745f3e505b | /questions/factors.R | 45205f40e2fb0273ffb3ab2041d6ed0c952ebee0 | [] | no_license | xAdvitya/INT-232-Rprogramming | d7f23b56a530b65b11b0c3f0e3f9235d7e6cc798 | eba20c4d5c9493051e00ff4f1398c9c434ef4410 | refs/heads/master | 2022-12-05T12:31:36.261937 | 2020-09-03T11:08:59 | 2020-09-03T11:31:52 | 284,464,572 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | factors.R | num = 8
for(i in 1:num){
if(num%%i ==0){
print(i)
}
} |
3b0a4544c1f1c5c337b451413e7dc50c4dc40000 | 90c68203e3bf2e91dd963afd3f90e5fe180e3be6 | /snapshot_kmeans_DRB.R | cf42096f32e77479199e75ff634d57f792064977 | [] | no_license | guanjue/ctcf_degradation_analysis | 57675e3dd60856610d88e9d47283c10043483674 | f866937bafe6aa824915e55e9f532d0559de08a2 | refs/heads/master | 2020-03-26T06:38:02.653034 | 2018-12-14T19:09:11 | 2018-12-14T19:09:11 | 144,613,674 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,251 | r | snapshot_kmeans_DRB.R | library(pheatmap)
rep1 = as.matrix(read.table('rep1_sig_TSnorm_mat.txt', header=TRUE))
rep2 = as.matrix(read.table('rep2_sig_TSnorm_mat.txt', header=TRUE))
ave = as.matrix(read.table('average_sig_TSnorm_mat.txt', header=TRUE))
rep1_nopk = as.matrix(read.table('rep1_sig_TSnorm_mat_nopk.txt', header=TRUE))
rep2_nopk = ... |
f0ee1e4afd098aa3a88ba5af80ba20e72d1982b0 | a4ff06aff93c2e6978fb08f89dca1f739eed6db5 | /src/exposed/corset_exposed_asw_analysis.R | 97a8f9a56b5ac88925a1918fcf1518acc2ced9a8 | [] | no_license | sarahinwood/asw-para-rnaseq | 4e36e901a6bfc2db45d89e7b6f0aa67a82b54ab6 | 7561f39ef53fe7f66d933cb37860bf3910b9d3ae | refs/heads/master | 2021-11-26T15:24:15.764144 | 2021-11-05T01:11:15 | 2021-11-05T01:11:15 | 148,420,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,137 | r | corset_exposed_asw_analysis.R | library(data.table)
library(DESeq2)
library(EnhancedVolcano)
library(plyr)
library(VennDiagram)
##read in corset output
count_data<-read.delim("output/corset/counts.txt",row.names=1, check.names = FALSE)
##Import table describing samples
sample_data <- fread("data/full_sample_key.csv")
setkey(sample_data, Sample_name... |
d3308baf767b0e7cbf303a17fa0bcd459464714a | d92043c1e880559f479d25a7b50cfedcee3f48df | /man/f_model_importance_pl_add_plots_regression.Rd | 217e235685304aab6c6fb94e43f3cc3a1973ca25 | [] | no_license | erblast/oetteR | f759d69121361007136499706687fae6cd9274ef | 02f59f2c0562ae224b798a2115c2061608e8e6f7 | refs/heads/master | 2021-06-21T13:36:58.536874 | 2019-05-07T08:39:10 | 2019-05-07T08:39:10 | 104,708,489 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,241 | rd | f_model_importance_pl_add_plots_regression.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/f_model_imp.R
\name{f_model_importance_pl_add_plots_regression}
\alias{f_model_importance_pl_add_plots_regression}
\title{add plots based on variable importance to pipelearner dataframe}
\usage{
f_model_importance_pl_add_plots_regression(pl, ... |
f16f8c266c9689b5007b9814f8ddeb142beeaaab | 9e4df408b72687493cc23144408868a975971f68 | /SMS_r_prog/r_prog_less_frequently_used/extractonespeciesforsingle.r | fa2704eccf9382d8f0feb844c16f10c8dbd532a4 | [
"MIT"
] | permissive | ices-eg/wg_WGSAM | 7402ed21ae3e4a5437da2a6edf98125d0d0e47a9 | 54181317b0aa2cae2b4815c6d520ece6b3a9f177 | refs/heads/master | 2023-05-12T01:38:30.580056 | 2023-05-04T15:42:28 | 2023-05-04T15:42:28 | 111,518,540 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,285 | r | extractonespeciesforsingle.r | exOneSp<-function(my.sp.name='Mackerel',my.sp=20,read.fleet=T,doRun=F) {
SMS.dat<-read.FLSMS.control()
############
my.sp.VPA<-my.sp-first.VPA+1
# runs are made in a separate dirictory
my.sp.dir<-paste('SS',my.sp.name,sep='_')
scenario.dir<-file.path(root,my.sp.dir)
if (file.exists(scenario.dir)) unli... |
51b744e06ba5d27aae8b372bc184c8d6d1ad53ba | 1b30a734bae643efea3d2025637c2e1619572c84 | /cachematrix.R | ed192b0764a275df1517e24d35d95722fd4306fa | [] | no_license | eddidaz/ProgrammingAssignment2 | ccff0b65d27fbc31ba29552428b526e651496b49 | 99c7d3a381846622571ba991b720bc56a6189af0 | refs/heads/master | 2021-01-17T07:56:45.189563 | 2016-05-21T15:29:30 | 2016-05-21T15:29:30 | 59,357,463 | 0 | 0 | null | 2016-05-21T11:58:30 | 2016-05-21T11:58:30 | null | UTF-8 | R | false | false | 1,892 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- function(y) {
x <<- y
inv <<- NULL
}
get <- function() x
set... |
17b4cdd6ef1227470bce36626d67a22a25b7c609 | 284c83a4a4c783bdc7eb53283c1a4b835f0c5ac5 | /code/thirdCode.R | 3150c9ae8e79a5cffd00ecca3bd63b8bf6c692f0 | [] | no_license | kfeng123/regressionPaper | bf19337cc04e8294dd77de175306a106de9d9c4f | 8abd7058b8593acf30a9c9c5584c721be339b839 | refs/heads/master | 2021-01-18T22:15:02.390825 | 2019-10-11T12:41:40 | 2019-10-11T12:41:40 | 72,349,101 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,375 | r | thirdCode.R |
myExp=function(
n=15,
p=100,
betaMod=0.00,
varEpsilon=4,
rho=runif(T,0,1),
muX=runif(p,2,3),
alpha=0,
r=1,
TheLambda=p){
beta=rep(c(1,-1),p/2)
#beta=c(rep(1,p/2),rep(0,p/2))
#beta=c(rep(1,5),rep(0,p-5))
#beta=rnorm(p)
#beta=beta[sample.int(p)]
... |
658b7954977b5ebfd82e0de9e65ff376f39d53f6 | f26c87ff8e54310480c7822678a2848b40756770 | /scripts/example_code_seasonal_question.R | 80e8065156f8107f32c49b7ea3aa6a67c41990bf | [] | no_license | aranryan/lodfor | 7164cc96fa3cdde72fa7c2df16e8f41f7002c089 | 2ae85a637fafd6b42fc01167ff8a01ea83233a34 | refs/heads/master | 2020-05-21T23:24:58.364367 | 2016-12-01T13:57:33 | 2016-12-01T13:57:33 | 24,097,614 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,073 | r | example_code_seasonal_question.R | # example code I used in asking question posted on
#https://github.com/christophsax/seasonal/issues/157
library(seasonal)
library(xts)
# code from Example 7.14 at
# http://www.seasonal.website/examples.html#seats
mmod1 <- seas(AirPassengers,
regression.aictest = "td",
outlier.types = c... |
aa3cd2c5172a1c301a11fb77f5979432e30254fa | 4aa2524aecc11314133b495c2ce8d386cf6acba7 | /source/init.R | b5dc9063dd2caf13d9afd7899f6191e8d9228a98 | [] | no_license | lebihanbastien/RFTDA | 7bfc109a925be538939e8d760c980bc37860ac62 | 6c7f7cc787f6c32e458f2c7e0b664942039d0e0a | refs/heads/master | 2021-01-19T13:07:21.390443 | 2017-08-03T12:42:34 | 2017-08-03T12:42:34 | 88,065,848 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,567 | r | init.R | ################################################################################
# Initialization script for R session.
#
# BLB 2017
#
# Note: to instale a package locally:
# install.packages(pkgs ='/home/b.le-bihan/R/tikzDevice_0.9.tar.gz', repos = NULL)
#
#############################################################... |
979fa0d903c90f82074833f394247b48675303e1 | 6ece01e793b19bde7fa69c0ee25eb3ce240dd3f7 | /oldExampleRFiles/parametricPostHoc.R | 4719d7aea0a92d985ef178f93612c2ea44e46a5a | [] | no_license | neilhatfield/STAT461 | af4d8a7f56a9794133e16e237d6664b4f428c103 | 5ca5c4b8ce4d5559b0e0e5ce0dc59b945156d3e8 | refs/heads/main | 2023-09-03T22:28:26.594878 | 2023-09-03T18:12:58 | 2023-09-03T18:12:58 | 233,878,778 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,524 | r | parametricPostHoc.R | ratLiver <- read.table(
file = "https://raw.github.com/neilhatfield/STAT461/master/dataFiles/ratLiver.dat",
header = TRUE, sep = ",")
ratLiver$diet <- as.factor(ratLiver$diet)
options("contrasts" = c("contr.sum","contr.poly"))
ratModelA <- aov(liverWeight ~ diet, data = ratLiver)
# Pairwise Tests
## Tukey HSD
post... |
f8d35b11ec496ec21475a09313af35970b68035d | 755c9d8af86f33c64bb0532f46a6d875e9728e13 | /scripts/STEP05_candidate.R | ed24a7f24d65fe44c45b402496ef61e09c979c51 | [] | no_license | jmzhang1911/CRC_lncRNA_backup5.0 | f2a08eb81b9806115a1053c690433706ef066845 | 56a48cac477461b5f236afe35bf5a8f79f68c6f6 | refs/heads/main | 2023-04-02T01:53:14.521092 | 2020-12-18T01:07:44 | 2020-12-18T01:07:44 | 320,638,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,312 | r | STEP05_candidate.R | rm(list = ls())
source('Utils.R')
#===> our dynamic-DE-expression genes = dynamic + DE
#==> 4875 = 807lnc + 4068coding
load('outcomes/inputdata/input.RData')
load('outcomes/DEanalysis/DE_results_inte.RData') # DE genes
load('outcomes/masigpro/dynamicdf.RData') # dynamic genes
mkdir('outcomes/candidate')
dedf <- d... |
a0aeef6284f1331c7f2e10d7834712a46248c7bf | 309d8ffea9188c9cd62826d0f310185f1a7c44c0 | /Results/purity_ploidy/R/purity_ploidy_import.R | 48a00dfd0cb3b1435b1c4592414738b780049f93 | [] | no_license | shbrief/PureCN_manuscript | 7e0d3846d094dcb2943cda5bb9068ecc22630256 | 77ba1baaa6ac85cbd58a04b35ed8de1f79eed17a | refs/heads/master | 2023-02-16T04:45:03.774942 | 2021-01-08T04:08:01 | 2021-01-08T04:08:01 | 167,900,850 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | r | purity_ploidy_import.R | # Import purity and ploidy calls from PureCN outputs
output.dir = file.path("/data/16tb/CNVworkflow", kit, "purecn_output",
paste0(kit, "_PureCN"), purecn_mode)
samples = list.files(output.dir)
optima_csv = file.path(output.dir, samples, paste0(samples, ".csv"))
optima_csv = optima_csv[file.ex... |
e4c6ae3c39cf7a5f05d27b12d2f92fa7e8e6b0b3 | 47362106110f59c302835ad07dac75a2c069422a | /cachematrix.R | 46413c97e8fb28c657a31431557f827770032680 | [] | no_license | patrickcnkm/ProgrammingAssignment2 | 47b206d503a64dbc789dc5df56ca8c39dc199645 | 2def147415826f3d4cf0bee7255204e03e3c94c5 | refs/heads/master | 2021-01-22T13:08:09.757704 | 2014-09-21T09:38:42 | 2014-09-21T09:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,462 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x=matrix(),z=matrix()) {
s1 <- NULL
s2 <- NULL
set <- function(y) {
x <<- y
z <<- y
s1 <<- NULL
s2 <<- NULL
}
get <- function() x
... |
eb209cb57fcdd358841f7873189f3cfbab06d698 | 9076daabcdb89dcf92fb7e6bcb2c534b6202bb9d | /tests/testthat/test-LonLat2XY.R | 75aac14c463143e0d5f54f545a6b819ddcaba15d | [
"CC-BY-3.0"
] | permissive | dkahle/ggmap | dc9a498ae73a41bbc189dbb29af1ad42e7331eb3 | 2cc32a47cf2730f592680f7d698942aaca32382c | refs/heads/master | 2023-08-29T08:23:27.045905 | 2023-03-14T13:59:22 | 2023-03-14T13:59:22 | 2,876,618 | 745 | 245 | null | 2023-06-21T06:15:47 | 2011-11-29T17:14:54 | R | UTF-8 | R | false | false | 421 | r | test-LonLat2XY.R | context("LonLat2XY")
test_that("LonLat2XY example works", {
# gc <- geocode('baylor university')
gc <- list(lon = -97.11431, lat = 31.54984)
ll2xy <- LonLat2XY(gc$lon, gc$lat, 10)
expect_equal(
ll2xy$X,
235
)
expect_equal(
ll2xy$Y,
417
)
expect_true(
abs(ll2xy$x - 195.5142) < 0.01 #... |
b1bbe8b597f7a08007137cdc1967748c7f0cc27f | d104eaae49776e9f1bf929b2a4bc8d54f305e212 | /tests/testthat/test-suffix_edge_tag.R | 0b7f1356e17d80f57888098c32b47ec58d73f793 | [] | no_license | forestgeo/fgeo.misc | 96d1a65360511bba7ef147bca74e507218c5c654 | 3a9386cebc7512df0d4923c364585f9c7a113c2b | refs/heads/master | 2020-04-10T19:14:48.565370 | 2019-06-21T22:41:11 | 2019-06-21T22:41:11 | 161,228,174 | 2 | 2 | null | 2019-02-04T22:50:11 | 2018-12-10T19:48:01 | R | UTF-8 | R | false | false | 1,480 | r | test-suffix_edge_tag.R | library(tibble)
context("suffix_tags_beyond_edge")
test_that("errs with wrong input", {
expect_message(
suffix_tags_beyond_edge(
x = tibble(QX = 21, QY = 21, tag = "01", status = "dead"),
.match = "dead",
suffix = "suffix",
x_q = 20
)
)
expect_message(
suffix_tags_beyond_e... |
b23451ee756c52580e6a16b51d2ac4069727f2ca | 7e7bb7bfdf62c24b7fecf78f5247d28839728710 | /MAP Analysis/2013-2014/src/middle_schools_waterfalls_F13S14.R | 2772dd3a65b75422c33182b01a36b79bc3009f3a | [] | no_license | kippchicago/Data_Analysis | 1ad042d24c7a1e11e364f39c694692f5829363a4 | 8854db83e5c60bc7941654d22cbe6b9c63613a7f | refs/heads/master | 2022-04-09T10:10:43.355762 | 2020-02-20T18:03:40 | 2020-02-20T18:03:40 | 5,903,341 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,398 | r | middle_schools_waterfalls_F13S14.R | # Script to get Winter Data
require(ProjectTemplate)
load.project()
info(logger, "Prepping F13-S14 data")
FW.dt<-PrepMAP(map.F13S14, season1="Fall13", season2="Spring14")
info(logger, "Print middle Waterfall PDFs by grade.")
#Middle Schools first (since they need students by grade)
schools=list("KAMS", "KCCP", "... |
a89732fdc190625abebf82d12ceb18a472bdbd04 | 34160365a65aca8257cc940abc0d3081a6112aef | /2019_08_28/00_복습.R | 03f373b14c1af3a6d978053d42eceddf17a745f6 | [] | no_license | sungminhong90/BigDataClassReview_R | 63b947e2b5a2e83d29e66a221e7b90fbbdfbfbf4 | c1ff1bbbaa062c411562067d4d2d41bfdd46b132 | refs/heads/master | 2020-07-08T03:23:32.802388 | 2019-09-25T13:42:14 | 2019-09-25T13:42:14 | 203,550,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 838 | r | 00_복습.R | #Summary
#현재 디렉터리 getwd()/ setwd()
#seq (0,100,2) <- 1부터 100까지 짝수만
# search() <- from package installation
# str()
# Is() / class <- data type 확인
#names()/colnames()/summary()
## 데이터 읽어오기
# read.table('파일명', sep ='/')
# read_excel
# read.csv()
## 가장 많이 사용되는 자료형
## => data frame (단, 행과열이 같아야 한다?????)
##통계기본
# ... |
1fd34b636c6275e66c2784c780d53aaaf1e9fc85 | 526b00ed35c5efd13e51de652ac96f34456770bd | /cachematrix.R | 1d3656ec0310e5ceb4baf3c5b305f3ccfead80ad | [] | no_license | hartjm/ProgrammingAssignment2 | cd679417e38557d11b906bd393b8c39d28de7caa | 5d777bd47067e90c7e6cdf03ee6395cf68a0773e | refs/heads/master | 2020-12-24T11:17:22.013611 | 2014-07-24T16:15:08 | 2014-07-24T16:15:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,854 | r | cachematrix.R | ## Solution to the CacheMatrix problem whereby we want to calculate the inverse
## of a matrix and also cache the value as the calculation can be time intensive
## we solve this problem my implmementing a wrapper around matrix
## (like creating a facade class that wraps the matrix in an oo language )
## and then we us... |
158988b3f7f146f4b3fcdaa669b9e70ce1154644 | dff7bca022a3d511703fae341e1c9961d4fd1648 | /R/query-select.R | e13aa34fe4b714bdbac86a7f164d92d25c0572e2 | [
"MIT"
] | permissive | mkearney/dbplyr | a7aeda6187cfdc7675535f329837e349599779dc | 6873d6482a1cfa076b4d49d0787485ab996cc3cd | refs/heads/master | 2020-04-17T12:15:20.735504 | 2019-01-19T23:35:43 | 2019-01-19T23:35:43 | 166,572,806 | 1 | 0 | NOASSERTION | 2019-01-19T17:17:18 | 2019-01-19T17:17:17 | null | UTF-8 | R | false | false | 4,112 | r | query-select.R | #' @export
#' @rdname sql_build
select_query <- function(from,
select = sql("*"),
where = character(),
group_by = character(),
having = character(),
order_by = character(),
... |
fba164bbf929c870258f4dec914db8702122bc24 | 862d2dd3989cb231353b3062829172c9d067b4be | /run_analysis.R | 5fdf24444dfdddb0b1796fa9e0b288a75cee70dc | [] | no_license | mmcdonnell1/datasciencecourseragetting-cleaningdata | 58d47ca75dafbdb8aca8ef6eec291e65c9e728ed | 7d8fae65b16d51f06bde2ea0492917467b198257 | refs/heads/master | 2016-09-10T02:06:55.587905 | 2014-08-24T17:58:54 | 2014-08-24T17:58:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,413 | r | run_analysis.R | ## This code merges data sets related to accelerometers from the Samsung Galaxy S smartphone,
## extracts select measurements, applies descriptive activity names, labels the data, and
## creates a tidy data set.
## 1. Merge the training and the test sets to create one data set.
## Load training and test datasets
... |
3862d89ef47e2824f1f76cde41aced3b7bc1a795 | a3b22019c25f279739d04d99f3e716e88aaa1a73 | /plot1.R | 1843702ec84c0bea797c3a5d66d1d5d89f55f4c5 | [] | no_license | joeswaminathan/ExData_Plotting1 | 95f3daa860c05b3be1ec2f329bb7d1e2fba576f9 | b5c7b036d5dc19baf0b16c50d5e06d8101af7133 | refs/heads/master | 2020-05-29T11:44:35.973156 | 2015-11-08T15:25:53 | 2015-11-08T15:25:53 | 45,773,875 | 0 | 0 | null | 2015-11-08T09:12:54 | 2015-11-08T09:12:53 | null | UTF-8 | R | false | false | 925 | r | plot1.R | plot1 <- function()
{
library(datasets)
library(data.table)
fileurl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileurl, destfile = "household_power_consumption.zip")
unzip("household_power_consumption.zip")
DT <- read.csv2("househo... |
d49d8de4dff22e0c7139b3c2cac5d91b6e2f1aab | 4be11f5a0acd02236cf6b07a86f5913e03c677c7 | /man/setDesign.Rd | 79058b7d9bd228325db15210acec4cb1eac3d87e | [
"MIT"
] | permissive | retaj/qpcrvis | 9f5f010963d5014a7042741e9ac9fdda64ff668a | 2bd996e5dbf27bc9cae23c65e07838b5c75c9f83 | refs/heads/master | 2022-03-27T07:30:19.379477 | 2020-01-07T10:54:57 | 2020-01-07T10:54:57 | 75,178,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 339 | rd | setDesign.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{setDesign}
\alias{setDesign}
\title{setDesign}
\usage{
setDesign(pcr, groups)
}
\arguments{
\item{pcr}{qPCR object to work on}
\item{groups}{character vector of sample groups}
}
\description{
set design of a qPCR experiment
}
\... |
d5aa621d1ea0604f18a4b2c112d2751fd420c9e7 | afbb0e9fe12437b9d8c657a4ab83e2c8a4321e51 | /genShape.R | f073622fd1b6e6f20472cdfade81ba0174053ca8 | [] | no_license | yosoykit/BaseCaseII | d66d48ea2bbb35162336c7928492e51f5e122496 | 11f3141d840ddeea3c40326b752410d4c660948c | refs/heads/master | 2021-01-21T12:58:06.083641 | 2016-05-06T21:20:58 | 2016-05-06T21:20:58 | 48,261,098 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,255 | r | genShape.R | genShape <- function(xy = xy, nbr = nbr, size = 10, gamma = 1, col = 'blue') {
# xy: generated by genHexGrid (crypt coordinates x and y and dims nx and ny)
# nbr: generated by neighborList
# gamma: diffusness of shape: > 0 (compact) or < 0 (diffuse)
# tests
if(xy$ny %% 2 != 0) {
warning("grid not set up correctly: n... |
50f61100e819c715a634c02ca57a15fb6b2ea9a8 | 0c144322ecbf8d0f4e9386c67c055cd81dbc4c68 | /analysis.R | 4b6b7b9a3a9808f59908728be52244a60c18c9d6 | [
"MIT"
] | permissive | info201b-au20/a3-jwc225 | 3097ccec39ca0e1693caf3f221e976b63bf09b37 | bab3d20b075324a084937275f87e77dd50104793 | refs/heads/main | 2023-08-27T09:19:20.635249 | 2021-10-24T07:28:44 | 2021-10-24T07:28:44 | 313,210,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,551 | r | analysis.R | # Assignment 3 -- Analyzing Incarceration data
# Set up
library(tidyverse)
library(scales)
data <- read.csv("https://raw.githubusercontent.com/vera-institute/incarceration-trends/master/incarceration_trends.csv")
# ----------------Summary Info section----------------
# Get name of location with the largest Native Am... |
a779d82067bc94d0f8f563eeda559887dcd87465 | 6fc8dd03e54041194ac1b88ee8cb017bcc2515e6 | /0_RPackages/R-4/R-4.1.1/configurationFile.R | 0393ed6311062fe1e4372d1b3466b2e0e24edcc2 | [] | no_license | alessandriLuca/CREDOengine | d54f112b31bd2cfa13dc3fd4b680936ce0a6259e | 6e1a7dbea30a5b2169060fa39af61769707ccbe3 | refs/heads/main | 2023-07-07T14:53:30.660211 | 2023-06-27T15:25:19 | 2023-06-27T15:25:19 | 418,818,461 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 74 | r | configurationFile.R | cran("Rtsne")
#bioconductor("GenomicRanges")
#github("kendomaniac/rCASC")
|
402f014f8b16a495cc5cca113082e0758a5c0e6f | b493982741e3b91a4e9c3c63c892479e3a56ba9b | /tests/testthat/test_kql_build.R | 3b82d2bea00af0846716e4d829f9a1178df05c7b | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | cloudyr/AzureKusto | a1f382329c00a818196f193cc9cf6c25f8954186 | 9d147fd05a8a468fbaab74ac59a93cc89ecbdcc1 | refs/heads/master | 2023-04-04T22:58:10.290251 | 2023-03-17T17:42:37 | 2023-03-17T17:42:37 | 161,263,733 | 20 | 3 | NOASSERTION | 2019-05-23T00:14:27 | 2018-12-11T02:12:05 | R | UTF-8 | R | false | false | 631 | r | test_kql_build.R | context("KQL Build")
# filter ------------------------------------------------------------------
test_that("filter generates simple expressions",
{
out <- tbl_kusto_abstract(data.frame(x = 1), "foo") %>%
filter(x > 1L) %>%
kql_build()
expect_equal(out$ops[[2]][[1]], kql("where ['x'] > 1"))
... |
75d92d95ce084fd8428da89f2f346be478a0d385 | 18e8822e6cce16631058ecfd14906bbb1580aa66 | /man/BITFAM.Rd | ee0c2c4841a0d57e72891cabb96db899d6d69586 | [] | no_license | jaleesr/BITFAM | fe443d9b0bc23016526e483e918cfe38bd069913 | b604014c40329b3f737d4a152d44114a60c518b1 | refs/heads/master | 2023-02-21T11:10:50.972711 | 2023-02-13T13:50:50 | 2023-02-13T13:50:50 | 310,433,311 | 27 | 18 | null | null | null | null | UTF-8 | R | false | true | 995 | rd | BITFAM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BITFAM.R
\name{BITFAM}
\alias{BITFAM}
\title{BITFAM main function. BITFAM will infer the transcription factor activities from single cell RNA-seq data based on the ChIP-seq data}
\usage{
BITFAM(data, species, interseted_TF = NA, scATAC_obj =... |
8271b626284796e8016b0d2fb8b10b51a991836d | a3e56dccec4c41f256583f45959ee64d6d269f57 | /man/puffin.Rd | 07835b65bf95ed9e2aa09ed55343810ca1106e87 | [] | no_license | cran/MBCbook | 76b189b1b24303fc49ae748f34807c5253507229 | 71cd7f2313a55239d5b1c6c707308c783481b200 | refs/heads/master | 2020-12-22T01:03:39.836908 | 2019-07-02T06:00:03 | 2019-07-02T06:00:03 | 236,623,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 731 | rd | puffin.Rd | \name{puffin}
\alias{puffin}
\docType{data}
\title{
The puffin data set
}
\description{
The puffin data set contains 69 individuals (birds) described by 5 categorical variables, in addition to class labels.
}
\usage{data("puffin")}
\format{
A data frame with 69 observations and 6 variables.
\describe{
\item{\code... |
f6e9b905696aab7284e4bba3809e2dd8ad219d44 | 2da2406aff1f6318cba7453db555c7ed4d2ea0d3 | /inst/snippet/taste-anova01.R | f2d2bbbbbbaff9cd45c0584610e503ade25388a8 | [] | no_license | rpruim/fastR2 | 4efe9742f56fe7fcee0ede1c1ec1203abb312f34 | d0fe0464ea6a6258b2414e4fcd59166eaf3103f8 | refs/heads/main | 2022-05-05T23:24:55.024994 | 2022-03-15T23:06:08 | 2022-03-15T23:06:08 | 3,821,177 | 11 | 8 | null | null | null | null | UTF-8 | R | false | false | 234 | r | taste-anova01.R | favstats(score ~ type, data = TasteTest)
gf_point(score ~ type, data = TasteTest)
taste.lm <- lm(score ~ type, data = TasteTest)
anova(taste.lm)
taste.cint <- confint(glht(taste.lm, mcp(type = "Tukey"))); taste.cint
plot(taste.cint)
|
34af2e52797d686bb85e3257703b05ccee6470a3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rriskDistributions/examples/get.pert.par.Rd.R | b6b3fecd7c812ed2fe717f46a85a460f7255a8f0 | [] | 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,784 | r | get.pert.par.Rd.R | library(rriskDistributions)
### Name: get.pert.par
### Title: Fitting parameters of a pert distribution from four or more
### quantiles
### Aliases: get.pert.par
### Keywords: fitpercentiles
### ** Examples
q <- mc2d::qpert(p = c(0.025, 0.5, 0.6, 0.975), min = 0, mode = 3, max = 10, shape = 5)
old.par <- graphics... |
ba61fd5c8b8a1e136145feb78c79cee364de3b3e | b3809f859d05388c0d206b827eea5dec375588fd | /Data Scripts/step3/make_plot.R | c7ef5080dbad340fc4df025387fb1bb85b0f132d | [] | no_license | rexshihaoren/MSPrediction-R | cfd2fa8e81dc9c35fa89c403c2bb20821707b350 | 7d2c6a41b94b310c4e8b75cb3eb729bf7d2e2179 | refs/heads/master | 2020-12-07T02:25:24.752857 | 2014-12-03T00:49:24 | 2014-12-03T00:49:24 | 17,223,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,856 | r | make_plot.R | all_data_pca = read.csv("./data_all.csv")
all_data_pca = all_data_pca[,c('group1', 'group2', 'group3', 'RelativePain','EnjoyLife')]
all_data_pca2 = with(all_data_pca[,c('group1', 'group2', 'group3', 'RelativePain','EnjoyLife')],
data.frame(LackFocus=group1, LackEnergy=group2, Psycho_Down=group... |
504f363eaf217e1336c1226a7a4fc9dc707551e1 | 04bf444bf40498ba6672d8558b6aac2e7b2c8031 | /web-scraping-with-rvest.R | 6386f57109c10da440f97a0d900f9b0abae3d7b4 | [] | no_license | triadicaxis/quickr | dea5bb836dce9ece41c614db002bf7477f0a70e2 | 784723c3ac9a43304257788abcd7d0a2dc2e066a | refs/heads/master | 2020-03-11T11:10:19.392031 | 2019-10-21T14:54:12 | 2019-10-21T14:54:12 | 129,503,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 772 | r | web-scraping-with-rvest.R | browseURL("https://www.youtube.com/watch?v=TPLMQnGw0Vk")
browseURL("http://blog.rstudio.org/2014/11/24/rvest-easy-web-scraping-with-r/")
vignette("selectorgadget")
library("rvest")
absweb <- html("http://www.abs.gov.au/AUSSTATS/abs@.nsf/mf/1345.0?")
rbaweb <- html("http://www.rba.gov.au/statistics/cash-rate/")
## 1. ... |
9366591dbe9852822ff95fde2ebf4c218b0396c6 | 67de61805dd839979d8226e17d1316c821f9b1b4 | /R/MxFitFunction.R | c592dfe95b02b492e2390fe1e32a39e72be76a61 | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 6,216 | r | MxFitFunction.R | #
# Copyright 2007-2016 The OpenMx Project
#
# 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 ... |
96d667512e84933b5868a3872617afedd29ae1f1 | 611610808ab0b23196156a408dd58def1d88fb0f | /code/analysis.R | 9cc8f7975de5a0f05db9665a31e56671a37a16df | [] | no_license | cambrone/SVM_imbalance | 796b95d83b05888ee5b4f0fedaba22d244217779 | 9ad69f75525979a4afc4a757601578974f4e2e01 | refs/heads/master | 2020-03-24T19:40:03.638723 | 2018-08-28T22:38:31 | 2018-08-28T22:38:31 | 142,939,276 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,295 | r | analysis.R | ###########################################################################################
# TASK: Compare performance of SVM trained using balancing algorithms
# Author: Andres Cambronero
# Project: Comparison of Oversampling Algorithms to Classify Imbalanced Data
# Date Started: July 2, 2018
# Latest Update: July 29... |
5e9ecf01dda29a1b32e7b3c23da91fd386c6208a | 2fc6f80d7c41350c189d468354b7016d582b606b | /Association Rule/movies_rule.R | de56461050481777ff01fa37ac840658b559cab8 | [] | no_license | raouday79/Data-Analysis | 0098e5a41d154036004332de8f740c7cb0634290 | e25506c4fbe3f27815286463cfe1d3e45a79ceb5 | refs/heads/master | 2020-11-27T13:59:06.596620 | 2020-06-24T19:32:59 | 2020-06-24T19:32:59 | 229,473,016 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,150 | r | movies_rule.R | #Dataset=groceries.csv
data = read.csv(file.choose())
data=data[-1,]
View(data)
data = data[,6:15]
View(data)
str(data)
#Converting into factor
data[c(1:10)] = lapply(data[c(1:10)], factor)
#name <- "movies_data.csv"
#write.csv(data,file=name)
#We need data in sparse matrix form
#Read the data set as tr... |
123dcb4a65a5b914e38678d9dbea1cbda80b7f36 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/knitr/examples/kable.Rd.R | e93a4fc9ed4156a36c55d8e7b0f8be1e497123b3 | [] | 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,524 | r | kable.Rd.R | library(knitr)
### Name: kable
### Title: Create tables in LaTeX, HTML, Markdown and reStructuredText
### Aliases: kable
### ** Examples
kable(head(iris), format = "latex")
kable(head(iris), format = "html")
kable(head(iris), format = "latex", caption = "Title of the table")
kable(head(iris), format = "html", capti... |
30ad501bf349dd7cee82529ae974bf44c820c460 | ae9970a483fa3023732ab726f12354f4d2aa9911 | /pH descision tree model.R | c2aaa289d45fdee89f928ab8a1ffdd584f8b1ec2 | [] | no_license | aj-sykes92/pH-optimisation-arable | 1460fb00c89de3c6e0c96724edfb28a4ea0788e0 | 09ba5d0355b1b20aa0dae855efeceabe433dad2b | refs/heads/master | 2023-01-21T12:40:16.379472 | 2020-12-05T15:51:30 | 2020-12-05T15:51:30 | 211,346,121 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,083 | r | pH descision tree model.R | # script to be run following main model script [GIS pH analysis (all crops) v4.R]
library(fastDummies)
library(rpart)
# load workspace
load("Full model output df.RData")
# drop out that one row where N2O model misfired
Dat_main <- Dat_main %>% filter(!is.na(Abatement))
# pull out primary data and classifier for sim... |
a30392b3edc1e703fa550f22db207e62c2f46ef3 | 0c9e07287c0e5eb18c3fc1bed6b4900a6e1c0350 | /RCpp LF-RVgen/Main.R | 7d99ffc08f85e31b88c6ec9b2a217596a06126b9 | [] | no_license | zhenghannan/Rhee-Glynn-2013 | c7d5b24327eff2785b7960aca69a170aa63e3779 | 5cbfdbf4d53a69ef9b7dce71116ba6172d0fdf69 | refs/heads/main | 2023-02-27T07:10:35.740641 | 2021-02-05T03:39:44 | 2021-02-05T03:39:44 | 336,152,485 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,703 | r | Main.R | # This code compute the likelihood function
setwd("~/Desktop/RCpp LF-RVgen")
source("DeltaRcpp.R")
source("X_generation.R")
rho=c(0,0)
ell=40
Delta=1/12
T=4
theta=c(0.05,-0.5,0.1,0.2,-0.5,0.2,25,-0.01,0.02,0.02)
#theta=c(0.05,-0.5,0.1,0.2,-0.5,0.2,25,0,0,-0.01,0.02,0,1,0.02)
# First example with 3 points
# X = matrix... |
b450fc837838f962d705cd0536a579e43b56e2c9 | 8d29c9f8faa03eb55764ac9d2c60499c6b16b48c | /man/plotFinalClasses.Rd | 61c48b16e891b8aff5a1016d5aaa53e37fbee5fd | [] | no_license | jsemple19/EMclassifieR | fd2671a5be8ac97cc67e20c94afe97223f44b0ba | a3626d02d5c73046073f04dbdba4b246a7278bcc | refs/heads/master | 2022-08-10T06:27:20.721490 | 2022-08-08T11:34:43 | 2022-08-08T11:34:43 | 198,430,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,669 | rd | plotFinalClasses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EMbasic.R
\name{plotFinalClasses}
\alias{plotFinalClasses}
\title{Plot reads and class means with final classification}
\usage{
plotFinalClasses(
dataOrderedByClass,
numClasses,
allClassMeans,
outFileBase,
outPath,
xRange,
myXla... |
20ab2c4aa2d0d24781cb386b3a08f01b3eab5bd2 | d45e3fff54f9c53ddae1d3ab5056d9157f611edd | /plot2.R | 3d5879d1f79f0f0b2f472c762484ec99846b6b31 | [] | no_license | Benkahila/ExData_Plotting1 | 72f2d32476c7452fada4046b1c577304083084b7 | 33e0eeb91b61c75340a05ebb1d313689499642fb | refs/heads/master | 2020-04-14T18:02:07.640086 | 2019-01-03T18:36:30 | 2019-01-03T18:36:30 | 164,003,747 | 0 | 0 | null | 2019-01-03T17:35:25 | 2019-01-03T17:35:25 | null | UTF-8 | R | false | false | 665 | r | plot2.R | X <- read.csv("C:/Users/benkahila/Downloads/exdata_data_household_power_consumption/household_power_consumption.txt", header=TRUE , sep=";")
xs <- subset(X, X$Date == "1/2/2007" | X$Date == "2/2/2007")
class(xs$Date)
class(xs$Time)
xs$Date <- as.Date(xs$Date, format="%d/%m/%Y")
xs$Time <- strptime(xs$Time, form... |
ce81baaf6712eeabe87c10f84899096a34a55977 | f8559eef1b66e2307113046dd9b584fe3a432dc8 | /rasc/with joint proposal/check CalcInvasionPressure function.R | db940b651d1334e1185596889b38e63dc0dda65b | [] | no_license | drvalle1/git_leish_PE | 51a76c25c87eaea842cd1c6b1c5fd08d761ca580 | 936529f320bc3beb783b5ca7c8b6d4ce83419ad3 | refs/heads/master | 2022-02-18T05:50:53.888426 | 2022-02-01T13:29:41 | 2022-02-01T13:29:41 | 166,860,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 906 | r | check CalcInvasionPressure function.R | rm(list=ls(all=TRUE))
library('Rcpp')
#read relevant functions
setwd('U:\\GIT_models\\git_leish_PE')
sourceCpp('aux_PE_leish.cpp')
#get incidence
setwd('U:\\anaia\\simulated data')
dat=data.matrix(read.csv('simulated data.csv',as.is=T))
nloc=nrow(dat)
nanos=ncol(dat)
#get distance
setwd('U:\\anaia\\derived data')
di... |
99fd5f6860ec20962478a88f4af3f5519540347a | 87b966e5e6a2d1fb7afca8c7623ae617ebeb35ce | /hab_sel_spatial_join.R | db6999ef9923a8a1e83407263d8b07c8dbd40e85 | [] | no_license | appelc/cara_thesis | f7376659bd2015d6651a8b17968a9b8b868cc8c8 | 12fcb0d2041e7ebb96e609f5dddeb8a8ed0094aa | refs/heads/master | 2022-05-31T04:23:55.400474 | 2022-05-18T23:21:26 | 2022-05-18T23:21:26 | 55,104,238 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,098 | r | hab_sel_spatial_join.R | ##########################
## Porcupine habitat selection
## Try spatial join in R to get used/available PER ANIMAL
##########################
library(rgdal)
library(sp)
library(googlesheets)
library(maps)
library(httr)
library(readr)
library(devtools)
devtools::install_github("jennybc/googlesheets")
## load locatio... |
63defc7ed5a48dd1567acfdf4f9a1351c72ee38b | c8fbb22479ded143cc2780c7faa7866f5f2fd609 | /Metagenomics/GenerateMatrices/HeatMap.R | 12d2656a5f53f1aff96851e8f68f62fadaa17c50 | [] | no_license | pranavvarmaraja/cmu-precollege | 56f5c77328c0872d4f82f5c2fc6bf5618fb75a84 | 460526f217b4e75a2d52df515c7ef74ab9f547b6 | refs/heads/master | 2023-01-04T10:16:59.785719 | 2020-11-03T19:07:15 | 2020-11-03T19:07:15 | 309,783,160 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,593 | r | HeatMap.R | library(ggcorrplot)
library(reshape)
library(stringr)
library(ggplot2)
path <- "C:/Users/megha/go/src/GenerateMatrices"
files <-list.files(normalizePath(path), pattern="txt")
for (file in files) {
if (grepl("Jaccard", file, fixed = TRUE) | grepl("Bray-Curtis", file, fixed = TRUE)) {
table <- read.table(file.path... |
8ad349ec1659da7019d5960b993f2a51f297d01e | 3d1c924a053862e6836374fb066b5685e5308370 | /BinaryClass_neuralnet.R | 35b4476844f40ecd441ac75653cc4dbfcb4949cb | [] | no_license | Murali423/Hand-Written-Digit-Recognition | cac46bf828191e9d5215158766366e9fb42b746d | 54852c5e9ff14a9b9acd6b61ff8d650e2786f707 | refs/heads/master | 2023-04-29T12:49:18.933653 | 2021-05-19T13:49:03 | 2021-05-19T13:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,012 | r | BinaryClass_neuralnet.R | # Build Neural Network for classification using neuralnet library.
rm(list=ls(all=TRUE))
# Set the working directory
setwd("C:/Users/gmanish/Dropbox/latest/openminds/slides/MachineLearning/7.ANNs/")
# Importing "data.csv" files's data into R dataframe using read.csv function.
data = read.csv(file="data.csv", hea... |
9c700ea7bdf6a3729f45e02b4c779b2044b230f7 | 3943ae90f392d4bf51667ba9939e6fd7f98e1bef | /imputation/knn_imputation.R | 2cabaa5160981aaf4f653a16d918e85bbb72e580 | [] | no_license | nmferraro5/correlation_outliers | 05503bfd5811a08c8c5588d7bf0b96b2e8cd8e02 | f9dd53966fc01e49037966dc694be7fb02513741 | refs/heads/master | 2020-07-31T15:14:06.059506 | 2020-06-05T18:28:00 | 2020-06-05T18:28:00 | 210,649,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | r | knn_imputation.R | #!/usr/bin/env Rscript
# Load required packages
require(impute)
# Function to impute missing data using KNN and then estimate precision matrix
# Input: data matrix (rows = observations), k (number nearest neighbors),
# row max and col max missingness rates
# Output: estimated precision matrix after imputation
knn.i... |
2538458dbc0d892fd9ce4496ec8ba13b3426f3fb | 87760ba06690cf90166a879a88a09cd2e64f3417 | /man/parse_index.Rd | a9cd237aa5a2d9ef5d5b4d5bb8fa5f66489d0fde | [
"MIT"
] | permissive | topepo/modeltime | 1189e5fe6c86ee3a70aec0f100387a495f8add5f | bff0b3784d1d8596aa80943b221eb621481534e1 | refs/heads/master | 2022-12-27T07:11:58.979836 | 2020-10-08T16:07:27 | 2020-10-08T16:07:27 | 289,933,114 | 1 | 0 | NOASSERTION | 2020-08-24T13:17:10 | 2020-08-24T13:17:10 | null | UTF-8 | R | false | true | 1,218 | rd | parse_index.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dev-parse_index.R
\name{parse_index}
\alias{parse_index}
\alias{parse_index_from_data}
\alias{parse_period_from_index}
\title{Developer Tools for parsing date and date-time information}
\usage{
parse_index_from_data(data)
parse_period_from_i... |
174e9d73822fe76c3b3f74f4e371a8fbdb3ba196 | a68242075d7e6ab5f767e59b797354f3cd062f14 | /gen_data/gen_data_infos.R | c7ff97222b2b023c2ca705a4a9a2dec5e6ca2950 | [] | no_license | norival/internship_2017 | 5c464e71bbfb332ef9e07c4dd635d89679b8e611 | d6cabbdc65e4d8b780330ecd5eaaf7c49f7c285c | refs/heads/master | 2020-05-25T23:41:43.559454 | 2017-06-12T12:22:33 | 2017-06-12T12:23:06 | 82,567,635 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,698 | r | gen_data_infos.R | # ------------------------------------------------------------------------------
# generate various files to easily access informations from databases
# ------------------------------------------------------------------------------
source("functions/gen_data_infos.R")
# -----------------------------------------------... |
7f50c7c225ad07436604b794d55ca75da8e417f2 | 3a465af00567cb9c76210db2a7d1c451cd0d4ab1 | /greml_heritability_sex_adj_3.R | eaa53dfe46dd1372cfcff3424d6053a85a112113 | [] | no_license | edmondodriscoll/AAD_t1d | 39685563f07a6d3421d466060f30ad0fb2a6e0a8 | 54e1e2fd847e23ced1d15557b312a6f6ea04b2ee | refs/heads/master | 2020-12-14T00:31:53.031475 | 2019-07-01T10:27:53 | 2019-07-01T10:27:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,120 | r | greml_heritability_sex_adj_3.R | #greml_heritability_sex_adj_3.R
#estimating heritability of <7s, 7-13s and >13s:
library(snpStats)
library(annotSnpStats)
library(snpStatsWriter)
library(humarray)
library(gridExtra)
library(multinomRob)
library(ggplot2)
d<-"/well/todd/users/jinshaw/t1d_risk/immunochip/"
#read SNP and phenotype data:
load(file=paste0(... |
1e84c23d191ded99a6bd795a1e1457a25d393fda | 2e24e6f3d5159c3c932c4be4a71be70e113a9e86 | /R Code/AUC_Statistics.r | 1dc0cf363d7a7621a1c8d8821b19b239857163ce | [] | no_license | qahathaway/DIO_and_UCMS | 36ae3e6b0ccba9e0c9523e626304039bec1e2176 | 8c3aa6f90b5d127bbb91f3d5c56f605892f3ada5 | refs/heads/main | 2023-06-15T12:47:30.538392 | 2021-07-12T23:45:02 | 2021-07-12T23:45:02 | 384,835,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,718 | r | AUC_Statistics.r | ###pROC###
library(pROC)
AUC1 <- read.csv("Path_to_File.csv", header=TRUE)
AUC2 <- read.csv("Path_to_File.csv", header=TRUE)
AUC3 <- read.csv("Path_to_File.csv", header=TRUE)
AUC4 <- read.csv("Path_to_File.csv", header=TRUE)
AUC5 <- read.csv("Path_to_File.csv", header=TRUE)
AUC1pROC <- roc(AUC1$Pred, AUC1$Pr... |
c8cd2a12ba4b3f74ac984a5198514dc2a8a2adc7 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.security.identity/man/acmpca_create_certificate_authority_audit_report.Rd | 39d0e6461a622f64de45725533a49532db7b9e28 | [
"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 | 1,358 | rd | acmpca_create_certificate_authority_audit_report.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/acmpca_operations.R
\name{acmpca_create_certificate_authority_audit_report}
\alias{acmpca_create_certificate_authority_audit_report}
\title{Creates an audit report that lists every time that your CA private key
is used}
\usage{
acmpca_create_... |
d64c0d32bf8366b901d52bc9337ede2bb0b112a8 | 99144fe0beb697c124e5271a1d395ab6477d405a | /man/io_yamlet.Rd | 7501e991156ea167ce4a5c88a003528bb6b49694 | [] | no_license | cran/yamlet | 233e29fc38d75205d4cc04db5a81af49dc05a5d5 | 3f494a19ab2e1cdb426606af40304309c78603ca | refs/heads/master | 2023-09-04T00:52:18.417901 | 2023-08-24T05:00:02 | 2023-08-24T06:31:30 | 236,960,454 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,250 | rd | io_yamlet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io_yamlet.R
\name{io_yamlet}
\alias{io_yamlet}
\title{Import and Export Yamlet}
\usage{
io_yamlet(x, ...)
}
\arguments{
\item{x}{object}
\item{...}{passed arguments}
}
\value{
see methods
}
\description{
Imports and exports ... |
dd7b3a36b5c2544efd5df013b349123617db9730 | cd4673aea4e41a212ff5c57e2b1d99a7ade1fbf1 | /R/checkdense.R | fc66756979bbff8331c7c206576e2d1c65461471 | [] | no_license | cran/sdpt3r | 62765e36a08557f846fe50312a2ced20debdf153 | 6668a2744cfbe777717e3175d0a79ac542823e2c | refs/heads/master | 2021-07-15T04:50:22.141609 | 2019-02-11T07:50:03 | 2019-02-11T07:50:03 | 102,360,434 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 495 | r | checkdense.R | checkdense <- function(A){
m <- nrow(A)
n <- ncol(A)
idxden <- c()
nzratio <- 1
if(m > 1000){
nzratio <- .2
}
if(m > 2000){
nzratio <- .1
}
if(m > 5000){
nzratio <- 0.05
}
if(nzratio < 1){
ind <- which(A != 0)
Aprime <- matrix(0,nrow=m,ncol=n)
Aprime[in... |
b3cddabc5eba8537567b679f46f2f72e8bef903e | 45fdc72f7292ea885f48875091afc59eaf7ded7d | /R/pseudo_rank.R | dc2c0936243e21249b7b9cf508d58af00edb0952 | [
"MIT"
] | permissive | AgrDataSci/gosset | 1a47afb30223e3e9a43957986dcadbb31079bc10 | a371113bc453f8467ee6b4cdae9f86e286e89af2 | refs/heads/master | 2023-07-06T05:05:26.159662 | 2023-07-03T21:16:24 | 2023-07-03T21:16:24 | 173,807,877 | 4 | 4 | NOASSERTION | 2022-06-20T15:23:01 | 2019-03-04T19:28:39 | R | UTF-8 | R | false | false | 1,572 | r | pseudo_rank.R | #' Add pseudo-rank to missing values
#'
#' @param object a matrix or PlackettLuce rank
#' @param ... additional arguments passed to methods
#' @return a matrix or PlackettLuce rank
#' @examples
#' library("PlackettLuce")
#' R = matrix(c(1, 2, 0, 0,
#' 4, 1, 0, 3,
#' 2, 1, 0, 3,
#' ... |
6854cc773b9b8c147669b020fe70527144a56730 | 233d05c5432d785de7a4b2cf2d0e540754f951e2 | /11.R | 36c1e677f5fc05608fe317c9fbdd2c3381ffeb2c | [] | no_license | bill2692/R-Lecture-2021 | efabfdd45217d84b5ce48e2591acb82db138f27d | 449d2e1d51df6df0376c313952e273d47838e74a | refs/heads/main | 2023-04-21T03:59:42.423902 | 2021-05-06T08:48:32 | 2021-05-06T08:48:32 | 359,694,747 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 458 | r | 11.R | # 정규 표현식 (Regular Expressions)
fruits <- c("1 apple", "2 pears", "3 bananas")
str_match(fruits, '[aeiou]')
str_match_all(fruits, '[aeiou]')
str_match(fruits, '\\d') # \\d = 숫자
str_match(fruits, '[[:digit:]]') # [[:digit:]] = 숫자
str_match(fruits, '[[:punct:]]')
str_match_all(fruits, '[[:punct:]]')
gsub('[[:digit:]]',... |
a55b4a7584f558888dd8e9847899c03ef3b4ad12 | e66f3a09dfbb511911b48aaf8461af04add78c6c | /R/clase4.R | f330763d1c0ba071573ca6cc2a2362ecc0948c1b | [] | no_license | mmc00/curso_r | b831ac5d10cd1b9434a30d75e43cc93e21949cc3 | 430d02938533fed4b6fa9307db369f7735e2c72e | refs/heads/master | 2023-08-30T00:25:14.043798 | 2021-11-17T16:46:10 | 2021-11-17T16:46:10 | 290,911,356 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 1,679 | r | clase4.R | # Bases de R
library(tidyverse)
library(readxl)
library(readr)
library(vroom)
library(rgtap)
# Introduccion funciones
# paramentros
readxl::read_excel(path = "data/pib_encadenado.xlsx")
# libreria - funcion - paramentros
# funcion nativas
# R
mean(c(5,6,7))
min(c(6,6,7))
max()
sd()
colnames()
# funciones de usuari... |
90863b74b6e76e6a960a9cf945334b6d575d3be9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hit/examples/fast.anova.Rd.R | 082f5738b939090d7fcbd88529f9e9b221dbfdcd | [] | 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 | 215 | r | fast.anova.Rd.R | library(hit)
### Name: fast.anova
### Title: Fast ANOVA
### Aliases: fast.anova
### ** Examples
y <- rnorm(n = 100)
x <- matrix(data = rnorm(1000), nrow = 100)
a <- 1:10
fast.anova(x = x, y = y, assign = a)
|
fdfe2db1f86df281d88c68691080e3756f26e499 | 9d522ef194f863740f3cf3a9b7113a583f9edd6b | /transp.R | ab26f2a3fa3948c2ee592958c70a4b86894746b8 | [] | no_license | sirxqyang/three_positioning | 768a98dfc908cfa2b183ae04cac4acba4b583123 | 15ab073a632e21b0306107fc43aa306032c63ba4 | refs/heads/master | 2021-01-20T09:12:52.337646 | 2013-01-02T06:54:54 | 2013-01-02T06:54:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 610 | r | transp.R | require(graphics)
args <- commandArgs()
filename <- args[6]
Data <- read.table(filename, header=FALSE)
x <- Data[,1]
y <- Data[,2]
## will make the in pdf format
dir.create('results')
dir.create('results/translational_positioning')
#Path <- 'results/translational_positioning/'
#Name <- sub("_tss", "", filename)
#Suffi... |
4d42147e2707748a899324008252e860f2b482ca | 9a6694150b35e8746d0017f875a8c7e5cb35a273 | /genpred_library.R | 9b7840bc2a63029d1fc9ab17753956af7780440c | [] | no_license | anyelacamargo/wheatspike | 729bb758ff9534dbfd5a0f2608d201b3f2e9493c | 239c8c6c1f9401a70636a1e268e862c1230290d4 | refs/heads/master | 2020-05-21T00:23:38.070904 | 2019-05-09T15:49:13 | 2019-05-09T15:49:13 | 185,825,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,357 | r | genpred_library.R | #' Anyela Camargo
#'
#'
#'
#install.packages("qtl2", repos="http://rqtl.org/qtl2cran")
library('qtl2')
library('devtools')
library('data.table')
library('dplyr')
library('doParallel')
# Select RILS's marker profile
#' @param filename
#' @param markername
searchMarker <- function(sdat, markername){
i = matc... |
0d30f6b11461c93e2124fc7bbcb4bf132ef2cd74 | 42a009929b6b4f552d310f340eecc27bdda2ba4b | /plot4.R | 69c23f84459e2b15cad020ba2d976c224782c436 | [] | no_license | wporterjr/ExData_Plotting1 | b1fcfdca6fdda7e8e087a7664f550c301cc35f2f | d4c28cc2594afb8b1eaacf30b070bc2e326781bc | refs/heads/master | 2021-01-15T11:44:28.215455 | 2014-05-09T02:33:26 | 2014-05-09T02:33:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,900 | r | plot4.R | ## Coursera Exploratory Data Analysis Week 1 Project
## May 7, 2014
## Plot 4
setwd("~/Documents/Coursera/ExpDataAnalysis")
## Load in data frame
Df <- read.table("household_power_consumption.txt", header=TRUE, sep = ";", na.strings = "?")
## Add a formatdate column in date format
Df$formatdate <- as.Date(Df$Date, "... |
428629439f517fd607761ea98214dfa7c8f158fb | d81fcba2253dd3fdd3ce1ebfb71a48d907da8648 | /Kmeans_pam.R | 73cdb0604b1e332c1ffbb0e055f0d44a523033f9 | [] | no_license | honghh2018/R_scripts_collected | 80a11f948a8a1c5e892729890131a53b871c12db | 4fac551c407926f63ebd8ff1a25439a50578604a | refs/heads/master | 2020-03-27T04:24:00.520992 | 2019-10-07T04:21:44 | 2019-10-07T04:21:44 | 145,935,850 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,654 | r | Kmeans_pam.R | rm(list=ls())
library(RColorBrewer)
library(cluster)
library(reshape2)
library(dplyr)
library(ggplot2)
setwd('C:\\Users\\R')
### read expression data
exprSet<-read.delim('All_gene_fpkm.list',header = T,
#row.names = 1,
sep='\t',comment.ch... |
c6c85ff5316930bc014b46cd542585e8b47f5349 | d8b8e501280b3254d561fa2f6f41aeb24e041a97 | /dataInit.R | c33b9f373661f5b83d483da2b4472e59c606feff | [] | no_license | MCBrightcape/ProcessMiningPQP | db1aedc0b93c1ba831d59ce1c8f360f7288b5ece | 47a268ff1728f8b9ee558317bcc978f9108cbe9d | refs/heads/master | 2020-04-05T21:40:31.336850 | 2018-12-11T13:44:55 | 2018-12-11T13:44:55 | 157,228,757 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,345 | r | dataInit.R | #Load data from server
startLocalDatabase <-function(){
print("Loading Local Data")
data <- readr::read_csv('ExampleLog.csv',
locale = locale(date_names = 'en',
encoding = 'ISO-8859-1'))
# change timestamp to date var
data$starttimestampFor... |
db67332b637a2ccde05cb158c1d305d648fe1f5d | 15204ebc34e9977ab5a3001e1b05cc2f9b15939e | /R/conformalIte_naive.R | 641059db039e5649992faaf142c11efc2c943f1d | [
"MIT"
] | permissive | valeman/cfcausal | e1a84e121300732afdadb157ffda7234ce63b2fd | 4eca02cd509404773ddf29e5f74ef72079923bd4 | refs/heads/master | 2023-03-30T05:22:54.538463 | 2021-04-02T05:20:47 | 2021-04-02T05:20:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,936 | r | conformalIte_naive.R | ## Naive methods of Conformal inference for individual treatment effects for subjects with both
## missing potential outcome. See ?conformalIte
conformalIteNaive <- function(X, Y, T,
type, side,
quantiles,
outfun, outparams,
... |
bf2de07d7cbccb1ed6c08ff55133cd708da4f6b6 | bb099fedce1b86d0883d376e6690d6820e3fb2e0 | /cachematrix.R | 987cb423f10379e12b8918b6c9d66958787631c3 | [] | no_license | valentinaboterov/ProgrammingAssignment2 | e2db7a7d129516b0475357f844914751d0c75a4d | cbc827f6703a0e6abb26fe5afc7d0bd7d6344218 | refs/heads/master | 2022-12-02T22:50:32.263154 | 2020-08-15T21:54:12 | 2020-08-15T21:54:12 | 287,828,636 | 0 | 0 | null | 2020-08-15T21:37:57 | 2020-08-15T21:37:56 | null | ISO-8859-1 | R | false | false | 1,036 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
#Crea una matrix "especial" y guarda su inversa
makeCacheMatrix <- function(x = matrix()) {
v <- NULL
set <- function(y){ #Pone el valor de la matriz
x <<- y
v <<- NULL
}
... |
007a10e11e47d0d6a964e611338f43595f048509 | 5904e9464761f3e68a17f19c9cdda9c307389727 | /Scripts/20161005-1436-HiSSE_0.75-0.36_SimulMk_AllModels.R | b2bb549649f49ce6de08c220a687338164b5c480 | [] | no_license | austinhpatton/Hybridization_Diversification_HiSSE | 969f07c5e3182cde69dab8240fc61cc50b35701c | 38f742d60facf9c9036741bf033b0077724514c8 | refs/heads/master | 2021-01-19T11:48:53.565932 | 2017-02-17T23:45:08 | 2017-02-17T23:45:08 | 82,266,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,038 | r | 20161005-1436-HiSSE_0.75-0.36_SimulMk_AllModels.R | #!/usr/bin/env Rscript
####HiSSE - Samp Freq = 0.75_0.36####
library(hisse)
library(diversitree)
library(geiger)
library(optparse)
opts <- list(make_option('--tree'),
make_option('--states'),
make_option('--char-states'),
make_option('--output'))
args <- parse_args(OptionPars... |
29974055ca5fbf0ac6368ec337f362ef3103b6a9 | 430829d07f84835632bb87452927bf701efdec05 | /preproc-AERmon/aero_tegen/tegen_gen_from_NorESM2-MM.R | 9f69f0a679f2ef9fa9186d4a2bd39584de447e99 | [] | no_license | doblerone/CMIPtoHCLIM | 1de32871855ef9030451fec09ef3af18eb4a6cac | 880dae26dcaca912455f23d6821b9644adf887ff | refs/heads/master | 2022-07-02T10:09:25.024536 | 2022-05-30T15:20:39 | 2022-05-30T15:20:39 | 212,314,556 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,121 | r | tegen_gen_from_NorESM2-MM.R | # Available from NorESM2-MM:
# od550aer AOD from the ambient aerosols (i.e., includes aerosol water). Does not include AOD from stratospheric aerosols if these are prescribed but includes other possible background aerosol types.
# od550aerh2o atmosphere_optical_thickness_due_to_water_in_ambient_aerosol_particles
# ... |
5b6deb6e17af2200414c1c937fdbb1698e393763 | 69bc712bce655618928721a4e57e85b0500ec526 | /man/inudge.plot.qq.Rd | ac47b2047bb2eafdb56b1b6b77c45f4f350d2b3f | [] | no_license | cran/DIME | 5cea66eee25305ed777f7ff9ce364ad7b53987d8 | 4c34813ded0a2333af020e6b9784f82edc648296 | refs/heads/master | 2022-05-17T09:27:54.289423 | 2022-05-09T13:50:13 | 2022-05-09T13:50:13 | 17,678,659 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,226 | rd | inudge.plot.qq.Rd | \name{inudge.plot.qq}
\alias{inudge.plot.qq}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
QQ-plot of GNG model vs. observed data
}
\description{
Produces a QQ-plot for visual inspection of quality of fit with regards to
the uniform Gaussian (iNUDGE) mixture model estimated using the funct... |
1cdad5260192faf5658095526bbb2598a146a6d2 | 441dff109559e3cbd93438ad36454eeb6190bd15 | /R/custom_fields.R | dcf0d86609aef9c4efc8039e2e3b5d9802ba7986 | [
"MIT"
] | permissive | aamangold/wriker | b9adb8facece6e1b3941fd670f4897aa708ce5c1 | 8a64611861c72098b2a4f26cd5ac58c3765b4fd9 | refs/heads/master | 2020-04-22T22:44:43.503729 | 2019-06-07T18:33:33 | 2019-06-07T18:33:33 | 170,718,909 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,139 | r | custom_fields.R | #' @title Wrike Custom Field Use by Folder
#'
#' @description This function pulls a list of your task ids within a folder that have a specified custom field filled out OR that have the specified value.
#' @param folder_id Wrike folder id. Use \code{\link{wrike_folders}} function to determine if needed.
#' @param custom... |
afada822ae60f555aa19a88fb72a2c3e179df930 | 9b704ad104d5f78c90d596ca58f1623fcebeeb97 | /Code/IC.R | 5b81607057e7fe22930c7c6018c3e3c7e4f4a4d9 | [] | no_license | EffetsCumulatifsNavigation/Methode | 32d55cc59cc1ea360e3906c1c01e4576304d3aa8 | c7099f4cd0c279570b0f03f7a7a1d23c3676086e | refs/heads/master | 2022-11-06T23:53:57.741930 | 2020-07-07T12:05:36 | 2020-07-07T12:05:36 | 256,743,491 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,192 | r | IC.R | # source('./Code/IC.R')
library(raster)
library(graphicsutils)
random <- function(cont = TRUE) {
m <- secr::make.mask(nx = 100, ny = 100, spacing = 20)
h <- secr::randomHabitat(m, p = 0.5, A = 0.3)
r <- secr::raster(h)
if (cont) {
r <- r * rnorm(length(r), 1, .2)
r <- r / maxValue(r)
return(r)
}... |
254aabcff40e71321eaa2190b992bfc8ee43935d | 5ca02e7bf31c24d040f4a74f0d832893f952de70 | /man/lm2v.Rd | 234932d003e0e9b7f463101a1603827b770f3af9 | [] | no_license | cran/str2str | 76fdf31fa0c442fa05820525dd9ea3f525a02232 | c83ba67337ffc63aff404f8a920dd336992c31f9 | refs/heads/master | 2023-07-27T10:30:59.582506 | 2021-09-05T03:30:02 | 2021-09-05T03:30:02 | 335,617,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,552 | rd | lm2v.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/str2str_functions.R
\name{lm2v}
\alias{lm2v}
\title{List of Matrices to (Atomic) Vector}
\usage{
lm2v(
lm,
along = 2,
use.listnames = TRUE,
use.dimnames = TRUE,
sep = "_",
check = TRUE
)
}
\arguments{
\item{lm}{list of matrices. T... |
d4620b712f9f41403d208646226ce56ffb7ba06c | 98be7e01a090acde3d7bc9493b692cb76578f0c6 | /Create 1930 Address.R | 2fe221fc9df18ef65cbfc7967f78f3a087aea9e1 | [] | no_license | mattdemography/S4-Code | 912ecb9960eef0ce288d43df99922a81beb19d9b | 569fd7ac875bb2026fdba96571ec9e8e3792e552 | refs/heads/master | 2021-09-12T14:39:58.834372 | 2018-04-17T17:30:54 | 2018-04-17T17:30:54 | 104,392,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 724 | r | Create 1930 Address.R | library(Hmisc)
library(DataCombine)
library(readstata13)
library(foreign)
library(car)
library(plyr)
library(seg)
library(spdep)
library(reshape)
library(reshape2)
library(rJava)
library(xlsx)
library(maptools)
library(rgdal)
library(haven)
sa<-read.csv("Z:/Projects/1940Census/Block Creation/San Antoni... |
0be66c70e5b4fbedb3e736efa7b49c09b22dff9a | 4eb66a194563cb6a6c9147f4de120e5cb13611be | /R/summary_ICABinCont.R | c8c516b5aa8d8155fe4a2579f404632db7fcad83 | [] | no_license | cran/Surrogate | 8971061189573d24cb402e553f99b24fb7ba8834 | 463b16b365810c637073a7b6e9f3948913007354 | refs/heads/master | 2023-07-13T20:56:33.106817 | 2023-06-22T05:20:02 | 2023-06-22T05:20:02 | 17,919,925 | 1 | 1 | null | 2023-08-22T08:14:40 | 2014-03-19T20:50:31 | R | UTF-8 | R | false | false | 1,084 | r | summary_ICABinCont.R | summary.ICA.BinCont <- function(object, ..., Object){
options(digits = 4)
if (missing(Object)){Object <- object}
Object$R2_H <- na.exclude(Object$R2_H)
mode <- function(data) {
x <- data
z <- density(x)
mode_val <- z$x[which.max(z$y)]
fit <- list(mode_val= mode_val)
}
cat("\nFun... |
dd970f0808fb763573387c16a595e5c0ece24908 | ec0b68cec1561ae345f70e5a9ad5cf3257169b90 | /R programming/day06/r2.R | 8b23abcedfcbeaff8e1d7099368d54dbc2d24c75 | [] | no_license | baeksangwoo/Connected_Project | 1c60769493b59312259869979fd2f319a9be5b33 | 50baf113e604b63c2acff96ddf46c91574f2ae5d | refs/heads/master | 2020-03-07T09:05:32.680596 | 2018-06-11T08:43:34 | 2018-06-11T08:43:34 | 127,380,826 | 0 | 0 | null | 2018-03-30T07:39:39 | 2018-03-30T04:18:32 | Java | UTF-8 | R | false | false | 2,152 | r | r2.R | class(welfare$income)
##[1] "numeric"
summary(welfare$income)
qplot(welfare$income)
#평균 급여 그래프
qplot(welfare$income)+xlim(0,1000)
#월급의 값이 0이거나 9999는 결측치로 판단하여 제거함
summary(welfare$income)ifelse(welfare$income %in% C(0,9999),NA,welfare$income)
table(is.na(welfare$income))
sex_income<- welfare %>% filter(!is.na(in... |
000dce47db0adc8aaa0b1b2a75f30d085df7b1dd | 3463b423f7b67bc8308e97bdd38288906a3190bc | /man/export.summary.mlms.Rd | 6c7ab225c0c0188b53519437f43c97973024f8f7 | [
"MIT"
] | permissive | zhuchcn/mlms | 7ad4e42fb3402da51c5461fa073874d3adb246ef | 01a54764bca02da7a1d6d71ea2698c93bc7cf05c | refs/heads/master | 2020-11-25T03:35:42.609813 | 2019-12-17T19:23:37 | 2019-12-17T19:23:37 | 228,483,521 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 610 | rd | export.summary.mlms.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlms.R
\name{export.summary.mlms}
\alias{export.summary.mlms}
\title{export summary mlms to excel}
\usage{
\method{export}{summary.mlms}(x, file)
}
\arguments{
\item{x}{summary.mlms returned by \code{\link{summary.mlms}}}
\item{file}{charact... |
71cd5ad509000e4ca443f90c1ab60b743fc7908b | d51558632f781f7e9726f2ae13f8c6a2f26ebf92 | /man/svdJacobi.Rd | 385a41ade4ca564e86446e9146bdf031caad80eb | [
"MIT"
] | permissive | isglobal-brge/svdParallel | 6368183e88886d1dc57d0af392d5a4b7727f965d | 402b01d6e1560ab2ff1934b2d27c65f1f02330e1 | refs/heads/master | 2020-04-24T02:10:16.869316 | 2019-06-25T10:55:22 | 2019-06-25T10:55:22 | 171,627,134 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 671 | rd | svdJacobi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/svdJacobi.R
\name{svdJacobi}
\alias{svdJacobi}
\title{SVD using Jacobi algorithm}
\usage{
svdJacobi(x, tol = .Machine$double.eps)
}
\arguments{
\item{x}{a real nxp matrix}
\item{tol}{a small positive error tolerance. Default is machine toler... |
e0c244a2727d41b01b7b0123a246bb587dbff745 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sdcTable/examples/setInfo.Rd.R | c340dd3f81e47132c04e1c14f50837574b9b53b1 | [] | 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,078 | r | setInfo.Rd.R | library(sdcTable)
### Name: setInfo
### Title: set information of 'sdcProblem-class'- or
### 'problemInstance-class' objects
### Aliases: setInfo
### ** Examples
# load primary suppressed data (created in the example of \code{primarySuppression})
sp <- searchpaths()
fn <- paste(sp[grep("sdcTable", sp)], "/data/pr... |
dc4a7a36cebab9ecb9e702b4bee8f1e9b645838b | 1ac2a49a60a821bd2efa4534b48041b9a279ccbe | /529121685.r | de90af07dc2e6071814f9d8684d4127de96d9977 | [] | no_license | erex/MT4113-2016-asmt1-old | 301ba43d616d529469cdfee16130234174b99827 | 42ceed426fb9980b53d01b724e8855df785ebcb4 | refs/heads/master | 2020-05-23T08:11:20.797156 | 2016-09-27T09:38:38 | 2016-09-27T09:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,413 | r | 529121685.r | #I confirm that the attached is my own work, except where clearly indicated in the text
#This function my.rnorm will take into account Marsaglia and Bray algorithm
# Input:
# n - number of values to return
# mean - specified mean of the normal distribution, 0 by default
# sd - standard deviation, 1 by default
... |
b1de5cde650a929367f7f0f7bf2ed061554e03cb | 826cc17cd51ccbceeb0b33ee23cab81ccee3932f | /tests/testthat/test-plot_original_vs_reconstructed.R | 7336ae5c89ac34621b36dd913ddd867a875b806e | [
"MIT"
] | permissive | UMCUGenetics/MutationalPatterns | 9b9d38a7ab69d7e29d8900f11fa9fb7ef328cfb9 | ca9caf0d0ba3cd1e13cb909009dc5b3b27b84631 | refs/heads/master | 2023-04-14T23:28:50.852559 | 2022-11-22T11:37:17 | 2022-11-22T11:37:17 | 53,409,261 | 86 | 37 | MIT | 2022-11-22T11:37:18 | 2016-03-08T12:10:11 | R | UTF-8 | R | false | false | 994 | r | test-plot_original_vs_reconstructed.R | context("test-plot_original_vs_reconstructed")
# Load mutation matrix
mut_mat <- readRDS(system.file("states/mut_mat_data.rds",
package = "MutationalPatterns"
))
# Load the nmf res
nmf_res <- readRDS(system.file("states/nmf_res_data.rds",
package = "MutationalPatterns"
))
# Load signature refit.
fit_res <- read... |
e1a65a4b0c5b0c171146667ccada3af53d464073 | 5e63182ee47f35527bcfd28b9e53a280e1f245e8 | /Predictions.r | 9b5371dd7aaa726eef945e24ebb341a4745e4d79 | [] | no_license | MrNaz1/Midterm | 079300a70e793064b106cba770ec8110d68671cf | e9a7c787428fa35a014bb22e8f215cf10a042c4c | refs/heads/main | 2023-08-21T16:24:49.520947 | 2021-10-14T06:59:04 | 2021-10-14T06:59:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,045 | r | Predictions.r | library(tidyverse)
library(tidycensus)
library(sf)
library(kableExtra)
library(dplyr)
library(ggcorrplot)
library(caret)
#######################################################
# Getting data from the ACS tracts
#######################################################
varlist_2019 <- load_variables(2019, "acs5", cache... |
bffaba018855c24b77ec3f9aa848d5dd859a1e3c | 9c56533a13bb27b74697c105d5ac79a534d0dca6 | /Real_data/Import_code/Handler.R | 9d30e64b3911375641bb296e459053da0aeb0f24 | [] | no_license | EricaZ/FACD-model | e6bc7f210a176f7aa2c193cfbaa617574ca8ff17 | 2a2536bff2ffaab3be7f441383346df73e0f3d8a | refs/heads/master | 2016-09-06T13:49:41.138266 | 2014-03-21T07:27:14 | 2014-03-21T07:27:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,941 | r | Handler.R | Handler <- function(a) {
library(lubridate)
threshold <- 500000
amount <- a$V2 * a$V3
a1 <- a[which(amount > threshold),]
a1$V1 <- mdy_hms(a1$V1)
a2 <- a1[order(a1$V1),]
# compute time of the day (in seconds)
TofD <- as.numeric(difftime(a2$V1, floor_date(a2$V1, "day"), unit="secs"))
# R... |
a7e841dccd4b86c8ce09ad6fbc2640b605d75bb6 | 3fe1517654896fb0e0e821380c907660195b2e0f | /man/calcMetrics.Rd | 8959316a862013924269f07b8cee892d5e531c22 | [] | no_license | eliotmiller/metricTester | 9462035d8342e49d766ec37463cd27c2090c85c1 | 976d9b43773f1a06bc0254d3f355d2ee9f4be659 | refs/heads/master | 2020-04-06T06:30:42.528226 | 2019-12-12T20:38:53 | 2019-12-12T20:38:53 | 11,936,920 | 8 | 5 | null | 2017-03-21T15:00:28 | 2013-08-06T23:25:26 | R | UTF-8 | R | false | true | 2,837 | rd | calcMetrics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcMetrics.R
\name{calcMetrics}
\alias{calcMetrics}
\title{Calculate phylogenetic community structure metrics}
\usage{
calcMetrics(metrics.input, metrics, new_ = FALSE)
}
\arguments{
\item{metrics.input}{Prepped metrics.input object}
\item{... |
5912246cd77aeace10597c3b4b8e736d041b97e1 | 9f4f31183546e098a869b44a58b78bfaff7059b4 | /campbell_file_process.r | 9017ff45c991978a543ecf521b63705474d7d37d | [] | no_license | kroppheather/VIPER_sensor_data | 5f53028db7c099476134cc83ee8c716ea3b6ad09 | 081957f3d687d4cf582abb0ea846a4d6ae478b96 | refs/heads/master | 2021-01-19T19:40:52.158093 | 2018-08-16T15:26:58 | 2018-08-16T15:26:58 | 101,202,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,853 | r | campbell_file_process.r | #######################################################################################
#######################################################################################
########### Script started in October 2017 by Heather Kropp ###########
########### Script for processing data files from Campbe... |
2c859e71b828246db675d3eb555342299aab2a85 | 4344aa4529953e5261e834af33fdf17d229cc844 | /input/gcamdata/R/zaglu_L120.LC_GIS_R_LTgis_Yh_GLU.R | 0c380080d3b906d513b0d47e6592ceb803c8b83e | [
"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 | false | 24,790 | r | zaglu_L120.LC_GIS_R_LTgis_Yh_GLU.R | # Copyright 2019 Battelle Memorial Institute; see the LICENSE file.
#' module_aglu_L120.LC_GIS_R_LTgis_Yh_GLU
#'
#' Land cover by GCAM region / aggregate land type / historical year / GLU.
#'
#' @param command API command to execute
#' @param ... other optional parameters, depending on command
#' @return Depends on \c... |
ffef987afd48fa08f759302967ae78258827e76c | 8a2ef8564dac1551f9a389c3cc04837453c933d6 | /17_FactoresTranscripcion/4_EncontrarFactoresTranscripcion_BaseDeDatos.R | 0f3b726a5ad643979f1f4097f423ebd6be2ce85f | [] | no_license | anemartinezlarrinaga2898/TFM_ANE_MARTINEZ | 0a311e96ccad34f331d798b1f3c459539614e1c7 | 8e41157613fff0cfa4f5eb27e6984d02d000b9ef | refs/heads/main | 2023-07-27T21:41:44.218050 | 2021-08-27T10:15:35 | 2021-08-27T10:15:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,142 | r | 4_EncontrarFactoresTranscripcion_BaseDeDatos.R | # TFM, Master en Metodos Computacionales UNAV
#Autor: Ane Martinez Larrinaga
#Tutores: Silvestre Vicent Cambra y Mikel Hernaez
#Fecha: 07-07-2021
#OBJETIVO: Generar los data.frames del analisis DESEQ y luego comprobar que factores de transcripcion tenemos.
############################################################... |
ef8cfd01f0bc22b1b542d4e97ae9158e5b1fc33c | 47b7376893f2ee4cdd29ef36b07d4a44ca4e2071 | /man/to_gadget_formula.Rd | e93d663b49d6df70eddaf8a72ad117ffc2a21177 | [] | no_license | inspktrgadget/gadgetSim | 24eb767afc04376656b3827df762ac1bc054f17f | 1a29daa89e6a171176dd73b2d8763927751f7978 | refs/heads/master | 2020-03-16T02:25:37.840117 | 2019-05-02T14:23:35 | 2019-05-02T14:23:35 | 132,464,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,075 | rd | to_gadget_formula.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert_formulas.R
\name{to_gadget_formula}
\alias{to_gadget_formula}
\title{Turn R expression into Gadget formula string}
\usage{
to_gadget_formula(ex, stocknames = NULL)
}
\arguments{
\item{ex}{An unevaluated R expression (i.e. enclosed in ... |
8d010cf7ceddeb847906775c41a01c7c1d073bf5 | 4548bcd0862edd7b1997402206a24ff71f190d37 | /R/create.pgrid.R | 981f7dd33d3a390c751be8f96d0af60eaf9ca350 | [] | no_license | jfrench/ExceedanceTools | d7d533d4ad5b95a26b1f11b2ea697e2a133a57dd | 186cd08cb15a77e626bcc45d31d6818872da0354 | refs/heads/master | 2023-09-01T11:12:18.594832 | 2023-08-21T16:16:39 | 2023-08-21T16:16:39 | 3,113,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,468 | r | create.pgrid.R | #' Create grid of locations.
#'
#' \code{create.pgrid} creates a grid of locations from the boundaries of domain and other information.
#'
#' The key argument in the function midpoints. If this is \code{TRUE}, it is assumed that the boundaries of the spatial domain correspond to the midpoints of the cell/pixel in the... |
8e3e88bc652be801f311eebd1a0dfcc9778a4e50 | 8faa81854ac570de08164584910d757fd5cb5360 | /r-for-data-science-lessons/chapter-15-16-17.R | 8137e3f74003da37a1e4089e5987dce985054e44 | [] | no_license | shardsofblue/tutorials-and-study | a0e39f7bdad7032ff965f488eeccd0d29731fe56 | 3247ee9eb89859925c0f2fd9a9cc9e4caf66dc58 | refs/heads/master | 2020-09-09T16:29:02.065533 | 2019-11-22T18:16:42 | 2019-11-22T18:16:42 | 221,496,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,993 | r | chapter-15-16-17.R | # Chapters 15 (Functions), 16 (Vectors), 17 (Itteration with purr)
# Started Jan. 8, 2019
# By Roxanne Ready
# Load packages
#install.packages(c("magrittr"))
#library(magrittr)
library(tidyverse)
# SHORTCUTS
# cmd-shft-m: %>%
# cmd-shft-c: comment line/block
# cmd-opt-up/dn: duplicate line
# cmd-rtrn: ... |
98649322f2e35536927c7f02510c0157e57c454d | ceb72ba7636eecc95d99f479be3b8f2cc9381af5 | /R/scribe_images.R | acabe10e9b12dab0c1cdc0377674f331390e3bf4 | [] | no_license | wipo-analytics/manual | 645f71d87219ea736537c43ec4b638ca101efb08 | 5ba9724c9f137c2022bca0d02bd353a304689764 | refs/heads/main | 2022-10-12T17:14:25.801869 | 2022-09-29T17:52:46 | 2022-09-29T17:52:46 | 356,185,658 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,206 | r | scribe_images.R | library(tidyverse)
library(glue)
library(usethis)
# used to download Scribe files (as Markdown) save as text files. import as text fiule
# extract the URLS, download the images and change the numbering.
scribe <- read_lines("scribe/scribe.txt")
# extract the URLS
# https://github.com/mvkorpel/pickURL
source("~/Docu... |
e1aa7fda4dad13fd3e2a343b12d8bbff35198be1 | b5a3a327434768a0433a40602e07e2362de54e9b | /plot2.R | 8b278795cefc4228a0ee1fc4d9ab8906f3a3ce15 | [] | no_license | hrafnkelle/ExData_Plotting1 | 51500da6bd8cf0dd555f2d5a0f89b4e0795a7e5d | ecee83d5bf7d60f034cdfab648e913890a5395b6 | refs/heads/master | 2021-01-16T20:49:42.294853 | 2015-02-03T18:18:00 | 2015-02-03T18:18:00 | 30,209,216 | 0 | 0 | null | 2015-02-02T21:19:09 | 2015-02-02T21:19:09 | null | UTF-8 | R | false | false | 973 | r | plot2.R | library(lubridate)
library(dplyr)
# set the locale for time to english so we can get x axis day names in english
Sys.setlocale("LC_TIME", 'English')
if(!file.exists("household_power_consumption.txt"))
{
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",dest="househ... |
aae21ee4619692902b7c99d99525ea9dbe5c0714 | 0d01742ed9712dfaee387edefbd494946a38192b | /Figure2A-E-TMB-Downsampling.R | ecc348d874435c3eb1c7c6e99182f8868fb04b2e | [] | no_license | ShwetaCh/wes-recaptures | 09c6d4d6d5b0a5c3356ea48726f6b71cf535a805 | f7d910875796b75cb23d6abe213afe09c6c892fc | refs/heads/master | 2022-12-14T02:09:08.010877 | 2020-08-25T02:11:22 | 2020-08-25T02:11:22 | 267,383,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,405 | r | Figure2A-E-TMB-Downsampling.R | library(RColorBrewer)
library(Rmisc)
library(purrr)
library(grid)
library(gridExtra)
library(gsheet)
library(ggpubr)
library(cowplot)
library(gridExtra)
source('/ifs/res/taylorlab/chavans/scripts-orphan/multiplot.R')
specify_decimal = function(x, k) format(round(x, k), nsmall=k)
"%ni%" = Negate("%in%")
curr_date = for... |
cef8c61c1cb49564d4277c9daa4aed73f20fd04f | 0311b82d031ad3d1584be27c1ebe0a9bf2e5c136 | /tests/testthat/mod/s3_b.r | 5038d68fc8da1f43054ccffc015b9f02eea2cbbb | [
"MIT"
] | permissive | klmr/box | 239618ad913f2793f344236db24b56ed462037b9 | 2cef22e63abeedefa82e45b12f3f584301988733 | refs/heads/main | 2023-08-31T17:42:41.355022 | 2023-08-27T14:00:28 | 2023-08-27T14:00:28 | 10,223,958 | 508 | 24 | MIT | 2023-08-07T14:36:22 | 2013-05-22T16:03:42 | R | UTF-8 | R | false | false | 42 | r | s3_b.r | box::use(./s3)
#' @export
test = s3$test
|
2e8054fd0b4860ff3a6834b84c6bfbdc2afac20c | 80c9ba35106e5314544610f42cbb54a26d0289b0 | /warton method for koala_final.R | 806206b84dde0e612ce3fef7ebc525538abb54b6 | [] | no_license | bandara10/research | 91c5d176d3aee771f61801d8ef14dcc735c16fac | e5589c6a2a78a0f6b9135e2bc15aba706f15f1c4 | refs/heads/master | 2021-01-22T18:43:47.087735 | 2021-01-16T14:58:34 | 2021-01-16T14:58:34 | 102,412,442 | 0 | 0 | null | 2017-10-31T01:06:02 | 2017-09-04T23:55:48 | R | UTF-8 | R | false | false | 2,300 | r | warton method for koala_final.R | library(ppmlasso)
library(raster)
library(sp)
library(rgdal)
library(spatial.tools)
# Pre-standardise observer bias variables
setwd("C:\\Users\\uqrdissa\\ownCloud\\Covariates_analysis\\Mark_S\\raster_stack")
myenv <- list.files( path="wartondata", pattern="\\.tif$", full.names = TRUE)
myenv.stack <- stack(myenv)
names... |
c61e02356917522b75f78b92ec9f5f399cdbd112 | d2eed7b611e7884ce9b002d42b3f8733c395366a | /man/ggqrcode.Rd | b19576a05c6ba209731fca750c2c179ee437760b | [] | no_license | GuangchuangYu/yyplot | 0660860aa9681d10dd240947c317e4c8efd1e4a0 | 99ae1de3d710bf622b955623645fa06b160340d8 | refs/heads/master | 2022-06-10T13:35:36.322705 | 2022-06-08T09:12:32 | 2022-06-08T09:12:32 | 94,998,109 | 46 | 16 | null | null | null | null | UTF-8 | R | false | true | 383 | rd | ggqrcode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggqrcode.R
\name{ggqrcode}
\alias{ggqrcode}
\title{ggqrcode}
\usage{
ggqrcode(text, color = "black", alpha = 1)
}
\arguments{
\item{text}{text string}
\item{color}{color}
\item{alpha}{[0, 1] for transparency}
}
\value{
ggplot object
}
\desc... |
0c81fcaacea26c77917944e67da4facf5889311c | 8909b40cd679e02e992ac761e0bf14227dcad1ad | /Script/wine.R | 2e53bc0c8f8894bba2d77b09d179f5a5926d9aa2 | [
"Apache-2.0"
] | permissive | stkrtka4/test2 | cc28b2dbf7a129a0d960a35c2db1a22a1dc550e0 | 31ba5ebce59b0b853c4b76a95058610f189fc5ef | refs/heads/main | 2023-06-17T15:04:42.566984 | 2021-07-06T17:14:57 | 2021-07-06T17:14:57 | 382,076,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,342 | r | wine.R | #-----------------------------------------------------------------------------
## LOANDING PACKAGES
library("tidyverse")
library("skimr")
library("lubridate")
library("rpart")
library("recipes")
library("caret")
#-----------------------------------------------------------------------------
## LOANDING FI... |
de10fb4bf0d7030ca6b26fd22202c589d855a765 | a0293ea53719298dc161789f086af870779758b1 | /R/parsnip-exp_smoothing_reg.R | cd71578acd645fcd036614102f8c5db26b9dfbe7 | [
"MIT"
] | permissive | wildbs/bayesmodels | 2e5ab1530e52eaff8034f45fb140c3fc9eb84a05 | 86575c2f516e3ab6ee349ba45db41765c50760e6 | refs/heads/master | 2023-06-03T23:54:13.754970 | 2021-06-28T21:01:50 | 2021-06-28T21:01:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,999 | r | parsnip-exp_smoothing_reg.R | #' General Interface for Exponential Smoothing Models
#'
#' `exponential_smoothing()` is a way to generate a _specification_ of an ETS model
#' before fitting and allows the model to be created using
#' different packages. Currently the only package is `Rlgt`.
#'
#' @param mode A single character string for the type ... |
6858475e271e7fba7024942ead081e7856df36e5 | f1730e6b345331034fecb94eac65d95089bc19c2 | /RNA-Seq-UnequalLib.R | db5dea59acbed9aeca4a384e96f8cf52bc30bf72 | [] | no_license | cindymzhou/SCI-DEGs-analysis | 9c82fa535a6d82348ec290ec8e34b365ec68b244 | bcfe3348868ff6456744e3eea0ffe0050ba48399 | refs/heads/master | 2022-09-08T08:21:58.578309 | 2020-05-23T17:48:16 | 2020-05-23T17:48:16 | 265,879,726 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,279 | r | RNA-Seq-UnequalLib.R | ###Load in libraries:
library(edgeR)
library(limma)
library(biomaRt)
library(tidyverse)
#First, import the count file, and make sure to create clear row and column names
counts <- read.csv("GSE93249_raw_counts.csv")
#with working directory set as "Documents"
##To isolate the coding RNA samples:
counts <- counts[,-(2... |
ccc681f23d9c51c7dd996372e321a298ba0be890 | da3e71e423bdff81f4cb1b6862f2a3da1676bc85 | /housePriceAllInOne.R | 3496f39a369b569f7ac0d609c00a5aa19f5423a5 | [] | no_license | bikashg3/LearningR | 30a3d0f623b3296adef1bc9eb55f72b435d39d59 | a379924a7a135997c74b3ec02f59642d7bdff45a | refs/heads/master | 2020-12-24T08:08:56.276552 | 2016-05-16T20:07:16 | 2016-05-16T20:07:16 | 65,093,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,660 | r | housePriceAllInOne.R | #### Step 00 - Install Required Packages
# setwd( "C:/Users/jdlecy/Documents/GitHub/hedonic-prices" )
# https://docs.google.com/forms/d/13RWJ9LR3mFbQBNsX9bnLt5XRotfmZKxkwetYzh-h-oA/viewform
setwd("E:/R Training/hedonic-prices-master/hedonic-prices-master")
install.packages( "RCurl" )
install.packages( "ggmap... |
cff5bff78d687f1c7ef30eafff79c2efd01f9ff8 | 5f34476226443ef5cb5ca66db037d1fd47c41832 | /man/simCox.Rd | 5f48bc4ca905cbf30410174f7bde75b803ba698b | [] | no_license | cran/icmm | 172e4ce4079777c3b028fe084355823fa8e0c7ba | f9f25daed5d0ce12ff343dce7920e6a86bb317e5 | refs/heads/master | 2021-07-07T11:53:43.306143 | 2021-05-26T04:20:02 | 2021-05-26T04:20:02 | 98,514,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 738 | rd | simCox.Rd | \name{simCox}
\alias{simCox}
\docType{data}
\title{Simulated data from Cox's regression model}
\description{Simulated data from Cox's regression model. A data frame with 100 observations and 402 variables. The included variables are \cr
\code{V1} A numeric vector of responses for right censored data. \cr
\code{V2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.