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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
790484edf46e56b4913b64b80ffc1f8189d94ef2 | 13a430d486c1a52fc2ac470775012f2c7e13baae | /R/data-doc-deadendkey.R | a9eeab42827d143da64c9345262b529cf54fa7b4 | [] | no_license | ericmkeen/bangarang | 66fe538e19d42c2b6c93b29cb8e31adb3230a36a | db710584811e108646c350f70fc025c8563f0fff | refs/heads/master | 2023-03-15T16:42:09.605054 | 2023-03-09T16:47:09 | 2023-03-09T16:47:09 | 51,127,882 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 770 | r | data-doc-deadendkey.R | #' A key for straightest-path decision making between channels of the Kitimat Fjord System
#'
#' A symmetrical dataframe that lists the potentially viable channels to travel through for
#' a given combination starting point (row name) and ending point (column name). If there are multiple
#' viable channels, they are s... |
c4c37980ce22b83fc20fa229fac17d7567cee883 | 9cd1a6c38b580d6bc525b6da4444405ef62233f0 | /R/preprocessInputs.R | 44ba71a74b3a87b2318dc8729d27a5db60155b14 | [] | no_license | cran/SurvLong | b65c7a5ee85023eace61e15fdf5b1badb94cc66f | eb8629eac4eb22edd1a7ef02c3a5aa7f488cc887 | refs/heads/master | 2022-06-22T06:26:30.333463 | 2022-06-06T23:20:02 | 2022-06-06T23:20:02 | 31,186,520 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,810 | r | preprocessInputs.R | #******************************************************************************#
# Verify and pre-process inputs #
#******************************************************************************#
# ... |
d2dff3af99dd3e2af5dc08375b2d927f96294d2a | 6c55d0793217f79c36fe4ef59ae2a9e6907af3db | /Day17/day17.R | d357a857a44dda638783de428e2b6120b19ce2b1 | [] | no_license | Darius-Jaraminas/advent_of_code_2020 | decb06a1b9262fbf06de6ef1f92efd14d3d4f0dc | 88242d6c185a528d2ac251094ad8908c8bc54cf6 | refs/heads/master | 2023-02-07T02:14:38.090605 | 2020-12-25T09:22:21 | 2020-12-25T09:22:21 | 317,453,101 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 769 | r | day17.R | library(dplyr)
source("fun.R")
# part 1
# test
t1 <- read_dimension("test1.txt")
t1 <- create_cube(x = t1, d = 6)
nst <- t1
for (i in 1:6){
nst <- change_state(cube = nst)
}
r1_t1 <- sum(nst == "#")
r1_t1 == 112
# solve
inp <- read_dimension("input.txt")
inp <- create_cube(x = inp, d = 6)
nst <- inp
for (i in 1:6)... |
63f7064b264761fbac991ccf77e080ceea21c9c9 | 1768373110e011afc51eda826f9a2a3ebfdc2a02 | /Modify_data.R | f5427c0941e72e85d9938af216a9b79f9832d9cc | [] | no_license | KohSoonho/GINOBILI | b3ffa417ad194aa389d7fcf0a772fe5c00926d59 | 11a7bb413593f51fd42671df269cb7c7db808392 | refs/heads/master | 2021-05-05T11:41:42.075805 | 2019-09-29T09:24:28 | 2019-09-29T09:24:28 | 118,218,977 | 1 | 0 | null | 2018-02-07T14:39:12 | 2018-01-20T07:14:56 | R | UTF-8 | R | false | false | 4,654 | r | Modify_data.R | # Load packages -----------------------------------------------------------
library(tidyverse)
library(lazyeval)
library(remoji)
library(magrittr)
# Get Ginobili data -------------------------------------------------------
data_ginobili <- read_csv("Ginobili.csv")
# Create total row --------------------------------... |
3d720972030bcf9f9e495dd440ccd487eb12507d | 93b1cbfbf81127eaec60f6f677b05ccf4f9754d9 | /run_analysis.R | f003f7e4c9b2d0c1ab930f6e19d79bb2ec98d173 | [] | no_license | sinhars/cleandata | 389ce2f987bbf44ef13369f94601baf276161385 | e44e8ab1551b69f5d6b7be62cd00a11dc097bb0b | refs/heads/master | 2021-05-01T04:06:23.326310 | 2018-02-12T07:54:05 | 2018-02-12T07:54:05 | 121,199,114 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,610 | r | run_analysis.R | run_analysis <- function(directory = getwd()) {
merged_data <- data.frame()
if(dir.exists(paths = directory) == TRUE) {
activities <- data.frame()
features <- data.frame()
train_data <- data.frame()
test_data <- data.frame()
# Read f... |
fa6f0aa8c6ab799958d8eb18a198e0d0fb1e5a96 | 3bbb6df418b9f1c385ff82ca92eb21b002d0a9f3 | /ml_distance.R | f93a78689c7b2414c1ef45e90eaff0f7105cc832 | [] | no_license | tuhulab/harvardx-datascience | 09350704dadddc0c5c53649cebfbd4a9f3c23cd3 | cbf97c8c18623d3d6c67db0310fe8d3c6a1134e4 | refs/heads/master | 2020-04-08T20:31:16.359248 | 2019-06-09T15:16:59 | 2019-06-09T15:16:59 | 159,703,026 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,266 | r | ml_distance.R | library(tidyverse)
library(dslabs)
if(!exists("mnist")) mnist <- read_mnist()
set.seed(1995)
ind <- which(mnist$train$labels %in% c(2,7)) %>% sample(500)
x <- mnist$train$images[ind,]
y <- mnist$train$labels[ind]
y[1:3]
x_1 <- x[1,]
x_2 <- x[2,]
x_3 <- x[3,]
sqrt(sum((x_1 - x_2)^2))
sqrt(sum((x_1 - x_3)^2))
sqrt(s... |
6dcc95005b8f8d57176482393f27dc00371c945d | d677e29760774381438f25a11c5b3e09141477dc | /3/fpfi3_0.7.6/fpfi3/man/DoBucking.Rd | 8f8ac5124006fd38f839d88540c23fdb89412dc4 | [] | no_license | grpiccoli/FF | 695e681f8c062f0c71af0488ac1e288283c63f87 | e19d0098c592dd36303eaad7cc0d771c0813edbd | refs/heads/master | 2022-04-24T00:36:39.447469 | 2020-04-19T07:42:05 | 2020-04-19T07:42:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,670 | rd | DoBucking.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bucking.R
\name{DoBucking}
\alias{DoBucking}
\title{Stem bucking simulation and merchantable volume calculation}
\usage{
DoBucking(data, coeffs, products, id = NULL, dbh = "dbh", ht = "ht",
hp = NULL, hm = NULL, stump = 0.1, lseg0 = 0.2,
... |
4f25cb96ab3d14d29b7fde128879b9ee01b7f997 | 8d0e724aae549de8c0e56435ccf3a14d852fee29 | /idadeTipoAposentadoria.R | f08a2b890221592db71e191f11e7be81dc24828d | [] | no_license | ArtigosSubmissao/Dissertacao-RotinasR | a5c1c961d5f2117840d2e55abac5db8aed3b7bc9 | a0537c8622b69df88fa68edfbf96145c67b1bfae | refs/heads/main | 2023-07-01T21:15:10.150912 | 2021-08-11T14:44:27 | 2021-08-11T14:44:27 | 395,020,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,864 | r | idadeTipoAposentadoria.R | idadeTipoAposentadoriaRPPS = function (DadosServidores){
##Estima idade mínima de aposentadoria programada.
#'Parâmetros
tempoDeContribuicao=10 # Tempo que um servidor precisa contribuir com o regime para aposentadoria.
idadeMinimaMulherIdade=60 # Idade mínima para aposentadoria por... |
b132b2e32f9907791b8cd255c8e91b02d988f1be | 54bf9bc76aaa7e1fec5961efb12bfb636fa90a2e | /Archive/NESCent.code/sim.iterator.R | f0efe09fe4ad18332b9746d34de4491355f7d34a | [] | no_license | christianparobek/skeleSim | 25d63dc3eeee6d8218d19e0f011229cfb843d053 | 0d61409497283ac1db129379b479639261695f83 | refs/heads/master | 2020-03-28T05:36:45.448623 | 2020-02-26T21:55:51 | 2020-02-26T21:55:51 | 32,469,895 | 3 | 9 | null | 2017-11-22T16:30:16 | 2015-03-18T16:16:29 | HTML | UTF-8 | R | false | false | 2,114 | r | sim.iterator.R | ## This is a function to iterate through simulations and analyses
## This function should take the following information:
## The simulation parameters contained in the megalist
## The analyis function contained in the megalist
## And this function should return:
## Modifications to the megalist in the re... |
80b6713ba13617a874269646daf108bd59dd7e1f | bda556956ed58d2db2526cc2040d88df7ee81a46 | /analysis-compare/plot_stat_mean_rediction.R | 5b9b19ed8dd0983512a1145e74ce2ac4eb592b25 | [] | no_license | qiqi-helloworld/Numeric-Represents-on-Evolutionary-Fitness-Results | 0598c30516ae4cf1ac0a658d3e4cb79a1ab0f689 | a0ca19c72ef2cee6b2fd862d52b7a77af1707ae7 | refs/heads/master | 2021-06-13T01:29:25.674365 | 2017-03-08T08:05:03 | 2017-03-08T08:05:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,524 | r | plot_stat_mean_rediction.R | library("dplyr")
file.path = "./compareAnalysisCode/statisticalproperty/"
name.list <- file.path %>% list.files()
stat.property <- c("Median", "_Mean", "SEMean", "Variance", "Stdev")
for(i in 1:length(stat.property)){
ustc <- name.list[grepl(stat.property[i] %>% tolower(), name.list)]
... |
2222af6a45aa8fdd08fd2b27f8e6b581884d6f6f | d859174ad3cb31ab87088437cd1f0411a9d7449b | /autonomics.ora/man/gsymbol_set_to_entrezg_set.Rd | b61459d47a76de1f135ea5b34d6bd634d76c2a42 | [] | no_license | bhagwataditya/autonomics0 | 97c73d0a809aea5b4c9ef2bf3f886614eceb7a3c | c7ca7b69161e5181409c6b1ebcbeede4afde9974 | refs/heads/master | 2023-02-24T21:33:02.717621 | 2021-01-29T16:30:54 | 2021-01-29T16:30:54 | 133,491,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 529 | rd | gsymbol_set_to_entrezg_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/map_ids.R
\name{gsymbol_set_to_entrezg_set}
\alias{gsymbol_set_to_entrezg_set}
\title{Map gene symbols to entrezg ids}
\usage{
gsymbol_set_to_entrezg_set(x, annotation_map)
}
\arguments{
\item{x}{vector with gene symbols}
\item{annotation_ma... |
b28c0c0b5bb8523f5c9c572bd4c8b593cdc1253a | d794cdd03cead6810cc5e5c9b2cb0e34b85df6c4 | /man/LL.Rd | dc7367c3e6546e94d22713d5f61591cd91141ecf | [] | no_license | cran/JLLprod | 61312932316c8d092fffdf51c9da227403ec9e01 | 6c29765e3d5aa02143ccfc48429f144e53509d3b | refs/heads/master | 2021-01-01T15:24:12.924091 | 2007-10-21T00:00:00 | 2007-10-21T00:00:00 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 4,442 | rd | LL.Rd | \name{LL}
\alias{LL}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Homothetic Production Function: Main Estimator }
\description{
This function implements the Lewbel & Linton's (2003) estimator. In general it estimates
the model Y=r(x,z)+e, imposing the following structure r(x,z)=E[Y|X=x,... |
f24f96c5759e4ba356b3f10ffebcf309f740de34 | 7c39da976f28af016e5b1f847e68473c659ea05d | /man/modalRearrangement.Rd | d0ebad39f7feb28a2d9b4ca65a06649b8c094b72 | [] | no_license | cancer-genomics/trellis | b389d5e03959f8c6a4ee7f187f7749048e586e03 | 5d90b1c903c09386e239c01c10c0613bbd89bc5f | refs/heads/master | 2023-02-24T05:59:44.877181 | 2023-01-09T20:38:36 | 2023-01-09T20:38:36 | 59,804,763 | 3 | 1 | null | 2023-01-11T05:22:52 | 2016-05-27T04:45:14 | R | UTF-8 | R | false | true | 1,178 | rd | modalRearrangement.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/Rearrangement-class.R,
% R/RearrangementList-class.R
\name{modalRearrangement}
\alias{modalRearrangement}
\alias{modalRearrangement<-}
\alias{modalRearrangement,Rearrangement-method}
\alias{modalRearrangement<-,Rearrangemen... |
375a38c72ac03f4896239225798263db89f9f790 | 4931fff36dcc0643db1a58cc6c789d768338fdb5 | /programas/arvore_valculo.R | a70597b82cc8057dc989c5faf3bb9a2c0977ab5b | [] | no_license | frick01/Risc-V_single_cycle | 4b9d0fb8e3583176776e25c9b7174c3751b9e046 | fd3fa9b3c46e922ae98895594eecc4dde580ce74 | refs/heads/master | 2022-12-16T02:40:43.128947 | 2020-08-25T18:55:42 | 2020-08-25T18:55:42 | 290,296,554 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,286 | r | arvore_valculo.R | addi x2 x2 -16
sw x18 4(x2)
sw x8 8(x2)
sw x1 12(x2)
addi x9 x0 0
beq x10 x8 40
addi x8 x10 0
lw x10 0(x8)
lw x10 0(x8)
jal x10 60
lw x15 8(x8)
lw x8 4(x8)
add x9 x10 x9
add x9 x9 x15
bne x8 x0 -28
addi x10 x9 0
lw x9 4(x2)
lw x8 8(x2)
lw x1 12(x2)
addi x2 x2 16
jalr x0 x1 0
addi sp,sp,-16
sw ... |
ab7c49f59e0ace44898af358784c410fe7f17a34 | 923f640f22218a53a906091e42c7c44a8e37e1a1 | /tests/testthat.R | 6b6ca04db5396654a3e84bee0557669190ef7161 | [] | no_license | jimsforks/parmesan | 887e733676e0612a137b1400ebf3c8678ce3db78 | ea346a7c14f36be4db39d248f5ee761e34351e5b | refs/heads/master | 2023-03-14T19:39:33.553990 | 2021-03-11T10:01:42 | 2021-03-11T10:01:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(parmesan)
test_check("parmesan")
|
e0ac3a153ad6cdfb4d6f3b3198506ef8ed6a470d | 90e0693e3a25e4b47cd191c09df3be01af06ba24 | /DGP.R | ace750fd8de7be901e3b92922e807808d9dd129c | [] | no_license | sanasahban/EconoII_Project | 9400b1f7dea2193793768dd7ecc45099b165ae41 | 80be274e3e656ddada33894a3575021ab187db24 | refs/heads/master | 2020-12-30T14:20:33.204307 | 2017-06-02T01:05:33 | 2017-06-02T01:05:33 | 91,313,856 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 508 | r | DGP.R |
#Data Generating Process (DGP)
aplha = 0
beta = 0
phi2 = 0
mean_e = 0
sigma_e = 3
y0 = 0
phi <- c(0.5, 0.9, 0.99, 1)
T = 10
data <- data.frame(t = 1:T, epsilon = rnorm(T, mean = mean_e, sd = sigma_e))
y <- matrix(0, T, 1)
for (t in 1:T) {
ifelse (t == 1,
y[t] <- c(phi[1] * y0 + data$epsilon[t]),
... |
f32393612ebade2ee3f6340e6e992f83631a73c0 | c4fc7eeb704d9cfc6da6a0159356c120f2a0fb29 | /utils.R | e82b03507eb4e04cd46502b9705a2729270b85c8 | [] | no_license | immunogenomics/FibroblastAtlas2022 | 647c1fc7bb5058ca044696bde599db742516e0e7 | 95493f478be618c8367877fc1e46d92f359e9ace | refs/heads/main | 2023-04-10T03:05:28.939681 | 2022-12-06T20:18:43 | 2022-12-06T20:18:43 | 471,473,961 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,320 | r | utils.R | colors_overload <- union(ggthemes::tableau_color_pal('Tableau 20')(20), RColorBrewer::brewer.pal(12, 'Set3'))
colors_overload <- c(colors_overload, 'black')
fig.size <- function (height, width) {
options(repr.plot.height = height, repr.plot.width = width)
}
create_object <- function(
exprs_raw, meta_data, npc... |
8fb6aedcb6e27e194bafd24bce59c893d34e15cd | 81da7dad0bd28de5d4068c7b294ab6c9662c4a33 | /casual backup/R data cleaning tutorial.R | fddf950bb892a1e95d17f76480a9361d30de16be | [] | no_license | kumarjitpathakbangalore/backup | b11af900f44ae7afaa59206c26880c95305b944c | 47362ec2f5ef77da0bddfd34202751f8e05e1d29 | refs/heads/master | 2020-04-03T04:11:47.084838 | 2018-10-28T08:24:24 | 2018-10-28T08:24:24 | 155,006,306 | 1 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 26,727 | r | R data cleaning tutorial.R | # vectors have variables of _one_ type
c(1, 2, "three")
# shorter arguments are recycled
(1:3) * 2
(1:4) * c(1, 2)
# warning! (why?)
(1:4) * (1:3)
#______________________Each element of a vector can be given a name.
x <- c("red", "green", "blue")
#___________________Obviously the second version is much mor... |
bce541f2bd7dbca28a7e64139ae89e78c3a0008a | 07e281844839b00b997d54588591d89aeaed697a | /20180121tGRN_TFCisExp.R | ca4cb0171dfc1891e0f2af9128224dfe96b9f7dd | [] | no_license | YKeito/tGRN_analysis20181023 | bb317a3e8a8b48ff62aa71f963fcea80fc7c02f8 | 3cff9e3fceebf8425ee3a9051c6f845c4ccecf33 | refs/heads/master | 2022-12-21T10:57:03.395510 | 2020-09-28T05:35:33 | 2020-09-28T05:35:33 | 299,198,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,192 | r | 20180121tGRN_TFCisExp.R | "~/Nakano_RNAseq/network_analysis/script/tGRN_analysis20181023/20180121tGRN_TFCisExp.R.R"
#やりたいことメモ-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#目的:CY化合物毎に動的な遺伝子制御ネットワークを作成するための.txtファイルを出力させる... |
c2282d0e0a9a3a4dbb8ce3fbe08675c1919f6005 | 4f26471b6b08d7e081dc863c8189e4b3a885de13 | /man/embed_event_handler.Rd | d1a2d788f301dcebc48e3198e4e5cb26b2ca6520 | [] | no_license | strazto/mandrake | 93ec83b79b57911c3f7b922a4c159c671cf3f0cc | 63fff66e681b4a73f682348469662f29e60d04de | refs/heads/master | 2023-04-10T21:26:51.366465 | 2021-04-22T06:40:59 | 2021-04-22T06:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,126 | rd | embed_event_handler.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/js_handlers.R
\name{embed_event_handler}
\alias{embed_event_handler}
\title{(DEPRECATED) Handler for embedding data into the legend
\lifecycle{deprecated}}
\usage{
embed_event_handler(warn_deprecated = TRUE)
}
\description{
If attached as onS... |
576157867674f2642837875d721923788dd611b6 | fabe50401b923ec86291597fa0552c1d06def5d7 | /Course 10 Data Science Capstone - Shrink Dataset.R | 47a3f3545477f4c657d096cc4e9329d1bd87711b | [] | no_license | jm-carson/Course10DataScienceCapstone | e72ed5ac1b89ccddb2447d1458a2103d7d751895 | ea7ec654fbe752a0ab8caa23d49252a150c1b494 | refs/heads/master | 2021-04-15T08:54:45.387798 | 2018-03-29T18:01:53 | 2018-03-29T18:01:53 | 126,246,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,714 | r | Course 10 Data Science Capstone - Shrink Dataset.R | # Course 10: Data Science Capstone
# John Hopkins Data Science Specialization
# Shrink data set
# Run garbage collection to clear out memory that's no longer being used
gc()
# ThinkPad Yoga 260 Signature Edition
# Installed RAM 8.0 GB (7.87 GB usable)
# memory.limit() # Confirms memory limit
# ls() # list o... |
8183ef92e806cb8aa250588164bbf3b87aab53f8 | 572f54478ac60b1c6f560bd42102530f83b18c68 | /FISH.R | 193395d8ad469c4f05560400614e2709f9ab0695 | [] | no_license | erinboyle05/thesis_data | d9db1ae80dfcde1cf2bee79bad7ecc57d03e133f | e66aa7f037e045b23a648dabcc427fd4a61c079f | refs/heads/master | 2021-01-11T01:09:01.002947 | 2016-10-27T19:46:30 | 2016-10-27T19:46:30 | 70,841,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | r | FISH.R | ATMdata <- FISHrawData %>%
filter(Probe == "ATM") %>%
arrange(Values)
p53data <- FISHrawData %>%
filter(Probe == "p53") %>%
arrange(Values)
data <- FISHrawData %>%
filter(Probe == "ATM" | Probe == "p53") %>%
arrange(Values)
plot <- ggplot(data... |
699a926f0e21b939857fa5c95b7376b0d3512275 | f2bfd5ceae6bf32cebc28cf18740a8b44e010e7b | /pkg/retistruct/R/geometry.R | 9512b37b1714deaeb184ef5fa56487c4802d6991 | [] | no_license | davidcsterratt/retistruct | 602972d127b7119df3fda54ac915228d7ac854d1 | f7075b0a8ac84fdc9773300d553c26a11b45ce2e | refs/heads/master | 2023-08-09T20:08:39.039964 | 2023-07-29T09:27:35 | 2023-07-29T09:27:35 | 25,682,590 | 5 | 7 | null | 2017-07-29T09:14:58 | 2014-10-24T10:05:33 | R | UTF-8 | R | false | false | 31,203 | r | geometry.R | ##
## Geometry functions
##
extprod3d <- function (x, y)
{
x <- matrix(x, ncol = 3)
y <- matrix(y, ncol = 3)
return(cbind(x[, 2] * y[, 3] - x[, 3] * y[, 2], x[, 3] * y[,
1] - x[, 1] * y[, 3], x[, 1] * y[, 2] - x[, 2] * y[,
1]))
}
##' ... |
e055a729b881bdf96048de62e03641ce2c7e8203 | e72d002fdcdaf378bda95be0d9993bea189b1276 | /man/extract.Rd | 3d0bc3559a6eaf4a6c050e3ca334a0bd7e8bf468 | [] | no_license | davan690/ctsem | 1663f0f7340d81d1addd63adf5d80293f4d4a814 | 5f6fea38c7f66e3541b6870155ae4bd0828e9a48 | refs/heads/master | 2020-09-02T15:04:44.255112 | 2019-10-30T16:36:16 | 2019-10-30T16:36:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 535 | rd | extract.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract.ctStanFit.R
\name{extract}
\alias{extract}
\title{Extract samples from a ctStanFit object}
\usage{
extract(object, ...)
}
\arguments{
\item{object}{ctStanFit object, samples may be from Stan's HMC, or the importance sampling approach ... |
f222df207036f56e0d53095e60c38dd097c5b8a4 | 840944dacec0eb78b5989a2d2e4f69898ac17967 | /man/adorn_everything.Rd | dd3e7cbaff2e6d13c650c6b39419834bffc88b70 | [
"MIT"
] | permissive | Sorenson-Impact/sorensonimpact | e5104516366aca205f9f5c7dccf8a23487006bca | 78796d0a720037a866160ca62d8734d48a2aaff3 | refs/heads/master | 2021-11-13T16:06:01.147657 | 2021-11-04T16:40:13 | 2021-11-04T16:40:13 | 108,036,549 | 12 | 7 | null | 2020-01-28T18:02:53 | 2017-10-23T20:36:58 | R | UTF-8 | R | false | true | 683 | rd | adorn_everything.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/janitor_custom_functions.R
\name{adorn_everything}
\alias{adorn_everything}
\title{Adorn Everything}
\usage{
adorn_everything(dat, pct_direction = "col")
}
\arguments{
\item{pct_direction}{Should the cell percentages use the "col" or "row" to... |
4df4e58308cbb6cba89ebe1895d3e944230be8dc | 2c485b1c2f39fc3c269c6f578e21d698dcec63e6 | /man/sampling.Rd | 8ee44e072ea1d453fb57883e4c0e40c6a1b0a1a0 | [] | no_license | aalfons/simFrame | 002f47cad078c93dec24c4c9fab4893e7bb56922 | 23314f0b1f6632560e0d95dc568f708f3c1286a9 | refs/heads/master | 2021-12-23T10:23:44.587577 | 2021-11-23T12:46:58 | 2021-11-23T12:46:58 | 6,717,992 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,894 | rd | sampling.Rd | \encoding{utf8}
\name{sampling}
\Rdversion{1.1}
\alias{srs}
\alias{ups}
\alias{brewer}
\alias{midzuno}
\alias{tille}
\title{Random sampling}
\description{
Functions for random sampling.
}
\usage{
srs(N, size, replace = FALSE)
ups(N, size, prob, replace = FALSE)
brewer(prob, eps = 1e-06)
midzuno(prob, eps = 1e-06)
... |
be448bdb7b5c2f58c2a444ba1e4d51ee05aca635 | 90292cdc0c01652994313aa0e926b8cea5111841 | /analysis/scripts/analysis.R | 9adba4e6958dd55fcf63b3a3cac86dbd74d5d483 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mmibrahim/BEACONToolkit | 252f404ba45650e2d037c6460e04086dfe1d0ebf | 6f561860eaacc4c4730e752f910312e5e77a276a | refs/heads/master | 2021-01-15T19:45:39.410052 | 2020-01-19T06:33:10 | 2020-01-19T06:33:10 | 13,341,177 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,531 | r | analysis.R | # BEACONToolkit Chapter 2: Analysis
# By: Luis Zaman
# 8/6/12
######## Fake fish data for what p-values aren't ########
cold_fish = rnorm(5000, mean=20.5, sd=5)
hot_fish = rnorm(5000, mean=20, sd=5)
data_frame <- data.frame(weight=c(hot_fish,cold_fish), environment=c(rep("hot", 5000), rep("cold", 5000)))
boxplot(wei... |
c186ec49ef2b0d620ced4aaeec67e77795f634dd | 7b8da296768b3586d71ff5b9808d36fed89c98fc | /annotatedOrphans.R | ee690325e53d019b076ad942e6040ba88c4fc4f5 | [] | no_license | raonyguimaraes/exomeAnalysis | 6e7e9a19dc46979f2f03e1594bba7b2e574ee4bb | b21deb76e8425fa009d137eb62dbbd08bbdf2264 | refs/heads/master | 2020-04-14T14:53:47.675052 | 2013-04-11T16:57:10 | 2013-04-11T16:57:10 | 10,248,781 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 118 | r | annotatedOrphans.R | d <- read.table("/Users/singhal/thesisWork/introgression/metrics/annotatedOrphans.out",header=F)
pie(d$V2,labels=d$V1) |
0b743d65e8f0bf01f85d9ebbf8d8fc3f10bf06eb | effe14a2cd10c729731f08b501fdb9ff0b065791 | /cran/paws/man/sagemaker.Rd | 1f4afbc793dcb6d98f628bc039895488a69e3e2b | [
"Apache-2.0"
] | permissive | peoplecure/paws | 8fccc08d40093bb25e2fdf66dd5e38820f6d335a | 89f044704ef832a85a71249ce008f01821b1cf88 | refs/heads/master | 2020-06-02T16:00:40.294628 | 2019-06-08T23:00:39 | 2019-06-08T23:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 10,522 | rd | sagemaker.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.R
\name{sagemaker}
\alias{sagemaker}
\title{Amazon SageMaker Service}
\usage{
sagemaker()
}
\description{
Provides APIs for creating and managing Amazon SageMaker resources.
}
\section{Operations}{
\tabular{ll}{
\link[=sagemaker_add_tag... |
a05ceff440b38fd3a2f80ad461ce2126d9aa5812 | d68f60777d9d738b7520fb36dcf7000442adeb60 | /plot1.R | 6f7fbf1354014830a41a966471ab5a80bdfe1c7d | [] | no_license | utjimmyx/ExData_PeerAssessment2 | e04a50a3014419fee80b38de9f1b0ecdddc39ad8 | f33cb16182dfef7c6c594d4cf2b92534cd8f4f1b | refs/heads/master | 2021-01-21T07:47:54.417737 | 2015-10-25T22:09:41 | 2015-10-25T22:09:41 | 44,928,933 | 0 | 0 | null | 2015-10-25T20:45:00 | 2015-10-25T20:45:00 | null | UTF-8 | R | false | false | 461 | r | plot1.R | setwd("C:/Users/zxu/Documents/Nov 15 2014 R")
library(plyr)
library(ggplot2)
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
set.seed(12345)
NEI.reduced <- NEI[sample(nrow(NEI), 500), ]
data <- with(NEI, aggregate(Emissions, by = list(year), sum))
plot(data, type = "o", ylab = ... |
28f57e1a1b0bd6671eeb217f806232ce5120f3a4 | 67c0345439e95186c94519008834549dcb5444d2 | /labwork1.R | ec22b4e554eaf38e176c32e156a5223301e4c562 | [] | no_license | tincorpai/labwork2 | 5f2f7054aecca76e9c4fa2b12111015ef6f69978 | eb8b4eb3130ce5c136a01b7ac491f91b0d4df595 | refs/heads/master | 2020-07-15T22:22:03.863211 | 2019-09-08T03:14:57 | 2019-09-08T03:14:57 | 205,661,125 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,446 | r | labwork1.R | ### Lab1: Vector and List
### Author: Taiwo Famuyiwa
### Date: Feb. 4, 2019
#######################################
#######################################
#VECTOR QUESTIONS#
#QUESTION1
a <- c(1,5,4,3,6)
b <- c(3,5,2,1,9)
#The values are: TRUE TRUE FALSE FALSE TRUE
a <= b
#QUESTION2
x <- c(12:4)
y <- c(0... |
b90cc377dcc8a8a804c3a8592323255c5a55016d | d353738e1163e485bf3e5c24646264523b8c6cd3 | /R_Basics/Homework/Section6/Homework6.R | c54723152412a6c5f99998feb42f0e4ce33d5232 | [] | no_license | KiranKumar-A/R | 157508851daeeccb61eb4f8d7d563db7abee15f7 | 12570e1e87664af4b645ce484943ab4f25742bd8 | refs/heads/master | 2021-09-07T01:06:22.462155 | 2018-02-14T16:56:57 | 2018-02-14T16:56:57 | 95,436,055 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,504 | r | Homework6.R | #import the data
getwd()
setwd('G://UDEMY//R//Homework//Section6')
getwd()
mov <-read.csv("Section6-Homework-Data.csv")
#data exploration
head(mov)
summary(mov)
str(mov)
#activate ggplot2
#install.packages("ggplot2")
library(ggplot2)
#cool insight
ggplot(data = mov, aes(x=Day.of.Week)) + geom_bar()
#filter #1 f... |
5e88d90c5440203e575f9a2742800479a10e9fb8 | 4129e81a0dd1904c598663d4202b5be897d07330 | /plot1.R | 9f745db8149f75bb0f14846d78ca949521545015 | [] | no_license | sjevans242/ExplAnal-Assig1 | 72af2cc394dc70cd6d5d2b87c1acac09dac442b1 | 4351cc10a32d3f68a118063b94f9d8bf41eeaadf | refs/heads/master | 2021-01-10T03:24:07.596365 | 2016-02-21T12:55:25 | 2016-02-21T12:55:25 | 52,206,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 797 | r | plot1.R | ## delimited with ";"
## need data rows 66638 to 69517
## reader header only
header <- read.table("household_power_consumption.txt", nrows = 1, header = FALSE, sep =';', stringsAsFactors = FALSE)
## read needed lines and add header
data <- read.table("household_power_consumption.txt", skip = 66637, nrows = 2880, sep = ... |
b6c9b60fe723a69d3ae492013982639573625549 | dc2bdcb2cb677fc8068594ec8a9091d212039696 | /src/FuncTools.R | 06829e9fd2621fe72126004107123df2e68f7178 | [] | no_license | adrielidaltoe/Predicting-downloads-of-mobile-app-R | b6714592127395b14f538049b4a8a92a1d137e5b | d7a43d4fdadb0c7e858547df74dbdeb85318b11b | refs/heads/main | 2023-04-22T21:27:26.007194 | 2021-05-05T12:19:44 | 2021-05-05T12:19:44 | 314,087,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,241 | r | FuncTools.R | ### Functions ####
# Function to test the association between categorical variables
var_association <- function(var, df){
library(rcompanion)
library(DescTools)
# Creating an empty dataframe to save the results
results = data.frame(matrix(nrow = 0, ncol = 6))
names(results) = c('var_x', 'var_y', 'theil_U... |
d43242839ae3e4c48b746cfca9b5492bb1d956d0 | 5bfb41f4eb0d545b88d986b085d1e1bcd5da2585 | /man/dna.identity.Rd | d055526ffd1d10a73d07f48010340b53126ac0de | [] | no_license | cran/sublogo | a514a6e5ceaa650ca504f13c5a49c50b0144c298 | c74f63170630a0ea61b93eafa0b2f255e02542b6 | refs/heads/master | 2016-09-06T01:25:06.488667 | 2009-06-19T00:00:00 | 2009-06-19T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 388 | rd | dna.identity.Rd | \name{dna.identity}
\Rdversion{1.1}
\alias{dna.identity}
\docType{data}
\title{dna.identity}
\description{DNA identity substitution matrix.}
\usage{dna.identity}
\format{
The format is:
num [1:5, 1:5] 0 0 0 0 0 0 1 0 0 0 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:5] "*" "A" "T" "G" ...
..$ : chr [1:5] "*"... |
66572cd6dd053ac1a8738051dd8ae5046727a59d | 7af6a1887bc68eed7c5edca34025b708334d13c5 | /man/gap.mspct.Rd | 063ec8b0231a6dbf34bccc7133693bebf145dbee | [] | no_license | cran/photobiologySun | 627badbe9d84c3923109ab01241adc0ffc995c58 | a6aa6298287cbaae8cb36c292e25c6f82eb157a4 | refs/heads/master | 2021-01-24T13:02:19.223953 | 2019-03-27T21:20:03 | 2019-03-27T21:20:03 | 123,162,375 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,419 | rd | gap.mspct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/example.solar.spectra.data.r
\docType{data}
\name{gap.mspct}
\alias{gap.mspct}
\title{Solar spectral irradiance in a tree canopy gap (measured)}
\format{A \code{source_mspct} object containing a collection of 72
source_spct objects.}... |
965e66d25cb9d5b4441402b9e05c8a08fbf8d0ba | 8717787cbe108b1021737cb42b24d6f3b31d04ea | /old/analyse_R/TraitementR.R | 8befeb699826426c189927927055b7d0f8ab744d | [] | no_license | JuanParker1/pr-noe | 2928017b0a4e2443f8e9ea236c4d6630f5e3fa74 | 163120dc0769f3966e29a7b2ff0fc3752c733928 | refs/heads/main | 2023-08-16T04:13:32.886970 | 2021-09-29T06:47:58 | 2021-09-29T06:47:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 588 | r | TraitementR.R | library(tibble)
library(jsonlite)
library(tidyr)
library(dplyr)
setwd("~/Cours/4A/PR/pr-noe")
brut <- stream_in(file("data.ndjson"))
tablecrypt <- tibble(brut)
longtab <- function(vector = c()){return (length(unlist(vector)))}
nbtab <- tablecrypt %>% select("tags") %>% apply(1,longtab) %>% data.frame()
tablecrypt$nbta... |
a8b8402897e2a78117324ece3dc66f42b76c9065 | a3a90785fcf311da21ec1fb8a7b06e352909165d | /man/lipid_neg_fdata.Rd | c0d2da088ac867c044367e52754d38d3104d74bc | [] | no_license | pmartR/pmartRdata | e77223c1a26128c0f4516c2e54f6e8dae1c63aac | bb4729346c264b45deb310f2d99199cd09776051 | refs/heads/master | 2023-01-09T18:03:49.387617 | 2023-01-03T20:08:24 | 2023-01-03T20:08:24 | 69,269,999 | 5 | 8 | null | 2023-01-03T20:08:26 | 2016-09-26T16:32:28 | R | UTF-8 | R | false | true | 690 | rd | lipid_neg_fdata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\name{lipid_neg_fdata}
\alias{lipid_neg_fdata}
\title{Negative Ion Lipidomics Sample Metadata (f_data)}
\format{
A data.frame with 45 rows (samples) and 4 columns (sample identifier
and associated information):
\describe{
\item{Sam... |
4b46bf1593e38d33678add42242fe3ce0a4957e5 | 3176bef3d05e202483010f8e3215d6bd1b5ef390 | /man/eth_accounts.Rd | 8972dce3c0fd4b372cda09b2ccd705d6aa202c23 | [
"MIT"
] | permissive | BlocklancerOrg/ethReum | dcd7af91cd7a572a8e7b376e69bff02e2d8d8ab3 | 561c2a3b2233af935fa9267ae84abee9c4ccc7f9 | refs/heads/master | 2021-09-20T18:27:14.543351 | 2018-08-13T23:07:14 | 2018-08-13T23:07:14 | 113,497,628 | 4 | 2 | null | null | null | null | UTF-8 | R | false | true | 396 | rd | eth_accounts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ethRPCFunctions.R
\name{eth_accounts}
\alias{eth_accounts}
\title{Eth accounts}
\usage{
eth_accounts(rpc_address = "http://localhost:8545")
}
\arguments{
\item{rpc_address}{The address of the RPC API.}
}
\value{
20 Bytes - addresses owned by ... |
14335e08bdc61f7205b2f96421ecc156766e6d11 | 1a3756f0d41ff24ff50d797400c4befcab2f44aa | /pollutantmean.R | 40afd968a66d31ca54db54c8482a98445cbb80fb | [] | no_license | patrick-ball/r_programming | f2e6e20f8ae09884f2be0653808d9af8627fa8f7 | 763c53f324e7f86dea1c9acf92c7c434dd417213 | refs/heads/master | 2020-06-04T01:00:37.837592 | 2015-01-09T20:30:35 | 2015-01-09T20:30:35 | 28,894,686 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,203 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id=1:332) {
## 'directory' is a character vector of length 1 indicating the location of
## the CSV files
## 'pollutant' is a character vector of lenght 1 indicating the name of the
## pollutant for which we will calculate the mean; either "Sulfate" or... |
af33a7e976f280544e80d0e79f3b473e5f8bd7e6 | a08f634ae062d610235098f5a52ff389b4f7b64f | /R/helper_functions.R | 004dd600f98fb144b37ed491c771ecdc960b0c62 | [] | no_license | oristides/Rmazon | a2cfb741cf1e3217abfd26a2de3699422ff44792 | 230bfa5a53c9c9f02b884d2af11f69fa04ed3f74 | refs/heads/master | 2021-01-13T14:30:45.313351 | 2016-11-03T21:26:40 | 2016-11-03T21:26:40 | 72,852,522 | 1 | 0 | null | 2016-11-04T13:57:57 | 2016-11-04T13:57:57 | null | UTF-8 | R | false | false | 1,788 | r | helper_functions.R | reviews_from_page <- function(scrapeurl){
html_review_data <- xml2::read_html(scrapeurl)
reviewRating <- rvest::html_nodes(html_review_data, "#cm_cr-review_list .review-rating")
reviewRating <- rvest::html_text(reviewRating)
reviewRating <- stringr::str_sub(reviewRating, 1,3)
reviewRating <- as.numeric(revie... |
abdf8ff3f96a675869f9e1444c33861eb09e452a | c25894aa3c0cdb70b48d7bcf71510bc4f6267a39 | /homeDepot/src/bagging.R | eb03b0fc7f37ca761be82ee9c2cb616959e2c908 | [] | no_license | panchamirudrakshi/MachineLearning | 4d2f58e1f4ac06ecfe3f747c4747fac082f423e0 | a0580b85b52bfc9833fe11dafa9048e92c774eda | refs/heads/master | 2020-06-24T21:44:48.140521 | 2017-01-12T08:31:48 | 2017-01-12T08:31:48 | 74,620,377 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 938 | r | bagging.R | install.packages("randomForest")
library("randomForest")
train <- read.csv("E:/Ranjani/Docs/sem5/PROJECT/OurProject/trainingFeatures.csv",header=FALSE)
test <- read.csv("E:/Ranjani/Docs/sem5/PROJECT/OurProject/testFeatures.csv",header=FALSE)
colnames(train)<-c("X1","X2","X3","X4","Relevance")
test$Relevance <- 0.0
coln... |
971f126dd89616d448fbb859e19cb3f8b32bf268 | bd621bf35610f5c00d3e81b22656d0810d28dc86 | /run_analysis.R | fde4a097bc5115f313fe0c58cb3b8242b26ab7dd | [] | no_license | HUAF/getting_and_cleaning_data_week4 | 3db1666f474ffb7ef46d70b0c0870905e4912456 | f479f4ac95d7d440ff20f0bfa48ca4c18b162a28 | refs/heads/master | 2020-09-10T15:55:27.009128 | 2016-09-25T19:06:29 | 2016-09-25T19:06:29 | 67,740,074 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,292 | r | run_analysis.R | ## run_analysis.R
#load reshape2 library
library(reshape2)
# load needed data sets
## activity labels
activity_labels <- read.table("UCI HAR Dataset/activity_labels.txt")
## features
features <- read.table("UCI HAR Dataset/features.txt")
## subjects
test_subjects <- read.table("UCI HAR Dataset/test/subject_test.txt")... |
526c6f3df9af4111f5d4ef5382e77b9f527f85e1 | 4a50815a6c7d2425eaf6c6a29dfb81987d4084ee | /R/models_in.R | 317d1b92a2e40747181c72bd30fd0391fd9260b9 | [] | no_license | SpyBal/psychNET | f818a943cb0e74aa1cc45199570e6b82e834bbd4 | d4bebb47ab8fd2e5b748e848a19ac7599a0e48e0 | refs/heads/master | 2022-04-17T08:16:53.010058 | 2020-04-06T15:40:05 | 2020-04-06T15:40:05 | 255,610,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 602 | r | models_in.R | models_in <- function() return(list(ind=c("VAR","SVAR","SMVAR", "GVAR","SVECM","SVARHL",
"SVARHLX","SVARHLMA", "DFM","GGVAR"),
indne=c("SMVAR", "GVAR"),
pop = c("MLVAR","GGVAR"),
... |
b520fed5fe82bd3f17d4b04a12fc0d70ff4bb382 | 39024f0fb2d5b35c83a4ea3627abbe295d59941f | /R/13_RNA.quantification.R | 76550c78dd2b9c30e60a007f8400c0e4d4a72fa8 | [] | no_license | jerryctnbio/SEQprocesstest | 12e92818216cc8e7e301835f0ca31d7c3a2b90d2 | 1d3e212f4d1df57d617496fc091a333799b56791 | refs/heads/master | 2022-06-08T02:40:20.869114 | 2020-05-07T03:14:58 | 2020-05-07T03:14:58 | 261,937,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,235 | r | 13_RNA.quantification.R |
#' @title cufflinks
#' @description A wrapper function to run Cufflinks for mRNA quantitation
#' @usage cufflinks(fns.bam, sample.name, output.dir, cufflinks_thread_number=4, cufflinks.gtf="G", ref.gtf, run.cmd=TRUE, mc.cores=1)
#' @param fns.bam Path to bam files
#' @param sample.name A character vector for the sampl... |
d5b4b13b2c248790d3f0109b7d3265f8f1d2b4b5 | 7b53c993cdb9cd02229222d23934c37ecbae756e | /R Programming/4_BasketballTrends/1_MatrixIntro.R | a55e3938d1907e69b2141e23508e487f37a16114 | [] | no_license | jacobrozell/DataScience | 12c1afea3d1ecec76328c9c7a900cec70d879bb1 | 42c9f0161840dec79d3a47fd643146d7bed86832 | refs/heads/main | 2023-04-30T01:50:52.461202 | 2021-05-20T16:17:14 | 2021-05-20T16:17:14 | 337,193,271 | 4 | 0 | null | 2021-03-18T02:27:42 | 2021-02-08T19:56:42 | Python | UTF-8 | R | false | false | 422 | r | 1_MatrixIntro.R |
### Ways to make a matrix
##matrix()
?matrix
# Create seq
my.data <- 1:20
my.data
A <- matrix(my.data, 4, 5)
A
# Find 10
A[2,3]
# With byrow param
B <- matrix(my.data, 4, 5, byrow = T)
B
# Find 10
B[2,5]
##rbind()
r1 <- c("I", "am", "happy")
r2 <- c("What", "a", "day")
r3 <- c(1,2,3)
R <- rbind(r1,r2,r3)
R
##c... |
9b61422c5d71d6df82b1508932c375a74d890111 | 66e42a0386ad9dea267dc0e445cfe7d8bc5a127e | /Rcode.R | 1e13a3f00bd3c876d4c1caa8716af94f7225c609 | [] | no_license | Deepakrealm01/R-assignment-with-IMDB_data | 041bcec75aa1d8ca825b6ee2589ba4ff25775536 | a6f012885e469fefef97ce6cab72a768311aed6f | refs/heads/master | 2021-01-15T11:19:59.359371 | 2016-09-19T05:02:55 | 2016-09-19T05:02:55 | 68,570,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 976 | r | Rcode.R | setwd("C:/deepak/study material/edwisor ,dataanlytics/ClassMaterial_2/Assignment")
getwd()
imdb_data=read.csv("IMDB_data.csv",header = T,stringsAsFactors = F)
imdb_data1=imdb_data[-2,]
genre=unique(imdb_data1$Genre)
length(unique(imdb_data1$Genre))
data=data.frame(unique(imdb_data1$Genre))
imdb_data1=imdb_data1[order(i... |
80e97f245dfa720812809193991024ab44b4b7e3 | db20029127f66c61aba2cb349ad37079d2e25daf | /HS1905topicmodel.R | c55921a4236082f1b5cc734426c8dce44624255a | [] | no_license | iasaren/HS1905topicmodel | 1ccb7d60d85071d406560a30797a82dee0947293 | 312d64936fb1ab2080f9167fc5d1a7a52a33f734 | refs/heads/master | 2021-01-10T09:42:42.468391 | 2016-01-10T18:58:07 | 2016-01-10T18:58:07 | 49,365,182 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,497 | r | HS1905topicmodel.R | library(topicmodels)
library(tm)
library(LDAvis)
# Load corpus and preprocess
corpus <- VCorpus(DirSource("/srv/data/fnewspapers/nlf_rawtext_fin/",pattern="fin_0355-2047_1905.*lemmatized"))
corpus <- tm_map(corpus,content_transformer(tolower))
corpus <- tm_map(corpus,removeNumbers)
corpus <- tm_map(corpus,removePunctu... |
a86c62cee32a7dcd79308b5e320d9e6564da9dd4 | 8c06418496087d7903d9dd75246db4e620ae4abf | /man/survexp.Rd | cb524ad06e56452ab2ca84792d7ac1018de96a9c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | cran/survival5 | ec014f172313c6e9c28939602b3a783a2de8573b | 983de35460104d135d1027db25e99f46671cbc1d | refs/heads/master | 2021-01-01T20:34:43.889627 | 1977-08-08T00:00:00 | 1977-08-08T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,040 | rd | survexp.Rd | \name{survexp}
\alias{survexp}
\title{
Compute Expected Survival
}
\description{
Returns either the expected survival of a cohort of subjects, or the
individual expected survival for each subject.
}
\usage{
survexp(formula, data, weights, subset, na.action, times, cohort=T,
conditional=F, ratetable=survexp.us, ... |
e7fc8a12b16cafe6579f63aaacdde4a5c76574b0 | 0ffafa520c0030fd858ce6efcff2dc52b2972b64 | /man/get_signals_between_clusters.Rd | 55cac7a8415cb625a50d0a76c165519d808bb8ee | [] | no_license | AlexanderKononov/cytofBrowser | d0d7b4b70af7d1d37c6bde9eb6aac891d7789af7 | 12f3c7290493f45e504eb7089169eef3b95dbc73 | refs/heads/master | 2022-12-07T14:28:00.372608 | 2020-08-25T17:35:08 | 2020-08-25T17:35:08 | 230,823,004 | 5 | 1 | null | 2020-03-18T15:37:56 | 2019-12-30T00:59:34 | R | UTF-8 | R | false | true | 465 | rd | get_signals_between_clusters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Correlation.R
\name{get_signals_between_clusters}
\alias{get_signals_between_clusters}
\title{Convert from signal dataframe to tidy dataframe with correlations between different clusters}
\usage{
get_signals_between_clusters(signals)
}
\argum... |
fc9420d3ddd85a7383c5c1fc9cfccb6a888879c6 | 7977c6907bd07e74a675e746867934f2b380ddb9 | /man/tpsPower.Rd | ea94d38a215fd2d15d8522658a3875bc442794dc | [] | no_license | cran/osDesign | 92ff10848e342005905a12a8bb96991df1ebc73b | 0b6ba782931d2912876480aaa38b3a528d9c251f | refs/heads/master | 2021-01-22T09:47:31.315727 | 2020-11-15T22:40:03 | 2020-11-15T22:40:03 | 17,698,144 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,589 | rd | tpsPower.Rd | \name{tpsPower}
\Rdversion{1.7}
\alias{tpsPower}
\title{
Simulation-based estimation of power for the two-phase study design
}
\description{
Monte Carlo based estimation of statistical power for estimators of the components of a logistic regression model, based on balanced two-phase and case-control study designs (B... |
993a26f9284d3c08e6045ffd9f5c94a85ba30bb7 | d8c53a6820a15b4ca86b8b2af757cb096e0aad90 | /run_analysis.R | dfa3ea1419524d2ad503b1296f6d8abfdae249b1 | [] | no_license | ashwinkamath/datacleaning | 25ffadc7d716fef66d4162e31ee7284040ff2a0b | 412591c23bb6f1c5b92c4f040ed141be0cbf8359 | refs/heads/master | 2020-04-08T08:27:11.281090 | 2014-06-22T23:05:18 | 2014-06-22T23:05:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,392 | r | run_analysis.R | #####################################################################
# 1) Merges the training and the test sets to create one data set. #
#####################################################################
# 1.01 Reading training set
train.set <- read.table("UCI HAR Dataset/train/X_train.txt",
sep="... |
8d039f6432b0a4dd7798dc70b4d1906ca1d1db33 | 232c5dc13900bab11389499aeafdff5277a7b342 | /profiling/1.data_description/1.D.1_LD_chr10.R | db015f5938a56d394648e977d3ac1f5818e74141 | [] | no_license | RILAB/methylation | d3fed7e0bf5fbb56cb85829b2be0534845aad16d | ba754f92d4f10b9b8e2b9b4e48eecbb2a5b72797 | refs/heads/master | 2020-12-25T22:32:14.684789 | 2016-07-14T20:37:25 | 2016-07-14T20:37:25 | 29,665,776 | 0 | 3 | null | 2016-07-14T20:37:27 | 2015-01-22T07:04:09 | HTML | UTF-8 | R | false | false | 2,642 | r | 1.D.1_LD_chr10.R | ### Jinliang Yang
### April 28th, 2016
### Happy B-day JJ!
library("data.table")
chr10 <- fread("largedata/vcf_files/teo20_RA_chr10.txt") #65202272
chr10 <- as.data.frame(chr10)
idx <- sort(sample(1:nrow(chr10), 100000))
sub <- chr10[idx, ]
cmd1 <- "bcftools index teo20_cg_methratio.vcf.gz"
cmd2 <- "bcftools filt... |
b96c5a0b2c20a55b2c3e78bb20ba6c32a997e2d5 | 1aa322287e0e2d01f785a96fbcb72b4347981144 | /R for Economists Code/Moderate 7 Limited Dependent Variables.R | bcf04ed6d476459a912cd7918f3f1e2efc01a233 | [] | no_license | jonduan/RIntroEconometrics | 085bfaeadf673ac54205921b9127c05510a67e75 | e9d4cbbb106447d6b817a50954f275396959174c | refs/heads/master | 2020-04-16T17:32:37.093826 | 2019-07-22T04:55:54 | 2019-07-22T04:55:54 | 165,779,197 | 1 | 0 | null | 2019-01-15T03:30:36 | 2019-01-15T03:30:36 | null | UTF-8 | R | false | false | 1,252 | r | Moderate 7 Limited Dependent Variables.R | #Load packages
library(foreign)
library(stargazer)
library(mfx)
library(MASS)
library(erer)
#Read in Wooldridge data
wage1 <- read.dta("http://fmwww.bc.edu/ec-p/data/wooldridge/wage1.dta")
#Run a probit model
probitmodel <- glm(married~female+educ+northcen+south+west,data=wage1,family=binomial(link=probit))
stargaze... |
8080f017272e2d2a4cd7fd38fa6d4673f2b56eb1 | b6079badbc8e837e5db79497d52e46a8ff648a52 | /log_reg_adatis (1).R | e4e5001c8ecfeccf14a39aab1c375218e50f3427 | [] | no_license | kalinai/OA.POC | 4b4767bd99efa8dd6ef263a7cc55491642cb3235 | 9fcb60cd2893e8de9837e932271909c708079a6a | refs/heads/master | 2020-04-14T21:27:54.431967 | 2019-02-07T22:24:05 | 2019-02-07T22:24:05 | 164,129,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,371 | r | log_reg_adatis (1).R | # Import data ----
rm(list=ls())
dd <- read.csv("C:\\Users\\kivanova4\\Documents\\Business Analytics\\Business Analytics\\2 semestur\\BI\\Adatis\\DataNetov\\Book11.csv", stringsAsFactors = FALSE, sep = ",", header = TRUE)
library(dplyr)
data <- select(dd, TransactionDate, TransactionAmount)
#CHeck var clas... |
b6ee9a516748a3eda8f74c403869301c48ae854d | fce6b0f1e5cdc9b2c81600074ad2e7eacd6a192a | /R_SCRIPTS/2_Beta_diversity_Predictors.R.R | 934ce6a0539a9955d008cdc63a9e135312ebd523 | [] | no_license | microbiotaTorVergata/pd_microbiome | 209942a7478f4642bb19029b2a59b449df484caf | 4ac25cb621bdcf8266bc4c3f7eff120dedf92f5e | refs/heads/master | 2020-04-12T02:58:11.695935 | 2018-12-18T11:00:59 | 2018-12-18T11:00:59 | 162,259,333 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,109 | r | 2_Beta_diversity_Predictors.R.R | library("plyr")
library("phyloseq")
library("ggplot2")
library("vegan")
Save.graph<- function( Graph , OutDir , Name , Name_prefix="" ){
out_file_name <- paste( Name_prefix,Name,sep="_")
out_path_name <- paste( OutDir, out_file_name , sep="//" )
print(out_path_name)
jpeg( paste(out_path_name, ".jpeg") , ... |
ab6c14b02d23a29a7a946bb417d87109b1f77f15 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query25_query04_1344n/query25_query04_1344n.R | f63b8cc01c307c76f1da3a83d0adbbcc36a58c47 | [] | 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 | 70 | r | query25_query04_1344n.R | e98e81bddbebcb930c14d0fad6a3fbd3 query25_query04_1344n.qdimacs 211 319 |
d01cfb229bbc81abb8fce095779025e6b86b6cc4 | 8f265bc6e5cd086a77204dff10c55adc4447de5c | /Forest Fire.R | a817cb86d7cd82b30e6d201a2dda575b0b39ada3 | [] | no_license | mkaur-1/Forest-Fire-Regression | 2d6dba9f48c24b87a569a40373f99d43bc85a6c4 | 9d935462f1a5674c415c5af3b6cf38c3d0423b96 | refs/heads/master | 2021-06-16T01:22:36.225781 | 2017-05-02T17:43:23 | 2017-05-02T17:43:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,713 | r | Forest Fire.R | ##Loading libraries
library(corrplot)
library(car)
library(perturb)
library(ggplot2)
library(MASS)
#Reading Data file
forest <- read.csv("forestfires.csv")
# Dimensions and variables of dataset
dim(forest)
#517rows and 13 columns
colnames(forest)
#"X" "Y" "month" "day" "FFMC" "DMC" "... |
378b81b4202eae83ee7f3a0d2bfd63231ffdce74 | 5e6f7050eac64d051b96c8c906c91419d28ef4b3 | /code/problem1.R | f836f580c03dfa01b6326577412c234616dd7028 | [] | no_license | berild/spatial-statistics-ex1 | 8dfb244a46b89f8930662489fe9eb7fa63f1d570 | d28d55b6a52a4a816f1883333eedbaf6b76a85de | refs/heads/master | 2020-04-27T11:08:17.470821 | 2019-02-19T08:16:11 | 2019-02-19T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,136 | r | problem1.R | #Problem 1 - code
library(fields)#Matern is here
library(geoR) #Need to install XQuartz. cov.spatial() belongs here
library(MASS)
library(akima)
library(ggplot2)
library(reshape2)#melt
library(gridExtra)#grid.arrange
source('problem1_functions.R')
set.seed(42)
##########################################################... |
bcbec9c458cbde79a7895e4ae572a69955c38ded | 7ff45192ef0be890964fcb3c17766cdf7c4f76c9 | /visualization/ggplot2_intro.R | 4a268a400d7402ab69e15d46997e0fa9e3cae060 | [] | no_license | depocen/PSY317L | 75036b771e231defa183501345c5a750146e38be | 661ba27837ccb506d216aaedf6cd9b37860ca27b | refs/heads/master | 2023-07-10T14:53:26.444765 | 2021-08-16T15:50:09 | 2021-08-16T15:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,847 | r | ggplot2_intro.R |
### Introduction to ggplot2
## Load libraries and data
library(tidyverse)
df <- read_csv("data/BlueJays.csv")
head(df)
## Making a ggplot2 graph
ggplot() #blank canvas
ggplot(df) #just adding the datset to the blank canvas, but nothing plotted yet
ggplot(df, aes() ) #inside aes() we'll put what our x ... |
01696abe3d078dc77bf30c4aca77b846078ba0d0 | fb37f1bbc59247c9b52e1feb88deb06b184bc7e6 | /R/barplot_bun_comp_stack_med.R | 28fc253bd542b30e16f07e20cacb2293a6c5d304 | [] | no_license | utah-osa/hcctools | a583d4767763e7c4b733139a51f7dc04f4bcc792 | 2b7b2f3946d21e334c42066ce31c8e57810caa43 | refs/heads/master | 2022-11-06T22:52:00.544549 | 2020-07-08T19:54:40 | 2020-07-08T19:54:40 | 274,969,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,806 | r | barplot_bun_comp_stack_med.R | barplot_bun_comp_stack_med <- function(df) {
df <- df%>%
dplyr::rowwise() %>%
dplyr::mutate(pr_list = pr_list %>%
stringr::str_split("_") %>%
unlist() %>%
unique() %>%
paste0(collapse=","))
providers <- df %>% dplyr::pu... |
034b275525532aa1c64c501ef1ea799a55bd2b06 | 9b000d7c7ddcda6a1cc0dbf58d3897d531bbf944 | /rankhospital.R | 95ba90838ec6275f45319a84761f3bcb13ea26c8 | [] | no_license | weiweiweizhu/CourseraProgrammingAssignment4 | 77bc2c9acb8bb86002ea0443e666e4331bba370b | 1db55baca82a8dade58d8a6f671c40dc9d721f62 | refs/heads/master | 2022-01-06T05:26:35.368187 | 2019-05-18T21:03:56 | 2019-05-18T21:03:56 | 187,380,843 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,822 | r | rankhospital.R | rankhospital <- function(state, outcome, num = "best") {
data <- read.csv("rprog-data-ProgAssignment3-data/outcome-of-care-measures.csv",
colClasses = "character")
# check the validity of the outcome and distribute the according colunm to the outcome
if... |
8b1f50c2b2295eed14eba42b5c46b5e852999dc2 | f697cbbb0da988fd43c07652d5955fbb82e25e38 | /GoViewer/man/guard.Rd | e5742cac5bef479d5b32300da8d9fba4f5a74a9f | [] | no_license | aidanmacnamara/epiView | eec75c81b8c7d6b38c8b41aece3e67ae3053fd1c | b3356f6361fcda6d43bf3acce16b2436840d1047 | refs/heads/master | 2021-05-07T21:22:27.885143 | 2020-06-22T13:08:51 | 2020-06-22T13:08:51 | 109,008,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,112 | rd | guard.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/guard.r
\name{guard}
\alias{guard}
\title{guard function for unresolved Shiny input fields}
\usage{
guard(input, ns, names)
}
\arguments{
\item{input}{a shiny input object}
\item{ns}{a function generated by Shiny's \[shiny]{NS}}
\item{names... |
824e25a819d75421169a9a748f64834fbc2ff2b8 | ef7879462cbc8f9d2655055dfad1c0476e0720ce | /helpers/libs_mlr.R | d997cda3614805537fcab51f24c3c9be7bf2a60a | [] | no_license | dandls/moc | bef5b63b211f1a4c1ae1c42c99cb367d39895760 | d2fa9e0918d157c5d46a822b4ef110e641b45b76 | refs/heads/master | 2023-05-24T00:57:43.105607 | 2021-05-17T07:56:13 | 2021-05-17T07:56:13 | 257,011,495 | 20 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,171 | r | libs_mlr.R | # --- Needed R packages ----
packages = c("checkmate", "devtools", "Rcpp", "ParamHelpers", "mlr", "ecr",
"OpenML", "magrittr", "data.table", "farff", "ranger", "mlrCPO", "parallelMap",
"xgboost", "BBmisc", "rjson", "Metrics", "foreach", "prediction", "rgl",
"randomForest", "pracma", "parallelMap", "keras", "irac... |
6acdaf3e09ecaa57602543d57ab3fac6a9b3a12a | 46a2d23301501e30a34a2585c30235ba2a098a69 | /Multiple Plots/complex_layouts.R | 1626ba3a24b9dce5a2cea0eb33b99058aea966ec | [] | no_license | kanerisushmita/R-Graphics | 160616c0e0773808f288c14fcb82b6c9c54eda25 | 1b0ed71979f0c1ba4668e6a90063e9459f35c19a | refs/heads/master | 2021-09-21T22:13:38.917366 | 2018-09-01T14:49:20 | 2018-09-01T14:49:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 624 | r | complex_layouts.R | # Build a 2-by-2 matrix, grid, that will be used for positioning the 3 subplots as specified above.
# Use layout() in combination with grid.
# Build three plots for the movies data frame (in this order):
# A scatter plot of rating (x-axis) versus runtime (y-axis).
# A scatter plot of votes (x-axis) versus runtime (y-ax... |
62e06bbe025da76184b8100c7b942b38f5fa7ce7 | a04bac5d86c80c31608e3c13c87dcc626a0a17a2 | /R/Results/1. Presence of competitive exclusion/Code1c.R | 38249b59c3d43f36d702c8032b136dc094ad5522 | [] | no_license | lucymli/predator-prey-dynamics | cc5299ffb2f50fc30feff046a77814aa3c1a0755 | 4521f88ffbb15f418d2a68b4dbf8ad3c2dd03340 | refs/heads/master | 2021-01-15T20:09:19.417939 | 2017-08-09T23:44:42 | 2017-08-09T23:44:42 | 99,843,963 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,370 | r | Code1c.R | ###Deterministic 2-consumer Model####
####Ensure deSolve package is installed####
#Specify values below
t <- seq(0,#initial time
10000, #end time
by = 0.1 #time interval for solving the ODE
)
#Initial sizes of prey and predator populations
state <- c(N=10, #initial prey population size
P1=5, #initial Pre... |
0241ed30f5f0076e2656c982e9e9a3843e72eafd | 7f08aa73752aac80ec2f7c32b582a4857e00acf9 | /day1updated.r | be1a4312f1b1f93197c5b4fe5e8b9e47794c80df | [] | no_license | melindahiggins2000/CDCRworkshopCode | 24a0fa29e497ce25d7a227365bf244d19fb9bf95 | 72075dc9cad590180e7b00ae942c4d40ee675663 | refs/heads/master | 2021-01-10T07:33:47.705312 | 2016-03-19T18:18:11 | 2016-03-19T18:18:11 | 53,200,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,201 | r | day1updated.r | # ========================================
# Day 1, March 10, 2016
# code and comments updated
# as of March 15, 2016
#
# by Melinda Higgins, PhD.
# ========================================
# DAY 1: Session 1 =======================
# ======================================
# see what directory R is currently set to
... |
b72067f479293d44f4e8e5fc6ec7cf0f392f76a0 | f28f6b753066c66bea84a438c277c411db713fa9 | /man/personality.Rd | 2f634a618e1599ae1540dbc6a9521bd150a2d851 | [] | no_license | bgautijonsson/neuropsychology.R | 8933e50e03f7338d74726d82cdcc29121225420a | f4f70c4a2bdf1c8937d89d787f9ba2afce1f2bf4 | refs/heads/master | 2020-03-13T15:23:10.944097 | 2017-10-06T13:46:37 | 2017-10-06T13:46:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 842 | rd | personality.Rd | \name{personality}
\alias{personality}
\title{A dataframe with personality data}
\author{Dominique Makowski}
\description{
A dataset containing normal and pathological personality traits data from an online questionnaire.
If you use this dataset for a publication, please refer to it as:
"personality-1.0".
Demographic... |
c790d4fa5e9e1e86e4b819a2cf437b42d236a200 | a266bb66eff94641d1ff100daf31e93dcd4e0105 | /tests/testthat/test.sail.R | b382cfcf9d88d71ab6dbc0db30b8e91f5e19b88a | [
"MIT"
] | permissive | ashiklom/rrtm | e879f37471dff49930007b2d6b7a8352db1df4b2 | 504c3c7655fe30c5b713e9f0f606960f8a46466a | refs/heads/master | 2022-09-09T02:43:26.722764 | 2022-08-04T18:04:25 | 2022-08-04T18:04:25 | 196,279,459 | 5 | 3 | NOASSERTION | 2022-01-13T16:01:27 | 2019-07-10T21:50:33 | R | UTF-8 | R | false | false | 1,466 | r | test.sail.R | test_that("Volume-scattering function works across angles", {
angles <- seq(-60, 60, 20)
l <- angles
for (sa in angles) {
for (oa in angles) {
for (aa in angles) {
angle_info <- sprintf(paste(
"solar angle: %f",
"instrument angle: %f",
"azimuth angle: %f",
... |
a6b8a9d1562ae5f7c575efa6343e7a0531999d6b | 0b930de318aab67acc5256a6ffb3f9582c47d2d8 | /DATASET/Analysis.R | 51cd5aaedf5249fa2341b66cee0b2a40bf51f3ab | [] | no_license | kautu/Citation | 9f2c5f37627dd2cd7fc0446fccf4891141e6ccd3 | 4857e6b015feacdb2bc988b8c803c779a2fe6b1d | refs/heads/main | 2023-08-12T08:46:43.166950 | 2021-10-07T05:43:29 | 2021-10-07T05:43:29 | 303,440,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,570 | r | Analysis.R |
##
epo.citations <- na.omit(subset(as.tibble(fread('201902_EP_Citations.txt',
select = c('Citing_pub_date', 'Citing_app_nbr', 'Citing_appln_id',
'Cited_pub_date', 'Cited_app_nbr', 'Cited_Appln_id',
... |
d4a7817df7aa52649e4857746e49dc8a55db3649 | cfb642c4568a403e7cd39b66e16dcaed0d08bd49 | /man/Lakenames.Rd | a9d82dccd19ac1f2c9e2a2a93ab11ebb1ae95d04 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | JVAdams/EchoNet2Fish | 5223bcdb98a43bb61cd629cb33f590cba9fd1fed | 6e397345e55a13a0b3fca70df3701f79290d30b6 | refs/heads/master | 2023-06-22T17:56:41.457893 | 2021-02-08T16:08:09 | 2021-02-08T16:08:09 | 32,336,396 | 4 | 1 | null | 2023-06-09T17:36:08 | 2015-03-16T15:59:18 | R | UTF-8 | R | false | true | 257 | rd | Lakenames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc-data.R
\name{Lakenames}
\alias{Lakenames}
\title{Great Lakes Names}
\format{
A character vector, length 5.
}
\description{
A vector with the names of the five Great Lakes.
}
|
f4ff5857f802603c86e61c8b161c2a8cdc7f86d2 | e3a672b5c02a6226133301fc258ba12ca48ffd41 | /bin/main_wrapper/subsamples_gene_classes_and_runs_enrichment_scripts.R | 8d395a562b36430c42ae631925fe2cd2cb9f442f | [
"MIT"
] | permissive | akhileshkaushal/scRNAseq_cell_cluster_labeling | a96bdae8bf4ac63f21df7a2fb6eef78d79a2dbc6 | a2b8a95e0b77ee7cff64826f7370799e4e1ecbde | refs/heads/master | 2020-06-06T14:25:03.577309 | 2019-05-02T20:35:55 | 2019-05-02T20:35:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,880 | r | subsamples_gene_classes_and_runs_enrichment_scripts.R | ####################################
### Script 'subsamples_gene_classes_and_runs_enrichment_scripts.R' is a *wrapper* to run implementations of
### methods to predict cell types using cell clusters from scRNA-seq data and cell type gene expression signatures
###
### It computes:
### a) generating Receiver Operating Ch... |
022e90f9641e5a82c76b18fc538cda448a8cc6f5 | 48e3dfe542ced2bc70ede697938f0fea85517f75 | /man/calcgroup.Rd | ca55bf3925d68308a2be7ad3acb024d9f8e21bd8 | [] | no_license | cran/SSrat | a4920a7eefbe543ab7afe99cf6f906118f425cbd | f003eb7cd174ac86a1583b5c8bab80694b254d6b | refs/heads/master | 2021-06-07T17:41:30.050716 | 2018-04-03T21:36:44 | 2018-04-03T21:36:44 | 27,231,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 7,641 | rd | calcgroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcgroup.R
\name{calcgroup}
\alias{calcgroup}
\title{Calculates sociometric status determinations of a specified single group
from a SSrat compliant dataframe}
\usage{
calcgroup(schoolid = 1, groupid = 1, dataframe, scalelength = c(5,... |
1630b6a21cddefc5aa90f9355f018839bd0f2af7 | 67330c00d19fe4c9c38885227dcb3cbbd9817f3a | /man/clustord.fit.Rd | 88e5a0e10e5c20f07daf40f86b944d0b00a44717 | [] | no_license | vuw-clustering/clustord | 5f3965a79a374f266cc9b8c7965927ba454b2aa2 | 5c42a5d2edd7e900613f7795e9bcd617a7b35fb3 | refs/heads/master | 2023-08-03T21:21:41.885481 | 2023-07-26T05:25:35 | 2023-07-26T05:25:35 | 187,764,285 | 1 | 5 | null | 2023-09-09T01:33:56 | 2019-05-21T04:55:58 | R | UTF-8 | R | false | true | 46,950 | rd | clustord.fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clustering.R
\name{clustord.fit}
\alias{clustord.fit}
\title{Likelihood-based clustering using Ordered Stereotype Models (OSM), Proportional
Odds Models (POM) or Binary Models}
\usage{
clustord.fit(
formula,
model,
nclus.row = NULL,
n... |
116a9f6e522e1f6649b2be6996acdd04bae4a359 | c2061964216f76ad0f440c76dbfe1119e0279a22 | /man/API-methods.Rd | 2b5382da3f976dc349710fddc61f802981ac433a | [] | no_license | cran/antaresRead | 046829e05e411adfb55fc652ad49ea84f2610264 | f6a182b21854e12c5c470afcd38c26f44fb2b8d5 | refs/heads/master | 2023-04-16T10:45:23.521378 | 2023-04-06T16:20:02 | 2023-04-06T16:20:02 | 87,090,660 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,095 | rd | API-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/API-methods.R
\name{API-methods}
\alias{API-methods}
\alias{api_get}
\alias{api_post}
\alias{api_put}
\alias{api_delete}
\title{API methods}
\usage{
api_get(opts, endpoint, ..., default_endpoint = "v1/studies")
api_post(opts, end... |
bc103e5c431a05a670d2dcf7e99ba2e593ee654c | afb9e6263d2625fc37137cd5dae18dcb3abdf9c4 | /summarizeBed | 39fca2693bae3c96cfcab9da94f4b2d855a6e574 | [] | no_license | raivivek/omics-utils | 65e114fd0c2da79a8c98bca40b99e3537c9f395f | f5bdf4f9eb576f47c0f11d3de97bad5035a15d62 | refs/heads/master | 2020-03-23T15:32:35.132606 | 2018-10-16T14:47:22 | 2018-10-16T14:47:22 | 141,755,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,247 | summarizeBed | #! /usr/bin/env Rscript
#
# The Parker Lab, 2018
# theparkerlab.org
#
# (c) Vivek Rai
# Summarizes a BED file using following metrics:
# 1. Total peaks
# 2. Total span (bp)
# 3. Average width
# 4. Median width
# 5. Max width
# 6. Min width
#
# Optionally, prints the same statistics per-chromosome if `--chr` is supplie... | |
8e8be0215e199c3c5eec62808a3cbe0e145acb56 | 6d13ee8b1393bfead43267f083e73dece9c751e8 | /R/hello.R | 04f3c1bbf0a68323deb76f219e66e375d8eefcc1 | [
"Apache-2.0"
] | permissive | PabRod/pyR | 40f7f0e5ab295db159c093034701a5d30c4e50c7 | 1dc97651b710cfbfefbbbcc8d81f6b41e799009b | refs/heads/master | 2022-11-19T08:51:23.838049 | 2020-07-09T14:31:37 | 2020-07-09T14:31:37 | 277,819,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 536 | r | hello.R | #' Check Python core
#'
#' @return A dummy text generated in Python
#' @export
#'
python_core <- function() {
reticulate::py_run_string("text = 'Python core working correctly'")
return(reticulate::py$text)
}
#' Load and use a Python module
#'
#' @return The number pi, loaded from numpy
#' @export
#'
python_module... |
ed7e3524e60e28f043b88fb9936ae5e80e76dffa | 5f221c1c9cb891db2164f8acb2b38e7ec839c390 | /FinalCode.R | ed621a2a286d5fd11652d4b030fa7756c5eb4605 | [] | no_license | qk831019/PracticalMachineLearning | a3049c9aa9f95ca95b662bdf4ec434ea9cd55e09 | fa732ca0f14e3c40c492469afc1c769cf0a08811 | refs/heads/master | 2021-01-02T08:13:59.104215 | 2015-01-25T23:46:36 | 2015-01-25T23:46:36 | 29,835,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,592 | r | FinalCode.R |
library(caret)
set.seed(825)
trainUrl <- "http://d396qusza40orc.cloudfront.net/predmachlearn/pml-training.csv"
testUrl <- "http://d396qusza40orc.cloudfront.net/predmachlearn/pml-testing.csv"
### Load data
training <- read.csv(url(trainUrl), na.strings=c("NA","#DIV/0!","","."))
test <- read.csv(url(testUrl), na.stri... |
22064252dd6d7af5b6c889960c3447b96eb7fb21 | 229bf9f5443566993bfd9ba16153c1ad0aada67f | /gapminder/gapminder.R | 0c7663e3f914cc4fd9655b6dfa3cca12fb5ffaae | [] | no_license | GiulSposito/R-x | fc096199ca2efb483d164ba42b92a7a77281f39f | 902aad081c5b7961983234f183ed1df4bf621e8b | refs/heads/master | 2021-06-27T05:41:46.789209 | 2019-05-21T17:42:01 | 2019-05-21T17:42:01 | 115,006,654 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 896 | r | gapminder.R | library(gapminder)
library(tidyverse)
library(broom)
gapminder %>%
mutate( year1950 = year - 1950) %>%
group_by( continent, country ) %>%
nest() -> gap
fit_model <- function(gapdata){
lm(lifeExp ~ year1950, data = gapdata)
}
gap %>%
mutate( model = data %>% map(fit_model) ) %>%
mutate(
gancle = mo... |
178b7f2d6dff2539589f67cfa35871ddf1d34472 | f6e62f39395654658c1f71ed1e28cc689d140f6c | /middle/rgaspi_middle_mpi.R | da987924a225af726fb8b0e1877cd0cd91a7bb3c | [] | no_license | jamitzky/rgaspi | 0890f5f2388c685f51afd61b4c34a188369a8b06 | b0b4058b6d9f3589bf85aa8a48818f3e14aadc42 | refs/heads/master | 2020-06-26T13:28:38.544572 | 2017-07-12T16:21:53 | 2017-07-12T16:21:53 | 97,024,786 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,234 | r | rgaspi_middle_mpi.R | #define class rgaspi
setClass(Class="rgaspi",representation(rank="integer",nranks="integer",extp="ANY"),prototype(rank=NULL, nranks=NULL,extp=NULL))
#define constructor rgaspi_init
setGeneric("rgaspi", function(mode) standardGeneric("rgaspi"))
setMethod('rgaspi',c('character'),function(mode){
if(mode=='master... |
5a0dfa3de07879ac57ac13ee3c42e5d48ecc709f | ba554894bfb9289742ae7fb03ea1b10508f0be87 | /plot2.R | c5a014fe44d041ab0d120a7a24a7757ba96af400 | [] | no_license | EPBaron/ExData_Plotting1 | 40e7664d7f609441e3e73f90b5a50fbc1f5cc0a9 | 748dd981cb5e46e190b54310df9bf660d8395118 | refs/heads/master | 2021-01-21T19:27:39.726278 | 2014-05-06T05:20:26 | 2014-05-06T05:20:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,452 | r | plot2.R | ## Code for generating plots in fulfillment of requirements
## for Course Project 1 of Exploratory Data Analysis course
##
# Download data
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileUrl, "powerconsumption.zip")
# record date file was downloaded... |
0e33f6ef7e15838d2c5b6c740864b851c3373a0d | 0409c24e7034afcc960f30f3ff22fc91a3c81999 | /project.r | cbfcb5d1fe43e7689414009898e196b7cf7f9312 | [] | no_license | 320221756-suresh/bayesian-network--disease-prediction | a05f86fdadb9d6b52d6bd7633456989c3a1e1862 | 3d329a015015970f212b08a95f0d7f757315d16c | refs/heads/master | 2023-08-17T15:32:16.439763 | 2020-06-28T07:22:30 | 2020-06-28T07:22:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,417 | r | project.r | library(bnlearn)
library(visNetwork)
library(ggplot2)
plot.network <- function(structure, ht = "400px"){
nodes.uniq <- unique(c(structure$arcs[,1], structure$arcs[,2]))
nodes <- data.frame(id = nodes.uniq,
label = nodes.uniq,
color = "darkturquoise",
... |
1dd5d371d529208759368841c9c3f50ced997ad5 | 2e26bccfa670b18368e66a4f6fa9fddbb2918993 | /section2/2-2-4_assessment.R | 1d4e7df992e4cf6c1bd1d2a37c8cfd290d85193a | [] | no_license | A-Harders/PH125.6x_Wrangling | 0c3145738d4fa39c5c42f1b3454d4903e03418bd | 866be0fe04c75e3bb04f7d24626a21b6df0db503 | refs/heads/master | 2020-09-05T14:25:56.074145 | 2019-12-03T10:08:04 | 2019-12-03T10:08:04 | 220,132,104 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 885 | r | 2-2-4_assessment.R | # config
library(tidyverse)
library(ggrepel)
library(dslabs)
# Assessment q5-7: Lahman dataset
install.packages("Lahman")
library(Lahman)
top <- Batting %>%
filter(yearID == 2016) %>%
arrange(desc(HR)) %>% # arrange by descending HR count
slice(1:10) # take entries 1-10
top %>% as_tibble()
Master %>% as_t... |
ef01ec21f1f97749f59d9154f9c2641f97d83594 | b20110dc8a9cb952fea513d738da144e9a13eb8a | /rankhospital.R | 6ad8e257e326bf735aa8686fb0db5d779d7daa57 | [] | no_license | brentmcleod/ProgrammingAssignment3 | 055b1e79a78e250c8783389a7c46944c0a4246b3 | 8e8fd0f46de68babb4e0d85d03d6385b55a933c4 | refs/heads/master | 2020-04-02T09:50:32.307960 | 2018-10-23T10:59:01 | 2018-10-23T10:59:01 | 154,312,155 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,989 | r | rankhospital.R | rankhospital <- function(state, outcome, num = "best") {
## 'rankhospital' returns a character vector with the name of the hospital based on the rank requested
## 'state' is a character vector of length 1 indicating the 2-character abbreviated name of the state from which to select the best ... |
a5fdbacfa5e456fb96a04a3a295950794f10b9ef | f145e7805330fa4dfead51375502eb74a5086e20 | /monarchs.R | d759e37280a4212f4f9fdeec21c0381b53cc4396 | [] | no_license | RussellGrayxd/Random-Ecology-Analyses | 9502f3ad3d214211cbc7b29391fb140a93a8f300 | fd7bdd1d5e3979252a32480939702072f29cf3ff | refs/heads/master | 2021-01-02T01:32:36.307716 | 2020-08-02T04:57:23 | 2020-08-02T04:57:23 | 239,433,960 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,723 | r | monarchs.R | library(ggplot2)
library(ggmap)
library(RColorBrewer) # for color selection
library(lubridate)
## Read the input spatiotemporal data
animal.data <- monarchs
## Break down by month
month <- vector()
for(i in 1:nrow(animal.data)) {
dateStr <- toString(animal.data$Tracking_month[i])
dateStrSplit <- strsp... |
d51c38e0a3e1c8d1833d3ccd9b5561b78d0ef1d2 | 44d803b4ce510d4a16a466a46895bd59a87a87a2 | /MFB/pbp_extract.R | 03eef6c1e8e815fe790aa72a1130657a6b8efe04 | [] | no_license | meysubb/Temp_CollegeballR_Work | 36aa68f9df28e8362450208e353a57c5d49d0f07 | 2138c26008a400aa1432535586ec7e4f52d8dc13 | refs/heads/master | 2021-07-25T13:35:24.007275 | 2018-10-21T13:46:23 | 2018-10-21T13:46:23 | 146,840,264 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,230 | r | pbp_extract.R | library(dplyr)
##play-by-play scrape
## Store this as a data object
pt_url <- "https://api.collegefootballdata.com/play/types"
play_types <- fromJSON(pt_url)
cfb_play_type_df <- play_types %>% mutate(text = tolower(text))
library(assertthat)
pbp_data <- function(year,
week = 1,
... |
c3fd746a9494ec8f051a78a147fb8ce622f29b20 | da8bec4da38b9bd635a4ec6489e264e65e5d1b60 | /dev.r | baef56b4bc1d2d3a9ae3d5a35e4a599c630472e1 | [] | no_license | madcap1090/blog | 15dc632f4d718fd7ae57f1b0016e6b1bee59c7f0 | a84b1f54b2db06a71d95e5ca7db6c643184493c8 | refs/heads/master | 2021-06-13T18:59:31.453304 | 2021-04-20T17:01:25 | 2021-04-20T17:01:25 | 180,212,253 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 420 | r | dev.r |
#test at 697 & test that at end we have 150
max_date <- max(one_date$end_date)
one_test <- one_date %>%
filter(end_date == max_date)
dim(one_date)
dim(one_test)
two_test <- two_dates %>%
filter(end_date == max_date)
dim(two_dates)
dim(two_test)
three_test <- three_dates %>%
filter(end_date == max_date... |
5d7291947549d1918800fa97cd63d464944f46d4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PTXQC/examples/LCSn.Rd.R | 639fd75e3334b161044423700d2604fb5aba344d | [] | 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 | 197 | r | LCSn.Rd.R | library(PTXQC)
### Name: LCSn
### Title: Find longest common substring from 'n' strings.
### Aliases: LCSn
### ** Examples
LCSn(c("1_abcde...", "2_abcd...", "x_abc...")) ## result: "_abc"
|
5d90ab4c18562dd4d3421dcdfb026da27e1e426f | a040f39f3f1be7983684f0225e3e6f12db789af6 | /R/play_track_save_with_id.R | 1277e1ff9053fb50881b4ea3cb02cf59bc1c1258 | [
"Apache-2.0"
] | permissive | dimitreOliveira/RecsysChallenge_Spotify | aaecf41262e9db181faae3020cb495819b5f2828 | 3b7cd4e4d12a51049573cca1dd86ef66603fddcb | refs/heads/master | 2021-07-09T23:17:03.060501 | 2018-12-19T22:30:37 | 2018-12-19T22:30:37 | 134,984,353 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | r | play_track_save_with_id.R | library(dplyr)
playlists <- read.csv2("../data/play_track.csv", header = T, sep = ";", stringsAsFactors = F)
p_challenge <- read.csv2("../data/challenge/play_track_challenge.csv", header = T, sep = ";", stringsAsFactors = F)
# adding challenge to train data
playlists <- rbind(playlists, p_challenge)
playlists$track... |
ab5b1f5f347621e1524988bae2ec8e715f733118 | 8731390d274cfa4d490847a34474b24640fb3a48 | /code/compareSimulations.R | 330cf79f78c3fe550e116db0447e3eddd4b5a52a | [] | no_license | seabbs/huisman.epinow2.evaluation | afbfe110f069d4f58099e586d180c94b74a1afa5 | f58cb39c28ece7c45200beecb744456d84919925 | refs/heads/main | 2023-02-08T10:19:41.231972 | 2021-01-04T12:09:08 | 2021-01-04T12:09:08 | 323,299,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,510 | r | compareSimulations.R | ###########################################################
## compareSimulations.R
## author: J.S. Huisman
###########################################################
# this library is optional, as the DTW distance
# wasn't used for the paper
#library(dtwclust)
###### Compare Simulation and Estimation results ######... |
d751278b4fc6bdce04921202616d5bc1f58b1bda | 17f1b5b761a43ec178602a43f24ac72c2d5d01a9 | /hmlasso/inst/testfiles/softThresholdC/libFuzzer_softThresholdC/softThresholdC_valgrind_files/1609897082-test.R | b0719d3beaf80a0109b2cbcc8ac83f161e61491f | [] | no_license | akhikolla/newtestfiles-2 | 3e1882e7eea3091f45003c3abb3e55bc9c2f8f56 | e539420696b7fdc05ce9bad66b5c7564c5b4dab2 | refs/heads/master | 2023-03-30T14:44:30.614977 | 2021-04-11T23:21:23 | 2021-04-11T23:21:23 | 356,957,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | 1609897082-test.R | testlist <- list(g = 8.24548651624444e+136, z = 8.24548651624435e+136)
result <- do.call(hmlasso:::softThresholdC,testlist)
str(result) |
bc82a00fefd0963ce739e3f85d554559da0fd1ff | 03542871c1966009b330bc29b4b1f36c96c79da1 | /man/make_ranking_violin_plot.Rd | 9b7d6d090b749bccadb87ba913e63284983c22bf | [] | no_license | boxizhang/celaref | bc68f319aa436cb17f49ba1b27032cd2a9fba49f | 585f2fb96f8d382803cebea3c6fc7adefa8d2054 | refs/heads/master | 2020-07-03T03:20:07.015095 | 2019-06-03T07:06:13 | 2019-06-03T07:06:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,284 | rd | make_ranking_violin_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_functions.R
\name{make_ranking_violin_plot}
\alias{make_ranking_violin_plot}
\title{make_ranking_violin_plot}
\usage{
make_ranking_violin_plot(de_table.marked = NA, de_table.test = NA,
de_table.ref = NA, log10trans = FALSE, ...)
}
... |
d9b0249c9fcaea87430a6598cac4384586a00b81 | 2c38fc71287efd16e70eb69cf44127a5f5604a81 | /tests/performance/test-stems.R | c0575fbd36b4dc62ebd06c27b996bbd873c332d0 | [
"MIT",
"Apache-2.0"
] | permissive | ropensci/targets | 4ceef4b2a3cf7305972c171227852338dd4f7a09 | a906886874bc891cfb71700397eb9c29a2e1859c | refs/heads/main | 2023-09-04T02:27:37.366455 | 2023-09-01T15:18:21 | 2023-09-01T15:18:21 | 200,093,430 | 612 | 57 | NOASSERTION | 2023-08-28T16:24:07 | 2019-08-01T17:33:25 | R | UTF-8 | R | false | false | 2,418 | r | test-stems.R | library(proffer)
library(targets)
px <- pprof(
targets <- lapply(
paste0("x", seq_len(1e3)), function(name) {
tar_target_raw(name, command = quote(1 + 1))
}
)
)
large_pipeline <- pipeline_init(targets)
px <- pprof(local_init(pipeline = large_pipeline)$run())
tar_destroy()
# With interface and priori... |
1a2a8973aa19ee678bd0e7c2ef179bd68a8cfb99 | c63fc5e6607e2cd5d62464a72c78b06191277eb6 | /R/movav.R | cdb17cbd7e7a9fe79c5efb092ebb084f08b182bd | [] | no_license | SWS-Methodology/faoswsTrade | 6ce400e545fc805fe1f87d5d3f9d5ba256a8a78c | 2145d71a2fda7b63d17fa7461ec297f98b40756c | refs/heads/master | 2023-02-17T08:40:21.308495 | 2023-02-09T13:53:56 | 2023-02-09T13:53:56 | 55,507,302 | 4 | 1 | null | 2020-05-15T14:45:59 | 2016-04-05T12:49:03 | R | UTF-8 | R | false | false | 1,684 | r | movav.R | #' Moving average
#'
#' Compute the moving average of a vector.
#'
#' The resulting moving average will be of order three.
#'
#' @param x a numeric vector.
#' @param pkg string: "native" (default) or the name of a package with
#' a function that computes moving averages. Besides "native", only
#' "zoo" is allowed (... |
4abf5d870940c1f7d4748f52e6e623a28205457f | de8b22d92484dc5a456e5bfff9b4113f1761cf2f | /razvrscanjeQ.R | 40baec746b8869696a8ade016285c7105e70252a | [
"MIT"
] | permissive | MathBB/Ekipa-da-te-skipa | af669d303659254bb1c62e32d56dc0f89f684b05 | e2d61473357b3493b6f5a9b06299006083634f54 | refs/heads/master | 2021-01-23T13:59:44.480188 | 2015-09-04T07:01:31 | 2015-09-04T07:01:31 | 32,923,816 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,800 | r | razvrscanjeQ.R | razvrscanjeQ <- function(xts, xts1, xts2, xts3){
# Funkcija sprejme xts matriko xts, po kateri se uravnavamo glede na razplozljive
# datume in delnice (najbolje je, da je ta xts matrika xts matrika z dnevnimi cenami
# oz. donosi delnic) in xts matrike xts1, xts2 ter xts3, ki so xts matrike s
# fundamentalnimi podat... |
015e700c68f3a464cfa7d5ced3116a7b36c54c19 | c262aa9d1819623e627386fd43e61e0d988d405a | /pipeline/scripts/AddOnFunctions/generateGaussian.R | da6dec2cd1269b0f8ca68afffb695a93415e833d | [
"MIT"
] | permissive | UMCUGenetics/DIMS | bf818ebefd272f2b4726b9db26b6326a5070911f | dd98c1e4fb3cf8fbe0a08761b6583e7930696e21 | refs/heads/master | 2023-08-08T03:11:34.213700 | 2023-03-28T09:23:11 | 2023-03-28T09:23:11 | 175,600,531 | 1 | 3 | MIT | 2023-08-25T15:27:21 | 2019-03-14T10:34:21 | R | UTF-8 | R | false | false | 1,432 | r | generateGaussian.R | generateGaussian <- function(x,y,resol,plot,scanmode,int.factor,width,height) {
factor=1.5
index = which(y==max(y))[1]
x=x[index]
y=y[index]
mu = x
fwhm = getFwhm(mu,resol)
x.p = c(mu-factor*fwhm, x, mu+factor*fwhm)
y.p = c(0, y, 0)
# if (plot) dir.create("./results/plots",showWarnings = FALSE... |
e4f86e8ac5c630794bc9d9eb27266293ce87b06a | 160622f50fc2fe9a6aaa3095849f7a8bd2caa496 | /man/plate_map_multiple.Rd | b3968e82fd3a26f66d096bd437990bdd3b3bf57c | [] | no_license | jayhesselberth/platetools | 53fd0d16deca84ec6efd0c1f838d7a9fed835a1b | 617a33fc4a3482b85fc1fd8b38dcc82a53a10176 | refs/heads/master | 2020-03-22T01:45:56.557163 | 2018-06-25T13:36:13 | 2018-06-25T13:36:13 | 139,328,253 | 1 | 0 | null | 2018-07-01T12:42:49 | 2018-07-01T12:42:48 | null | UTF-8 | R | false | true | 451 | rd | plate_map_multiple.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plate_map.R
\name{plate_map_multiple}
\alias{plate_map_multiple}
\title{row, column for multiple features}
\usage{
plate_map_multiple(data, well)
}
\arguments{
\item{data}{vector or dataframe of numeric data}
\item{well}{vector of alphanumer... |
6d039cfa7d967a3b5e7ef15db6ee42978b4178f3 | 7763fa473117434c7750d58de1472392d10e5f98 | /old_code/analysis.R | e9334f8ccb10d7836aa78106611a4cc699da1779 | [] | no_license | afcarl/sincerity_detection | 0f68acb0e2b113221c992ac1b6dae6e3e79f261c | 0f8f50d514a7f56fbb9c14961c91a3d856173094 | refs/heads/master | 2020-03-21T03:16:14.081073 | 2015-02-05T20:24:59 | 2015-02-05T20:24:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,821 | r | analysis.R | #This R Script does the analysis part
setwd("/home/sidd/Documents/CS224s/Analysis");
library(randomForest)
dat <- read.table('ForAnalysis.csv', header = TRUE, sep = ';')
keep_indices <- complete.cases(dat)
dat = dat[keep_indices,] #Get rid of NAs
#Prosodic Features
pro <- dat[, c(194, 195, 199, 203, (440:471))]
ce... |
9d437ecb46ac53d19f3d494e2d85881997f6d831 | 545e38d58e1456a316b7e28f709faad39838af64 | /notebook/2016-02-15-mixture-distribution/errors.R | 610e07ae41bd01eba0cf6a017dcb801898a361df | [] | no_license | attilagk/monoallelic-brain-research | 686a2bf838f90f194e77eb652ab973b5b593e2e3 | c171432bf119bb60023e25587df29d147b4a6984 | refs/heads/master | 2020-04-26T14:15:23.558193 | 2019-03-07T16:24:51 | 2019-03-07T16:24:51 | 173,606,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,858 | r | errors.R | get.error.rates <- function(pi1, lambda, thrs) {
# calculate probability of true positives, false negatives,...
get.joint.probs <- function() {
pfn <- (1 - exp(- lambda)) * (exp(- lambda * thrs) - exp(- lambda))
list(
ptp = pi1 * (1 - pfn),
pfn = pi1 * pfn,
... |
95bf0f773e121d6817a3058c4acf1cbf7c0429e2 | e1b973c582a68cb308e46b445381b457607e0791 | /R/ltm/testr.R | 4738cc54eca76f498e077a2be471c1b6fd4fcb5e | [] | no_license | mishagam/progs | d21cb0b1a9523b6083ff77aca69e6a8beb6a3cff | 3300640d779fa14aae15a672b803381c23285582 | refs/heads/master | 2021-08-30T15:51:05.890530 | 2017-12-18T13:54:43 | 2017-12-18T13:54:43 | 114,647,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 526 | r | testr.R | # easy regression sample
r <- c(1,2,3,4)
r <- c(r[1:3], 7,6,5)
x <- 1:6
l <- lm(r ~ x)
# plot(l)
# data frames
fir <- c(1,2,3,4)
sec <- c(2,3,4,1)
f <- c(TRUE, TRUE, FALSE, TRUE)
df <- data.frame(fir=fir, sec=sec, f=f)
s <- df[which(df$f),]
#loop
for (i in 1:3) { print (i) }
a <- function(x) {
11 - b(x)
}
b <- func... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.