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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70b7175d031b8a6fbd57fb8434b0ad5002c75a48 | d380feade427b7b16b0d4e6b5d953c858e0d2c4c | /R/tiers.r | 2e8c9b90c1ff9a69dba1e984f20a8f9d5dc6b9c3 | [] | no_license | amcox/star | 3d5588ec7170cf690cba2c2e44bf632fc0ddcf5e | f1eaf596f4175924829cd16bad6eed3502a6ca1c | refs/heads/master | 2020-06-04T07:37:33.777105 | 2015-06-28T16:36:17 | 2015-06-28T16:36:17 | 24,352,111 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 982 | r | tiers.r | library(dplyr)
library(tidyr)
library(stringr)
library(lubridate)
update_functions <- function() {
old.wd <- getwd()
setwd("functions")
sapply(list.files(), source)
setwd(old.wd)
}
update_functions()
db <- students_with_tiers()
# Find the number of students at each tier for each small school
dc <- db %>% group_b... |
56ad2872511e680f892efb8f4301b4005cbc2aee | fd63587c1cf67cce9bd2aef18508fa368dd9aa5a | /step1_getDEG.R | 49daf3d2f85453cd03ac2d3ff76997539c631172 | [] | no_license | uui23/RNAseq-note | 54a64e3f608e43e0c7d55725f622f99e143b459c | f929d0a2fca39c05aa326e806abddc139833e8fc | refs/heads/master | 2020-09-29T09:38:50.040562 | 2020-03-27T05:07:37 | 2020-03-27T05:07:37 | 227,011,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,234 | r | step1_getDEG.R | # step1 getDEG
# input expSet
# output deseq2/edger (data.frame)
# rpkm>1 expSet
# means_expSet
# step1
rm(list = ls())
options(stringsAsFactors = F)
genelength <- read.table("./src/mm10.length", stringsAsFactors = F)
exprSet <- read.delim("./src/expSet_htSeq.txt", row.names=1, stringsAsFactors = F)
#... |
5efa0b62598ff896a1a17329be0601cb99ab0471 | 6008969de07750cd1aac39df809a4d802071d3a4 | /man/WGCNA_dissTOM.Rd | 0173dbe2582d77f628cc614baa417780ef0f0d43 | [] | no_license | Heng19/OmicPath | 3d3d07f8e0e6debcf7399b2dfd0f75abf224e3f5 | 851c0b6cc3eaff972e26165947c00fd7efcd0cb2 | refs/heads/master | 2023-02-02T21:28:46.961459 | 2020-12-19T17:37:18 | 2020-12-19T17:37:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 455 | rd | WGCNA_dissTOM.Rd | \name{WGCNA_dissTOM}
\alias{WGCNA_dissTOM}
\title{
get dissTOM matrix
}
\description{
get dissTOM matrix
}
\usage{
WGCNA_dissTOM(tom=tom, modules=modules, indir=indir, outdir=outdir);
}
\arguments{
\item{tom}{dissTOM matrix}
\item{modules}{module file vector}
\item{indir}{input directory}
\item{outd... |
f5a2d3c6083616de1d7f120386e2fa58fdf813ac | 55315799e4b5bcb382167eb4d31d8bd4ad0690fc | /trend_resistance.R | 706cdd80331d38894845be18439959b7a0f0810a | [] | no_license | julianflowers/fes2014 | 218d034cd11d666bdc2f3d82089073b80f505d47 | 4bc7c117a4f3fbee1fa3a995b88ef1c3f202c00f | refs/heads/master | 2021-01-18T10:57:27.193399 | 2014-02-28T17:28:58 | 2014-02-28T17:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,209 | r | trend_resistance.R | # Figure 2: trend in resistances by organism
yr.trend <- ddply(df, .(year, organism.name), summarise,
ampamox.tested = sum(ampamox.tested, na.rm = TRUE),
ampamox.resistant = sum(ampamox.resistant, na.rm = TRUE),
cla.tested = sum(cla.tested, na.rm = TRUE), cla.re... |
6676e4a6d42f6ad65eaa4d0b51a7c7287b288f50 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/plsRglm/examples/confints.bootpls.Rd.R | d97ee22732f882a1c6a8aa6487bf4ba75e32cf26 | [] | 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 | 429 | r | confints.bootpls.Rd.R | library(plsRglm)
### Name: confints.bootpls
### Title: Bootstrap confidence intervals
### Aliases: confints.bootpls
### Keywords: regression models
### ** Examples
## No test:
data(Cornell)
#Lazraq-Cleroux PLS (Y,X) bootstrap
set.seed(250)
modpls <- plsR(Y~.,data=Cornell,3)
Cornell.bootYX <- bootpls(modpls, R=250... |
3396a9dfd5c6523bf80252e23ef45dfa68c172fb | b89af8da51f82685f908354211e17308ba77695c | /man/plotTraceback.Rd | b786bf139d8802a26aa606f680219f8a3256b2e1 | [] | no_license | walter-ca/Scale4C | 3ab8706c587e0f92ab5abdc49e035fab0c50cbfe | 380401c92715ae1bc3a6510094c346d0be287c4e | refs/heads/master | 2021-01-23T00:48:47.575850 | 2017-06-06T17:04:22 | 2017-06-06T17:04:22 | 92,850,120 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,723 | rd | plotTraceback.Rd | \name{plotTraceback}
\alias{plotTraceback}
\alias{plotTraceback,Scale4C-method}
\title{Draw the traceback results for a list of singular points on a fingerprint
map}
\description{
This method plots the traceback results together with fingerprint data, allowing
to check for possible errors during tracking. ... |
1095cd4ee3d74a6ba1d0703ade7ce3b9c736dd9f | f06e2420351b99cbd18cbbc0d07a7ab1114415c3 | /SimpleInterestRate.R | 032629fa0158e3f60befb9757cf803058825f7cf | [
"MIT"
] | permissive | ChrisJones687/StockAnalysis | 1e1ea50b0c4a00a136899900e9fa2406dfe7bd0c | d2ed323da798428c81428a50cd6834329aac525c | refs/heads/master | 2020-03-23T00:03:47.741898 | 2018-07-23T18:33:13 | 2018-07-23T18:33:13 | 140,841,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | SimpleInterestRate.R | rate <- c(.03,0.03,0.027,0.0255,0.031,0.035, 0.033,0.019)
amount <- c(3000,5000,5000,5000,2000,5000,1000,21000)
yearly_return = rate*amount
monthly_return = yearly_return/12
sum(yearly_return)
sum(monthly_return)
|
8e734caa0b7535577bbcf95f74257a731e7cf891 | 66279694b5b098eb05bbf369056389634110f411 | /plot1.R | e14bba60ea1582bfd4eaaa77b351ebe11e56260a | [] | no_license | kriskrauss/ExData_Plotting1 | 6b960d55d80518d951cb8bbdb4fd392b07a153a1 | badaf04d2ff9993a23e48f496c6d0f725bb96cb9 | refs/heads/master | 2020-12-30T19:11:20.569320 | 2014-07-14T01:09:05 | 2014-07-14T01:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 739 | r | plot1.R | library(data.table)
## Read data using data.table; much faster
DT<-fread('household_power_consumption.txt',header=TRUE,sep=";",na.strings="?")
## subset to only what we want
DT2<-data.table(DT[(DT$Date=="1/2/2007" | DT$Date=="2/2/2007")])
## Create a datetime column combining date and time
DT2[,DateTime:=as.POSIXct(... |
cfb566baedd528e4209a7572dfab161d968a5f18 | 560fc7acf20ba46c777357fda77a0785bac13f4f | /RPEXE Version 2.0_yz/R version/pava_dfr.R | e2eb1d0ba95b15a1ca9ca49c0a01d5b370208ad6 | [] | no_license | zhangyuwinnie/SurvivalAnalysis_Matlab2R | a83dcafd5d9bb2370b92c0c71790b8a3f6c37c1f | e06eac7b601af0ad6565373b44d8ec4bb087bd6a | refs/heads/master | 2021-01-12T09:13:07.245783 | 2016-12-18T19:41:21 | 2016-12-18T19:41:21 | 76,799,674 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,346 | r | pava_dfr.R | #merge certain entries to make the sequence of ttot to be non decreasing
#Input:
# time_die == a sequence of times where deaths happened.
# ttot == the total time on test at each time point.
# deaths == the number of deaths at each time point.
#Output:
# time2 == the merged time_die
# ... |
20ba0e147c210fd7d7af5f702d9b865c804b812a | 072abdc10047d070030f0892815196d28e300b6a | /Scripts/GeneEnrichment.R | ebb459600ad68afc7571f61b785f757d32527e97 | [] | no_license | elswob/rna-seq-pipe | 1cdadab2c7cc35469939d73c92884cbb757a122a | 45c3d7c6a483ac9d5b1ac3c83401f550fd538361 | refs/heads/master | 2020-12-31T06:09:15.266545 | 2017-02-01T11:48:24 | 2017-02-01T11:48:24 | 80,614,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,695 | r | GeneEnrichment.R | library(org.Mm.eg.db)
library(org.Hs.eg.db)
library(AnnotationDbi)
library(GOstats)
library(GSEABase)
library(GO.db)
library(DBI)
args <- commandArgs();
pipeDir<-as.character(args[6])
species<-as.character(args[7])
source(paste(pipeDir,"/Scripts/GOanalysis.R",sep=""))
source(paste(pipeDir,"/Scripts/GeneSetCollection-... |
9dea36020b19b9344dcb3adb2bb6500687548c99 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/extraDistr/examples/Kumaraswamy.Rd.R | 63e725d931e2f7790a137a1770471bd400bab429 | [] | 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 | 390 | r | Kumaraswamy.Rd.R | library(extraDistr)
### Name: Kumaraswamy
### Title: Kumaraswamy distribution
### Aliases: Kumaraswamy dkumar pkumar qkumar rkumar
### Keywords: distribution
### ** Examples
x <- rkumar(1e5, 5, 16)
hist(x, 100, freq = FALSE)
curve(dkumar(x, 5, 16), 0, 1, col = "red", add = TRUE)
hist(pkumar(x, 5, 16))
plot(ecdf(x)... |
635f698786f2592a38d83c291294f426c46b4c73 | cf5bd6c2929748d30fbe29fb3ea25f7c7827cd5a | /MAE5870/lista1/3c_sim.R | 407e76afa5b5e058099360a98248312f6d2e37dc | [] | no_license | kayaman/tsa | edfc01fbbb2243f2196b6663807eb0bbea62ee7f | 55dbe3ee7ae0fb3eef51fedbef24c0c85d2cc67f | refs/heads/master | 2020-05-03T22:48:56.243484 | 2019-04-10T01:25:01 | 2019-04-10T01:25:01 | 178,850,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 340 | r | 3c_sim.R | # Lista 1 - Exercicio 3 - item c
# Zt = 0,4*Zt−1 + at − 0,3*at-1 − 0,8*at−2 ==> ARMA(p, q), p=1, q=2 ==> ARMA(1,2)
set.seed(666)
Z_t <- arima.sim(model = list(ar = c(.4), ma = c(-.3, -.8)), n = 1000)
par(mfrow=c(3,1))
ts.plot(Z_t)
ar.acf <- acf(Z_t, type = "correlation", plot = T)
ar.pacf <- acf(Z_t, type = "partial"... |
f0889f9fa412e1f254e24ca6aaf2b6161eb662a1 | 006800321cf6394099ae929bfe75626b2b22c7b6 | /scripts/script5b.R | 9da142814514945e189be28c3c4647088a60c4a2 | [] | no_license | ChuckBV/ms-now-ppo-kairomone-2017-2yr | ffcc8fe5c5933707a8771ad2e353126fdaa7cd89 | c401449a11e534e80322b72e440e7f1bf69b33d4 | refs/heads/master | 2022-04-10T09:52:54.636896 | 2020-03-14T22:56:23 | 2020-03-14T22:56:23 | 193,812,218 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,372 | r | script5b.R | #============================================================================
# script5b.R
#
# Examine proportion of empty traps in the summer 2019 trap comparisons
#
# Parts
# 1. Import data set to data frame (line 32)
# 2. Characterize number of NAs, sampling dates, and weekly phenology
# (line 65)
# 3. Pool data... |
16190e6750bbe87f59128d788e2fe79746b405ce | b16d24e80f34c2799def9bea2edb35b78c24b070 | /Marie/progR_readHOP.R | 65662042f734e533adfae7016d1c0f84cbbc5a41 | [] | no_license | kevinwolz/hisafe_R_code | af2763b24041e87aaaa44d4797a5a9a7fe21a9ee | eb6a29da6b70ae52068f7f4b31bb886e23d64a33 | refs/heads/master | 2021-09-13T12:02:30.453605 | 2018-04-29T18:20:07 | 2018-04-29T18:20:07 | 110,239,361 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,933 | r | progR_readHOP.R | empile<-function(...){
N<-unique(unlist(lapply(list(...),names)))
result<-NULL
for(DF in list(...)){
x<-as.data.frame(lapply(N,function(n)if(n %in% colnames(DF)) DF[,n] else NA))
names(x)<-N
result<-rbind(result,x)
}
result
}
infos<-function(df) {
if (! "data.frame" %in% class(df)) print(paste("... |
adf164d40c1e9905ec9cb5b3e2cef14acadb47a7 | 3c7b06bb5767d78f2bac2726f84740aeb1f06a46 | /man/locate_warehouse.Rd | 39bfbfb938d4978ee206910627f22c120de0e458 | [] | no_license | will-jac/GSC | efd4b65822305f0c300cbb6cc873a72389336f93 | f9700cfc09fcac6f6f3b5a4ec5d6d8705ec08a93 | refs/heads/master | 2020-09-13T12:38:24.045545 | 2020-06-13T01:17:28 | 2020-06-13T01:17:28 | 222,782,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 439 | rd | locate_warehouse.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_functions.R
\name{locate_warehouse}
\alias{locate_warehouse}
\title{Centrally locates a warehouse across a region defined by the data frame x}
\usage{
locate_warehouse(x)
}
\arguments{
\item{x}{the data frame containing locations to lo... |
c0655948214393fdbfa6b55fdedd82b6f87d57c7 | 3946ee744fdcfdcb58f585602682d088d312a572 | /01_scripts/read_counts_to_annotations.R | 3c77a8db45818fa842ddecaf5eec918e74d84d97 | [] | no_license | bensutherland/eRNA_taxo | c7334331303ba354a5fcffc7554b25a9d2a51d68 | 6bcb56bf7760eb9aebc89fb15437732fd5b7162f | refs/heads/master | 2023-06-07T05:07:08.637205 | 2021-06-15T21:33:36 | 2021-06-15T21:33:36 | 96,823,636 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,079 | r | read_counts_to_annotations.R | # Connect read counts to the annotations and plot
# Input: RData from normalization step (post-filter, CPM) and MEGAN (taxonomy ID per amplicon)
# rm(list=ls())
# Choose dataset
datatype <- "eRNA_taxo"
#### 0. Setup (no changes reqd) ####
# Install Packages
#install.packages("RColorBrewer")
library("RColorBrewer")
... |
99d547512a64ce1c010565658a8b0a2cf9529ac8 | 2c834e1586b5902391350877d76138ceec31fa42 | /man/polbirth.Rd | 5df958b5ec20a720cfeed983ebf3d902f04f7159 | [] | no_license | cran/hmmm | 9b34c9a5c46d43e2135e361ea7bf70cfa65aab6b | 7689db4c402ac3dac0b15b90cbd9ed3198886fef | refs/heads/master | 2021-05-16T02:49:30.840122 | 2018-03-14T10:26:58 | 2018-03-14T10:26:58 | 17,696,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,065 | rd | polbirth.Rd | \name{polbirth}
\alias{polbirth}
\docType{data}
\title{political orientation and teenage birth control data}
\description{Data on political orientation and opinion on teenage birth control of a sample of 911 U.S. citizens.}
\usage{data(polbirth)}
\format{A data frame whose columns contain:
\describe{\item{\code{... |
9665305a23816aa6156846420fe7707064e6f2e3 | db25cd49f5c2d5c34bcb4852a3a1de86397698d9 | /Test_module/Irrigation_modules/Compute_irrigatioN_losses.R | 23a7c3737c082edead3598e65b57f9851b24cddf | [
"Apache-2.0"
] | permissive | shekharsg/MITERRA-PORTUGAL | 292d210b89572f207d0af5ff44f4415d52fd553b | 4785a2d5a0fe49f27fe0c80cd0936e457142311c | refs/heads/master | 2023-03-19T17:16:15.757153 | 2020-03-25T14:10:26 | 2020-03-25T14:10:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 435 | r | Compute_irrigatioN_losses.R | source('./Runoff_module/Function/Compute_irrigation_runoff.R')
source('./Runoff_module/Function/Compute_runoff_application.R')
print('Loading Irrigation runoff submodule')
year <- c(1999, 2009)
for (i in year)
{
#compute_irrigation_sys_inefficiency(i, TRUE) #computes irrigation N losses through inefficiencies
co... |
99e1a55776ea9dc4260a2d3c086ea0ee3846b1d4 | f1d92e4a0a155ea83a46798e2130286b9492b5df | /man/ContentView.Rd | 37005a646329133c46667d34d8328c02db51cc64 | [
"MIT"
] | permissive | tynesjo/lookr | f7a1f7d5d3e19ea7f6358518972a37179fe59a45 | aeb899fb33465641ebaac8779ec3348fb9f72900 | refs/heads/master | 2020-08-06T13:29:12.761916 | 2019-10-05T12:09:42 | 2019-10-05T12:09:42 | 212,991,893 | 0 | 1 | MIT | 2019-10-05T12:01:01 | 2019-10-05T12:01:01 | null | UTF-8 | R | false | true | 658 | rd | ContentView.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ContentView.r
\docType{data}
\name{ContentView}
\alias{ContentView}
\title{ContentView Class}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
ContentView
}
\description{
ContentView Class
}
\section{Fields}{
\descri... |
6fd980b887051950eb3c6c7bb8d4dc76893b85e9 | 673adb50ef81fbd3f604e398dfe70f4c2170126d | /dataPrep/dataPrep.R | 9c849f1b81d655fec47c9c4d5c1144bc185feb7f | [] | no_license | leeleavitt/cellTypePredictor | d6f7fc2307bf7c767aa2362ed9f95c974be00f31 | 3b5b364596fffdf9bc927163bf0976120a138251 | refs/heads/master | 2023-01-28T03:15:47.130683 | 2020-12-04T18:37:04 | 2020-12-04T18:37:04 | 258,028,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,307 | r | dataPrep.R | ###############################################################
###############################################################
###############################################################
# find all files
fileLocation <- './rawData/multiClassData/'
# Only load from microscope 3
files <- list.files(fileLocation, '[m... |
30d1b9b643994ea05b1a491a530dd5dff41cdc05 | 2472ef56324f7f69b12a4a74eae53b9f3aa342ed | /run_analysis.R | b9d8986dacdd910aaefc77db8d3f7864539186ac | [] | no_license | dinataruni/CleaningData | 494295177d68e5bfbb17f34fb96e22313db7c412 | 1e2d30fdabb4276052c1afb61b9495865d34eae3 | refs/heads/master | 2021-01-16T01:09:45.991405 | 2014-11-23T21:53:32 | 2014-11-23T21:53:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,526 | r | run_analysis.R | ## Create one R script called run_analysis.R that does the following:
## 1. Merges the training and the test sets to create one data set.
## 2. Extracts only the measurements on the mean and standard deviation for each measurement.
## 3. Uses descriptive activity names to name the activities in the data set
## 4. Appro... |
9a11f541e5d988f8b67e841bf7e99032e371954c | 5c112972e0f41308d1c780cef8f7453e37af16c5 | /graphomax/R/baromax.R | 17146858e1b71776e6c29ffb9f43f5215f34ebc3 | [] | no_license | wswade2/Stat547 | f0a00e59206b81855340cf3ff51c483429a841b2 | 064a2054591f0028933b69ceff623e5cfe35b0ed | refs/heads/master | 2021-03-27T09:41:53.908705 | 2017-12-08T08:04:00 | 2017-12-08T08:04:00 | 110,039,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 875 | r | baromax.R | #' Welcome to the baromax function!
#'
#' This function is designed to plot 2x2 barplots with standard error bars using only
#' one line of code.
#'
#' To use it, simply specify the dataset, x, y, and fill
#' These types of plots are designed for cases where y is numeric and
#' both x and fill are categorical variables... |
83789c1dd5154f54c888f5c02485af57ea726a2e | 248addf19dad4feba67bea460e48546d1858909c | /plot1.R | bc310862e33700f59d215906b4bc456b9b998ac8 | [] | no_license | uzma35/ExData_Plotting1 | 591c7ce8525ca2e5a3227091c7b28cd03834dda7 | b888506410a00122e7d993ec803b45fa65efd9ed | refs/heads/master | 2022-11-17T23:49:12.171005 | 2020-07-06T17:29:14 | 2020-07-06T17:29:14 | 277,532,080 | 0 | 0 | null | 2020-07-06T12:10:58 | 2020-07-06T12:10:57 | null | UTF-8 | R | false | false | 816 | r | plot1.R | ##loading the electricity consumption dataset
power_con <- read.table("household_power_consumption.txt",skip=1,sep=";")
##naming the dataset
names(power_con) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3")
##su... |
1a447b8d82c5268fe0e7306da342d4646fda3f0d | 99d4b4863a3e855df7bd974cf01e021191c9acda | /R/02_benthic_terrain_modeling.R | b30b72e1223cab0e675b11c58d0d7540b45de49d | [
"MIT"
] | permissive | dmarch/ub-rworkshop2021 | 04e406e343fe7341ab7aaca6913c4c06f8a51d94 | 6c6fd86c072804ca6e6768346f6d6a6b697367ab | refs/heads/main | 2023-04-21T13:25:08.508135 | 2021-04-30T07:44:35 | 2021-04-30T07:44:35 | 361,194,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,925 | r | 02_benthic_terrain_modeling.R | ################################################################################
#
# Title: Benthic Terrain Modeling
# Course: Using R to work with marine spatial data
#
# Author: David March
# Email: dmarch@ub.edu
# Last revision: 2021/04/29
#
# Keywords: R, marine, data, GIS, map, raster, bathymetry, terrain
#
######... |
98ed92b68f6f1caa0dc5190b78a4b12720778d3a | b1576dfa164bc357c2aea44a625d2a88327cc209 | /cachematrix.R | 0d91a742963e0ae94603d5e45e3e2abf65f066bb | [] | no_license | jyork13/ProgrammingAssignment2 | c88f0421847c270a0c05620164d267e0dda5034a | 22c61bd551e40f5f71fa7b0354b6dba8164d3ad1 | refs/heads/master | 2020-12-11T09:30:07.209219 | 2015-07-25T11:47:34 | 2015-07-25T11:47:34 | 39,348,401 | 0 | 0 | null | 2015-07-19T20:47:03 | 2015-07-19T20:47:02 | null | UTF-8 | R | false | false | 2,683 | r | cachematrix.R | # Programming Assignment 2: Lexical Scoping
# by J. York
#
# R Programming tought by Johns Hopkins on Coursera
#
#
# The purpose of these functions is to create a special matrix object to return
# a matrix inverse either by calulating the inverse or returning a previously
# calculated cached matrix inverse.
#
# Usa... |
1b624c50983b852d9ebe8dbced749c67f3c6d62b | 5a10a60157e344bcdea3b2a5af1ef150cd5864e3 | /R/cv_method_single_MC.R | 68cd7935f086caad498cb160822c9be135db260d | [] | no_license | cran/HDDesign | 7d7044a1d3ae5f2e87bb2d24cbf2811be147cc29 | 5ea3d93332514d337fcbf151be677e19072e6b05 | refs/heads/master | 2020-04-02T04:11:11.704074 | 2016-06-11T09:37:25 | 2016-06-11T09:37:25 | 60,896,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,793 | r | cv_method_single_MC.R | cv_method_single_MC <-
function(mu0, p, m, n, alpha_list, p1, ss, ntest, sampling.p=0.5)
{
data=gen_data(mu0, p, m, n, p1,sampling.p)
d1=subset(data$x, data$y==1)
d2=subset(data$x, data$y==-1)
n1=nrow(d1)
n2=nrow(d2)
cv_data=data
# 10 fold CV
K=10 #10 fold CV unless one group has less than ... |
fba643144b888538b63869a97056d417618586f1 | 9ff617cb1f08e7f6df663c1c8e95bc857d92c1b9 | /boxPlotMaker.R | fb67792c6665e5c18a9d943692cf05e82c8837cd | [] | no_license | InchanKim/GroupProject | f44781a9ef0bcc3930dfcef621b64394f9aa4ac2 | 1c543ce0a13a0b10c268088f0fc1d9ba97245380 | refs/heads/master | 2021-04-26T22:45:44.162229 | 2018-04-27T19:34:09 | 2018-04-27T19:34:09 | 124,142,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,428 | r | boxPlotMaker.R | source("salaryBrackets.R")
mx <- 150000
college <- tbl(conStudent, "college")
graduate <- tbl(conStudent, 'graduation')
big <- left_join(graduationTitle, title, by = "idTitle") %>%
right_join(graduate, by = "graduationId") %>%
left_join(college, by = "idCollege") %>%
select(graduationId, majorName, collegeName... |
7cb15c341f73a1f6e697c33f087d340aaeb1585c | 2ff89b6657b355de575885208d7d6b37b697b7bf | /examples/ex_optparse.R | 88f7b1fc3a216e2dd1811ab7640f7e61bb026ce3 | [] | no_license | dmattek/training-MIC20200319 | e2abe7db4fd61635dd0b5650331011bd1253abf7 | a0259c724faef9e5e43633983744d1d4816703f6 | refs/heads/master | 2021-04-08T16:12:32.975347 | 2020-11-05T08:35:45 | 2020-11-05T08:35:45 | 248,788,840 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,113 | r | ex_optparse.R | #!/usr/bin/env Rscript
## Load libraries ----
library(optparse)
## Process command-line parameters ----
option_list = list(
optparse::make_option(c("-r", "--rootdir"),
type="character",
default=NULL,
help="full path to root directory",
... |
be218945a0989751dbe37652d0e4d324a5b92885 | 006698f9ad3934b41425cdff0b5da377b6adbbb0 | /R/convert.R | 30822b791e8e8ea8e935a7323dc827e583138172 | [] | no_license | nagyistge/imageanalysisBrain | 4878d7c3663cb4bd51ce1f754ac02b96280215f3 | 182a1ce3e2ab6e5312b69ee2528ca4a29aaca5d8 | refs/heads/master | 2021-01-21T06:27:05.669999 | 2017-02-02T18:19:29 | 2017-02-02T18:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,178 | r | convert.R | #' @title Convert ENC to DEC
#'
#' @description
#' Converts encoded coordinates to x,y,z values
#'
#' @param values imaging values
#' @param enc value, containing x,y,z, values
#'
#' @return data.frame with the decoded coordiantes
#'
#' @export
#'
#' @examples
#' enc<-c(51512331,51512254,51513355)
#' val<-c(342,2... |
162fb56ef9b7a071aeaa3ce509e99310d07cd826 | 92c12cc1813db469bd25cb165ea7516344697ba5 | /scripts/classifiers/kmeans/KMeans.r | 62f0d1ae2979fd9927291d9d047eceb95b908337 | [
"MIT"
] | permissive | amanparmar17/Advance-Sentiment-Analysis | 1b6716622bf56fb9b7cd6140a7d699eae18d8ae1 | 7ce463644c1fd5b76e00299840ded49502702291 | refs/heads/master | 2020-05-07T14:05:35.925528 | 2019-04-29T06:46:17 | 2019-04-29T06:46:17 | 180,577,769 | 0 | 0 | MIT | 2019-04-29T06:46:18 | 2019-04-10T12:33:13 | R | UTF-8 | R | false | false | 2,045 | r | KMeans.r | #importing the dataset
setwd("git_repos/Advance-Sentiment-Analysis/scripts/classifiers/kmeans/")
dataset <- read.csv("sentiment.csv")
#selecting the columns of concern from the dataset in another variable
# %>% is called the pipe symbol
library(magrittr) # need to run every time you start R and want to use %>%
li... |
c0f0f4ec7dad29271524a3c8a579797edb1ab989 | 3c452b0b285add7e8d2bc6627258cd410ecb53fa | /man/julia_eval.Rd | 9b2baed900f39ca51c492f5d4d8169dec9ba9451 | [
"MIT"
] | permissive | Non-Contradiction/JuliaCall | 295ff96fb5e6f1dbf9e79ad10871572a7ff8e1d1 | c05473bea78a0197c639f7e82ab1c6f2e943e1cc | refs/heads/master | 2023-07-22T02:56:15.201964 | 2023-07-13T16:17:34 | 2023-07-13T16:17:34 | 99,278,989 | 267 | 40 | NOASSERTION | 2023-06-14T18:43:16 | 2017-08-03T22:08:52 | R | UTF-8 | R | false | true | 1,198 | rd | julia_eval.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interface.R
\name{julia_eval}
\alias{julia_eval}
\title{Evaluate string commands in julia and get the result back in R.}
\usage{
julia_eval(cmd, need_return = c("R", "Julia"))
}
\arguments{
\item{cmd}{the command string you want to evaluate i... |
2cc5db8202d7dcb245cdeac197d28525a2084f40 | 3c127b6565e3a6621c30e0a633246f227c587d57 | /Naive Bayes.R | ff335bd41a67e83ec550e3819db2a721b5e0f058 | [] | no_license | vikramjaisingh01/Student-Grade-Prediction-1 | 6576f7bf1a9d8636935d106258ad9d334326a2e7 | 2c95d2cda43d38df1098016820dc842460620cd0 | refs/heads/master | 2020-04-04T19:03:00.394023 | 2018-11-05T09:11:48 | 2018-11-05T09:11:48 | 156,189,726 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,488 | r | Naive Bayes.R | # Data preprocessing
dataset = read.csv('student-mat-logit.csv')
# no null variables present in the dataset
# Encoding categorical data
dataset$school = factor(dataset$school,
levels = c('GP', 'MS'),
labels = c(1,2) )
dataset$sex = factor(dataset$sex,
... |
b0d2607694848db87b3af77965062e743d2ce9dd | 6ef7ef07957ac0416dad1ec5e46994e25f47b283 | /R/meltMyTS.R | af68b277ca34551fe94c44d2e34c79ea065b8c05 | [] | no_license | jgabry/QMSS_package | a12cee9913f948df14ec898fab81c85e6980cbef | 58e49183a6066581c2dceacb9eebeced15c20292 | refs/heads/master | 2021-01-19T01:51:35.113047 | 2016-06-06T20:30:33 | 2016-06-06T20:30:33 | 22,050,285 | 7 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,696 | r | meltMyTS.R | #' Use \pkg{reshape2}'s \code{melt} on multivariate time series object
#'
#' \code{meltMyTS} is primarily designed to prepare data to be used with
#' \code{\link[QMSS]{ggMyTS}} (\pkg{QMSS}) to make plots of time series trends
#' with \code{\link[ggplot2]{ggplot}}.
#'
#' @param mv.ts.object A multivariate time series... |
94798f49098cb54388a1ac563d4d3a53a21350e1 | 0cfe694476706c53390e4a80bf8429aaaed5683c | /accessory_code/process_new_CEs/1_process_new_CEs_extend_rasters.r | c29c7d5b6739ef4ea7cfd466fdf63eb7d9161560 | [] | no_license | brasilbrasil/arcpyVAtool | 3a306a925a57b1de12b51037816d76e7122eb52c | 777bf97855e24b109e2afea7571d0c9f444d5433 | refs/heads/master | 2023-05-15T10:08:15.513913 | 2016-04-22T23:57:57 | 2016-04-22T23:57:57 | 56,891,554 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,237 | r | 1_process_new_CEs_extend_rasters.r | rm(list = ls()) #remove all past worksheet variables
library(raster)
source_dir="Y:/PICCC_data/VA data/DD A1B HRCM v2 CEs/range maps bin/" #DD A1B HRCM v2 CEs // SD RCP45 CEs // SD RCP85 CEs
wd="Y:/PICCC_data/VA data/DD A1B HRCM v2 CEs/range maps bin extended/"
dir.create(wd, showWarnings = F)
setwd(wd)
cpucores=20
ti... |
1ed2e23121bf1c964a4a1d51c68718a4b5a71da5 | e0548caf7bd8153f8d991b7d7c1bed487402f0bc | /semestr-4/SWD/kol1/zad2.R | 339abace6e62faa9a55faf2e4c9a41e8311767d6 | [] | no_license | Ch3shireDev/WIT-Zajecia | 58d9ca03617ba07bd25ce439aeeca79533f0bcb6 | 3cd4f7dea6abdf7126c44a1d856ca5b6002813ca | refs/heads/master | 2023-09-01T11:32:12.636305 | 2023-08-28T16:48:03 | 2023-08-28T16:48:03 | 224,985,239 | 19 | 24 | null | 2023-07-02T20:54:18 | 2019-11-30T08:57:27 | C | UTF-8 | R | false | false | 487 | r | zad2.R |
data = c(43, 56, 49, 41, 32, 42, 45, 56, 46, 38, 37, 32, 41, 53, 38, 44, 51, 45, 42, 40, 42, 44, 47, 35, 41, 36, 26, 36, 56, 36)
sigma = 7
# wiemy ze czas instalacji ma rozkład normalny, znamy również odchylenie standardowe, zatem możemy skorzystać z Modelu 1 z estymacji parametrycznej
# tj. z funkcji z.test. Domyśl... |
84de8a95e5ab1b7ae2c4c9353f8c61f78d5b22f1 | acf7af720e1acb217bd4da13e1007ee94db0bfab | /scripts/plot_correlations.R | 43f6f36ecd463d467e50f5d0dff0e950e38c8831 | [] | no_license | venkoyoung/Network | 4184d2ec8f12fa8536b9b2fa2ba2ac0e5a2863eb | 6952d0aec7094a1539c4f7d77cef406ec4dbf09a | refs/heads/master | 2020-05-15T02:22:23.743714 | 2019-03-29T11:34:44 | 2019-03-29T11:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,382 | r | plot_correlations.R | #finalMatrixCOmparison
library(data.table)
library(stringr)
forPlot<-dfOrigEvents
#row.names(forPlot)<-rownames(dfOrigEvents)
row.names(forPlot)<-1:31
colnames(forPlot)<-colnames(dfOrigEvents)
length(which(is.na(forPlot)))#681
forPlot[is.na(forPlot)] <-4
forPlot[1:5,1:9]
#SD controles
forPlotMelted<-melt(forPlot)
head... |
6aabaedd0d794dc483d7b4df2eff8cd9535e89d2 | 7038a3930711d5dcc106df3ccd934824ab3a28c1 | /미래신호/미래신호_보건복지정책 미래신호 예측.R | 48ada381b222a8114766645f8caa01942045d38d | [] | no_license | jaehyunHa/hello | 1c4d6ca65c1d42c3d8426956603219fcce6b2fee | 9c4e458ded4eee14eb9e03cdbaedf043b635549c | refs/heads/master | 2020-05-16T04:17:51.765758 | 2019-04-22T12:36:30 | 2019-04-22T12:36:30 | 182,770,818 | 0 | 0 | null | null | null | null | UHC | R | false | false | 10,835 | r | 미래신호_보건복지정책 미래신호 예측.R | ## 5.보건복지정책 감정 변화 그래프(본 내용 사용)
#(col(1-6) 검정, 빨강, 초록, 파랑, 연파랑, 보라, 노랑, 회색)
rm(list=ls())
policy=read.csv("정책감정_그래프.csv",sep=",",stringsAsFactors=F)
a=policy$반대
b=policy$찬성
plot(a,xlab="",ylab="",ylim=c(0,120),type="o",axes=FALSE,ann=F,col=1) #반대 그래프
title(main="2016년 보건복지 정책 감정(1-9월)",col.main=1,font.main=2)
#title... |
e0ef01766c491c439416bb0fea4523025e0e3b73 | b08c25c032524882c6e3e5dae632c7ffc00b7bf1 | /Fit_IndModel_3scr_A1_noI.R | b7c6e4ad838992f75339d283a2e69fa73dbe11cc | [] | no_license | haejung017/BiostatsR | 959e0351b7e356fcefcd5078a95a7711ca962915 | 4937e6978cba002317ae0c4b80ae2d2730f5f531 | refs/heads/master | 2020-04-21T11:15:57.645621 | 2019-02-07T04:45:11 | 2019-02-07T04:48:00 | 169,517,945 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,131 | r | Fit_IndModel_3scr_A1_noI.R |
# ficher's z-transformation
alpha_2_eta<-function(alpha) log( (1+alpha)/(1-alpha))/2
eta_2_alpha<-function(eta) (exp(2*eta)-1)/(exp(2*eta)+1)
# alpha_2_eta(0)
# eta_2_alpha(0)
#### fit Copula model
fit.Ind<-function(pars, dataset, TDf_or, TDf_sc, agemin, phi0=1e-5, phi=c(3,2,1e-5), wgt=FALSE){
ee0=phi0
e... |
044283e9cf10e79d841bac5b43f7ea776eadf0f2 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1610031203-test.R | f1925c2d3d09a7184bd9fd538523016b5df819d6 | [] | 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 | 313 | r | 1610031203-test.R | testlist <- list(id = integer(0), x = c(6.14293298947794e-183, 6.14293298947794e-183, 6.14293298947794e-183, 6.14293298947794e-183, 6.14293298947794e-183, 6.14293298947794e-183, 6.14293298947794e-183, 2.5909984685287e-312, 0, 0), y = numeric(0))
result <- do.call(ggforce:::enclose_points,testlist)
str(result) |
5e3a00c05dfa5ce4e5a665ad2083b38a013f6360 | 2c4e38480f522f3762b6967d7cfbf8aae0a948aa | /man/H5Sset_extent_simple.Rd | 21b3928ccd0f4857fb882d6a3129f18ce979157f | [] | no_license | grimbough/rhdf5 | 097f8c48f322172415308491b603ff5b6cb4521a | 4d430edf2a95cc9a2e4dfbf857ff6ff41cdef61d | refs/heads/devel | 2023-07-27T14:14:36.645790 | 2023-07-12T09:09:12 | 2023-07-12T09:09:12 | 101,306,379 | 51 | 24 | null | 2023-04-05T08:13:17 | 2017-08-24T14:51:27 | R | UTF-8 | R | false | true | 785 | rd | H5Sset_extent_simple.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/H5S.R
\name{H5Sset_extent_simple}
\alias{H5Sset_extent_simple}
\title{Set the size of a dataspace}
\usage{
H5Sset_extent_simple(h5space, dims, maxdims)
}
\arguments{
\item{h5space}{\linkS4class{H5IdComponent} object representing a dataspace.}... |
63939052289d88ddb833e2eeb13f9aa28de6224e | 1f3470378a71d5c6efa5bccd845e0e8ab04089ef | /buildData.R | e28ea95d8e853e056d58f09d2638643304191638 | [] | no_license | rfgordonjr/sampleGBM | 18a335c59a7322b4e632836b6a2cd4ccf53e033e | 7f218363990aace7a2f6848cc10c76a061186e8b | refs/heads/master | 2020-04-08T06:34:14.084054 | 2018-11-26T22:45:49 | 2018-11-26T22:45:49 | 159,101,398 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,532 | r | buildData.R | ## packages used ####
library(dplyr)
library(Hmisc)
library(ggplot2)
## Pull kaggle data ####
## https://www.kaggle.com/blastchar/telco-customer-churn/version/1 ####
rawdata <- read.csv(file = "/Users/robertgordon/Documents/equifaxCaseStudy/sampleAttritionModel/data/WA_Fn-UseC_-Telco-Customer-Churn.csv",stringsAsFacto... |
574fc4a36642edcfbebd14e2080ff53d70509b3e | 69ed15a883dfbc2d67023d436dbb4cb9742b3970 | /R/getESS.R | 90948b7f1c33a08da6f1fbec699f2b77b8ac27b2 | [] | no_license | joh4n/JGTools | 57f163463b107028509243260e80f7f05f847dd5 | 7418f924665c03791e758da7bc3112cd6b2022d9 | refs/heads/master | 2021-06-20T08:26:36.857149 | 2017-06-17T13:35:56 | 2017-06-17T13:35:56 | 77,140,153 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 729 | r | getESS.R | #' A function to calculate the ESS of a STAN_fit
#'
#' This function returns the ESS of a STAN_fit ascending order
#' @param min_ess the lowest ESS to not be returned
#' @param STAN_fit a stan fit df
#' @return A data frame with the ESS below the min_ess limit in ascending order
#' @examples
#' getESS( min_ess = 900, S... |
d3bfb4cba0b83bb5d500c736b8866b4222f66736 | bce7204fa229f7c9966ef7b8fe8102e881d30e38 | /man/plot_list.Rd | 0d2b66f835bb9fb42ee42b832eec8bbf005d1d48 | [] | no_license | king8w/aplot | 4aa865df3f0e1668341820d894b97d2b6ffb180a | b7c1a643ed3f224e12ff1c2c1f9ea87c76cf5c39 | refs/heads/master | 2023-07-23T23:47:23.610808 | 2021-08-27T08:24:28 | 2021-08-27T08:24:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 650 | rd | plot_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-list.R
\name{plot_list}
\alias{plot_list}
\title{plot a list of ggplot objects}
\usage{
plot_list(gglist, ncol = NULL, nrow = NULL, widths = NULL, heights = NULL, ...)
}
\arguments{
\item{gglist}{list of ggplot objects}
\item{ncol}{numb... |
7ca19f30382b5700c228d0f69c38b4df1dae38f8 | 0229705f89eb090f7bc5b7899dc07e7609e2cc80 | /R/compare.graphs.R | 5e56643c5740ea1cd79c562a3a3b6973c2927445 | [] | no_license | cran/causaleffect | d77a060d14f6d985b355c6b743c947bd8093a751 | 687d5177aa178cb89782fd496523c0e1f3ceb9f5 | refs/heads/master | 2022-07-24T03:48:40.739576 | 2022-07-14T08:10:05 | 2022-07-14T08:10:05 | 24,474,611 | 5 | 6 | null | null | null | null | UTF-8 | R | false | false | 560 | r | compare.graphs.R | compare.graphs <- function(G1, G2) {
e1 <- as.data.frame(igraph::get.edges(G1, igraph::E(G1)))
e1[ ,3] <- igraph::edge.attributes(G1)
e2 <- as.data.frame(igraph::get.edges(G2, igraph::E(G2)))
e2[ ,3] <- igraph::edge.attributes(G2)
n1 <- nrow(e1)
n2 <- nrow(e2)
if (n1 != n2) return(FALSE)
if (nco... |
9980f3366b6672036329bfd2217179db38e29b6f | 5e17745a3ef7aec4e3a2cf72bea6421d38074e43 | /man/fit2dt.Rd | 9e05fe09d609b056d4b3c862b0785f4de91ffc8a | [] | no_license | SRenan/PSUmisc | a81be8ba6c8c1568955f276499eae678220f987b | a892f134c4c2f0b43dfa70d4097165053f27381f | refs/heads/master | 2021-06-03T14:08:11.104044 | 2021-04-15T14:32:53 | 2021-04-15T14:32:53 | 136,512,680 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 353 | rd | fit2dt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats.R
\name{fit2dt}
\alias{fit2dt}
\title{Transform lm/glm output to data.table}
\usage{
fit2dt(fit)
}
\arguments{
\item{pos}{A \code{lm} object. The output of \code{lm} or \code{glm}}
}
\description{
For a list of positions, find the close... |
8cfb6aae08f10e9496b4c64c65746a2eb9d5dc2e | 4a83ad27beef869488fe4234399c2c9aa995d79b | /man/extracted.Rd | 23fb0c63de65a83949fb7a121936fa52a2d67732 | [] | no_license | NateByers/transformR | 4076c3ed8128071b2c1ff82d84947c8a5ec8d70f | 0ad03d33eb7da13d6bfde5903eaa9cbbc1d567bc | refs/heads/master | 2020-06-08T21:42:50.488584 | 2015-06-11T19:40:47 | 2015-06-11T19:40:47 | 37,281,714 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 419 | rd | extracted.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/transform.R
\name{extracted}
\alias{extracted}
\title{Constructor function for \code{extracted} class}
\usage{
extracted(data)
}
\arguments{
\item{data}{A \code{data.frame} extracted from a database}
}
\value{
A \code{data.frame} with... |
e9adf83f4488b1de8815e6814c6ef4a456d4fdd0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/soobench/examples/branin_function.Rd.R | 9f5187a465ecc0069f2fa416509fcc601f88ad78 | [] | 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 | 190 | r | branin_function.Rd.R | library(soobench)
### Name: branin_function
### Title: Generatore for the Branin test function.
### Aliases: branin_function
### ** Examples
f <- branin_function()
plot(f, rank=TRUE)
|
71200bffacde31791c936edd46cf9f7350d52bc3 | 83abd69780507ed850f1b35df6781b34aec059dd | /sources/framework/visioneval/man/initDatastoreGeography.Rd | 3b2c21d4a69e13ebb5903a08463daa8340b89cff | [
"Apache-2.0"
] | permissive | goreaditya/OregonDOT-VisionEval | b6677fccf279d9d8cb8ba42d5a1c0eca3bcb7722 | bf036adf6e9cca2aae813b4aa16a752b16be2e3b | refs/heads/master | 2020-09-04T16:34:14.378987 | 2019-10-29T19:21:08 | 2019-10-29T19:21:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,076 | rd | initDatastoreGeography.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initialization.R
\name{initDatastoreGeography}
\alias{initDatastoreGeography}
\title{Initialize datastore geography.}
\usage{
initDatastoreGeography()
}
\value{
The function returns TRUE if the geographic tables and datasets are
sucessfully... |
af81e4e20a865955fae77bfbc71dfe8bee3e2021 | 1f84c6855a1e0f547b97f67956a0c848893afe23 | /runr/200512/r/1589319085627-runr-3513979055283432-script_Aula1_Introdu__o_ao_R.r | 33041d180eb7df241ac1bfc013559126e5f84714 | [] | no_license | variskindo/files | 90508bebf67a75594a25a293be7f3260fef25adc | c6109f0ab6586ef9b3120aaa12d0aeed09a4d137 | refs/heads/master | 2023-08-24T14:52:35.023447 | 2023-08-23T13:26:19 | 2023-08-23T13:26:19 | 189,692,180 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,863 | r | 1589319085627-runr-3513979055283432-script_Aula1_Introdu__o_ao_R.r | ######################################################################
############### Aula 1 - Introdução ao software R ####################
######################################################################
# Instalar o interprete do R
# https://www.r-project.org/
# Instalar o IDE, RStudio
# https... |
88b1db9f38441eb7b5faf4f9d6078d8b0cb537f2 | 784a27735568199bf6d067f2b3650484a50d181c | /Code - Visualization.R | 33d59a497e75c68fa974d676dc16224a23064cec | [] | no_license | kshitijsankesara/Visualizing-USA-Crime-Rates | c3a612ddbd37a46ca23d62563938b3b7945f3ca4 | 4f7c0e484dfa7589ccc91ce757512115f691a7d7 | refs/heads/master | 2022-10-12T14:09:26.917732 | 2020-06-12T16:17:46 | 2020-06-12T16:17:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,330 | r | Code - Visualization.R | #Step A: Load and Merge datasets
#1) Read in the census dataset
#Using the function created in HW3
cleanstate <- function()
{
Statesnew <- read.csv("states.csv")
Statesnew <- Statesnew[-1,-1]
Statesnew <- Statesnew[-52,]
Statesnew <- Statesnew[,-1:-3]
colnames(Statesnew) <- c("stateName", "population", "pop... |
561f19f86d3a7d2d277709c6e56e7839f4927876 | 439b420e36709c0ed2a001e9a0036a100489e29d | /tests/manual.query.test/query.tests.R | 28b7a25b59523b2c02f8ef847511bdb789a3bd47 | [
"Apache-2.0"
] | permissive | reactome/ReactomeGraph4R | da26ef5c48b76554daec943c2ee34d11b20c0fbf | 8b863e9111802a28034ae4f17da7b1a2a67b1924 | refs/heads/master | 2023-05-08T00:41:09.511805 | 2023-04-30T01:21:57 | 2023-04-30T01:21:57 | 279,608,406 | 8 | 2 | null | 2021-02-21T17:50:12 | 2020-07-14T14:29:32 | null | UTF-8 | R | false | false | 1,285 | r | query.tests.R | # manually run the following tests and check the results
library(ReactomeGraph4R)
login() # already built a connection to the reactome neo4j database
# fetch instance by class
url <- matchObject(schemaClass = "URL")
head(url[["databaseObject"]])
# check error
matchObject(schemaClass = "haha")
# fetch instance by na... |
6f877a51812c66f9779dc0743d12453f8c33424a | 1e5aaad5bb774e0084745cb06bb4b33ff96c944a | /R/lso.R | 19a07a2982bb61ddf20d865c24dab5ac4a4bb076 | [
"MIT"
] | permissive | Rkabacoff/qacr | cd66c7e1c6b188bdbd2e6cab618c1d77a5ed2a0c | d30d4cd9cbadbfba30f8b7c19b00eff6e9053ab2 | refs/heads/main | 2021-06-25T14:49:23.176096 | 2021-03-11T14:45:39 | 2021-03-11T14:45:39 | 218,363,729 | 0 | 6 | null | 2019-12-02T15:43:19 | 2019-10-29T19:09:40 | R | UTF-8 | R | false | false | 2,412 | r | lso.R | #' @title List object sizes and types
#'
#' @description
#' \code{lso} lists object sizes and types.
#'
#' @details
#' This function list the sizes and types of all objects in an environment.
#' By default, the list describes the objects in the current environment, presented in descending order
#' by object size and re... |
ccacd8f45756b9a5f6aa088ac06d26a427790ff0 | 871f932fccc7d5b6726964eadc30477782f36c0e | /man/align_englishCorpus.Rd | b6c487908805a2a7abdbb9dbafbe42b052d0703e | [
"MIT"
] | permissive | hrvg/wateReview | ed76a4b410799d90483b2f7dd2cfeb6c96733b51 | 1f77a33ed99e3f1be16d15189b81da92efd5495c | refs/heads/master | 2023-03-04T04:53:04.200965 | 2020-08-14T19:18:11 | 2020-08-14T19:18:11 | 134,775,109 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 709 | rd | align_englishCorpus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/webscrapping.R
\name{align_englishCorpus}
\alias{align_englishCorpus}
\title{Align englishCorpus with matching records in both databases and assign webscrapped abstracts}
\usage{
align_englishCorpus(englishCorpus, EndNoteIdLDA, EndNoteIdcorpu... |
e576cbae71f4ab1282d28ec1fd8bad8056b2b2cb | 11c5077aace42fa9c3b8bb6a63bc7b60ee04c8ef | /man/BaetenEtAl2013.Rd | 81591a3b4db3e4cfe8f6e7fab80b0d093b9c6dce | [] | no_license | cran/bayesmeta | 10318094d5a25ebd01393a7a5e0dcfd5171ed61e | ec196f04626460d2947e829f9f0507cd68d1f7a7 | refs/heads/master | 2023-07-07T22:28:01.653515 | 2023-06-27T08:40:02 | 2023-06-27T08:40:02 | 48,076,965 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,490 | rd | BaetenEtAl2013.Rd | \name{BaetenEtAl2013}
\docType{data}
\alias{BaetenEtAl2013}
\title{Ankylosing spondylitis example data}
\description{Numbers of cases (patients) and events (responders)
in the placebo control groups of eight studies.}
\usage{data("BaetenEtAl2013")}
\format{The data frame contains the following columns:
\tabular{lll... |
7321b0b66e793a6558c770314b013614ef4cf7ac | 48aea1547fb612b127d5b5def716d48398236159 | /analysis/CIMseqFPtesting/testthat/test_All-classes.R | 26e9c704536d643dd30af80bb1eb82878a2dbcf0 | [] | no_license | jasonserviss/CIMseq.testing | 6a1951a5d1cd53a22704df631138050bc4e057c6 | 7039f9b52fb9280bb811662aa19d4fe7f7bf8398 | refs/heads/master | 2021-03-30T17:46:24.443721 | 2020-01-27T09:55:25 | 2020-01-27T09:55:25 | 76,064,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,210 | r | test_All-classes.R | context("All-classes")
test_that("check that accessors output the expected result", {
expect_is(getData(CIMseqSinglets_test, "counts"), "matrix")
expect_is(getData(CIMseqSinglets_test, "counts.log"), "matrix")
expect_is(getData(CIMseqSinglets_test, "counts.cpm"), "matrix")
expect_is(getData(CIMseqSinglets_test... |
23e4fa64b2ce3f9d01638619040993e7e05a3946 | 92e04fc53259efde079d353d9ff00ef21443eccb | /R/cel2kel.R | dcc93d384949be1fd88e9004b8d92de7132f0a1e | [] | no_license | arni-magnusson/biometry2 | 5cfd25e4598d17c31f03cd12a0f9a606917c8e91 | 7b5e5b0330446bf48d4dccd2049ce8f317cec846 | refs/heads/master | 2020-04-22T21:12:42.460484 | 2019-03-06T10:47:24 | 2019-03-06T10:47:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 456 | r | cel2kel.R | #' Celsius to Kelvin
#'
#' Converts temperatures from Celsius degrees to Kelvin scale.
#'
#' @param x Temperature in Celsius degrees.
#'
#' @return
#' Kelvin scale value, 273.15 added to Celsius degrees.
#'
#' @author
#' Vigdís Freyja Helmutsdóttir, MSc. student at the University of Iceland.
#'
#' @seealso
#' \link... |
ac79beddbb802df94b0b8ac7468c86d8f674197e | 575923255a038d3739bfb851a9976464538808b2 | /functioning_program.R | 72e95fc0e0ad38f9153095ac1acedb0faf7374c6 | [] | no_license | tincorpdata/AdvanceedR | 443ffe454400f13693e3c429ef3bfb29c6d23bb9 | bfdfcd4fcf75dc0005c6062b54408d6220eccbee | refs/heads/master | 2020-04-20T10:30:33.007571 | 2019-02-02T12:40:24 | 2019-02-02T12:40:24 | 168,791,518 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 109 | r | functioning_program.R | #create a vector
v <- c(100, 222, 3333, 412, 235)
#Get the square root of each element
lapply(v, length(v))
|
9119894ee85f3f8107f70ad86829d50ccd5100b8 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i25-m12-u3-v0.pddl_planlen=33/dungeon_i25-m12-u3-v0.pddl_planlen=33.R | 036402e351e279d57774536a0b3e606dc71254f4 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | dungeon_i25-m12-u3-v0.pddl_planlen=33.R | d992bbc93928b3ecc718c304527f4078 dungeon_i25-m12-u3-v0.pddl_planlen=33.qdimacs 24019 223421 |
aff5f1d1a5061e283d3538f1311f19b6aa42f90d | 1cf864651a3cad23eb3c7f25aecda77b9d51c7e5 | /R/seqcheck.R | 220b44a7c14fbfe46d7d56cc85f2c7a59af6a5e7 | [] | no_license | gobbios/EloRating | 98eec32ae178db6bca95d55691c5d66b525bce9a | ebb4957676b3ff5638e5eb9ca34464a480138902 | refs/heads/master | 2023-06-08T00:58:34.065438 | 2023-06-02T10:12:35 | 2023-06-02T10:12:35 | 79,722,236 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,438 | r | seqcheck.R | # seqcheck 14_11_19
#' runs raw data diagnostics for Elo rating
#'
#' runs some diagnostics on the data supplied to \link{elo.seq}, to check whether \link{elo.seq} will run without errors
#'
#' @param winner either a factor or character vector with winner IDs of dyadic dominance interactions
#' @param loser either a f... |
fd2da016e8515914db69f3e3f29f882341123027 | 4592565db17d3d5a4bfa8fc820d7516beb4fa115 | /demo/seminr-pls-interaction.R | dcebfd7f143eabb77d77dff5e8d39e061550641f | [] | no_license | sem-in-r/seminr | 1b370286c58f4e658a02fb5df21fabe585fcfb4a | ae2524aae5f4f0bda3eb87faf80378af5baccea1 | refs/heads/master | 2023-04-04T00:29:48.969724 | 2022-06-30T17:02:07 | 2022-06-30T17:02:07 | 70,557,585 | 49 | 16 | null | 2022-10-13T15:22:28 | 2016-10-11T04:58:23 | R | UTF-8 | R | false | false | 3,947 | r | seminr-pls-interaction.R | # Simple Style: Separate declaration of measurement,interactions and structural model.
library(seminr)
# First, using the orthogonal method as per Henseler & Chin (2010). ----
# Creating our measurement model
mobi_mm <- constructs(
composite("Image", multi_items("IMAG", 1:5)),
composite("Expectation", mul... |
e7e7b863beb8377a2a5cc984602907c1f74f8740 | ff78fce4864f37a3c98ce1b518014760e8e3b6ad | /man/normalScores.Rd | aedf471f89fb5c585eabd89d6323e0db15c390f3 | [
"MIT"
] | permissive | rmnppt/simdr | 062c92381be86e22ebf29aaa876ffb1992ea2ca8 | 990c786b4ea911b86839e473a7c993dc4e3b5c92 | refs/heads/master | 2020-03-30T09:52:52.502042 | 2018-10-10T10:18:39 | 2018-10-10T10:18:39 | 151,096,622 | 1 | 0 | MIT | 2018-10-01T13:51:56 | 2018-10-01T13:51:56 | null | UTF-8 | R | false | true | 1,719 | rd | normalScores.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/normalScores.R
\name{normalScores}
\alias{normalScores}
\title{normalScores}
\usage{
normalScores(v, ties = "average", forwards = TRUE)
}
\arguments{
\item{v}{a numeric vector as the input variable}
\item{ties}{how to deal with ties, passed ... |
f8e1e725ac26124b3ca2fdd4ebdf128fe35cc844 | d837f4be77881476003225c10e672acc1784e92f | /man/calHTqPCR.Rd | 93c964851e6fa3d527b2cd8ed896027e75fef827 | [] | no_license | zgzhao/Xtools | 3dd5368fddeb3451505c281ba0968a6c17fddcdf | adb039a28ecd6a999d5e5b90d6568fb2098b1319 | refs/heads/master | 2021-07-05T13:37:49.490087 | 2021-05-16T13:18:00 | 2021-05-16T13:18:00 | 48,232,055 | 1 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,053 | rd | calHTqPCR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qPCR.R
\name{calHTqPCR}
\alias{calHTqPCR}
\title{Compare gene expression of sample pairs by limma method: FC and stats.}
\usage{
calHTqPCR(
dt,
ref.gene,
comp.strings = NULL,
comp.type = 1,
norm.method = "deltaCt",
verbose = FALSE... |
9794c6708c97a979219805c1f4dc58da7341f3c4 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.security.identity/man/cognitoidentityprovider_get_identity_provider_by_identifier.Rd | 3fc0329f5e407dc29bddaed4aa65d2b022eb403b | [
"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 | 687 | rd | cognitoidentityprovider_get_identity_provider_by_identifier.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cognitoidentityprovider_operations.R
\name{cognitoidentityprovider_get_identity_provider_by_identifier}
\alias{cognitoidentityprovider_get_identity_provider_by_identifier}
\title{Gets the specified IdP}
\usage{
cognitoidentityprovider_get_ide... |
d3e79ee6a48e2c2a1a427a5c4b7896d63fda2386 | 6e5efc0b6b6b37c735c1c773531c41b51675eb10 | /man/GetSigTable.Anova.Rd | 6c4bc18d6928bc0859032946903b691a0da28112 | [
"GPL-2.0-or-later"
] | permissive | xia-lab/MetaboAnalystR | 09aa09c9e57d7da7d73679f5a515eb68c4158e89 | 9edbbd1e2edda3e0796b65adf440ad827abb7beb | refs/heads/master | 2023-08-10T06:08:56.194564 | 2023-08-01T15:13:15 | 2023-08-01T15:13:15 | 109,994,826 | 268 | 165 | MIT | 2023-03-02T16:33:42 | 2017-11-08T15:38:12 | R | UTF-8 | R | false | true | 345 | rd | GetSigTable.Anova.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats_univariates.R
\name{GetSigTable.Anova}
\alias{GetSigTable.Anova}
\title{Sig Table for Anova}
\usage{
GetSigTable.Anova(mSetObj = NA)
}
\arguments{
\item{mSetObj}{Input the name of the created mSetObj (see InitDataObjects)}
}
\descriptio... |
af7725b69dcba137e120f1c7bd79c3f1ff2bceb5 | f8e90f1d7e1765986d1e54518e36be3421340abf | /man/MiRKAT.R.Rd | 9af55b95b9c42ad427bbbcc1da2882f2060971f3 | [] | no_license | cran/MiRKAT | dc223b705b1e95a30ecf32be9187dfe1b2ce7895 | 7458a2346404eb5e6cde863bf2de58a8b9675837 | refs/heads/master | 2023-03-04T06:52:51.698101 | 2023-02-17T13:50:02 | 2023-02-17T13:50:02 | 98,353,574 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 3,131 | rd | MiRKAT.R.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MiRKAT_R.R
\name{MiRKAT.R}
\alias{MiRKAT.R}
\title{Robust MiRKAT (robust regression)}
\usage{
MiRKAT.R(y, X, Ks, omnibus = "kernel_om", returnKRV = FALSE, returnR2 = FALSE)
}
\arguments{
\item{y}{A numeric vector of the a continuous or dichot... |
30e9ae74fb8608c0c30b245195765058c2e025e6 | 4b219a116ff605fee45da5539dc133e4030b6ba9 | /man/pairwise_plot.Rd | accb7fbfe08112106b3405da7761f820527e6b57 | [] | no_license | vermouthmjl/rrr | a002910b1798d8ae96815dbcabc4ab4b92651450 | 28b1b15c7cf4a92aa1fe5f67229259302f5daa2f | refs/heads/master | 2021-01-25T08:13:37.288262 | 2017-06-19T14:45:32 | 2017-06-19T14:45:32 | 93,736,834 | 0 | 0 | null | 2017-06-08T10:26:32 | 2017-06-08T10:26:31 | null | UTF-8 | R | false | true | 2,159 | rd | pairwise_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rrr.R
\name{pairwise_plot}
\alias{pairwise_plot}
\title{Pairwise Plots}
\usage{
pairwise_plot(x, y, type = "pca", pair_x = 1, pair_y = 2, rank = "full",
k = 0, interactive = FALSE, point_size = 2.5)
}
\arguments{
\item{x}{data frame or matr... |
e19d2a106ecce9f1eb2f6dc0bbeb949b72aa4698 | 0ac5531423fc5ce450a336fa6c3da21e2300ce89 | /exercise-3/exercise.R | ef1216d225c961ef8fc93ab3737926e48149c69a | [
"MIT"
] | permissive | 4nierr/ch08-lists | 830e00f1ec5ef711338b671857ef7b16d1f102df | 15f7c2daccbd98144cabfa5e944d62bd41087ac4 | refs/heads/master | 2023-04-09T17:39:39.090668 | 2021-04-21T00:07:00 | 2021-04-21T00:07:00 | 359,978,060 | 0 | 0 | MIT | 2021-04-20T23:34:43 | 2021-04-20T23:34:43 | null | UTF-8 | R | false | false | 1,272 | r | exercise.R | # Exercise 2: `*apply()`
# Create a *list* of 10 random numbers. Use the `runif` function to make a vector of random numbers,
# then use `as.list()` to convert that to a list.
# Use `lapply()` to apply the `round()` function to each number, rounding it to the nearest .1
## Bonus
## Create a variable 'sentence' t... |
84982ba7f35f5bd014859fd757c5716829c43c25 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /quantregRanger/R/RcppExports.R | 7f6feb993da51c8ec7a7c2d77c8f5c19d99f154a | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,455 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
Findweights <- function(ONv, NNv, WEv, nobs, nnew, ntree, thres, counti, normalise) {
.Call('_quantregRanger_Findweights', PACKAGE = 'quantregRanger', ONv, NNv, WEv, nobs, nnew, ntree, thre... |
20a80d4b033285b3e0a9fe43abfb3f60ad906b11 | 8e80765a6b757263315ffb8e42718fbb1359c924 | /ch11/myCalculator/.Rproj.user/F2E7AEE4/sources/per/t/C2979E9D-contents | 491e29f36f0337aa076491c2d46c64fc797af301 | [] | no_license | sycho0311/R-Basic | 5c0c5499535b454f5399b99c8558356acfb56eb4 | 39ba67a34a0812faef7ef7a2e9b9ff15b9bd7cb9 | refs/heads/master | 2020-04-01T17:35:17.387095 | 2018-10-17T10:24:12 | 2018-10-17T10:24:12 | 147,784,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,279 | C2979E9D-contents | makeScoreData <- function() {
setwd("C:/Users/sycho/Desktop/R/ch11")
data <- read.table("student.txt", header = TRUE, stringsAsFactors = FALSE)
score1 <<- data.frame(학번=data$id, 이름=data$name, 국어=data$kor, 영어=data$eng, 수학=data$mat)
cat("성적 데이터 :\n")
print(score1)
}
# dataFrame에 있는 특정 행 또는 열에 대한 데이터에 어떠한 함수를 사... | |
914943a27548529974848c82b6b6ea06a9969a6d | ad632407b9728d158510388e341f022d0c4fbdab | /lib/plotChoropleth2.R | 09b7731921c060c93769f7ab670fcaa6c91aad60 | [] | no_license | ramnathv/Chicago-Mayoral-Elections | e06d2bc6b4b3b9eb3f4f0f6b48d327c48e47a236 | 85de84cfe2d256bdb665ae6c553adb64e7937bcc | refs/heads/master | 2021-01-20T05:08:13.694225 | 2012-03-21T15:59:33 | 2012-03-21T15:59:33 | 1,433,813 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,794 | r | plotChoropleth2.R | # FUNCTION TO PLOT A CHOROPLETH MAP
# TODO. Split the function into pieces
# 1. merge_poly_df: merge shapefile and
# 2.
# HELPER FUNCTIONS
merge_poly_df <- function(.poly, id1, .df, id2, field, type){
require(ggplot2);
# create id for shapefile
id1 = llply(id1, as.name);
.poly@data$id = with(.poly@data... |
82c32610c066e0e936fea2dd0ec5afa67bcd1696 | c74d0ab31e84404f48be9e8db063d2ce7f2ae3e3 | /man/cgrcusum.Rd | f59e9ce70f702384f8d7ff84cbda8d397e26cfc1 | [] | no_license | cran/cgrcusum | a443fa0770610d91d3569f1a7de591eee939a5d2 | 30ef81221d07df54320b9089957be30c3872938b | refs/heads/master | 2023-09-05T11:29:53.223648 | 2021-11-22T07:00:09 | 2021-11-22T07:00:09 | 430,765,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,686 | rd | cgrcusum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cgrcusum.R
\name{cgrcusum}
\alias{cgrcusum}
\title{Continuous time Generalized Rapid response CUSUM (CGR-CUSUM)}
\usage{
cgrcusum(
data,
coxphmod,
cbaseh,
ctimes,
h,
stoptime,
C,
pb = FALSE,
cmethod = "memory2... |
fe6997767bd543671ac9dc0c60f60a579d7c143a | d696a2f40ea1dd93760dafb53e1de49c69f7e733 | /inst/event_detector/app.R | 576bba719f44e2802e035248262725c67ff59a06 | [] | no_license | ucvm/event_detector | a5f7c73e0b817a825209200aebd0227f50832cca | c8174c1970675384aaa0f3e8397fdb96d7fbeea9 | refs/heads/master | 2021-03-24T20:37:31.614165 | 2019-10-30T16:16:30 | 2019-10-30T16:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,643 | r | app.R | library(tidyr)
library(readr)
library(RColorBrewer)
library(magrittr)
library(tibble)
library(baseline)
library(pracma)
library(shiny)
library(shinythemes)
library(stringr)
library(dplyr)
library(ggplot2)
library(DT)
# library(multidplyr)
library(eventDetector)
# set env variable for zip to work
#Sys.setenv(R_ZIPCMD="... |
bd8bc26a154001845f0ee69772f785da4aa5a117 | e5cc3ca8b8c2525beb0231bcb9457b249182bfac | /R/os_line_ending.R | 78a7c12622d3892497be22b0e7f552378d59b479 | [
"MIT"
] | permissive | dpastoor/devutils | 06ce7aea5c2a7e125063ce6a6c39e18022488942 | 7bef165db81904d58939ae8bd2d8064956329474 | refs/heads/master | 2021-04-29T10:33:31.890824 | 2018-10-22T11:57:47 | 2018-10-22T11:57:47 | 77,639,744 | 3 | 0 | NOASSERTION | 2019-06-21T01:41:56 | 2016-12-29T21:02:27 | R | UTF-8 | R | false | false | 366 | r | os_line_ending.R | #' os specific line ending
#' @param force_value force a specific return value, to override the platform type
#' @details
#' returns a carriage return `\\r\\n` for windows and `\\n` for unix
#' @export
os_line_break <- function(force_value = NULL) {
if (!is.null(force_value)) {
return(force_value)
}
ifelse(.P... |
6f763edbab8c1f1f3d3b209800581beed0ba246e | 5c9f9e93106a21bb1c1937c9dd972c2ad21ae4cc | /man/coef.countgmifs.Rd | c8edf1bad6014d071e7c41a891fea09941189264 | [] | no_license | cran/countgmifs | f308da0c8baf395cfb6a2f671eab24f7b6113826 | f0b61cd6fc04b5845d0f84fae318cdf89fe34644 | refs/heads/master | 2020-03-27T03:55:49.565073 | 2020-01-08T13:20:02 | 2020-01-08T13:20:02 | 145,899,296 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 965 | rd | coef.countgmifs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coef.countgmifs.R
\name{coef.countgmifs}
\alias{coef.countgmifs}
\title{Extract Model Coefficients.}
\usage{
\method{coef}{countgmifs}(object, model.select = "BIC", ...)
}
\arguments{
\item{object}{an \code{countgmifs} fitted object.}
\item{... |
6c60cdb62a8fc460103dbca3e62bd50290fb14e3 | caef4bb4ee1b367fbbcad10b478c832f514f1605 | /MAPA SC.R | f0f92b538e1bff7c13e8938f928cb97abd1a21c7 | [] | no_license | marcusfreire0504/Ciencia_de_Dados | 606939084e75ba6a885404a713cb8605bcf803d0 | c908a091391de0fdab2b007e152b231243e47b27 | refs/heads/master | 2022-11-04T22:32:56.251258 | 2020-06-13T18:19:21 | 2020-06-13T18:19:21 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,619 | r | MAPA SC.R | ###############################################################################
# Pratica: FDSC Fonte: http://metrico.statanything.com/ #
# INSTRUTOR: jkarlos/Raniere #
# Data: 14/12/2016 ... |
c304e2471cbd10e8cdc5d9b617025b9204b2d8cc | b9e07cf265f508aabb564293ea4f6ce7b339ae72 | /man/dist_wlatlng_cpp.Rd | 3e278974a97aab72468953379552922afb3ee1b7 | [] | no_license | cran/skm | c8b11ba8cd20858bdbb8cfe35f0943f45008e095 | 7c6a5e7e3c6f37ae3db362c0fbee77f466d31b7b | refs/heads/master | 2021-01-13T05:33:27.730603 | 2017-01-23T07:22:33 | 2017-01-23T07:22:33 | 80,006,272 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,393 | rd | dist_wlatlng_cpp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{dist_wlatlng_cpp}
\alias{distRpl_wlatlng_cpp}
\alias{distSgl_wlatlng_cpp}
\alias{dist_wlatlng_cpp}
\alias{dist_wlatlng_km_cpp}
\alias{dist_wlatlng_mi_cpp}
\title{dist_wlatlng_cpp}
\usage{
dist_wlatlng_mi_cpp(lat1... |
df91aae673fe2540496c5d1466ede6bd11322883 | 52817a5a47ac90b694a6ca80e628470ae742b1e4 | /R/plot.all.R | 2c3b2bf25b1af113dbbd9fceb7f94df2eb4f0c34 | [] | no_license | dbgstat/ames | ff06f53f40f3b42324df6b71ee28bb09e7b8b692 | 56e8cb1669b0efd3c9d3f3e7bfbed05a1fc97fab | refs/heads/master | 2021-01-19T08:04:01.002032 | 2015-10-06T00:25:38 | 2015-10-06T00:25:38 | 41,557,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 875 | r | plot.all.R | #' (internal)
#'
#' @export
plot.all <- function(obj,nsim=1000){
if(obj$fit.method=="gnlm"){
plot.fitames(obj,
smooth=T,
deviance.plots=T,
std.deviance.plots=T,
pearson.plots=T,
std.pearson.plots=T,
qqplot=T,
... |
4e132f7c20135479dd39bbfd0d0ca96d1933cab9 | 877c925b7a16807108258c3c36198db85febe943 | /server.R | c769e21f34c87c255f01ec660507209c82b52b2d | [] | no_license | manojprasad581/ShinyAppsAssignment | d556ffbb22de7fdf3b7cd5528cbe443a830ff0f9 | fee32a0b858b0db53c5682019ad3dca5161eae1b | refs/heads/master | 2022-04-09T08:28:34.014834 | 2020-03-28T23:11:30 | 2020-03-28T23:11:30 | 250,400,926 | 0 | 0 | null | 2020-03-28T23:11:31 | 2020-03-27T00:09:15 | HTML | UTF-8 | R | false | false | 1,660 | r | server.R | library(shiny)
library(leaflet)
library(dplyr)
data("quakes")
process_quakes_data <- function() {
# Based on magnitudes, add a color variable
quakes <- quakes %>% mutate (
color = case_when(
mag >= 4.0 & mag <= 4.9 ~ "blue",
mag >= 5.0 & mag <= 5.9 ~ "orange",
mag >=... |
f64f5bc3dc0f2eaf807033d48813d9d9e27e7d8c | 1416a941d19862c1b6eef5745f1103c3a30ee2a0 | /tests/testthat/test-verb-arrange.R | 6a593032d8880231e370c069e9af712d1187f748 | [
"MIT"
] | permissive | shosaco/dbplyr | 2042cd755a99553b2e9c4d840ec1adbb5e44a837 | 2fbdddb3c11f9684d6fd9ced8f9b76b594c15b5d | refs/heads/master | 2021-07-21T05:19:36.759028 | 2020-09-21T13:47:24 | 2020-09-21T13:47:24 | 211,905,628 | 0 | 0 | NOASSERTION | 2019-09-30T16:34:27 | 2019-09-30T16:34:27 | null | UTF-8 | R | false | false | 1,981 | r | test-verb-arrange.R | context("arrange")
test_that("two arranges equivalent to one", {
mf <- memdb_frame(x = c(2, 2, 1), y = c(1, -1, 1))
mf1 <- mf %>% arrange(x, y)
mf2 <- mf %>% arrange(y) %>% arrange(x)
expect_equal_tbl(mf1, mf2)
})
# sql_render --------------------------------------------------------------
test_that("quotin... |
7b8fe374f11aed2b911f0781f30a0e0f5351c655 | 08b2fbbcae2905aa361001743e78784727369046 | /R/select_helpers.R | 963fcc93c24acaabc01766710d648e1a3a325781 | [
"MIT"
] | permissive | shijianasdf/gtsummary | d0bd29d40b31d64ba77c4f19ff4aa74e37d92b1e | a6b4bf41553a336223c0d2656135349a2bf1de98 | refs/heads/master | 2022-12-11T16:06:26.278085 | 2020-09-14T18:11:35 | 2020-09-14T18:11:35 | 295,585,427 | 2 | 0 | NOASSERTION | 2020-09-15T01:50:55 | 2020-09-15T01:50:54 | null | UTF-8 | R | false | false | 2,608 | r | select_helpers.R | #' Select helper functions
#'
#' Set of functions to supplement the {tidyselect} set of functions for selecting
#' columns of data frames. `all_continuous()`, `all_continuous2()`, `all_categorical()`, and
#' `all_dichotomous()` may only be used with `tbl_summary()`, where each variable
#' has been classified into one o... |
2c1ab2ed9f95fc3f4011226b5da7347ee21703df | f6dcb066042632979fc5ccdd6aa7d796d3191003 | /Problem Sets/Student Submissions/Problem Set 2/1952890/q1_template.R | 49812de959671d944cc7951cc0bef7c812757d97 | [] | no_license | NikoStein/ADS19 | 45301bcd68d851053399621dd8a0be784e1cc899 | 90f2439c6de8569f8a69983e0a605fd94e2e9f0a | refs/heads/master | 2020-05-19T19:10:12.411585 | 2020-03-12T00:02:14 | 2020-03-12T00:02:14 | 185,165,255 | 0 | 4 | null | 2019-08-06T06:16:30 | 2019-05-06T09:26:01 | HTML | UTF-8 | R | false | false | 5,196 | r | q1_template.R | # Problem Set 2
# Question 1
require(tidyverse)
require(rvest)
library(robotstxt)
# paths_allowed(c(url))
# robots.txt nicht bei jeder HTML-Seite hinterlegt, dann kommt HTTP-Status: 404
###################################################################################################################################... |
61609ad1889bd3e0a15aa9ef6b623ee8fcd47603 | 8458a1896759bf1af507aec560a50be2c4f75d8a | /week_two/week_two_practice_problems_solutions.R | 409d5cf87d7be265e592e22503d3c17622c987cd | [] | no_license | seharjan/r-programming-and-rnaseq-workshop | 6bb5ee2cdfc1bc70e8d2e78fb915c7ce8e470b5b | 5461443190782a68420764813643178c3785bb4a | refs/heads/master | 2023-04-08T16:09:52.418883 | 2021-04-04T18:04:20 | 2021-04-04T18:04:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,771 | r | week_two_practice_problems_solutions.R | ### Problem One ###
#Create the vector fruit
fruit <- c('Apple', 'Orange', 'Passion fruit', 'Banana')
# prt 1
# Create the for statement
for ( i in fruit) {
print(i)
}
# prt 2
for(var in 1:length(fruit)) {
print(fruit[var])
}
# prt 3
# skip over the value "Orange"
for(var in 1:length(fruit)) {
if (fruit[var] =... |
f6414e4af54bc14653e5da6f4f16922c2b1c7719 | 5870f3e6fb5898c3ee1a1b92d051a8baca53d887 | /Lab_Working_Files/Lab_1/Lab_1_Finished/SSC442_Lab_1.R | 1f14d708a0f3af9f0e7e6b9fe7d118f18c1bdd17 | [] | no_license | lathamri/SSC442-Baseball_Regression | 963b536bc97a6f74ddac8ec4dca979d3fe1d9b01 | 0e98285f79582632a0ae741f7d32f81b959b0739 | refs/heads/master | 2020-12-08T03:05:56.569895 | 2020-04-28T20:24:50 | 2020-04-28T20:24:50 | 232,866,377 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,716 | r | SSC442_Lab_1.R | library(tidyverse)
library(ggplot2)
library(gapminder)
library(scales)
ggplot2::mpg
# typing geom_ will show all possible options of plots from ggplot2
# generates gapminder data set
head(gapminder)
# binds our variables of interest, gpdpercap and life exp
p = ggplot(data=gapminder,
mapping=aes(x=gdpPercap... |
21f114baa0bce0d30bc473f45d1fd1ada2cf90fa | 1a0f32c9ceab460326da48b823669ea2f1a64f72 | /man/remove_open_brackets.Rd | 4facaceadb8585b27a9f88ad8bac0f617959b730 | [] | no_license | kieranjmartin/getfunctionargs | b141fee17fa254b3a87bcfbc1e559c6cee73570b | 8a4efba283dbacaa8484fe522cb10194fe67b8d2 | refs/heads/master | 2020-03-22T20:12:53.495424 | 2018-07-13T13:58:33 | 2018-07-13T13:58:33 | 140,581,867 | 2 | 1 | null | 2018-07-13T13:58:34 | 2018-07-11T13:50:41 | R | UTF-8 | R | false | true | 339 | rd | remove_open_brackets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/remove_open_close.R
\name{remove_open_brackets}
\alias{remove_open_brackets}
\title{remove_open_brackets}
\usage{
remove_open_brackets(stringin)
}
\arguments{
\item{stringin}{string to remove brackets from}
}
\description{
Function to remove ... |
a770342d5746153c610edd78435fa3cec3e0a84d | 68c08f993b6db072e64a9618f14aa0eef24025f3 | /unittests.R | 60f983a9e3e8f8d83d8a0932bc968ef5f11ae409 | [] | no_license | operdeck/polyhedra | e475d7cbc506907a3d3ee8384f25f0a6e2a800f8 | f4dd69c1dea48baa12075d680396f8140497837d | refs/heads/master | 2020-06-18T03:15:14.160366 | 2020-02-11T15:49:06 | 2020-02-11T15:49:06 | 196,147,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 328 | r | unittests.R | library(testthat)
source("utils.R")
source("geometry.R")
source("polyhedra.R")
source("layout.R")
source("tests/test_utils.R")
source("tests/test_geometry.R")
source("tests/test_polyhedra.R")
source("tests/test_draw.R")
source("tests/test_layout.R")
test_results <- test_dir("tests", reporter="summary")
#print(test_... |
48516986e6ab173bd3bfeaa0b46ebc14eb4f5623 | e7600a22232d22511f3a77ce1da5f89d6a5a6440 | /src/recount/pca/irlba_noProj_noScaled_over100_noSingle.R | df876a344f3207b046764df795838eb51abdbae3 | [] | no_license | SuLab/expression_map | aba55c8d21e65fa4b000144126352e8df373e83a | 72e266417f114c4f2a1094419622aabd4f40765e | refs/heads/master | 2021-10-11T21:19:24.791487 | 2019-01-29T23:23:34 | 2019-01-29T23:23:34 | 110,739,279 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,495 | r | irlba_noProj_noScaled_over100_noSingle.R | library(irlba)
library(bigmemory)
library(bigalgebra)
library(Rcpp)
matmul <- function(A,B,transpose=FALSE){
if(is.null(dim(B))) B <- cbind(B)
if(is.null(dim(A))) A <- rbind(A)
if(transpose)
return(cbind((t(B) %*% A)[]))
## print(typeof(A))
## print(typeof(B))
## print(dim(A))
... |
4810ecf792ad49363696471b7f0603773e81b997 | 1f2429c4ee1ae623374f6d3fbecbc056b4ac5526 | /man/validate_canvas_size.Rd | 4997edca9ad4ea72d52cbc21a5c65af2705cf31a | [
"BSD-2-Clause"
] | permissive | nsh87/receptormarker | 1c47d9a6c461b41afd0a9d30fe7cddffd20e7ffd | 4f2c1e9e45b2c94da2c4a56f639b9ef1c1fec6dd | refs/heads/master | 2022-08-31T04:25:05.025729 | 2022-08-21T19:34:06 | 2022-08-21T19:34:06 | 35,985,771 | 4 | 9 | BSD-2-Clause | 2021-11-30T21:08:12 | 2015-05-21T02:18:12 | JavaScript | UTF-8 | R | false | true | 458 | rd | validate_canvas_size.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/radial_phylo.R
\name{validate_canvas_size}
\alias{validate_canvas_size}
\title{Validate a radial phylogram's canvas size}
\usage{
validate_canvas_size(canvas_size)
}
\arguments{
\item{canvas_size}{A \code{canvas_size} from the \code{\link{rad... |
07b716483cc2e4d5c687e370ad13f027086e1a3b | f821f8d86e036b4bd2efdb4558410b147f46b8cd | /R/dm_plotPrecision.R | b96c7344c9fe5394dd7bd778e4f203f7f7c4c059 | [] | no_license | gosianow/DRIMSeq_before_BioC3.6 | 7e7d88c7b7e6dd795f73f3a02467780127937de6 | 5c55e9136c304e65f731f6d3fb1620f99fd23636 | refs/heads/master | 2021-06-16T06:27:25.714680 | 2017-05-24T15:15:29 | 2017-05-24T15:15:29 | 26,443,709 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,258 | r | dm_plotPrecision.R | #' @importFrom ggplot2 ggplot aes_string theme_bw xlab ylab theme element_text
#' guides guide_colorbar scale_colour_gradient geom_point geom_hline
#' @importFrom stats quantile na.omit
dm_plotPrecision <- function(genewise_precision, mean_expression,
nr_features = NULL, common_precision = NULL, low_color = "roy... |
15d9b7589124018b8da773b701e9eb5589c7e1ec | a5be19737a57491c0dfbe41d068558542b2d5e10 | /inst/doc/jordan.R | 9337e2d53dff8acca20aa34eee1cbce0edc56f05 | [] | no_license | cran/jordan | 02ed2dfc77ae1c2d23b7b37016a24d019ce6ee87 | 576f96a2d484e0f60d1a451a465ea6a7984c4380 | refs/heads/master | 2023-03-29T00:43:24.948503 | 2021-04-08T10:00:02 | 2021-04-08T10:00:02 | 355,965,712 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,740 | r | jordan.R | ## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
library("jordan")
## -----------------------------------------------------------------------------
x <- rrsm() # "Random Real Symmetric Matrix"
y <- rrsm()
z <- rrsm()
x
## ------------------------... |
c44ea3b19e779c6e3aecebc37def65a386252cf6 | 37fcfce951487d3ba45d2ba3dbc22b6360939b77 | /R/xis_ecmo.R | eabf9ee01b4ec4195cd3c66a99b84ad93f8d5100 | [] | no_license | abresler/nbastatR | 576155fb58378c03010590c81806515161c03eb5 | aba9179ef644f263387c1536d6ddd26104d79cf4 | refs/heads/master | 2023-08-08T08:52:05.149224 | 2023-07-19T13:09:21 | 2023-07-19T13:09:21 | 43,844,510 | 307 | 94 | null | 2023-02-01T16:59:22 | 2015-10-07T21:00:59 | R | UTF-8 | R | false | false | 2,190 | r | xis_ecmo.R | .curl_chinazi <-
function(url = "https://stats.nba.com/stats/leaguegamelog?Counter=1000&Season=2019-20&Direction=DESC&LeagueID=00&PlayerOrTeam=P&SeasonType=Regular%20Season&Sorter=DATE") {
headers = c(
`Connection` = 'close',
`Accept` = 'application/json, text/plain, */*',
`x-nba-stats-token` ... |
fe6bc5afb1a7677be4b81d55ba456031184d5813 | 7f6b92db5250b7939431fbd073cb9e40cbc7c5ad | /tests/testthat/test_constructor.R | f0f6ef70c809c447b50ee02df94cfd19314a3a39 | [] | no_license | kevinbenac/clusterExperiment | 30af008e8680907d7bd6095f4a8b535cc3ca1668 | fb70816bfea3f0eda13508c38d4a3caedfb993e9 | refs/heads/master | 2020-03-11T16:51:29.042619 | 2018-04-17T15:09:08 | 2018-04-17T15:09:08 | 130,130,171 | 0 | 0 | null | 2018-04-18T22:45:40 | 2018-04-18T22:45:40 | null | UTF-8 | R | false | false | 14,082 | r | test_constructor.R | context("Constructor")
test_that("saved rsecFluidigm is still valid object", {
data(rsecFluidigm)
expect_true(validObject(rsecFluidigm))
})
test_that("`ClusterExperiment` constructor works with matrix and SummarizedExperiments and SingleCellExperiment", {
expect_error(ClusterExperiment(mat), ... |
34ae402f05a3fbb8e662f12d7e2fd0787313957e | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610125770-test.R | 34b9971537edf43e4a5185a115aa9b096aafac3e | [] | 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 | 209 | r | 1610125770-test.R | testlist <- list(rates = numeric(0), thresholds = c(7.0962053319034e-304, 3.87659826574302e-311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = numeric(0))
result <- do.call(grattan::IncomeTax,testlist)
str(result) |
013c1fdee12c6dd7bc18cf0166ea7a305092fede | 2ad722dc0d6bb83593360ab88f0be65681e3aff7 | /R/range.R | f6811e673941776cfedb57ab7f4034533f1c87d2 | [] | no_license | glsnow/TeachingDemos | 30d3932285fa3f5666d703f6d71d56b6cd126c4c | c0474cc2825a7ff34211769a393025ce41eee485 | refs/heads/master | 2023-01-07T14:56:19.475878 | 2020-06-30T22:00:39 | 2020-06-30T22:00:39 | 198,704,527 | 0 | 1 | null | 2023-01-03T10:36:28 | 2019-07-24T20:20:48 | R | UTF-8 | R | false | false | 1,041 | r | range.R | `%<%` <- function(x,y) {
xx <- attr(x,'orig.y')
yy <- attr(y,'orig.x')
if(is.null(xx)) {
xx <- x
x <- rep(TRUE, length(x))
}
if(is.null(yy)) {
yy <- y
y <- rep(TRUE, length(y))
}
out <- x & y & (xx < yy)
attr(out, 'orig.x') <- xx
attr(out, 'orig.y') <- yy
out
}
`%<=%` <- funct... |
c086d3e87d5b987293266dea5f86367186bba6dd | 64fb59f5a4fd596edb756efb966c8ce4607f930b | /render_map/ui.R | 26b811354823f552c6ff18ad321a7500031fe967 | [] | no_license | misrori/szechenyi_map | cc801fde45e14528d95a231a7416b35b0bef8b06 | 6b2346b7521bbc9137a01ab781c23358388505e2 | refs/heads/master | 2021-01-20T17:12:52.762750 | 2017-05-12T11:27:07 | 2017-05-12T11:27:07 | 90,867,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 460 | r | ui.R | library(rgdal)
library(data.table)
library(geojsonio)
library(leaflet)
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
div(h1(textOutput('ezenvagyok'), align = "center")),
hr(),
leafletOutput("megye"),
hr(),
fluidRow(
column(6, plotlyOutput('summary_plot', height =... |
dbf9d62d281517c5140e4d9734dcc13414e83be6 | 64df258d5c7cff7bdf5ee76b7e169c49bbd397d3 | /sig_vis_mat.R | a8ef282040ed9310e9c7bef57333a96ccc0c0d2e | [] | no_license | jpalowitch/configModel | 5663652f12dd57f15630a3513f55cce122bd3657 | d13d4712eddb4d2f7cd876490a1d24c71eec4ee1 | refs/heads/master | 2021-01-20T03:11:56.860290 | 2017-04-26T17:10:55 | 2017-04-26T17:10:55 | 89,507,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 491 | r | sig_vis_mat.R | sig_vis_mat <- function (G, membership) {
degs <- degree(G)
K <- max(membership)
comms <- lapply(1:K, function (i) which(membership == i))
sigmat <- matrix(0, ncol = K, nrow = K)
Gadj <- as.matrix(get.adjacency(G))
dT <- sum(degs)
for (i in 1:K) {
duB <- colSums(Gadj[comms[[i]], ])
mean... |
fe21d66922fe23790170815165432b061505d620 | 53da081a6f1e43dbe889d4f89c55f908f64aac24 | /man/select_group.Rd | cfbbd15d42f35bf10d9aae261d922770d884f07a | [
"MIT"
] | permissive | potterzot/kgRainPredictR | c02b92928a072cb4447d7e4a7f9cb30a2c609b8e | 66c71bbfd6632093e93a7d3f63424db9f4fa9fba | refs/heads/master | 2021-01-10T04:39:29.968767 | 2015-10-07T20:37:05 | 2015-10-07T20:37:05 | 43,226,530 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 674 | rd | select_group.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/utils.R
\name{select_group}
\alias{select_group}
\title{Select a group of ids from a large data file.}
\usage{
select_group(dat, group_var, s, columns, num_chunks, chunk_size = 10000)
}
\arguments{
\item{dat}{the data.}
\item{group_v... |
b7fc6d155cf004ceaa0c28a299cab92a76a6cc8e | 530eea15263a914e4bed5e14291fda1b07939232 | /packages/fsProjAlzOptimalDiet/man/prepareModelConfMatrix.Rd | 69cd9456b5a0005855868f3da572acc142c91d94 | [] | no_license | seventm/fsproj_alzheimeroptimaldiet | cc3dddfcf79f00df5ae62bbdb7c558d6061b2c9e | ba0b3643e13999735bae57f5f2754db08399ff7f | refs/heads/master | 2020-11-23T23:21:05.141878 | 2019-05-24T10:32:20 | 2019-05-24T10:32:20 | 227,861,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 478 | rd | prepareModelConfMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculations.R
\name{prepareModelConfMatrix}
\alias{prepareModelConfMatrix}
\title{Prepare model configuration matrix}
\usage{
prepareModelConfMatrix(model.conf, params.matrix)
}
\arguments{
\item{model.conf}{list model configuration}
\item{... |
9f44f187743ecf853abca3e8ff2eac1cba907b35 | c93321125b04eb0f89cc536d0e19676916726d03 | /Shiny_App/Two_Means/bayesEst.R | 20586a83cb2cbb1c0bec0c10b853c042dc009e84 | [
"MIT"
] | permissive | melissa-wong/Stats_Examples | 32ddf1cb1e51e299e283a05d22d2d0cc61f08017 | 5ff94899deb307634059bd5967bc9c7c41320787 | refs/heads/master | 2023-06-02T12:53:36.374478 | 2021-06-21T12:58:49 | 2021-06-21T12:58:49 | 186,298,099 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,515 | r | bayesEst.R | library(BEST)
library(tidyverse)
library(gridExtra)
bayesPlots <- function(samplesX, samplesY)
{
priors <- BESTmcmc(samplesX, samplesY, doPriorsOnly = TRUE)
posteriors <- BESTmcmc(samplesX, samplesY)
priorMeans <- priors %>%
select(c(mu1, mu2)) %>%
rename(X=mu1, Y=mu2) %>%
pivot_longer(cols=c(X,Y)... |
d90acb0ccca8678fdd8fcd1ee0e90d2e8a7977de | 079d0060b881b0efad6e02d0e3b089eb409f7063 | /pseudotime_analysis/tradeseq_slingshot.r | 671eb65d067979d4427d923dbd39438139b48178 | [
"MIT"
] | permissive | howchihlee/covid_brain_sc | dcfc0f923cc4265b3175364d0281301d5b5c6e7e | 7b548d810426290a3815bcd2ce6edaaeafc024cb | refs/heads/master | 2023-07-03T23:38:42.455680 | 2021-08-17T15:52:43 | 2021-08-17T15:52:43 | 382,200,749 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,873 | r | tradeseq_slingshot.r | library(BiocParallel)
library(tradeSeq)
library(mgcv)
library(clusterExperiment)
library(slingshot)
exprs = read.csv('./data/mic_gene_expression_raw.csv', row.names = 1)
counts = as.matrix(exprs)
meta = read.csv('./data/mic_diff_meta.csv')
rd = read.csv('./mic_diff_pca.csv')
ind_gene = colSums(counts) > (0.5 * nrow(c... |
750128d9374ca5d2d652451b0c26b227e04d4897 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/DQBF-TRACK-2018/E1+A1/Experiments/scholl_C499.blif_0.20_1.00_9_2_henkin/scholl_C499.blif_0.20_1.00_9_2_henkin.R | 4454c8b991ada54ea7968cfb25979de7d8acb0a2 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | scholl_C499.blif_0.20_1.00_9_2_henkin.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 2507
c
c Performing A1-Autarky iteration.
c Running Lingeling ...
c
c Remaining clauses count after A-Reduction: 2507
c
c Input Parameter (command line, fil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.