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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7369da95ca97bf05f7b629632374700f9e2ceace | 5358afe2a4683d2d56b17353d2bc4a1a088cf8cd | /chapter3.R | aedf40b0959a5f1e846a155b7f3ef5b50b1c1b08 | [] | no_license | jhirx/IODS-project | 2af17b8f56638771285d639ba66e6606dd154a4e | 93b856cbfbdcd6077f24d12cf8a851126151c9b5 | refs/heads/master | 2020-08-31T13:30:45.158269 | 2019-12-09T16:49:16 | 2019-12-09T16:49:16 | 218,700,989 | 0 | 0 | null | 2019-10-31T06:41:39 | 2019-10-31T06:41:35 | null | UTF-8 | R | false | false | 3,129 | r | chapter3.R | # rs 17.11.2019 jouni hirvionen
#metadta
#ja tähän sitten koodi kommentoituna
#install.packages("dplyr")
#luetaan data sisään, read data in
#readin data in
#d1=read.table("d:/yliopisto/IODS-project/data/student-mat.csv",sep=";",header=TRUE)
#d2=read.table("d:/yliopisto/IODS-project/data/student-por.csv",sep=";"... |
964786567f0184416e7a697bab6301b111cca10c | 8ae7107d0d5d51dda8f8b4d5d9e67879f54223ea | /dotplot_Fig4i/dot.grah.R | ef90a58114a106900af8eeb1249d1a67c91f9b4a | [] | no_license | biolchen/TNF-and-Ferroptotic-Cell-Death | f7016a4eaccd71d9ab52fa41a77fc65cee3a2756 | 1c5b200f08c28645e932d8999eff9c198b528532 | refs/heads/main | 2023-08-22T17:56:50.642062 | 2021-10-11T08:59:24 | 2021-10-11T08:59:24 | 415,839,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,860 | r | dot.grah.R | library(ggplot2)
all_pval <- read.table("pvalues.txt",head=T,sep="\t",check.name=0,comment.char = "",quote="")
all_means <- read.table("means.txt",head=T,sep="\t",check.name=0,comment.char = "",quote="")
all_pval <- all_pval[,-c(1:11)]
all_means <- all_means[,-c(1:11)]
intr_pairs <- all_pval$interacting_pair
selected... |
6ff18f8d158aa811239d7e72901123607486b7c8 | f6058fd58749cbca65d7a69bafe87d817d84af41 | /scripts/r/seg.distortion.project/bedtools.processing.R | 2cefd2a212ca91d9f0d2f8957e21f70a9999f4c5 | [] | no_license | alexcoulton/phd | ac9eca4e5f3202912150151097755d752343ec27 | b6c402c7e85e1a75d97bc2fc0caa5b35b77d7b2d | refs/heads/master | 2023-07-05T22:00:43.246138 | 2021-08-13T11:48:44 | 2021-08-13T11:48:44 | 345,630,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,149 | r | bedtools.processing.R | # ____________________________________________________________________________
# PROCESSING BEDTOOLS EXTRACTION FILE ####
fafile = ReadFasta("rotation1scripts_v4/original_data/IWGSC/bed.tools.genes.only.extraction.fa")
fafile[] = l... |
384de27e97dc78b0275b89601caac830768212e9 | 082c09005c40c587ee4bca23b9572794133006ae | /Projects Exhibit/D1 CapStoneProj_Hotels/JamesGangavarapu My Project Code.R | b2d6233a097f2bd2b4efc2d2a5c96635dc8355dd | [] | no_license | jamesrohan/Projects_SampleCode_Exhibit_For_Employers | e381def4012f43fef72b84d98294591340c661f6 | bd1b5765ddcda3f6f130fd6f4d98cc81e739ebd2 | refs/heads/master | 2021-01-23T07:09:38.935342 | 2017-09-05T16:22:03 | 2017-09-05T16:22:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,009 | r | JamesGangavarapu My Project Code.R |
############## 1 Reading CSV file into R #################
setwd("C:/Users/Nikki/Desktop/James/Data Science Internship/Assignments/Projects/CapStoneProj_Hotels")
hotels.df <- read.csv(paste("Cities42.csv", sep=""))
attach(hotels.df)
############ 2 Summary Stats ############
summary(hotels.df)
library(psych)
descr... |
3558a7bc32239e47b4a918a34a698ba698481a2e | 3236820dba5b12fd922cc5178a1ed2aed45a3eb1 | /BayesS_ingenuo.R | 21a8df04193453c7419c6c069c4dbbf06cf11a23 | [] | no_license | PauOrtiz/R | 378ef008c9be74fca52db6546679875f0302f43e | d75ee532807888d141d06736a99ce7a300873c18 | refs/heads/master | 2020-03-19T07:05:56.066824 | 2018-10-02T14:51:12 | 2018-10-02T14:51:12 | 136,084,895 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | r | BayesS_ingenuo.R | install.packages("e1071")
library(e1071)
data(iris)
View(iris)
clasificador <- naiveBayes(Species ~ ., data = iris)
clasificador
predicción<- table(predict(clasificador, iris), iris[,5])
predicción
clasificador$apriori
plot(predicción,col = hcl(c(120, 10,44))) |
b2909667a78f7f530809f10cd2e0271f9102a80b | 53090103043ba3e5b92aad4c42c9f85774656719 | /DavidGrinan/ejercicios 4-8/machine-learning-ex7/ex7/ex7.R | 6d2202216f1b7f5b3bf771b861768b0a732dcb4e | [] | no_license | nanirg/SharedCourseraR | 2dc0b767eed463e4dc55dcd48b1023a2fc5d151b | 4db5e52e60f5c241b33b1824246723be34e9ff30 | refs/heads/master | 2021-01-17T21:22:18.602596 | 2017-03-10T12:37:33 | 2017-03-10T12:37:33 | 84,178,499 | 0 | 1 | null | 2017-03-07T10:01:00 | 2017-03-07T09:10:37 | Matlab | UTF-8 | R | false | false | 920 | r | ex7.R | #esercise 7
library("R.matlab")
data <- readMat("ex7data2.mat")
X <- data$X
source("findClosestCentroids.R")
K <- 3
initial_centroids <- matrix(c(3, 3, 6, 2, 8, 5),3,2,byrow = TRUE)
idx <- findClosestCentroids(X, initial_centroids)
######Compute Means
source("computeCentroids.R")
centroids = computeCe... |
b0c68222d9337c3439d242dc59b5b38f7781c8f0 | b9db037ee7bc2ebf9c228ad1f66fecabccfa70be | /man/connected_matrix.Rd | 85c6f9eb333a36b349f804865ef90fe6e7dcfa44 | [] | no_license | IsaakBM/prioritizr | 924a6d8dcc7c8ff68cd7f5a2077de2fa1f300fe7 | 1488f8062d03e8736de74c9e7803ade57d6fcc29 | refs/heads/master | 2020-12-10T06:23:19.437647 | 2019-12-22T00:04:20 | 2019-12-22T00:04:20 | 233,524,401 | 1 | 0 | null | 2020-01-13T06:13:19 | 2020-01-13T06:13:18 | null | UTF-8 | R | false | true | 3,581 | rd | connected_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connected_matrix.R
\name{connected_matrix}
\alias{connected_matrix}
\alias{connected_matrix.Raster}
\alias{connected_matrix.SpatialPolygons}
\alias{connected_matrix.SpatialLines}
\alias{connected_matrix.SpatialPoints}
\alias{connected_matrix.... |
0e78effd05d9962bf93effeb0f84c0919e53f549 | 3afb3135c2db4945f2c9b8695e63ab51da725e27 | /R/FastExpected.R | 3d7e42a8c14a41c05781899468e52e153f7bcc39 | [] | no_license | YeeJeremy/rcss | 96aef85de8258659dea09d301f22ce3acde249c1 | 8ae215b6e74cbd5d8a288706057b363e4955bba9 | refs/heads/master | 2020-12-25T08:38:28.263763 | 2018-01-18T14:31:31 | 2018-01-18T14:31:31 | 59,882,147 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 392 | r | FastExpected.R | ## Copyright 2017 <Jeremy Yee> <jeremyyee@outlook.com.au>
## Expected value function using conditional expectation matrices
################################################################################
FastExpected <- function(grid, value, disturb, weight, r_index, smooth = 1) {
.Call('_rcss_FastExpected', PACK... |
34acea1faf9b88148ccc727d8ff7b74003798f3a | 41be39c34b0437295d56e6d279560128041cad78 | /to_cluster/anominate_example.R | 31f7590df4f5787654c189e461ea5fed8f81979c | [] | no_license | saudiwin/ARP_Research | 1172e48c1b20694a814927af4ab6bbc0d97a41ba | c71f20bcd9ecdd95cf2a6814c394ce9082507444 | refs/heads/master | 2022-06-13T21:03:25.399989 | 2022-06-07T11:31:55 | 2022-06-07T11:31:55 | 61,546,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 350 | r | anominate_example.R | setwd("~/Box Sync/Measurement/2014")
library(anominate)
library(foreign)
sen <- read.dta("sen112kh.dta")
senvotes <- sen[,-c(1:9)]
rownames(senvotes) <- paste(sen$name,sen$lstate,sep=" ")
senvotes.rc <- rollcall(senvotes, yea=1, nay=6, notInLegis=0, missing=c(7,9), legis.names=paste(sen[,9],sen[,5]))
sen.nominate <- ... |
2ab0a93460d158f511ad667492988c8d6774056c | 8f7d16a98769da225b1c40046a7fbc08383ab143 | /Simulation_Ideas/geneModel_code/sim_functions.R | 1bfafac13662f175e35ef79bcf1600b00b01e061 | [] | no_license | hheiling/deconvolution | de95073d9733f57499e67300438dbc6cbdb3c72b | aa27b899061d8b576be56fda7825db0f41bac223 | refs/heads/master | 2021-07-12T02:45:45.267918 | 2020-09-14T19:35:07 | 2020-09-14T19:35:07 | 201,944,813 | 0 | 1 | null | 2020-03-10T14:13:03 | 2019-08-12T14:18:34 | HTML | UTF-8 | R | false | false | 31,550 | r | sim_functions.R | # Functions to simulate gene counts, isoform probability distributions, and exon set counts
#-----------------------------------------------------------------------------#
# Create gene-level output for all J cell types #
#----------------------------------------------------------------... |
ff6a35720dc8289549721a91fda6669bc53036c4 | 064ab8373ed236a7d73e1ea6f76b2547833eb65d | /shiny/outputs/app_output3_plotlydygraph.R | e8574d6f7478752581c7591f3463c7f0b5d417d8 | [] | no_license | daianemarcolino/dataVisualizationR | fe48692d199aff8c7e9f51dd6d1dc61e21330ae4 | bc0ce2b94111e06fdcd4b61e7a001ffd7004ed57 | refs/heads/master | 2021-04-03T10:07:31.962888 | 2020-12-14T06:18:50 | 2020-12-14T06:18:50 | 124,937,457 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 723 | r | app_output3_plotlydygraph.R | library(shiny)
library(plotly)
library(dygraphs)
# UI
ui <- fluidPage(
# outputs
fluidRow(
column(6, plotlyOutput("grafico1", height = 300)),
column(6, dygraphOutput("grafico2", height = 300))
)
)
# SERVER
server <- function(input, output) {
output$grafico1 <- renderPlotly... |
9e987c7642930bd1fafa571bc74ea8b0cf7ce765 | 7ac133f9871f201f7a956f3b239d8f0030907c06 | /man/get_ROI.Rd | 64976c7f72b5fc2fed53b4f7aa11a4e8634a4347 | [
"MIT"
] | permissive | gopalpenny/anem | 1029318ca01a6172b365ddb7d2181135d909d92c | f2ba63622e0e67a08423b20c5f09a34b6433f6d0 | refs/heads/master | 2021-07-09T21:43:07.502292 | 2020-12-16T15:25:36 | 2020-12-16T15:25:36 | 219,404,991 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,842 | rd | get_ROI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/anem_potentials.R
\name{get_ROI}
\alias{get_ROI}
\title{Estimate the radius of influence of a well}
\usage{
get_ROI(..., method)
}
\arguments{
\item{...}{Variable parameters, depending on the method used. Single numbers or vectors (of equal l... |
9398b4c72a60b6cbd28e208dc9694c0a96547e31 | 96e54a2f183ac913cd533b22560dbb6f9de98e64 | /man/linCorrKTS.Rd | 1efb8691878abeb3069adb044f530f372fd82eb1 | [] | no_license | cran/KarsTS | fe9e7cb51abd77edc1cf461b92fe86e9c760b9a8 | a61bf7a479a7eeba1d2af68ff0fab8041b3d3fe2 | refs/heads/master | 2021-08-16T07:19:03.010559 | 2021-01-14T19:50:05 | 2021-01-14T19:50:05 | 92,603,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 502 | rd | linCorrKTS.Rd | \name{linCorrKTS}
\alias{linCorrKTS}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
linCorrKTS: linear correlation plot
}
\description{
This function plots the autocorrelation and partial autocorrelation functions or the cross correlation function, depending on the number of input time se... |
d913309276bcb77d9da4af8f53a985f7ff0be24a | 282e39150079403a324555bc5d20eb0cc801980a | /R/nearest_neighbors.R | 8a1059688e8e6c5aba27ed0860e4a48cdfa2cb76 | [] | no_license | pipiku915/BTF | c3196b1b05eec01c7bc15fc2039a4dcca95c6697 | 2149443249c137a14f2ef3ffb3750bffb37ef3b9 | refs/heads/master | 2023-03-27T16:32:12.328162 | 2020-10-06T16:13:27 | 2020-10-06T16:13:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,137 | r | nearest_neighbors.R | #'
#'
#'
nearest_neighbors <- function(U, k){
require(FNN)
require(magrittr)
require(plyr)
FNN::get.knn(U, k = k) %>%
magrittr::extract2("nn.index") %>%
magrittr::set_rownames(row.names(U)) %>%
plyr::aaply(1, function(x){
magrittr::extract(row.names(U), x)
})
}
query_distance <- functi... |
003ce03c05119db9f0a33d0555c1420df2575092 | 3f9583cc4d69830631728c9096c0d18c366ede30 | /annotatedTreeReader.R | fead42a193742f393f2c0026bf6bf8377763701a | [
"Beerware"
] | permissive | fbielejec/phylodiagrams | 7a8c06049dfa93de680c3850d4962fd79324cf31 | 2c4bef81f108faabf3af28f476aa092c3384d9f8 | refs/heads/master | 2016-09-06T18:57:26.123010 | 2014-04-13T18:58:05 | 2014-04-13T18:58:05 | 18,737,023 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 13,992 | r | annotatedTreeReader.R | #
# @author Marc A. Suchard
#
# A class for reading Newick formatted trees with BEAST-style annotations
#
strip.annotations = function(text) {
annotations = list()
end = 1
pattern = "\\[&.*?\\]"
repeat {
match = regexpr(pattern=pattern,text=text)
if (!(match[1] > 0)) {
... |
14803a955930bd08ea4b8a0c7284ec4de4456a3e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Biograph/examples/Trans.Rd.R | ffc011c3897b85ff7d712894f8ff461e0111aadf | [] | 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 | 160 | r | Trans.Rd.R | library(Biograph)
### Name: Trans
### Title: Transitions by age
### Aliases: Trans
### ** Examples
data (GLHS)
y<- Parameters(GLHS)
z <- Trans (GLHS)
|
9ae302627a130c5189345c4ca5389e21dbfc6079 | 08659e4d7a1a3626d4587346e0617c9835fd829b | /vis/circlize.R | f501dee16a71d169a8b548e9999151b6751fa49b | [] | no_license | wallingTACC/oncourse | ada4b459a0392d01fc24435b4ec7482721cce301 | f6927fc67473c65bd5bdf36f063f4a1d065206a5 | refs/heads/master | 2021-01-19T04:33:25.185543 | 2020-01-22T16:55:39 | 2020-01-22T16:55:39 | 87,379,805 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,280 | r | circlize.R |
library(circlize)
library(data.table)
library(reshape2)
setwd("/home/walling/dev/git/oncourse/vis")
data = fread("./data/fice_transfers.csv", na.strings = '#NULL!', colClass=c('character', rep('numeric', 113)))
# Drop last column 'Total'
data = data[,1:(ncol(data)-1)]
# Drop last 2 rows
data = data[1:(nrow(data)-2... |
c46f9afe10bf16f124799539b0df7ba3a09dce76 | eabb29bd2b31990492aa64a251c7bca135eca098 | /app/r/deconstruct.r | 1cfe91f4dda265a07a8cf4a22c5a4626ba6dd22d | [] | no_license | keller-mark/mutation-visualization | f24add09b39cfc6ebd633823f435667cfb340e4a | 55c221d10e8df2b51277f4c4d6cca9fa3bc70dec | refs/heads/master | 2021-08-23T18:41:08.827060 | 2017-12-06T02:46:58 | 2017-12-06T02:46:58 | 111,315,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,050 | r | deconstruct.r | #!/usr/bin/r
library(deconstructSigs)
library(SignatureEstimation)
library(BSgenome.Hsapiens.UCSC.hg19)
selected_columns <- c("icgc_sample_id", "chromosome", "chromosome_start", "reference_genome_allele", "mutated_to_allele")
somatic_mutations_path <- "/app/data_temp/extracted_data.tsv"
somatic_mutations <- read.tabl... |
761d39e268f8e9d4f2e5c462391f832c66c98b13 | c3e82a48fee693238344b8cca636af49708a1f47 | /man/convertIdx.Rd | eaa6c29313e65f071f8888e78a3e646188cdb75a | [
"BSD-3-Clause"
] | permissive | Sai628/recharts | ad380cb9db981afe8584c60b1e06795e4cd13704 | af204bd930d17a4cced8b3e94078981834a31f07 | refs/heads/master | 2021-01-23T11:32:51.108441 | 2017-06-02T09:43:01 | 2017-06-02T09:43:01 | 93,145,422 | 1 | 0 | null | 2017-06-02T08:36:17 | 2017-06-02T08:36:16 | null | UTF-8 | R | false | true | 264 | rd | convertIdx.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{convertIdx}
\alias{convertIdx}
\title{importFrom DT convertIdx}
\usage{
convertIdx(i, names, n = length(names), invert = FALSE)
}
\description{
importFrom DT convertIdx
}
|
c4fa0759d416778b89bf333981f2099537d00f3b | 0e92c0b362b230341f9cc31207df8139dbc3ac18 | /R/rasterFromCells.R | b3a3b5eacb5b248bd4575b02f5d114d7ea7f3623 | [] | no_license | cran/raster | b08740e15a19ad3af5e0ec128d656853e3f4d3c6 | dec20262815cf92b3124e8973aeb9ccf1a1a2fda | refs/heads/master | 2023-07-09T20:03:45.126382 | 2023-07-04T10:40:02 | 2023-07-04T10:40:02 | 17,699,044 | 29 | 35 | null | 2015-12-05T19:06:17 | 2014-03-13T06:02:19 | R | UTF-8 | R | false | false | 700 | r | rasterFromCells.R | # Author: Robert J. Hijmans
# Date : April 2009
# Version 0.9
# Licence GPL v3
rasterFromCells <- function(x, cells, values=TRUE) {
x <- raster(x)
u <- stats::na.omit(unique(cells)) # now removing NAs 2018-02-22
u <- u[ u > 0 & u <= ncell(x) ]
if (length(u) == 0) {
stop('no valid cells')
}
cols... |
0dc44d80ab845578fea5d9e994ab91ac26013a57 | a2eec2ac0031397469ac9d3842aacff9a873082d | /man/subSpecials.Rd | b5504a149d9dd740cd6db661d1d96e9525cd680c | [] | no_license | cran/useful | 53f392ae3195e7ee964a6825010e6c0ace603637 | 1b9831ddb97ec68066c8cdf1eaa8b9f9f9eaa605 | refs/heads/master | 2021-01-19T01:43:59.075440 | 2018-10-08T15:00:03 | 2018-10-08T15:00:03 | 17,700,705 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,466 | rd | subSpecials.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subspecials.r
\name{subSpecials}
\alias{subSpecials}
\title{Sub special characters out of character vectors.}
\usage{
subSpecials(..., specialChars = c("!", "(", ")", "-", "=", "*", "."))
}
\arguments{
\item{\dots}{Character vectors ... |
f02bd9e7b8e6373d50dd12e8c12c8b5fd92c941e | 2b5d480bce0ebf49e36578ee1421fa8941679ef1 | /sample_data_Save.R | bea508ec91aedd73a886d2dd71e3c948d3698f8b | [] | no_license | tfrance/Bias-Variance-Tradeoff | b7e4e141067c81a1db33341fd8ceb429b3c103fc | 95d39e60e04f60dc11e5383c60b477a6f961ab49 | refs/heads/master | 2021-01-11T15:56:46.871149 | 2017-01-24T05:59:16 | 2017-01-24T05:59:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | sample_data_Save.R | filePathRoot <- 'C:\\Users\\deifen\\Documents\\Projects\\Bias and overfitting trade offs\\Project\\SampleData\\sampledata'
n <- 25
r <- 20
vect <- seq(from= -pi, to =pi, by=.1)
signal<-function(n)
{sin(n)}
for(i in 1:10)
{
x <- sample(vect, r)
noise<- rnorm(r, mean=0, sd=.5)
y <- signal(x) + noise
Data <- da... |
b855e2ee6c9e6ad4f7b776425a002c26809a058a | d24e56684cfd13f3172fcc07b0831765ae0e2ec2 | /scripts/tema1/03-NBL-install.R | 24ee860fee32fb4749d7f3fd529293ef9ac09b71 | [] | no_license | ferreret/r-basic | e0664472888954668e0aaaf83a55a12fa0f4f775 | d19138402cb3e58f28d98c6f85af72d96cbab565 | refs/heads/master | 2023-04-07T08:00:22.502135 | 2023-03-29T15:51:46 | 2023-03-29T15:51:46 | 287,297,847 | 0 | 0 | null | 2020-08-13T14:11:17 | 2020-08-13T14:11:16 | null | UTF-8 | R | false | false | 166 | r | 03-NBL-install.R | install.packages("tidyverse", dependencies = TRUE)
library(tidyverse)
install.packages("magic", dependencies = TRUE)
library(magic)
magic(6)
installed.packages()
|
8bd28645e63397186cbbb85ebaf2563be564f902 | 8eb16684e6d6ef4d0cf2c5890aea6aca25316c1d | /tests/testthat/test-create_validation_package.R | d65da2ee6996280e068d5d49e432fff1d07945a4 | [
"MIT"
] | permissive | wfulp/valtools | 0583f1934459c129a045f5a342df0ead5ca7b82b | 595c343471b26a60a12b52fcdac3d220af813e2a | refs/heads/main | 2023-05-02T04:06:39.137774 | 2021-05-20T19:38:49 | 2021-05-20T19:38:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 536 | r | test-create_validation_package.R | test_that("Able to create package with validated package basics", {
withr::with_tempdir({
quite <- capture.output({
vt_create_package(".", open = FALSE)
})
expect_true(
devtools::is.package(devtools::as.package("."))
)
expect_true(
dir.exists("vignettes/validation")
)
})... |
fbfc225e397ab472779d1f82c9737c0574b5ccf3 | 3fdfbd6728f19b4221129cc0d9637e2f1a4e0f3b | /man/sprintf_data_frame.Rd | b909288e01e39809c565e92b4181d298b9e2b967 | [] | no_license | billdenney/bsd.report | 09e2b5642046ee51956d33199d6e1ae670b424ff | 778f0298da10f6369bd7ffaa1a5c20d3f8f691fa | refs/heads/main | 2023-02-19T22:49:25.273961 | 2023-02-15T21:54:41 | 2023-02-15T21:54:41 | 153,116,819 | 3 | 0 | null | 2023-02-15T22:57:48 | 2018-10-15T13:21:55 | R | UTF-8 | R | false | true | 1,778 | rd | sprintf_data_frame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sprintf_data_frame.R
\name{sprintf_data_frame}
\alias{sprintf_data_frame}
\alias{sprintf_data_frame_single}
\title{Create new columns in a data.frame with sprintf results}
\usage{
sprintf_data_frame(data, ..., factor_out_if_factor_in = TRUE, ... |
928f891fd76657eb3f4ff551df74c5ad4ffc44c5 | 29d9da8abadbffa3f2f083b5ead8b159a578f264 | /Discrete generation anadromy model two sexes.R | 84db071a3bd4ab2046b184424ea6cac741dd735a | [] | no_license | kanead/Trout-anadromy-simulation | 84ca8405de509df6f8e7201061151b3198d51a78 | 7bd13a90fddd86d923ea542b11defba926b93392 | refs/heads/master | 2020-03-18T14:37:24.675829 | 2018-05-25T13:08:45 | 2018-05-25T13:08:45 | 134,857,558 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 16,759 | r | Discrete generation anadromy model two sexes.R | ############################################################################################################
# Discrete generation, simple model of evolution of anadromy.
# The evolvable trait here is the "underlying threshold for residency", i.e. the condition value above which
# residency occurs, below which anadro... |
d0b2f3b1d348ffb9ec05ea8346679fb301d7b059 | b3b1b011ab46f024467282baeff0f160e2e91e31 | /tests/testthat/test-document.R | 96021e20759aaf116685330232049324af308785 | [
"Apache-2.0"
] | permissive | schuemie/PatientLevelPrediction | 5265629020a2406f9f96a4975aa3ab35c9663b92 | 0b59c97a53ab4c6aaf6236048d5bcc9363c2716e | refs/heads/master | 2020-09-05T00:50:10.021513 | 2019-11-06T07:46:44 | 2019-11-06T07:46:44 | 88,721,641 | 0 | 1 | null | 2019-05-01T04:30:23 | 2017-04-19T08:40:26 | R | UTF-8 | R | false | false | 5,798 | r | test-document.R | # Copyright 2019 Observational Health Data Sciences and Informatics
#
# This file is part of PatientLevelPrediction
#
# 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.o... |
8f10c47690912b93cbee0400e103ca343a0fcb64 | 08ddb75a5a64c94ce2653d3bb453f2d0d367de8f | /BATCH_simulation-multComp-type1.R | 79a31730511001a524fc97d63bc1038ad6cb5e26 | [] | no_license | bozenne/Article-lvm-multiple-comparisons | 4bbf4f2ea9b8601bf600c9c35204f809c4761b70 | 7ca5a1a4b17336e275f0b673a7c4467a8c35b09a | refs/heads/master | 2022-04-05T15:32:19.514160 | 2022-02-04T11:11:56 | 2022-02-04T11:11:56 | 224,150,233 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,421 | r | BATCH_simulation-multComp-type1.R | ## path <- "P:/Cluster/LVMproject/article-multipleComparisons"
## setwd(path)
## source("BATCH_simulation-multComp-type1.R")
## * seed
iter_sim <- as.numeric(Sys.getenv("SGE_TASK_ID"))
n.iter_sim <- as.numeric(Sys.getenv("SGE_TASK_LAST"))
if(is.na(iter_sim)){iter_sim <- 97}
if(is.na(n.iter_sim)){n.iter_sim <- 100}
cat... |
28676db266fe8376cbee09f3e1413d96ad8a4229 | d370ba62ca4bf8f1e851225d18541cb150e2842e | /Utils/ArgoExtract.R | ae163f47e04c7e6e20e725308f2dd2afd86ecda7 | [] | no_license | MAST-ULiege/ArgoDiva | 9bcc88a595a4d89714cc89119e0f98b25c19e5f1 | d770e6590c98ada1abdb3be69ed77954495f12f3 | refs/heads/master | 2021-05-15T18:07:13.491428 | 2019-02-20T08:17:31 | 2019-02-20T08:17:31 | 107,600,790 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 574 | r | ArgoExtract.R | ArgoExtract<- function(fulldf, flist){
sdf <- ddply(fulldf, ~ aprofile+Platform, function(profile){
flistoutputs <- ldply(flist,function(f){
f<- match.fun(f)
f(profile)
}
)
onelinedf <- data.frame(
qc = max(profile$qc), # TODO several variables , etc ...
lon = me... |
743480c366e761fbea27d7897fbf1d7da64d7660 | 608cb9bb405cbe8104888d875497afa11a15eef4 | /run_analysis.R | 0866a1d446ab7f54660c2a34bd69deec6763c228 | [] | no_license | TDCARLSON/ProgrammingAssignmentWeek4 | ea41ce87ec5bd95dde04a47ecf5b114ce11db300 | f8a257122efe28ab729abc9a6a7851a110367000 | refs/heads/master | 2021-01-13T07:33:06.435815 | 2016-10-20T18:03:06 | 2016-10-20T18:03:06 | 71,490,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,776 | r | run_analysis.R | ##Working Directory
work_dir <- "C:/Coursera/Getting and Cleaning Data/ProgrammingAssignmentWeek4"
##data Directory
data_dir <- "Data"
##download URL
download_URL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
##file Name
file_name <- "Datasets.zip"
#create working direc... |
ead8f338913cc69b0b8aad8ea0bfaa8b482003af | e639b8dc495cee285869e27c3714affee2d9d876 | /tests/testthat.R | 290996fb97b1ba9aeefeffa88ea5427b7663b260 | [] | no_license | jefferys/SamSeq | 606d200bf2cc6c58cc2b931d8d2bcacf2ac8e57f | 62523c0b3e4023d4b031f4e1973e682c467ba57d | refs/heads/master | 2021-01-12T17:48:50.140263 | 2019-10-24T01:18:16 | 2019-10-24T01:18:16 | 69,393,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(SamSeq)
test_check("SamSeq")
|
21db64abd512613ddb520dfb13e38215945f3a2d | 80856cb3f8b4d51641fc359ec4392358ee88d96a | /R/s3io_write.R | 010fbf55482ebb3b784762dd48966715cd0dc271 | [
"MIT"
] | permissive | mmuurr/s3io | 0afb9663415a43c7088cb8770e50b9c8722f03e6 | 7597b1881c9522380673313c6f265829dcf1bded | refs/heads/master | 2023-01-13T22:54:37.380308 | 2022-12-22T21:29:10 | 2022-12-22T21:29:10 | 103,452,137 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,867 | r | s3io_write.R | #' @title Write a file to AWS S3
#' @param obj <anything> The object to write.
#' @param bucket <chr(1)> AWS S3 bucket name.
#' @param key <chr(1)> AWS S3 object key.
#' @param writefun <function> A write function where the first argument is the object to write and the second argument is a filepath.
#' The funct... |
07b878fa0cf162a4eef5d6517a21a5aeee3d5ea9 | 573ccf72400b611572d126d6bb180053d9fe652e | /watstats.r | 373da945309bde17c9307891c26d42741cd4f028 | [] | no_license | DrOppenheimer/predict_depth | 3dc5bb31e1c21d65fc61a854440985c036372640 | 0441fde42308bc4ad8bf1485f716aa7e0e3adbb2 | refs/heads/master | 2021-01-25T05:35:50.511929 | 2013-03-15T13:49:46 | 2013-03-15T13:49:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,539 | r | watstats.r | watstats <- function (
num_reads = 1000000,
percent_data = 20, # use to get num reads
genome_length = 4000000,
read_length = 125,
min_overlap = 30,
verbose=TRUE
)
{... |
629513e081bab2cac50e5e1c3acb9c77ecf85600 | 3fd29e830f8066f1fe49d0c1536578d9a5a55533 | /run_twitch_script.R | 81549526d4490a015141291456684ce89207ad2c | [] | no_license | rcrondeau/twitch-stream-data | 003f6364fa41f2075e873f233ea35589818822f3 | 4d8a31fb28eb565384ececffee059216f7fe019e | refs/heads/master | 2020-03-09T20:43:24.304984 | 2018-04-10T21:38:13 | 2018-04-10T21:38:13 | 128,992,007 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 108 | r | run_twitch_script.R |
source("twitch_libraries.R")
source("twitch_api.R")
source("twitch_boxart.R")
source("twitch_mergefiles.R") |
fd482365fab3850f5bd239f2d0c8b507d4e160c7 | 0c6add397d446f5bd82f437c5d9ab77ff7acf654 | /man/likJ.Rd | 60dc65ed05f0c98251f4d5646bf15ae637a6f067 | [] | no_license | thoree/inbred | e72adebf4825efc2167eb81789b06eb72691669a | d9714720ed1fd3c56cc05b1e3b86e945da44d90f | refs/heads/master | 2022-11-29T05:24:39.076623 | 2021-03-25T17:33:32 | 2021-03-25T17:33:32 | 194,614,223 | 1 | 0 | null | 2022-11-20T11:25:22 | 2019-07-01T06:38:08 | R | UTF-8 | R | false | true | 1,194 | rd | likJ.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/likJ.R
\name{likJ}
\alias{likJ}
\title{Likelihood for two Possibly Inbred Individuals as a function of
the Condensed 'Jacquard' Coefficients}
\usage{
likJ(a, b, cc, d, pa, pb, pc, pd, Delta)
}
\arguments{
\item{a}{Vector of positive integers ... |
0949de7a53e3ca4dbb72102ebb575c0ac8478f6f | 189f4c7990ddb0c51d2f3fb9de7848b2b3273c4e | /tests/testthat/test_t_test_outlier.R | 99db53bac9416c57e126230fb12bddf3c905c135 | [] | no_license | AnthonyTedde/utilitR | 1ee26c1b442704e4571a9454a749614edd3e80df | da02668047591a218324add9384e10cfcd0bf46e | refs/heads/master | 2022-01-24T07:15:08.201729 | 2022-01-14T13:14:24 | 2022-01-14T13:14:24 | 233,807,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,396 | r | test_t_test_outlier.R | ################################################################################
### dataset mtcars used to perform the following test. Please use the same
### if you want to create new tests. Otherwise update that comment and mention
### which set do you use.
#######################################################... |
34fddcf2b880befc169c25a63d2e1c178b4f2c9c | 3ffc3317907fdb90a5805ce97c0331df1a72bf99 | /server.R | 5dd733e5a527f79f696bde1edbdb6777354a4c58 | [] | no_license | energyfirefox/Shiny_Titanic | f1486927fa30fb5111afd9ed6c0cef8a8056b277 | 9af756398d7b817143fbb08262acdb2dd85ea4c1 | refs/heads/master | 2021-01-23T18:59:06.712188 | 2014-06-20T13:42:12 | 2014-06-20T13:42:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 948 | r | server.R | library(shiny)
library(ggplot2)
library(caret)
titanic <- read.csv("cutted_titanic.csv")
titanic$survived[titanic$survived == 0] <- 'No'
titanic$survived[titanic$survived == 1] <- 'Yes'
titanic$survived <- as.factor(titanic$survived)
surviving_prob <- function(age, sex){
tree_mod <- train(survived ~ ., data=titan... |
4425ae008ffdc108022b1e360761a7d7d74723b7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/telegram.bot/examples/bot_token.Rd.R | c729eea9365a2f454304a72a9d43366998c93c88 | [] | 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 | 187 | r | bot_token.Rd.R | library(telegram.bot)
### Name: bot_token
### Title: Get a token from environment
### Aliases: bot_token
### ** Examples
## Not run:
##D bot_token("RTelegramBot")
## End(Not run)
|
2a76cd1624fe9acc46fe9621eb17bd76c4c81ffe | 1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5 | /dataCamp/openCourses/dataAnalysisAndStatisticalInference/8_introductionToLinearRegression/3_question2.R | 7f61880b5649228c3fecf3c5f124614faf85bbde | [
"MIT"
] | permissive | sagarnikam123/learnNPractice | f0da3f8acf653e56c591353ab342765a6831698c | 1b3b0cb2cff2f478006626a4c37a99102acbb628 | refs/heads/master | 2023-02-04T11:21:18.211654 | 2023-01-24T14:47:52 | 2023-01-24T14:47:52 | 61,184,927 | 2 | 1 | MIT | 2022-03-06T11:07:18 | 2016-06-15T06:57:19 | Python | UTF-8 | R | false | false | 562 | r | 3_question2.R | # Question 2
#######################################################################################################################
#
# Using the correct type of plot of the previous exercises, plot the relationship between runs and at_bats,
# using at_bats as the explanatory variable.
#
# The relationship is...
#
##... |
a6a6ef31b25d8f1265a1c5f6799a4780b5d78cf6 | 8b36ad284a170740f3995a0c85020d56c13015a6 | /DTC_genomics_convertor.r | 9c3a2561e3210f72e1571b4775bfa8fab1563989 | [] | no_license | awreynolds/DTC_genomics_convertor | 05905e11d08c05ae799b958aee771f401cbe5963 | e2755a9b6b66a900b8c14b46c3d76bbb012d6f22 | refs/heads/master | 2021-04-18T18:37:33.309994 | 2019-08-13T17:18:17 | 2019-08-13T17:18:17 | 94,587,390 | 3 | 1 | null | 2019-08-13T17:18:18 | 2017-06-16T23:07:52 | R | UTF-8 | R | false | false | 6,534 | r | DTC_genomics_convertor.r | ### DTC Genomics Convertor v0.1 ###
### A command line tool to go between 23andMe, AncestryDNA, and FTDNA raw data formats ###
### Austin Reynolds ###
### awreynolds@utexas.edu ###
### June 2017 ###
#note: make sure your file paths do not have spaces in them. for whatever reason the shell gets confused with spaces when... |
dccabbe309d45aea20a0408dcda7894473b36055 | bf9aeaeb7a87d08f5b64cab35e5329bfe54620a2 | /tests/testthat/test_extract_params.R | baf28addf892bc05902d5b8fc0e615ecd73f7c14 | [] | no_license | certara/survivalnma | eae3579c548617d2538bcea9753465c689b8f560 | 49ba1dcfddc6cd7b4c7ed30f0eb4f2d7712186c5 | refs/heads/master | 2021-07-02T12:31:16.906756 | 2020-10-13T15:20:17 | 2020-10-13T15:20:17 | 182,971,010 | 11 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,286 | r | test_extract_params.R | context("Testing extraction of parameters")
df <- data.frame(
stringsAsFactors = FALSE,
"treatment" = c("Suni", "Ifn", "Suni", "Pazo"),
"study" = c("Study 1", "Study 1", "Study 2", "Study 2"),
"baseline" = c("Suni", "Suni", "Suni", "Suni"),
"filepath" = sapply(c("Mota_OS_Suni_KM.txt",
... |
c295732ef4e619c1bbf5eefcc3b579b4cc9b03b8 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.networking/man/networkmanager_get_transit_gateway_peering.Rd | d816254925b7a13ff4533a15e59cc373dfd40b8f | [
"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 | 598 | rd | networkmanager_get_transit_gateway_peering.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/networkmanager_operations.R
\name{networkmanager_get_transit_gateway_peering}
\alias{networkmanager_get_transit_gateway_peering}
\title{Returns information about a transit gateway peer}
\usage{
networkmanager_get_transit_gateway_peering(Peeri... |
1050dba6ad66130a22557e5012503895785f1ac6 | 475856e028f1ab7e8259c8d34f02bdcaefcf4db0 | /R/gs3.R | 142be2c295ac41aa3a0e42f34b6ace09b9c3e49e | [] | no_license | cran/BNPdensity | 44ee5d2ebc9aae83b243574090d211514014a9d1 | 314c943b35f83098fa87c7b15a16757c7334d346 | refs/heads/master | 2023-04-07T12:52:52.293810 | 2023-03-24T14:10:02 | 2023-03-24T14:10:02 | 17,677,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,957 | r | gs3.R | #' Conditional posterior distribution of latent U
#'
#' This function simulates from the conditional posterior distribution of the
#' latent U.
#'
#' For internal use.
#'
#' @keywords internal
#' @examples
#'
#' ## The function is currently defined as
#' function(ut, n = 200, r = 20, alpha = 1, kappa = 1, gama = 1 / 2,... |
c006bd77b426fab85a79a8641b6123688d2789e2 | babe7393d6be37f3d83318673e4f57364569e21a | /ES_Toolkit_R/man/getAOAFeature.Rd | 2f190bb601f4c115bc591600088cdd8c8d22ac35 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | nationalparkservice/EnvironmentalSetting_Toolkit | 544d088ab7c087b9e57a529b358e5577c94191c3 | 7ddc44c133a458f4d78a894a564ce014efc328a8 | refs/heads/master | 2021-03-27T20:45:21.298338 | 2020-08-25T23:01:16 | 2020-08-25T23:01:16 | 115,563,489 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 517 | rd | getAOAFeature.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilityFunctions.R
\name{getAOAFeature}
\alias{getAOAFeature}
\title{getAOAFeature}
\usage{
getAOAFeature(unitCode, aoaExtent = "km30")
}
\arguments{
\item{unitCode}{unitCode One NPS unit code as a string}
\item{aoaExtent}{aoaExtent one of p... |
36492fbba7a899647d18964ed289a55e401ac51c | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed_and_cleaned/11639_0/rinput.R | dbcf03af49cd141dcc8b897a5c7f2faa3e6a9828 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("11639_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="11639_0_unrooted.txt") |
37b9e8c88ae82721fc0bb9470236baf9ebe602e5 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkWidgetSetCanDefault.Rd | cd215af5778badcacb52263230a3b118e80c7c76 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 533 | rd | gtkWidgetSetCanDefault.Rd | \alias{gtkWidgetSetCanDefault}
\name{gtkWidgetSetCanDefault}
\title{gtkWidgetSetCanDefault}
\description{Specifies whether \code{widget} can be a default widget. See
\code{\link{gtkWidgetGrabDefault}} for details about the meaning of
"default".}
\usage{gtkWidgetSetCanDefault(object, can.default)}
\arguments{
\item{\ver... |
94159a031d90439eddfb2340becbb69a54f2f400 | 8e5881985817e48d70b0dad6a6f00e0d85102f9f | /man/calc_roc.rfsrc.Rd | c9b462fc0675c5b00be338b4f20c9042a8bcfc50 | [] | no_license | timelyportfolio/ggRandomForests | 914480189908058386c891546ba64e3673f2120e | 32be731a01fa75d56702b6a2236b3f81ed62fc2c | refs/heads/master | 2020-04-06T04:32:52.892350 | 2014-12-10T02:48:24 | 2014-12-10T02:48:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,266 | rd | calc_roc.rfsrc.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{calc_roc.rfsrc}
\alias{calc_roc}
\alias{calc_roc.randomForest}
\alias{calc_roc.rfsrc}
\title{Internal Reciever Operator Characteristic calculator for randomForest objects}
\usage{
calc_roc.rfsrc(rf, dta, which.outcome = "all", oob = TRUE)
}
\arguments{
\item{rf... |
33a90935147e1f5278400708410b7a693b0102bc | eae1c50702de5d990646885cf95d7a0bbfdf91a2 | /R/utils-p_values.R | 0cf9c97f8493b7eee9d45561c6bffe4deb8291e7 | [
"MIT"
] | permissive | MethodsConsultants/tibbletest | d0cda7ca21624291a8aa42830aaacae27d00d159 | e23332b0087b7370860f67ffc6609a78f630fd51 | refs/heads/master | 2021-12-24T17:16:57.496749 | 2020-09-04T20:45:42 | 2020-09-04T20:49:18 | 191,244,403 | 0 | 0 | NOASSERTION | 2021-03-03T21:59:06 | 2019-06-10T20:55:50 | R | UTF-8 | R | false | false | 3,561 | r | utils-p_values.R | #' Helper function which calculates p-value via chi-square or fisher
#' Uses `survey::svychisq` for weighted tests, otherwise uses `stats::chisq.test` or `stats::fisher.test` depending on cell counts
#'
#' @param df <`tbl_df`> Dataframe that has variable and treatment columns of interest
#' @param var <`character(1)`> ... |
2612e7e9660db9bd31c2f49541138dd0490ec34f | 05678f03a83ce73472b1473f2d0743c9f015f2b8 | /tests/testthat/test_polygon_geometry.R | 6a721631e5058b880d590d9536ae05338eb1c4dc | [] | no_license | Breeding-Insight/brapi-r-v2 | 3a7b4168c6d8516eb1128445a2f281d1199668a3 | 5cfa7453947121496780b410661117639f09c7ff | refs/heads/main | 2023-03-14T22:20:29.331935 | 2021-03-17T01:31:11 | 2021-03-17T01:31:11 | 348,535,689 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 634 | r | test_polygon_geometry.R | # Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test PolygonGeometry")
model.instance <- PolygonGeometry$new()
test_that("coordinates", {
# tests for the property `coordinates` (array[Array])
# An array of linear rings
# uncomment... |
ed084905f5e012d4f4e8ab96c755bf5f7e7fb8c1 | 96bb1dca9df61f0cddd526921f071e403169b53c | /R/dograph.R | f41fd06d33d731ac78cfdc1cc6769614426dab76 | [] | no_license | byadu/libcubolap | c3f8d582ca2ee1d52147022c8e2c5c640b1beafc | aab240405b1868dfdbf23c4f618b7fcd8e84db9f | refs/heads/master | 2022-11-19T16:07:50.921510 | 2020-07-17T13:09:06 | 2020-07-17T13:09:06 | 278,988,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,153 | r | dograph.R | #' @title dograph
#' @description create an aggregate dataframe from selected measures, dimensions and filters
#' @param M is database connection for Meta data
#' @param D is database connection fro data
#' @param measures are measures selected
#' @param dims are dimensions selected
#' @param filters are filters select... |
b2c422975ab23b0609fafdfa3d577f62c5092964 | 4abfb1910c9503593f9fb4c366edc4241371e6b6 | /R/explore_mobloc_functions.R | 0a828b9e771514938b7e95425b11c68cb4e6631b | [] | no_license | mtennekes/mobloc | 2661783dadc55f7d10622b95250486810e07ab4f | f4284d84437d55b7b8c048b13fe4173865c8b5d9 | refs/heads/master | 2020-06-20T18:04:23.754274 | 2019-05-21T10:09:37 | 2019-05-21T10:09:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,270 | r | explore_mobloc_functions.R | move_cp_to_direction <- function(cp, distance = 100) {
cp$x2 <- cp$x + ifelse(cp$small | is.na(cp$direction), 0, (SIN(cp$direction) * distance))
cp$y2 <- cp$y + ifelse(cp$small | is.na(cp$direction), 0, (COS(cp$direction) * distance))
cp2 <- st_set_geometry(cp, NULL)
st_as_sf(cp2, coords = c("x2", "y2... |
9065fa097c656ca0a6181c405b91cbc76b43ec51 | 77b40750438f66bfd1eb6b965875c75d18c7498b | /R/fx_modelResample.R | bcf527d26f2cef67bead3bc032a78efdd1d1f744 | [] | no_license | fishpm/nruPredict | 8bd737ca31b8d6c3fbbe7a8cd1b9d5970f4305a3 | 3fd93518b2131f5dc5a77b440e4574ce7efeaeef | refs/heads/master | 2022-07-16T10:53:37.590941 | 2022-07-11T15:07:42 | 2022-07-11T15:07:42 | 228,579,565 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,893 | r | fx_modelResample.R | ## * fx_modelResample (documentation)
##' @title Apply Machine Learning Framework
##' @description Apply machine learning framework to specified dataset
##'
##' @param df0 data frame including all observations (data frame)
##' @param cv.type cross-validation type ('loocv', 'ltocv', 'n-fold', 'numeric') (string)
##' @pa... |
fad794a830d399d4ea0d46eb507c41a458475622 | 29585dff702209dd446c0ab52ceea046c58e384e | /geotopbricks/R/getProjection.R | 87491a165196b9a35398ed11a0be598f97b1944b | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 781 | r | getProjection.R | NULL
#'
#' It reads the CRS metadata utilzed in a GEOtop Simulation
#'
#' @param x name and full path of the file containimg CRS information
#' @param cond logical value. If \code{FALSE} the function returns \code{NA}. Default is \code{TRUE}.
#' @param ... futher arguments
#'
#' @export
#' @return A string corresp... |
47f9ff8101549a1192ad19ba732cc5fe8fe51f2f | 47f66f15615e8e4ad20d650cf6d06036dcd6bd6c | /ancestral_populations_on_map.R | 16ecf77d9aa33b6bceca6659f84be7f4085584b2 | [] | no_license | marclagu/ddRADseq_brown_trout_Iceland | 8201c740800cd66b93858c95e9ab490a9d8ec532 | 00721d7e1afcf286731669386f95acddfe4a6f2f | refs/heads/main | 2023-04-15T21:35:46.455476 | 2023-01-24T19:12:08 | 2023-01-24T19:12:08 | 589,250,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,555 | r | ancestral_populations_on_map.R | # calculating the number of ancestral populations
library(LEA)
vcf2geno("olfusa.filtered.vcf", "olfusa.geno")
pc = pca("olfusa.geno", scale = TRUE)
tw = tracy.widom(pc)
tw$pvalues[1:5]
plot(tw$percentage)
project = NULL
project = snmf("olfusa.geno",
K = 6:11,
entropy = TRUE,
... |
32790b8002f2646d573185b2779dd57c4185ec68 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/genoPlotR/examples/plot_gene_map.Rd.R | 314e7c38bad91c6476a6121ed8456db7d16b7069 | [] | 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 | 7,191 | r | plot_gene_map.Rd.R | library(genoPlotR)
### Name: plot_gene_map
### Title: Plot gene and genome maps
### Aliases: plot_gene_map
### Keywords: hplot
### ** Examples
old.par <- par(no.readonly=TRUE)
data("three_genes")
## Segments only
plot_gene_map(dna_segs=dna_segs)
## With comparisons
plot_gene_map(dna_segs=dna_segs, comparisons=co... |
f570e5a7b12219166a7806e4c2c98a41c37b3fa1 | ca31854a104eeed212c105488dde400f92d056fc | /tests/testthat/test-term_stats.R | d088dcc50798059d6352a3b7cdb2a0a68d2c13b8 | [
"Apache-2.0"
] | permissive | cran/corpus | ceb57516441e57a2a593cc2e112ee3029da97e33 | 59d4da68aa5275821b48ecfcc21636f398459df5 | refs/heads/master | 2021-07-12T10:57:59.928640 | 2021-05-02T03:30:04 | 2021-05-02T03:30:04 | 88,405,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,773 | r | test-term_stats.R | context("term_stats")
test_that("'term_stats' works", {
expect_equal(term_stats("A rose is a rose is a rose."),
structure(data.frame(term = c("a", "rose", "is", "."),
count = c(3, 3, 2, 1),
support = c(1, 1, 1, 1),
... |
c3477003da05e9c07b7f9d3f79a2eb026905ed22 | b9db037ee7bc2ebf9c228ad1f66fecabccfa70be | /man/add_default_decisions.Rd | 090e30c9739c14029ad12667275d6598d78c0739 | [] | no_license | IsaakBM/prioritizr | 924a6d8dcc7c8ff68cd7f5a2077de2fa1f300fe7 | 1488f8062d03e8736de74c9e7803ade57d6fcc29 | refs/heads/master | 2020-12-10T06:23:19.437647 | 2019-12-22T00:04:20 | 2019-12-22T00:04:20 | 233,524,401 | 1 | 0 | null | 2020-01-13T06:13:19 | 2020-01-13T06:13:18 | null | UTF-8 | R | false | true | 545 | rd | add_default_decisions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_default_decisions.R
\name{add_default_decisions}
\alias{add_default_decisions}
\title{Add default decisions}
\usage{
add_default_decisions(x)
}
\arguments{
\item{x}{\code{\link{ConservationProblem-class}} object.}
}
\description{
This fun... |
27401062227dedeeead31cb4ac17d64ce2a735cf | 42c5613984794b9b9c08b792e6a1b91772613495 | /R/anova2x2_se.R | 519473a6fb49d71c5991128717f1659c1ec257cc | [
"MIT"
] | permissive | chrisaberson/pwr2ppl | 87b5c8ca9af5081613d8a49c76a9fea9cdd5de12 | 06a0366cf87710cb79ef45bdc6535fd4d288da51 | refs/heads/master | 2022-09-28T13:57:48.675573 | 2022-09-05T23:35:22 | 2022-09-05T23:35:22 | 54,674,476 | 16 | 7 | null | 2019-03-29T16:55:16 | 2016-03-24T21:10:28 | R | UTF-8 | R | false | false | 5,868 | r | anova2x2_se.R | #'Compute power for Simple Effects in a Two by Two Between Subjects ANOVA with two levels for each factor.
#'Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user
#'@param m1.1 Cell mean for First level of Factor A, First level of Factor B
#'@param m1.2... |
c7848125643569965de5b8d23d27bd94769066fd | 3db6b4a85d65321bebfa78741727dd441427d57f | /inst/doc/Connecting.R | 61194c527a6fc2e6d5e1ebbe7d950bca84533c3f | [
"Apache-2.0"
] | permissive | cran/DatabaseConnector | de2d3326fbd71248239b6b38ad2fa0e2eb339389 | d4e73726e428abed496caeb470c061e2f8542fc6 | refs/heads/master | 2023-07-05T06:55:52.762538 | 2023-06-29T21:40:11 | 2023-06-29T21:40:11 | 134,714,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,711 | r | Connecting.R | ## ---- echo = FALSE, message = FALSE-------------------------------------------
library(DatabaseConnector)
## ----eval=FALSE---------------------------------------------------------------
# Sys.setenv("DATABASECONNECTOR_JAR_FOLDER" = "c:/temp/jdbcDrivers")
## ----eval=FALSE------------------------------------... |
3d9644e866b360ac44cf90d70dbd8421dc9adf31 | 1146fc0ebe4c191ed8805915b9bb3d3404da8248 | /R/intervention_proportion.R | 2f857ae32eb08474474a71b14eb5f7508f02c2b9 | [] | no_license | softloud/metasim | 3e56f527a0af8ccb6376ab8be43ded503480d33f | 3380c351fad4bddb4c24f1a30cb3391a66b90121 | refs/heads/master | 2020-04-16T17:44:59.654202 | 2019-07-13T08:15:33 | 2019-07-13T08:15:33 | 165,786,914 | 8 | 9 | null | 2019-07-13T08:15:34 | 2019-01-15T04:46:12 | HTML | UTF-8 | R | false | false | 242 | r | intervention_proportion.R | #' Calculate proportion of intervention group
#'
#' @inheritParams beta_par
#'
#' @export
intervention_proportion <- function(n, proportion, error) {
par <- beta_par(proportion, error)
rbeta(n, shape1 = par$alpha, shape2 = par$beta)
}
|
90c323516f8e101c97cff99fb51bef4041a154fa | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bPeaks/examples/bPeaks-package.Rd.R | b87d0200953491fd40ab2a5baba9b504bfae534f | [] | 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 | 2,957 | r | bPeaks-package.Rd.R | library(bPeaks)
### Name: bPeaks-package
### Title: bPeaks: an intuitive peak-calling strategy to detect
### transcription factor binding sites from ChIP-seq data in small
### eukaryotic genomes
### Aliases: bPeaks-package bPeaks
### Keywords: peak calling ChIP-seq protein binding sites protein-DNA
### interact... |
20a3d89114b034ca8d2cde302dc802afa88df9a1 | c6d39c415efc8db022b150eeca2ac189a31e427d | /HypoPub_LoadPackages.R | ffd844ef6c3e6043a440f897e5a87579db90a791 | [] | no_license | brianherb/DevHumanHypothalamus | eeb17c9bf6a919b6314f67dd1a063d4822dfefca | 35d4c8979cc1bd7b2ae0728f080daa2601a98c09 | refs/heads/main | 2023-06-13T22:33:57.947533 | 2021-07-08T16:22:23 | 2021-07-08T16:22:23 | 384,183,943 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 964 | r | HypoPub_LoadPackages.R | #qlogin -P "sament-lab" -l mem_free=100G -q interactive.q -pe thread 16
.libPaths('/local/projects-t3/idea/bherb/software/R_lib/R_3_6')
library(Seurat,lib.loc='/usr/local/packages/r-3.6.0/lib64/R/library') ## 3.0.1
#library(Seurat)
library(BiocGenerics)
library(monocle3)
library(projectR)
library(plotrix) # updated
li... |
648188300e76d9dff69e3fa68957bdedeb0d0c72 | dd2fdafe579a221d340b6b712f39fa2d20034c18 | /db_old/axes.R | 677f4b55ffc38561792533cf8f9fe2dbc794a08d | [] | no_license | laurentBesnainou/Rcode | 1958b71ed59e7400e41e0199d4e4af88ee3d26f4 | 263c5b919e6e9b40b2ecd245bdb6e4d103f3b67c | refs/heads/master | 2021-05-08T18:47:26.985622 | 2018-01-30T12:34:22 | 2018-01-30T12:34:22 | 119,534,108 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,891 | r | axes.R | #cirle sur les clients par rapport aux offres
#On constitue la matrice des connaissancess
library(circlize)
library(dplyr)
pilotage_2017 <- pilotage_data
tmp <- pilotage_2017 %>% filter( WEEK ==5, STEP %in% c( "3 - Emise")) %>% select(GROUPE,OFFRE_PRINCIPALE,CA_BT__N__KE)
matriceConnais <- xtabs(CA_BT__N__KE~ GROUP... |
c3b4be3c26c27cf93e14ffc6c6ea0a0af61ab9f6 | 9e8615839d1361b9690b32c59085ffeeccc91b07 | /RScripts/00_apresenta_curso.R | d2f760e0c999b7aaa5423d697ee3871293d457c1 | [] | no_license | rdosreis/MAT02018 | 7dbb658308b75997b14fe010fdc3c029d22819ca | 4e8e0ba81bd19de67a6f68ef8866d5389b6f42b8 | refs/heads/master | 2022-10-04T12:55:53.010897 | 2022-09-22T13:26:15 | 2022-09-22T13:26:15 | 244,178,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,172 | r | 00_apresenta_curso.R | ## ----echo=FALSE, fig.align='center', message=FALSE, warning=FALSE, out.width='80%', out.height='80%', paged.print=FALSE----
knitr::include_graphics(here::here('images', 'hi_my_name_is.png'))
## ----echo=FALSE, fig.align='center', message=FALSE, warning=FALSE, out.width='100%', paged.print=FALSE----
knitr::include... |
ec2d34edc08bf248bcd434e17d333a00563c51bf | 9904cbbc06ae2ded9bd2235a4420ee52d80f934b | /Scripts/compareNetworks.R | ebe9162e14f2f0137626bb137503a82b0dcb4e81 | [] | no_license | gazwb/compositionalCor_v3 | 2b27a159a8463dcda7159c381f145da114b884b3 | ac1be3c95e9670cf7d7c0c22640657724769d5e2 | refs/heads/master | 2020-06-04T21:34:42.752376 | 2015-04-30T16:52:16 | 2015-04-30T16:52:16 | 33,330,934 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,498 | r | compareNetworks.R | setwd("~/MAARS_p2/MB")
source("/home/gaz/MAARS_p2/Scripts/compositionalCor_v3/Scripts/inference_functions.R")
source("/home/gaz/MAARS_p2/Scripts/compositionalCor_v3/Scripts/analysis_functions.R")
source("/home/gaz/rand/multiplot/multiplot.R")
nets <- readNetworks()
# read in these networks
net.ADL <- nets[[1]]
# net... |
489825dd9bfbe6c3d1fd455cb84308201fb9e72f | 184180d341d2928ab7c5a626d94f2a9863726c65 | /dataanalysiscode/libfuzz.R | c7828041547b583c1dca51b216f65bd5e83c299b | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,604 | r | libfuzz.R | deepstate_pkg_create_LibFuzzer<-function(path){
path <- normalizePath(path,mustWork=TRUE)
insts.path <- normalizePath("~",mustWork=TRUE)
deepstate <- file.path(insts.path,".RcppDeepState")
deepstate.path <- file.path(deepstate,"deepstate-master")
inst_path <- file.path(path, "inst")
test_path <- file.path(i... |
b1855867ac9233f8519cb914392f24b4abfad0c3 | 7ff90fda996b9b1da1048936749ad06c0e13da9a | /xgboost.R | af0a536a58066c03d5607dc431dd4d478886ccc8 | [] | no_license | katieji737/Adtracking-XGBoost | 08583a5a88d26c57b59557d2072be7b1f520a53e | 8d795b50553190e3728bc4fcd01da3d7cb90a490 | refs/heads/master | 2020-04-03T18:29:48.251871 | 2018-10-31T02:32:08 | 2018-10-31T02:32:08 | 155,486,519 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,317 | r | xgboost.R | library(data.table)
library(dplyr)
library(xgboost)
library(ggplot2)
train <- fread("/Users/~/adtracking_dataset.csv",
select =c("ip", "app", "device", "os", "channel", "click_time", "is_attributed"),
showProgress=F,
colClasses=c("ip"="numeric","app"="numeric","device"="nu... |
025eba5d29acfb62a8be6ef651eca112e9830341 | 6db7a411ae81ea77831a323a7053d0b112a383df | /R/getENSEMBLGENOMES.Seq.R | 8f434bade0e630a1111ffe5438f306c74fa4f097 | [] | no_license | cran/biomartr | 803c46a689f26cad60e675bf689e52c95eff975c | c5607e69575bd4d47c1003e308a719f8da78bccf | refs/heads/master | 2023-07-10T20:27:51.927945 | 2023-06-20T12:50:07 | 2023-06-20T12:50:07 | 39,511,686 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,147 | r | getENSEMBLGENOMES.Seq.R | #' @title Helper function for retrieving biological sequence files from
#' ENSEMBLGENOMES
#' @description This function downloads gff files of query organisms from
#' ENSEMBLGENOMES
#' @param organism scientific name of the organism of interest.
#' @param release the ENSEMBLGENOMES release. Default is \code{release =... |
8319ae30d902a64031de0775ddddcd94766ffe77 | fbe57536cc2d84e69a5bf799c88fcb784e853558 | /R/spc.capability.cpm.simple.R | 7d695daeb22bc02cdfd1b098d0535aaa300414fe | [
"MIT"
] | permissive | burrm/lolcat | 78edf19886fffc02e922b061ce346fdf0ee2c80f | abd3915791d7e63f3827ccb10b1b0895aafd1e38 | refs/heads/master | 2023-04-02T11:27:58.636616 | 2023-03-24T02:33:34 | 2023-03-24T02:33:34 | 49,685,593 | 5 | 2 | null | 2016-10-21T05:14:49 | 2016-01-15T00:56:55 | R | UTF-8 | R | false | false | 1,418 | r | spc.capability.cpm.simple.R | #' Calculate Capability Measures - Cpm
#'
#' Calculate Cpm, a measure that combines the measure of variability and targeting relative to nominal specifications. Higher is better.
#'
#' @param lower.specification Lower specification limit (if applicable)
#' @param upper.specification Upper specification limit (if ap... |
b2ebaffb9c31efd68b180e0c3c178620cacd27f4 | cf7ba0b28c506172906f6fa9a6edc32a2922da58 | /R/bf.R | 18a69c6b40e86da9c028deb28762b69bbdd04524 | [] | no_license | cran/geoBayes | 9edcc7113ab69f548f73d7b34dc0dd89f3ac8825 | 43f974c7b0062cd3b1310a1a5462b1a27c0e6a3b | refs/heads/master | 2023-07-21T21:59:49.150797 | 2023-07-06T21:30:03 | 2023-07-06T21:30:03 | 23,163,607 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,566 | r | bf.R | ##' Function to compute the Bayes factors from MCMC samples.
##'
##' Computes the Bayes factors using \code{method} with respect to
##' \code{reference}.
##' @title Computation of Bayes factors at the skeleton points
##' @param runs A list with outputs from the function
##' \code{\link{mcsglmm}} or \code{\link{mcstrg... |
f5e361091596a72942cea2a64560cafc096886ff | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.compute/man/ec2_register_transit_gateway_multicast_group_sources.Rd | cbe9e28000a7b464b382febcffd2ae3af451aaae | [
"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,343 | rd | ec2_register_transit_gateway_multicast_group_sources.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_register_transit_gateway_multicast_group_sources}
\alias{ec2_register_transit_gateway_multicast_group_sources}
\title{Registers sources (network interfaces) with the specified transit
gateway multicast group}
\usage... |
bc040a220a429816b8bf3ec8d26b6d9841eda07c | a7b930d1da4595b48c4a15043350fd99f6e96923 | /get_con_sig_DG.R | c0136633465120babf074d48f98b2bf3199e6358 | [] | no_license | lazywolf007/Deepm6A | f84e64854d392aadd394c585888c769d8af4789a | 95d704d6042e1ebc5365c77b5885eeaa893fd7ef | refs/heads/master | 2021-09-23T10:58:50.013295 | 2018-09-21T18:18:58 | 2018-09-21T18:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,692 | r | get_con_sig_DG.R |
## run rwr ----------------------------------------------------------------------------
sigDG_test <- function(filepath, n) {
setwd(filepath)
load("F:/MeRIPSinglebase/review1/result/Pro_Dis.RData")
load("ag0.RData")
source("F:/MeRIPSinglebase/metdb2/process/rwrhFun.R")
mmpath <- "rwrmm.RData"
... |
4d4bd54e94352fde25d751ca1b76afadc5e6263e | 2b854ae16112437bd5439bcce6ceebe84252e2d2 | /man/sim.stpp.Rd | 56f00b60d86cab8ec37729b4b2debf5e1e61f7cc | [] | no_license | stpp-GitHub-community/stpp | c5c8b06bda8812e076bf99de8e015823f8d9d004 | 62921b83ccbd82c28bcdac05a6f39df578273254 | refs/heads/master | 2023-07-08T22:52:21.815171 | 2023-06-30T16:29:58 | 2023-06-30T16:29:58 | 98,971,189 | 12 | 3 | null | 2019-05-03T17:11:17 | 2017-08-01T07:10:56 | R | UTF-8 | R | false | false | 2,014 | rd | sim.stpp.Rd | \name{sim.stpp}
\alias{sim.stpp}
\title{Generate spatio-temporal point patterns}
\description{
Generate one (or several) realisation(s) of a spatio-temporal point process in a region \eqn{S\times T}{S x T}.
}
\usage{
sim.stpp(class="poisson", s.region, t.region, npoints=NULL,
nsim=1, ...)
}
\arguments{... |
32e6e5782ce917e82704c1e03b154ffaada1dc14 | 2b3826d7b31c343d1512f062532d6d251e2d9b75 | /Frequentist-two-stage.R | e29f31e2cf4d3bed659c7597daa288d7fba6a0b0 | [] | no_license | wwyoo/Bayes-two-stage | 00915d5cd16993a97478d871aaa4da8de8e5580a | 4a3cc936484d3f5a4f0f1974439f4981afdf4c24 | refs/heads/master | 2021-04-26T23:05:29.038464 | 2018-03-05T21:55:00 | 2018-03-05T21:55:00 | 123,930,007 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,925 | r | Frequentist-two-stage.R | #This code implements the frequentist two-stage procedure by Belitser et al. (2012) Optimal
#two-stage procedures for estimating location and size of the
#maximum of a multivariate regression function, in the Annals of Statistics 44, number 6, pages 2850-2876
#The original code was supplied by one of the authors o... |
4d4f438884b895226e74fe1cc6afd9b1c4fc1ecf | 909041f1adf263aebb16c007915c24ba00a32865 | /matrices.r | 1a14023c1dcd76948400457db367954ed3655882 | [] | no_license | Lyndon0199/Lyndon0199 | 1473965e21674e77096d6939490e72da6a56e9d8 | d7e8d8f6c22d53f7db4856250dbe223dd925bf06 | refs/heads/master | 2020-04-29T18:21:51.259133 | 2019-03-20T19:41:18 | 2019-03-20T19:41:18 | 176,321,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 421 | r | matrices.r | c(4,2,-8) # Creación de un vector sin asignarlo a una variable
## [1] 4 2 -8
## ----------------
## Distintas formas de asignar un vector a una variable
u <- c(4,2,-8) # Usando el operador <-
c(4, 2, -8) -> v # Usando el operador ->
# Usando la función assign:
assign("w", c(4, 2, -8))
p = c(4, 2, -8) # Usando el operad... |
b0dfa037a8bdd0e491fa6539c25ef6cd1d397526 | bbb29a9b577c51d93bff33cd37a9bbd97ad1bcfc | /man/is.Date.Rd | 950edc39e97b5d4f11b19eb50f61143857e0bb3d | [] | no_license | cran/popEpi | 8b656a4b7c90a2dea7af6116ac84dee0406f07ce | 355adafe4d6b9f351d7a17d1e0a839095f7fe417 | refs/heads/master | 2023-08-31T11:05:34.587550 | 2023-08-23T14:30:02 | 2023-08-23T15:31:02 | 48,085,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 653 | rd | is.Date.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{is.Date}
\alias{is.Date}
\title{Test if object is a \code{Date} object}
\usage{
is.Date(obj)
}
\arguments{
\item{obj}{object to test on}
}
\value{
`TRUE` if `obj` is of class `"Date"` or `"IDate"`.
}
\d... |
fd59f96dfcb8e55552ec4343e9daaf0df67d9f89 | 3a1e801b771f286e691e5acde34e0e73841b5756 | /mpg-envinfosys-teams-2018-rs_18_mcfest-master/src/017_plots.R | 0e0716f6d2cb61d9fb27ff56485a60e78592b897 | [] | no_license | Muesgen/Mcfest_Remote_Sensing_GIS | 6cf26150e3441834271644eb215b6f732fa714ad | c8f0c291d765eda140f9faea342f2a0e8fbaaf6e | refs/heads/master | 2021-01-16T07:46:17.005598 | 2020-02-25T15:10:38 | 2020-02-25T15:10:38 | 243,029,197 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,527 | r | 017_plots.R | root_folder <- envimaR::alternativeEnvi(root_folder = "~/edu/mpg-envinsys-plygrnd", alt_env_id = "COMPUTERNAME",
alt_env_value = "PCRZP", alt_env_root_folder = "F:\\edu\\mpg-envinsys-plygrnd")
source(paste0(root_folder, "/mpg-envinfosys-teams-2018-rs_18_mcfest/src/000_setup.R"... |
90ddb9b105e28ee9b457e901f9d07141802eecf6 | b0a4381263dc3eb2e5b30035d74ab2169e29ea5e | /3_montecarlo/taskPath/BIN/R/analysis.R | 9fdf678f95fc9c13f0e4e0dbf066d431d8b1d2c8 | [] | no_license | ynagae1tryeting/lab | 534eec361180287b68d26447286d1f0014e98a09 | a66c8750bf5d3dc91866113ecea6b7b3e8f48c36 | refs/heads/master | 2021-01-12T03:47:28.073605 | 2019-05-09T07:14:09 | 2019-05-09T07:14:09 | 78,257,547 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,025 | r | analysis.R | source("./function.R")
library(lattice)
library(tidyverse)
percent <- 0.2
centers2percent <- function(x, d, percent, thr){
for(N in 0:(nrow(d)/2)){
#message(paste(N, " / ", nrow(d)/2, sep=""))
# 該当の座標に入っている記号を抽出
i <- x[1]
j <- x[2]
i_1 <- seq(i-N, i+N)
j_1 <- seq(j... |
e0f84804abcf3a9bc5650bca84179a9bd47ab0ea | 41f4d1678e0ffdcab68f16d67a2518f6e0bc9615 | /Exploratory Data Analysis/Proyect 2/Load_Data.R | 6afcfbd433e52d9105677885af8d1a417bf69756 | [] | no_license | cjferba/-datasciencecoursera-repo | 659a2dd30072655413ccc6d3af30f2f431e55303 | 1e628074c7af985002233155ffef1cbc836f784a | refs/heads/master | 2021-01-22T14:02:07.923763 | 2015-05-26T19:19:43 | 2015-05-26T19:19:43 | 29,011,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 428 | r | Load_Data.R | library(ggplot2)
library(plyr)
#Load data if no exist
if (!"neiData" %in% ls()) {
neiData <- readRDS("data/summarySCC_PM25.rds")
}
if (!"sccData" %in% ls()) {
sccData <- readRDS("./data/Source_Classification_Code.rds")
}
#show neiData
head(neiData)
#show sccData
head(sccData)
print(paste("Dimension of NEI Data: ",... |
1d9b192c72bd061fb0870d7de7cbf7c2ed29096c | e8bbc985eccb3f11e01cceabc9672c8e5dc3a6ef | /man/RAEN.Rd | 341e541e860f259842f5825558bc34aa713bf9b9 | [] | no_license | cran/RAEN | 702ff8201edf0525230bebc5dc0332d452069107 | 41e8ff7ed82ede5cd70de1bf1e081687de104d9f | refs/heads/master | 2023-03-06T09:57:59.866709 | 2021-02-21T05:00:16 | 2021-02-21T05:00:16 | 334,182,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,525 | rd | RAEN.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RAEN.R
\name{RAEN}
\alias{RAEN}
\alias{predict.RAEN}
\title{Random Ensemble Variable Selection for High Dimensional Data}
\usage{
RAEN(
x,
y,
B,
ngrp = floor(15 * ncol(x)/nrow(x)),
parallel = TRUE,
family = "competing",
ncore = ... |
5b0dffb7cc5e9cd9a33a09b67d0734a01161d837 | 09c4fac6304698cd65c9687c40434aec2801cd83 | /app/rScripts/removeUnknownUsStates.R | 41f8c989c32b73db22c381d469bbf44db130d817 | [
"Apache-2.0"
] | permissive | umbertoDifa/VizProject1 | 8bc97b85d95dc808fbd073cdbe4e1f71b0878d62 | 1144359f4d5329650fd51145b924323360b59468 | refs/heads/master | 2021-01-10T02:02:46.696003 | 2015-12-24T11:54:39 | 2015-12-24T11:54:39 | 48,537,879 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 326 | r | removeUnknownUsStates.R | toRemove<-setdiff(usSbagliati,usGiusti) #giusti sono pochi,sbagliati sono di piu
resto<-setdiff(usSbagliati,toRemove)
newUs<-us.state.names[us.state.names[,"name"] %in% resto,]
#write.csv(newUs, file = "us-state-names.tsv",row.names=FALSE)
write.table(newUs, file='us-state-names.tsv', quote=FALSE, sep='\t',row.names=F... |
345e2beb3d5747760ecc1cb98ac913cee35a08ba | 84108ae54987955233447c20e1dc4ddba272a42f | /R/Rexam/day10/lab12.R | 9e37f5b44484d3379b9a4535207db7a48afb1880 | [] | no_license | MyChoYS/K_TIL | bb82554a6b68f9d3fcd39c9031331ea4df0d8716 | 8417a6f22addcfe08bcb708d61c91091f702b2cb | refs/heads/master | 2023-04-24T05:58:29.253920 | 2021-05-07T06:13:34 | 2021-05-07T06:13:34 | 325,244,373 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,218 | r | lab12.R | #문제1
v1 <- c("Happy","Birthday","to","you")
length(v1)+sum(nchar(v1))
str_count()
#문제2
v2 <- paste(v1[1],v1[2],v1[3],v1[4])
length(v2) + nchar(v2)
#문제3
paste(LETTERS,1:10)
paste(LETTERS,1:10,sep = "")
#문제4
v4 <- "Good Morning"
v4 <- list(strsplit(v4," ")[[1]][1],strsplit(v4," ")[[1]][2])
library (stringr) ###
str_s... |
783a5ee90442fe1f0e88f814a091573a4228ad11 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.machine.learning/man/comprehend_delete_document_classifier.Rd | 6bc7c26d285600d313eb466750fb826b43efa2b6 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,077 | rd | comprehend_delete_document_classifier.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/comprehend_operations.R
\name{comprehend_delete_document_classifier}
\alias{comprehend_delete_document_classifier}
\title{Deletes a previously created document classifier}
\usage{
comprehend_delete_document_classifier(DocumentClassifierArn)
}... |
3c5acdc3fdf4beaed6578cbe9d076c5e4353f58c | 9e9034817ae36de0c220a18d8130f9f5099bd2a6 | /Kmeans_FeatureEngineering_Deeplearning.R | 3f286d1a6b00586ebbcefb7d406e11c30cf8fd33 | [] | no_license | karthikmohan23/Machine-Learning | 3c5888a101154912d5587dce6c3fe7a3a9f022eb | c2c4f99b2c19cdec4090fcf5fe280e575cbc24b7 | refs/heads/master | 2021-04-15T13:06:16.188029 | 2019-07-17T16:20:30 | 2019-07-17T16:20:30 | 126,626,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,985 | r | Kmeans_FeatureEngineering_Deeplearning.R | library(onehot)
library(caret)
library(rpart)
library(rpart.plot)
library(fastICA)
library(h2o)
library(plyr)
HR <- read.csv('D:/UTD MSBA/Fall 2017 (Sem 3)/Machine Learning/Project 4/HR_comma_sep.csv',header = TRUE)
HR.f <- HR
HR.f$left <- NULL
#one hot encoding
data_ <- onehot(HR.f,stringsAsFactors = FALSE,addNA = FA... |
52fcdb771bb92772c0f88455a73ef5275d666974 | 6c1986518bcdd685e8c2c57699259f5c3af5cf7f | /scr/task.R | fa074822650662259a05f9f58596170d383978ed | [
"MIT"
] | permissive | dacero21/clase-9 | 171ce8899271cb16ea588a24ac201a0381cc1461 | f7eee2c621aa4ab7f1691042f7ccced188c856ab | refs/heads/master | 2023-04-07T00:00:06.157844 | 2021-04-15T01:26:01 | 2021-04-15T01:26:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,008 | r | task.R | #==============================================================================#
# Autor(es): Eduard Martinez
# Colaboradores:
# Fecha creacion: 17/03/2019
# Fecha modificacion: 17/03/2021
# Version de R: 4.0.3.
#==============================================================================#
# intial configuration
rm... |
c35d67917d6d7646f8aa7d4ef40a72c5fd3853e2 | 43efc50cd5007dd709bcb0bd8efc08b0520bdb00 | /obj.R | 596a3ed7feff7e37d80dc1a8cc80a735e20eaae7 | [] | no_license | Dmohit/dive | 910f39edd2488ddf6c037e4ea138c7e9650ae476 | bde2558aa98fc532c67dcdc109236de1b285e069 | refs/heads/master | 2021-01-21T12:47:24.900186 | 2016-04-03T07:11:34 | 2016-04-03T07:11:34 | 5,536,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | obj.R | proj <- function() {
v <- vector('list',length=10)
names(v) <- c('status','proj','ID','fixed','target','wtf','wtt','wtr','olds','current')
class(v) <- 'proj'
return(v)
}
init.proj <- function(v) {
|
08d448a4dc73263e5a09ccfecbbfc239248b8c5e | 52c6d03d92444b773d3f57bf1e0dd09bd8cf0057 | /data/journey-planner/import-restaurants.R | bb16aca4c1c6054869d5b5a4f808aff1fc3f80cd | [] | no_license | katossky/katossky.github.io | fa59fd6b86ff70d584abd4c0543b9b87ee40f39d | b8dfb6ad19f94c69b1050df67ed8386d2c344729 | refs/heads/master | 2020-05-22T01:28:03.119849 | 2016-10-10T07:38:59 | 2016-10-10T07:38:59 | 55,267,439 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,012 | r | import-restaurants.R | setwd('~/Projets/katossky.github.io/data/journey-planner')
library(rvest)
library(plyr)
library(dplyr)
library(tidyr)
library(stringr)
library(jsonlite)
library(data.table)
# SCRAPING ---------------------------------------------------------------------
get_michelin_restaurants <- function(top, bottom, left, right){... |
9e21a908db8122278e97883e863f77a9c7f3a43a | a8ed2942767e1eb379a58ca6be1ece8578fab007 | /rankhospital.R | 87b0cb2d81d370dbbcf49fbb430f2aeb238a3cc3 | [] | no_license | nsdfxela/datasciencecoursera-ex3 | 7a9837fd4e88d1d667397e7e8ff75d34c47ed637 | 62117a9d50507b3a1955eebb53c39b2147b59903 | refs/heads/master | 2021-01-02T08:19:23.526119 | 2014-05-04T19:19:41 | 2014-05-04T19:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,731 | r | rankhospital.R | ##rankhospital("MD", "heart failure", 5)
##setwd("C:/COMMUNISM/coursera/Data Science/2/work/week4/rprog-data-ProgAssignment3-data")
rankhospital <- function (state, outcome, num){
outcomeData <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
neededColumns <- grep("^Hospital.30.Day.Death..Mort... |
c794b6eaf339df1273e0d34d7b91b11a1ed51277 | f354e85cb379bc5d858f80fbf9c2ba384ed68ef6 | /man/cor_nba.Rd | bbcb1f952eaab4bf43ba349c84266667459aa270 | [] | no_license | CarolineYYU/CYavgTS1 | 22453fc49a5a7f332a087f430959fe4a5f8573a7 | bead46a166e8c9f7a9fdb98d05e90d64b5acade5 | refs/heads/master | 2021-02-16T10:53:38.918100 | 2020-03-04T20:33:04 | 2020-03-04T20:33:04 | 244,952,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 473 | rd | cor_nba.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cor_nba.R
\name{cor_nba}
\alias{cor_nba}
\title{A Correlation martix Function}
\usage{
cor_nba(dataset, y)
}
\arguments{
\item{dataset}{is the dataset of NBA}
\item{y}{is the Year that we are going to figure it out}
}
\description{
This fun... |
03c41abd640cd458168cc875d11df5b4c68eb880 | efa6ffc0018e3351f92ae4b6edd41d098a82b414 | /DT.R | a1365bc5848004f75213c3386747e6a118f62e1f | [] | no_license | kanikatiwari/Data-Analytics-R- | cf32fa655e3d10d669462abfe8f736216eeee2f7 | eabc8488d681462329555d19e31b6025f25e148f | refs/heads/master | 2020-07-31T05:47:20.458938 | 2020-03-20T09:52:02 | 2020-03-20T09:52:02 | 210,505,097 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 745 | r | DT.R | #Decision Tree
#Loading the package for decision tree
library(party)
#using readingSkills dataset
head(readingSkills)
readingSkills
#creating input data frame
data.input = readingSkills[c(1:105),]
data.input
a = c(1:50)
cb = data.frame(cbind(a))
c = ctree(a~., data=cb)
plot(c)
#Creating the tree with one factor & p... |
684d6a78674a9d18c4eaf588bfe256d7afa41fd3 | 0f4cc899c28af13547edfc82b7871d933a8cad19 | /R/plot.R | 37af9135be45e7b5f678e26194c859fc58de2a04 | [] | no_license | cran/wbs | 73b2a4e71f5a422bb29dba81513eab005bae20d7 | 4e47fc33cbd5c445da6a49b6ee34a7ac84a2b85d | refs/heads/master | 2021-01-23T16:27:09.644389 | 2019-05-14T20:40:03 | 2019-05-14T20:40:03 | 17,700,854 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,038 | r | plot.R | #' @title Plot for an 'sbs' object
#' @description Plots the input vector used to generate 'sbs' object \code{x} with fitted piecewise constant function, equal to the mean
#' between change-points specified in \code{cpt}.
#' @details When \code{cpt} is omitted, the function automatically finds change-points
#' using \... |
8f9c0c56ebd5f19c2dedc6f15a6e9942b3d2d878 | c2ae49e76f885f9745ebf9530b275d80a7ca1a1f | /R/rviewgraph-package.R | cb1a7b85bba4cba6838488aeb7032a5f319b29c5 | [] | no_license | cran/rviewgraph | f9100f245e27a267985c99c6a581e4f2803cb228 | 67fa4edc7f2f546681dfc5484191ce1601b23d0e | refs/heads/master | 2023-06-01T08:24:19.029111 | 2023-05-10T16:50:02 | 2023-05-10T16:50:02 | 145,905,702 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,309 | r | rviewgraph-package.R | #' @name rviewgraph-package
#' @aliases rviewgraph-package rviewgraph
#' @docType package
#' @title Animated Graph Layout Viewer
#' @description
#' for graph viewing, manipulation and plotting.
#'
#' @details
#' \tabular{ll}{
#' Package: \tab rviewgraph\cr
#' Type: \tab Package\cr
#' Version: \tab 1.4.2\cr
#' Date: \... |
8756a2f1c2195cef08e0b01d0d6bef76c898dc2b | 5e68edfa32c59c863e2be740bc4f0c64041ee762 | /server.R | 4045b2ebd11c35e0981551e06e5a5170f2a24c0b | [] | no_license | Deleetdk/test_bias_omitted_variable_bias | e6e2a7a02e1943e056be0c338cec98f21c330715 | b01f149e3dda1d6990f600f4c8aa385f47450ff5 | refs/heads/master | 2021-06-10T11:30:50.741214 | 2020-06-12T23:44:37 | 2020-06-12T23:44:37 | 37,875,889 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,598 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(ggplot2)
library(stringr)
library(psych)
library(plyr)
library(DT)
library(grid)
theme_set(theme_bw())
n = 5000
shinyServer(function(inp... |
26c8536ccd48207fe38f5284d36128b85182acee | bb826848c054b08a5d620b8e8b76dac816534ae2 | /Clinical/clin.script/superceded/clinical_data_DW.R | f1af8817eece25f4d20198457b8758af97700cb9 | [] | no_license | nmm199/MB_RNAseq | 6fde32bc89e9e560c4cc8c321fba840a6a465b09 | 4174079877faa58f24793dbac822f9af8507220c | refs/heads/master | 2021-01-20T01:57:02.583285 | 2019-02-01T17:54:17 | 2019-02-01T17:54:17 | 89,350,253 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,605 | r | clinical_data_DW.R |
### File introduction
### File name: clinical_data_4.R
### Aim of file is to
# 1. Run basic descriptive statistics on a cohort of children treated for medulloblastoma, whose details are contained within the local clinical database
# 2. Analyse genes of interest in relation to univariate and multivariate risk predict... |
cc42d46614ca798f2f41d9939817b8a11f771ebc | a1e3f742d80a225e9a2a35e8e88b3054f5408037 | /R/univregs.R | 1485c4749e2e3813ff89d3e8cef88937f2b8bd76 | [] | no_license | cran/MXM | 7590471ea7ed05944f39bf542c41a07dc831d34f | 46a61706172ba81272b80abf25b862c38d580d76 | refs/heads/master | 2022-09-12T12:14:29.564720 | 2022-08-25T07:52:40 | 2022-08-25T07:52:40 | 19,706,881 | 0 | 4 | null | null | null | null | UTF-8 | R | false | false | 29,789 | r | univregs.R | univregs <- function(target, dataset, targetID = -1, test = NULL, user_test = NULL, wei = NULL, ncores = 1) {
univariateModels <- list();
dm <- dim(dataset)
rows <- dm[1]
cols <- dm[2]
if (targetID != -1 ) {
target <- dataset[, targetID]
dataset[, targetID] <- rbinom(rows, 1, 0.5)
} ... |
18e2787d745174d3427dbf7061f5f845c5beb900 | 50cb903e9365b7461c2d50c208bb0e272f666278 | /R/Nancy rF.R | c9511e3af969c82d1f50667c048ac82daa646fa7 | [] | no_license | GillisLabAtMoffitt/myelosuppression_CHIP | 96024396ed7374429e847ab650c05e2f21a80349 | c96d7b7783bf98579e5c945e33bd2c0d45c2db5c | refs/heads/master | 2022-11-28T09:00:44.392125 | 2020-08-07T14:08:21 | 2020-08-07T14:08:21 | 274,204,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,941 | r | Nancy rF.R | rf.data = read.csv('CHIP_CRASH_data_for_stats_v07_randomforest_2.csv',stringsAsFactors = F,header=T)
# calculate random forest to get variable importance
rf.data <- data.frame(rf.data)
head(rf.data)
rf.data <- rf.data %>% select("Case_Control", "CHIP", "Age", "Gender", "Race", "Ethnicity",
"Sm... |
006bf30df306957e06c25410d9f62bb6ffb30dc5 | d0a6b7960ff3acdb6dff56e19dc782963fb0ee1d | /man/covid_data.Rd | 98e77ca05293f112b17a15f6be1659ee64fe5a91 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hamgamb/aitidata | 30b813827e58cca22340aa7df222f70339030c37 | 84191c07b9e89204520b5d7f507f3fcd4c9da1e1 | refs/heads/master | 2023-04-22T21:37:18.528490 | 2021-04-27T02:22:07 | 2021-04-27T02:22:07 | 357,006,003 | 0 | 0 | CC0-1.0 | 2021-04-12T06:09:22 | 2021-04-11T23:50:51 | R | UTF-8 | R | false | true | 934 | rd | covid_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{covid_data}
\alias{covid_data}
\title{COVID-19 Geographic data}
\format{
A dataframe with 6 variables:
\describe{
\item{date}{Date}
\item{state_name_2016}{State name}
\item{indicator}{COVID-19 indicators}
\item{val... |
1ab1fe38f35dc94df0734c0a68e59882ab193949 | 57144c2d9a8c77faa7766d3003efe553bea2a9eb | /R/loonGrob_l_layer_graph.R | b30c60131398017fe1f069192a3332e23d5f9d8e | [] | no_license | Bhanditz/loon | 63565f059d3c0ccb0756ede8c6536690649e44df | 540eecd6dc5efa9c3369a69cae78b94ee5c54857 | refs/heads/master | 2020-04-19T08:46:48.989059 | 2018-12-10T08:10:03 | 2018-12-10T08:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,735 | r | loonGrob_l_layer_graph.R |
#' @rdname loonGrob
#'
#' @examples
#'
#' \dontrun{
#' ## graph examples
#'
#' G <- completegraph(names(iris[,-5]))
#' LG <- linegraph(G)
#' g <- l_graph(LG)
#'
#' nav0 <- l_navigator_add(g)
#' l_configure(nav0, label = 0)
#' con0 <- l_context_add_geodesic2d(navigator=nav0, data=iris[,-5])
#'
#' nav1 <- l_navigator_ad... |
bb8f20712b36a4163a49a285f2d99a49383a4618 | 0dcd2d146b5b0f2a7c889e53480e49c9eb32c79c | /rSPACE/R/UtilityFunctions.R | b85c4c41c183b0fcf200716739b25f8351ee3e07 | [] | no_license | Jordan-Heiman/Full_rSPACE | 4e276ea86f239f5d9bf480cdc166bed2724b73ae | 6ef641ac4f63dbd1a251c399150477a42091f24a | refs/heads/master | 2023-03-17T08:27:34.808051 | 2018-01-30T21:01:16 | 2018-01-30T21:01:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | UtilityFunctions.R | # Little functions to make things work
setDefault<-function(x,val)
ifelse(is.null(x),val,x) |
9d89fe9081ee0dd90fff8eaef4ff8524df21c4d5 | d582b1d42f2c548abf6b032f04b5aeefb48d848c | /man/bic.join.strings.Rd | 28dbaef99f3e1e19d6d3282ca73da09cb18ca5dc | [] | no_license | caitlinjones/bicrnaseq | 82dc6dacb7ad44af1637c449525d6e13cbb3a0ba | 3a74d39c329ab19aa73d2f26eb2d678d111f20fd | refs/heads/master | 2021-05-23T05:46:24.178527 | 2018-04-28T00:00:27 | 2018-04-28T00:00:27 | 94,919,835 | 0 | 1 | null | 2017-06-20T17:54:02 | 2017-06-20T17:54:02 | null | UTF-8 | R | false | true | 462 | rd | bic.join.strings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bic_util.R
\name{bic.join.strings}
\alias{bic.join.strings}
\title{Convert a character vector to a delimited string}
\usage{
bic.join.strings(x, delim)
}
\arguments{
\item{x}{character vector}
\item{delim}{delimiter to join vector elements}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.