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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae92476477cc9f4bf28339e20e7c69268ccd3422 | 8f56589e11ae57523a7d8011386738a53999a4e1 | /man/Grey-palette.Rd | e5bda785bbd309a0e988e7087d0f3b146e831ef1 | [] | no_license | grattaninstitute/grattan | b7b5c738401850fc67f03f4003f3715f11b27406 | 56fac9813308cf695d850be84adddad61b50d774 | refs/heads/master | 2020-05-20T22:23:58.720935 | 2015-06-27T02:12:23 | 2015-06-27T02:12:23 | 38,221,337 | 0 | 0 | null | 2015-06-29T01:28:33 | 2015-06-29T01:28:33 | null | UTF-8 | R | false | false | 197 | rd | Grey-palette.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/grey.pal.R
\name{Grey palette}
\alias{Grey palette}
\title{The grey palette}
\description{
The grey palette
}
|
40bb96f1e056348b4abe8040974bc83cead612aa | 3c1e397114cc63d7a75ee2e8ea68fd23b65e5577 | /Projeto DataScience IDD/DataScienceIDD/microdados_idd_2015/microdados_idd_2015/3.Input/input_idd.R | 8c4538248ae7781a6bdb78b66e47099f37f04897 | [] | no_license | edsonbrendon/data-science-idd | a70ec205ffc41db2d095bc551814dd5f64bf55ef | cafc25d3448e5945caa8bfc2491e38795486806e | refs/heads/master | 2022-03-22T12:45:24.343837 | 2019-12-09T13:43:06 | 2019-12-09T13:43:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,343 | r | input_idd.R | ##################################################################################
# MEC/INEP/DAES (Diretoria de Avaliação da Educação Superior) #
# Coordenação Geral de Controle de Qualidade da Educação Superior #
#---------------------------------------------------------------... |
bc56d161459169057e127f97e00febe557caefbd | f2f2bcd6ac1d7c385ed477daf4fc09476dfbc616 | /us_citizen.R | 9e491ed10f76d43eeb9b04da407a967f1a8e727f | [] | no_license | AnuC2/academic_projects | 459c29fb56dd66e508c65a0b8ed0c00342c17d03 | 38455d80b0d6c17020d8b643ae64416c61c602f5 | refs/heads/master | 2020-05-03T07:41:53.650496 | 2019-06-11T04:17:58 | 2019-06-11T04:17:58 | 178,505,404 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,907 | r | us_citizen.R | # Core Tidyverse
library(tidyverse)
library(lubridate)
library(glue)
library(forcats)
library(magrittr)
library(scales)
# Visualization
library(ggplot2)
library(cowplot)
library(scales)
library(vcd)
library(grid)
df<- read.csv("usa.csv")
df1<- df[,c("student_id","age","full_part","classification","a... |
48cad6fdebbb20b0e7d30efc4bc52cdbbe6ebc5e | 408212ab41a932e3d8f9cd6b0db64678040be63d | /vignettes/precompile.R | e8ab88e8b69f5a05133d018c3d1d00f5e11857ee | [
"MIT"
] | permissive | ropensci/phruta | 802ed58510e8cffee3316e9a001c47d70ddafff3 | 0000972691748baa5d178c491b660aec18b9ba39 | refs/heads/main | 2023-05-22T13:41:46.126313 | 2023-05-02T18:41:44 | 2023-05-02T18:41:44 | 391,212,019 | 3 | 0 | NOASSERTION | 2023-01-11T16:06:57 | 2021-07-30T23:51:38 | R | UTF-8 | R | false | false | 892 | r | precompile.R | # Precompiled vignettes
knitr::knit("vignettes/Exporting_data_phruta.Rmd.orig", "vignettes/Exporting_data_phruta.Rmd")
knitr::knit("vignettes/Future_phruta.Rmd.orig", "vignettes/Future_phruta.Rmd")
knitr::knit("vignettes/Phruta_advanced.Rmd.orig", "vignettes/Phruta_advanced.Rmd")
knitr::knit("vignettes/phruta_targetge... |
ad90b574eb2ca0c80184fd106e42503e22e0b02e | c8b609bf58dab1a383bbea8b43a7bc2708adcb38 | /R/contactsimulator-package.R | 394de7e84c5280b66864f54e935a79b79be8ac9e | [] | no_license | holaanna/contactsimulator | ce788627c12323c4ab6b3aa902da26bf3e2e4cf5 | 8bcd3f01e0bbe5fb7328d9f6beb27eb907779bdd | refs/heads/master | 2022-03-17T03:25:18.841897 | 2019-11-26T18:33:29 | 2019-11-26T18:33:29 | 111,702,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,343 | r | contactsimulator-package.R | ##' Inference for spatio-temporal contact type models
##'
##' The \pkg{contactsimulator} package provides facilities for inference on spatial-temporal
##' data using contact type distribution models.
##' These models are also known as state-space models, hidden Markov models, or
##' nonlinear stochastic dynamical syste... |
3af02537cd935851607f38038acb38612711b105 | 1bf642761ba389da2f5fbcaef59aec45ea939fa5 | /01_code/00_load_packages.R | ecf20c423b48293d7f07117a01680fd7a26af7c3 | [] | no_license | jaspercooper/terror_von_schirach | 24c04df48802191a74d5b2529221f51f45d17069 | c897e75c29fb48c3489377b5aca801218cceada6 | refs/heads/master | 2021-01-20T01:59:48.287914 | 2017-10-24T20:04:03 | 2017-10-24T20:04:03 | 89,358,856 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 749 | r | 00_load_packages.R | # Load packages -----------------------------------------------------------
packages <- c("dplyr",
"ggplot2",
"knitr",
"stargazer",
"rvest",
"tsModel",
"lmtest",
"Epi",
"splines",
"vcd",
... |
a135d5e70254979824cf717efc828a723e7b3045 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/6453_0/rinput.R | ea96284aba35b75d40f47935430b4a191d7ae1ad | [] | 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 | 135 | r | rinput.R | library(ape)
testtree <- read.tree("6453_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="6453_0_unrooted.txt") |
9853a2be6b4eed2dda623f850273e9e45a387276 | 7d811e8081b82aadf1f20d69dca568a1d3ebe2cb | /scripts/r/us_languages_functions.R | 5abec3fe39df0b10ed35ccd10b9220f6734ca40b | [] | no_license | pagepiccinini/us_languages | aa4e84edbce7def04d6bf9fe3793111196ffc3c6 | 41e645f5a6c9374ed155d7290b999116e04e8115 | refs/heads/master | 2021-01-20T04:51:08.019241 | 2017-04-29T17:46:41 | 2017-04-29T17:46:41 | 89,745,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,266 | r | us_languages_functions.R | # Make map with percentage non-English over time
percnoneng_map = function(data, plot_year) {
data %>%
filter(year == plot_year) %>%
ggplot(aes(x = long, y = lat, group = group, fill = perc_noneng)) +
# Add title
ggtitle(paste0("Year ", plot_year)) +
# Draw states as polygons with white borders be... |
41608c3e3c47c07f340fb9aea92e74f761931ee9 | 94f6936109575030a1c264bda8e7c59978e46982 | /ch01/1_1_Variable.R | 6a4e1c6ef411a3f04960f8636226be6dfef76231 | [] | no_license | hungry4therock/my-r | c5a9bc0b3afb7c8d059fd3a32a6f9cf5aca13ef3 | 9f78fcb8eba394fa6bd64a56306e1f9a62fea879 | refs/heads/master | 2023-06-11T16:35:21.320434 | 2021-07-08T07:01:05 | 2021-07-08T07:01:05 | 384,037,408 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 558 | r | 1_1_Variable.R | #날짜:2021-06-28
#이름:최현진
#변수 - 하나 이상의 값을 갖는 변수,배열열
num1 <- 1
num2 <- 2
print(num1)
print(num2)
str1<-'hello r!'
str2<-'안녕 R!'
str1
str2
#스칼라(scala) 변수 - 한개의 값을 갖는 변수, 일반적인 변수
var1<-1
var2<-2
var3<- var1+var2
var3
#벡터(vector) 변수
x<-c(1,2,3)
y<-c('김유신','김춘추','장보고','강감찬','이순신')
x
y
x[1]
y[2]
#팩터(factor) 변수 - 문자열이 저장되는 벡... |
570e242215babf87abc39b1fc52836639f863a94 | b851275f632ab2745d9cd7982712b2fda66b631a | /R/get_portfolio.r | e560960f7224487ef17b62bb66765d241c10f291 | [] | no_license | jguszcza/stockvis2 | a0bf9b78ffee9a4ee51121e46b44c5e276ec8100 | 14b2449f28b7c39fe479edc1081c660767f3ab57 | refs/heads/master | 2016-09-16T00:37:23.496895 | 2012-12-04T22:10:51 | 2012-12-04T22:10:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,972 | r | get_portfolio.r | #' Get historical daily returns for a portfolio of stocks or indexes
#'
#' get_portfolio retrieves historical returns data from the yahoo finance API
#' for an equal weighted portfolio of stocks. Daily closing prices are retrieved
#' for the portfolio for the investment period that begins on start and ends on
#' end.... |
48d03673d4fa64c4bdbe764a62eacda98b11437b | f3d37dbf97b62635de9a59d4eb414cc92c73fc09 | /man/verbose.Rd | 3df6d329f49f55376611b132ee3e9ef7f7bdfd4d | [
"MIT"
] | permissive | r-lib/httr | 72b44493b68f597e47bd458072cd580954985943 | 7aa629fa53668669dd2a51012877cddc96c64003 | refs/heads/main | 2023-08-21T00:00:14.223974 | 2023-08-15T18:19:54 | 2023-08-15T18:19:54 | 2,756,403 | 444 | 684 | NOASSERTION | 2023-08-12T17:36:56 | 2011-11-11T15:05:00 | R | UTF-8 | R | false | true | 2,014 | rd | verbose.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/verbose.r
\name{verbose}
\alias{verbose}
\title{Give verbose output.}
\usage{
verbose(data_out = TRUE, data_in = FALSE, info = FALSE, ssl = FALSE)
}
\arguments{
\item{data_out}{Show data sent to the server.}
\item{data_in}{Show data recieved... |
f14bad39d7f077eb1e467007239d28c800c41087 | 24431275baa11c3d471cd2838d508e14a5fc3037 | /man/dot-new_soil_layer.Rd | 8c32b897871f252d7959395b9520767ace38d05f | [
"MIT"
] | permissive | brownag/soilvctrs | c6848ff6476658689a2a8ce715d05b6e2e6365c6 | d4963236c5fd8e4bc37f8634d36a15df7374a833 | refs/heads/master | 2022-12-01T19:14:33.731567 | 2020-08-14T08:28:36 | 2020-08-14T08:33:46 | 281,048,740 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 768 | rd | dot-new_soil_layer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/soil_layer.R
\name{.new_soil_layer}
\alias{.new_soil_layer}
\title{Internal constructor for \code{soil_layer} object}
\usage{
.new_soil_layer(
x = list(pid = integer(), hid = integer(), geom = geovctrs::geo_rect()),
metadata = list(pid = ... |
358900e920e7390c0117736298e5b2cd8b809fc6 | fe7788c1e4eba9b2668835da8535b05fcc94e32b | /Bin/Rscript/GR1.r | faaf9285ef982d6ea16d85d2e6ee35e5b402bcca | [] | no_license | yiliao1022/Pepper3Dgenome | 77045dd1480abdfe217d47f7c20ff360c080108b | d4a8bc6e181eba45db1dff405f3a179fe4e9b99c | refs/heads/main | 2023-04-14T20:07:09.192776 | 2022-05-30T04:34:10 | 2022-05-30T04:34:10 | 338,714,255 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 268 | r | GR1.r | library(CALDER)
contact_mat_file_LJGR1 = "/home/yiliao/OLDISK/genome_assembly/hic_explorer/13_bnbc/100k/Chr12/matrixGR1.Chr12.csv.txt"
CALDER_main(contact_mat_file_LJGR1, chr=12, bin_size=10E4, out_dir='./Chr12_LJGR1', sub_domains=TRUE, save_intermediate_data=FALSE)
|
e171f22946a1693e96d049de916d8a1a754cbb1c | a6cf1c32b434836a4097d3a5567176914837a7ac | /R_genomics/fit_genie3.R | 04907f38a844e5b09cef1f41ea294cc5dd885747 | [
"CC0-1.0"
] | permissive | limorigu/ComplexCauses | 55b146f256f690138dfd1f09767982b2b82d3b76 | e047bea494329e4c4ca0f124c1a44daf900055df | refs/heads/main | 2023-05-26T03:34:21.426187 | 2021-06-10T19:46:15 | 2021-06-10T19:46:15 | 374,762,328 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | fit_genie3.R | # Load libraries, register cores
library(data.table)
library(randomForest)
library(doMC)
registerDoMC(8)
# Set seed
set.seed(42, kind = "L'Ecuyer-CMRG")
# Import data, downloaded from:
# http://dreamchallenges.org/project/dream-5-network-inference-challenge/
mat <- as.matrix(fread('net3_expression_data.tsv'))
# Scal... |
18bfc90335f58687d4d7b47fd1482d2c5e6b8c6a | f52a881c1b5a6755c8eb46feb62adbb9302b9dfd | /download_statistics/download_stats.R | 156d10e1ac1551e5fe8625a2de4e48e41024194e | [] | no_license | CAPLTER/informatics-documentation | dc86ce97ee0daa64c5835ff51810077264f2929a | 754f2a4cb4fd6460c62f5c5af1f1959aed2453c2 | refs/heads/master | 2022-12-11T00:27:33.032081 | 2022-11-27T19:14:07 | 2022-11-27T19:14:07 | 102,893,896 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,678 | r | download_stats.R | # libraries
library(tidyverse)
library(RSQLite)
# options
options(dplyr.summarise.inform = FALSE)
# GIOS
source("~/Documents/localSettings/mysql_prod.R")
dbGetQuery(mysql, "SELECT * FROM gios2_production.dataset_access_log ORDER BY id DESC LIMIT 3 ;")
gios_log <- dbGetQuery(mysql, "
SELECT
CAST(datasets.package_... |
6b9297ed50f6b310b4f19bb9bd7013cf12781f98 | 29de68f521a4d71d89045fafecfb3acc406d8f97 | /R/dhest.R | f9825340cb025e71bcfb7023da5d72efc1d243ca | [] | no_license | evolvedmicrobe/msde | 76a29f4383ec8c3bdb4a817f33857f144ba1ab08 | b7982fb56612836cebbcb5f7661e4ba118ec0fe4 | refs/heads/master | 2021-01-21T18:00:25.373337 | 2016-08-25T04:08:39 | 2016-08-25T04:08:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,213 | r | dhest.R | #'@name dhest
#'@title Stationary Distribution of Heston Model Log-Return Differences
#'@description these will roughly be centered at alpha*dT \cr
#' requires Fourier inversion of the characteristic function, ie. numerical \cr
#' complex integration. currently done by grid method. \cr
#' ... |
133db3999fa2d7705b1de6754c0c864f27862912 | 43ac4b09b759bdb84dc254186e5fa3541c70a137 | /plot2.R | 59a5a5866774a0af6ca3f09208741cf1d2acc7a8 | [] | no_license | pmichene/ExData_Plotting1 | 50a34da163660662349fbfd5c4e865c8a278c67d | ebda984dc5d266ebe93d4d40f08ff4fbd7ff711c | refs/heads/master | 2020-03-15T23:01:05.427108 | 2018-05-08T03:55:05 | 2018-05-08T03:55:05 | 132,385,065 | 0 | 0 | null | 2018-05-06T23:51:42 | 2018-05-06T23:51:42 | null | UTF-8 | R | false | false | 1,104 | r | plot2.R | library(data.table)
# Download data file if needed
if (!file.exists("household_power_consumption.txt")) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile = "data.zip", method = "curl", quiet = TRUE)
}
unzip("data.zip")
# Read data
... |
58a194ea96667763e491996c3ac4412ddc7c57dc | 862bee845b055a3cfb7c0ab5ac1c277ed35f438f | /library/ggthemes/examples/ex-scale_colour_gradient2_tableau.R | a48cb517dbb642f6fe9a3ed00d93248f93524de5 | [
"MIT"
] | permissive | mayousif/Turbidity-Cleaner | a4862f54ca47305cfa47d6fcfa048e1573d6a2b7 | e756d9359f1215a4c9e6ad993eaccbc3fb6fe924 | refs/heads/master | 2022-05-09T07:32:55.856365 | 2022-04-22T20:05:10 | 2022-04-22T20:05:10 | 205,734,717 | 2 | 2 | null | 2020-11-02T21:31:19 | 2019-09-01T21:31:43 | HTML | UTF-8 | R | false | false | 496 | r | ex-scale_colour_gradient2_tableau.R | library("ggplot2")
df <- data.frame(
x = runif(100),
y = runif(100),
z1 = rnorm(100),
z2 = abs(rnorm(100))
)
p <- ggplot(df, aes(x, y)) + geom_point(aes(colour = z2))
palettes <-
ggthemes_data[["tableau"]][["color-palettes"]][["ordered-diverging"]]
for (palette in head(names(palettes))) {
print(p + scale_... |
7841f37efc787605525abfb1df37642a487e2c95 | 96aba36ec950b4752423cd352e56001e4f14d33b | /GettingAndCleaningData/Week1/DownloadFromGoogleDrive.R | 14b38fb1200f9fe2ff35ccbe587b66439c628e26 | [] | no_license | figoyouwei/datasciencecoursera | 4f879e6cd23cbcd0b99981741520d9ea8443c817 | ddd307451d8158fa6a58c655a513748a6dcfbf4e | refs/heads/master | 2021-01-10T20:25:35.309704 | 2014-09-21T06:52:59 | 2014-09-21T06:52:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | r | DownloadFromGoogleDrive.R | dl_from_GoogleD <- function(key, localpath) {
## Arguments:
## output = output file name
## key = Google document key
## format = output format (pdf, rtf, doc, txt..)
## Note: File must be shareable!
require(RCurl)
#cyberpath <- paste0("https://docs.google.com/file/d/", key, "/expor... |
48b7d269761d6648fdb46d6b77c0c8cc3668561c | 4c928899f170bbd5db2e30eafcacb59aa283f204 | /R/add_binom_gest.R | 2201522cb5626541441d8f6643cc15aea4748f2b | [
"MIT"
] | permissive | alexhallam/gest | efa2b7a6e2387885f0c5b37e4f0d0254f7ec2def | 1be7ed995378a021f291ebeccc2b3319fde3b922 | refs/heads/master | 2021-01-09T17:46:36.787414 | 2020-03-19T00:42:37 | 2020-03-19T00:42:37 | 242,395,163 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,487 | r | add_binom_gest.R | #' Add binomial G-Estimate
#'
#' @description adds an estimated shinkage value obtained by G-Modeling
#'
#' @param tbl a table which *requires* two columns. A column with the number of
#' successes (x) and a column with totals (n).
#' @param x column with number of successes
#' @param n column with totals
#' @param cre... |
2ed4636606f24dcfa12d8db75ec367c8a9557d0b | 14c981b309a99253d57596fdd00c391fb1aad0e2 | /Prácticos/Práctico 2/Práctico 2.R | 3c9e80830dc2b17ad5c1f1e088929de985e2a48c | [] | no_license | daczarne/udelar_modelos_lineales | 411ad1ac0b215cbe23d2db913797d3359e8fa729 | b8d53156d7a3f37455426f5ad467dbab120b16a4 | refs/heads/master | 2023-06-29T15:44:38.099272 | 2021-08-02T23:06:12 | 2021-08-02T23:06:12 | 202,957,651 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,056 | r | Práctico 2.R | ####################
#### PRÁCTICO 2 ####
####################
library(pdftools)
#####################
#### EJERCICIO 5 ####
#####################
rm(list = ls())
# Genero los datos
y=c(8,12,21,31,39,58)
x=c(0,10,20,30,40,60)
n=length(x)
# Calculo beta 1 gorro
Sxy=cov(x,y)
Sx=var(x)
beta1=Sxy/Sx
# Calculo el desv... |
2e647cb17614781e5a97a5cb9c0c3d987d8d206d | f8ea4e68549003c04b280ff56ee6c41b1f9b125b | /scripts/map_function.R | c16bfe469401ead5a8a6b5e6fb151d6ea8bbbacd | [] | no_license | epahang/final-project-INFO498F | e51e89e317ed1ed0ef02d3ae96b62d2c6f94f121 | 77bb591eb504279e2934ebc6acc5be753d38f0d3 | refs/heads/master | 2021-01-10T12:37:50.527234 | 2017-06-03T00:53:29 | 2017-06-03T00:53:29 | 52,189,426 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,260 | r | map_function.R | # Final Project group FB7
# Visualization for the distrbution of the number of deaths per year
build_map <- function(data, year, cause) {
map_title <-
paste("Distribution of deaths in", year, "caused by", cause)
new_data <- data %>%
filter(YEAR == year, CAUSE_NAME == cause)
# add new column with state... |
24bc017d38f4956c5449777df582a62d4277dee0 | 925738441839a562e4d74a5209ca279ddac7a59a | /results/dada2/scripts/learn_errors.R | 254499a7f2c739bab6fc0d9a731fa3e23efa1211 | [] | no_license | paraslonic/assnake | 23d168827530ad5363cde2081feb7cf232ad1d9c | 42c9ee117e951ac70973542b5d19f1154b4d9e61 | refs/heads/master | 2020-06-02T13:58:13.805768 | 2019-10-31T11:21:41 | 2019-10-31T11:21:41 | 191,178,863 | 0 | 0 | null | 2019-06-10T17:21:56 | 2019-06-10T14:00:37 | Python | UTF-8 | R | false | false | 403 | r | learn_errors.R | args <- commandArgs(TRUE)
read_table_loc <- c(args[[1]])
out_loc <- c(args[[2]])
strand <- c(args[[3]])
library("dada2")
reads <- read.table(file = read_table_loc, sep = '\t', header = TRUE)
if (strand == 'R1'){
err <- learnErrors(as.character(reads$R1), multithread=TRUE)
} else if (strand == 'R2'){
err ... |
ff840c3a31b0f3ec8db795f8eae416b1b3750f67 | ecc3f86ed2f437c34c817761799e1179f8bee275 | /R/years.R | 8ec00109110e6dab2a203848246be837af49bfcc | [] | no_license | cran/relsurv | 8e6b4821d99fda97e58ab1ac284cbd12e3c9cde1 | 20447b8198707f9cebc678ec567a02c57ea4101b | refs/heads/master | 2023-01-10T22:20:36.163357 | 2022-12-22T12:30:02 | 2022-12-22T12:30:02 | 17,699,136 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 60,323 | r | years.R | colVars <- function(x, na.rm = FALSE){
f <- function(v, na.rm = na.rm) {
if(is.numeric(v) || is.logical(v) || is.complex(v))
stats::var(v, na.rm = na.rm)
else NA
}
return(unlist(lapply(x, f, na.rm = na.rm)))
}
# Copied function from mstate:::NAfix.
mstateNAfix <- function (x, subst = -Inf... |
8eda172e46ea238e35239298136d63a84bfa8667 | 6cbc6e80ae07b8fb1fff0a5cad4ddcd29c358c0a | /R/ezr.crosstab.R | 7d8a2f3d95777ef2b1e7e91ce73ad948098f5c54 | [] | no_license | lenamax2355/easyr | d99638b84fd9768774fa7ede84d257b10e0bacf6 | 37ab2fe5c28e83b9b5b3c0e3002f2df45708016b | refs/heads/master | 2022-01-09T20:43:17.801623 | 2019-05-13T02:49:48 | 2019-05-13T02:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,172 | r | ezr.crosstab.R | #' Title Cross Tab (Table)
#'
#' Generate a cross table of the fields you are interested in. Input of fields should be with names in quotes or as a result of a dplyr pipe similar to mtcars %>% select(vs). dataset$field is not supported
#'
#' @param dataset Dataframe
#' @param row_field Ideally place the grouping v... |
2c4cb3831c164941db7fbc6250df87d9455a65b9 | 912ce0acd46b9c077abc0c1106aaf9acaca1d126 | /archive/Archive151004/pytsop/docks_csvs_refresh.R | 28b7e2f53816a1a71e06791ff839d598f1718757 | [] | no_license | kerazarek/TaylorLab | 3cafe4ae514defe541d98d28cfc307bf8bfcd0ca | b2230bb3f209ad0fe5f60e229cef19c69bbc02b5 | refs/heads/master | 2021-01-18T23:50:17.937434 | 2016-09-22T05:18:10 | 2016-09-22T05:18:10 | 43,645,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,477 | r | docks_csvs_refresh.R | # IN
# docks_read <- "~/lab/Docking/docks.xlsx"
home_dir <- commandArgs(trailingOnly = TRUE)
# home_dir <- "~/lab"
docking <- paste(sep = "/", home_dir, "Docking")
docks_read <- paste(sep = "/", docking, "docks.xlsx" )
# docks_read
# OUT
docks_csvs <- paste(sep = "/", docking, "docks_csvs" )
docks_ligsets_csv <- paste... |
e50e9a1b9010fd126bbd5f4be59e0b80f5b25756 | d4cd3909b5c5ff996e405a9dbcdb830a9f18599f | /consumer index.R | 1e67502eeb422b96c764410ce5157b228e43fda8 | [] | no_license | jevzimite/Projects.compiled | 6bb39df27ed44871c240fea4408967248f76293d | df1fdcaa12bf8d339a2ca782e28c425a44c12409 | refs/heads/main | 2023-05-01T13:30:24.549058 | 2021-05-25T22:11:07 | 2021-05-25T22:11:07 | 332,641,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,347 | r | consumer index.R | #
library(readxl)
basket <- read_excel("~/Downloads/basket.xlsx")
View(basket)
cln<-c("bathroom","shampoo","deodorant", "toothpaste")
colnames(basket)<- cln
rwn<-c("April","May", "June", "July", "August")
rownames(basket)<- rwn
one2five<-c(1,2,3,4,5)
basket
# months<-c("Apr-20", "May-20", "Jun-20", "Jul-20", "Aug-2... |
0aaf905aaf5dc5bb2837e3e554a9bc4183170e8e | 698c0d49aa96238fed1d46f9ac061c5c0ed7ce9e | /Data & Codes/Pairs Trading Strategy/Simulation.R | e59a15f7603373eec9971d025a69403a61b0b434 | [] | no_license | Timmer13/Trading_Strategy_Cryptocurrency | 4b309996471cd71853efd6e7eaac3c078e4d1016 | f36e1abef74a34b4c0fc8aee329895aea670273e | refs/heads/master | 2020-05-14T16:48:18.705152 | 2019-04-17T11:44:09 | 2019-04-17T11:44:09 | 181,879,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,254 | r | Simulation.R | setwd("~/Documents/MATH_5010/project")
library("ggplot2")
library(reshape2)
ETH <- read.csv("ETH.csv")
BTC <- read.csv("BTC.csv")
LTC <- read.csv("LTC.csv")
XRP <- read.csv("XRP.csv")
PETH <- ETH[,"close"]
PBTC <- BTC[,"close"]
PLTC <- LTC[,"close"]
PXRP <- XRP[,"close"]
GBM <- function(mu,s,d,z){#stochastic method
... |
e3f3e07e7929a9dda24d5a224dffa99b3d3bb809 | c47a9dab242120ea05ad8877af7c7efdec48dcb8 | /egssimtools/man/read_arch_network.Rd | 9fc32334a76e828e72df55d1291a3a121779e55f | [] | no_license | rscherrer/ExplicitGenomeSpeciation | 4ee1b8fdf3c19a085d750e73ce94ae4f2b25a070 | 55b3d4cf79f97bf6c91d366ce7274e411d612510 | refs/heads/raph | 2021-08-10T20:54:15.903930 | 2021-04-14T14:12:54 | 2021-04-14T14:12:54 | 184,590,896 | 1 | 1 | null | 2021-04-14T14:12:55 | 2019-05-02T13:59:12 | C++ | UTF-8 | R | false | true | 811 | rd | read_arch_network.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_arch_network.R
\name{read_arch_network}
\alias{read_arch_network}
\title{Read gene network architecture}
\usage{
read_arch_network(folder, filename = "architecture.txt", as_list = FALSE)
}
\arguments{
\item{folder}{Path to the simulation... |
f0bf0303adb80b4edc64c88552d0b237eae55d2c | 3dfb28e48a4d4e9495e3df3b5e7a8c541c2f6494 | /house-prices/data-prep.R | fd8f1ee6e153021c7da839e5eb3cbc2b0c4134ef | [] | no_license | amey-joshi/statistics | c4ecba0cb124d431b5b1db74278722df9c7c7692 | 830d51a3f67ef0229e0e44ae0070019f8a60e150 | refs/heads/master | 2021-07-22T08:38:03.518668 | 2020-10-07T12:56:24 | 2020-10-07T12:56:24 | 222,046,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,606 | r | data-prep.R | DROP_COLS <- FALSE # Should columns that are transformed be dropped?
ONLY_COMPLETE_CASES <- FALSE
# The list of variables was generated using the shell command
# cat variables.txt | grep Keep | cut -d":" -f1 | sed 's/\([[:alnum:]][[:alnum:]]*\)/"\1",/g'
var.list <- c(
"Id",
"MSSubClass",
"MSZoning",
"LotShape"... |
c59c1fcfa1c5e3ec4d2205bab0d2d912fbddbffd | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610383012-test.R | 19972961d07de85a567820cf2091d29776c31b5d | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 373 | r | 1610383012-test.R | testlist <- list(rates = 0, thresholds = numeric(0), x = c(2.33598865781438e-310, 4.39013136496848e-259, NaN, -2.41844193503962e+24, 2.00134474032677e-256, NaN, 3.05162830045447e-05, NaN, -1.43713943880526e+241, 5.54095540936847e-310, 4.77023936047618e-299, 7.29112201952987e-304, 1.59070796007927e-310, 0, 0))
resul... |
4586218e5a3a1e1837d3993e65df5ee14f6236a1 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkTextViewScrollToIter.Rd | 9582412221da77d388ef37ed371b65ebc70abaeb | [] | 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 | 1,614 | rd | gtkTextViewScrollToIter.Rd | \alias{gtkTextViewScrollToIter}
\name{gtkTextViewScrollToIter}
\title{gtkTextViewScrollToIter}
\description{Scrolls \code{text.view} so that \code{iter} is on the screen in the position
indicated by \code{xalign} and \code{yalign}. An alignment of 0.0 indicates
left or top, 1.0 indicates right or bottom, 0.5 means cent... |
38c593c98cec936fc45dfc24c1a22dd54025ae6a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CVTuningCov/examples/CVTuningCov-package.Rd.R | 9f854f99a1e2cd28da8aa6a041f0533c347cf26d | [] | 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 | 547 | r | CVTuningCov-package.Rd.R | library(CVTuningCov)
### Name: CVTuningCov-package
### Title: Select Tuning Parameters based on CV in Regularized Estimators
### of Covariance Matrices
### Aliases: CVTuningCov-package CVTuningCov
### Keywords: banding covariance matrix cross-validation Frobenius norm
### operator norm thresholding
### ** Exampl... |
fae09ebb86d82bc5b6870abb031fe4698af3a7c7 | f57e3e8ea8228d7fdd7c745b0f2419ee265794e8 | /Long_data_transition.r | c55c1badeef26a44afcad0bc861239835483c397 | [] | no_license | STEMpersistence/Cam-Long-Data-Transition | 16466998af1f89a0b90a1ea5ed204d84c16416a5 | 00d36a999576bd36ff2d83da939922b4f1739d23 | refs/heads/master | 2021-04-28T15:36:46.130586 | 2018-03-02T02:45:10 | 2018-03-02T02:45:10 | 121,993,035 | 0 | 1 | null | 2018-02-18T21:53:09 | 2018-02-18T21:37:25 | R | UTF-8 | R | false | false | 756 | r | Long_data_transition.r | library(dplyr)
library(tidyr)
data <- read_excel("stem_persistence_update.xlsx") # read in data
data2 <- data %>% separate("graduationsemester", c("gradyear", "gradsem"), sep = 4, remove = FALSE) # seperate columns into year and (semester and campus)
data4 <- data2 %>% separate("gradsem", c("gradsem", "gradcampus... |
24821c4d5a923e301105e497a4576df24f2bd941 | a5c5b2178d3c32d41f22fccfe6db98b5f6661d0a | /man/meowR.Rd | c26e7a0d7511d4469b2bcd2513c2a25791601df5 | [
"MIT"
] | permissive | IndrajeetPatil/kittyR | d3dca59b364135fe2b191f2ebe9bc2a5844462b8 | 12e8258e0335e551f40ff80cbc60022ddc369bc1 | refs/heads/main | 2023-05-23T16:39:57.944996 | 2022-08-16T19:03:29 | 2022-08-16T19:03:29 | 169,513,858 | 50 | 7 | NOASSERTION | 2022-08-16T18:56:22 | 2019-02-07T03:27:31 | R | UTF-8 | R | false | true | 729 | rd | meowR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/meowR.R
\name{meowR}
\alias{meowR}
\title{Play a short kitty meow sound}
\usage{
meowR(sound = 3)
}
\arguments{
\item{sound}{A character string or a number specifying which sound is to be
played by specifying one of the built-in sounds (store... |
8b0073d05b766374c187ec4e1f593095740d008a | be788a483220254205bfe9556c6ae0a45d30c6c5 | /CVPAT_example.R | 2f886f92606233d2de93d0013d39ef03e591d162 | [] | no_license | ECONshare/CVPAT | 7a974a246309310ed995070fe4ce8e0df20b2aee | e9fd077f5561a56378eb362367671a360cf3aa28 | refs/heads/master | 2021-07-13T11:30:29.829865 | 2021-03-03T09:57:19 | 2021-03-03T09:57:19 | 239,035,147 | 4 | 2 | null | 2020-02-08T16:12:39 | 2020-02-07T22:40:02 | R | UTF-8 | R | false | false | 3,193 | r | CVPAT_example.R | #IMPORTANT: SET YOUR PATH TO THE WORKING DIRECTORY
#WHERE THE "corp_rep.rda" AND "CVPAT.R" FILES ARE LOCATED
setwd("C:/CVPAT")
# Install required packages --------------------------------------------------
#install.packages("devtools")
#library(devtools)
#install_version("matrixpls", version = "1.0.11", repos = "http... |
181013b9961cfb6a6db886aa128d6ef500f85d4a | 0a04c131b8d20e7fef14dd4780cadd9aff3fe673 | /STAT4201 Advanced Data Analysis/Homework8/Q6.R | 720ee6b1ac94931604ea1df8238d16ecacf819f6 | [] | no_license | parth0708/Coursework | d49fb62cfcce71e754f3b2fb881a7b7c014757ce | 749ec8703999706cdd6954fe765c9215628e5b00 | refs/heads/master | 2021-01-19T04:27:56.185484 | 2016-06-12T19:51:59 | 2016-06-12T19:51:59 | 53,802,301 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 150 | r | Q6.R | library(MASS)
library(leaps)
X <- c(-2,-1,1,2)
Y <- c(0,0,1,1)
dat <- data.frame(X,Y)
model <- glm(Y~X-1,data = dat, family = binomial)
summary(model) |
3b8982071cbb7002e9e8df938bb4a872987f1be7 | aa29f617c5d9dbbf581968b1aed01ee7891b9f3f | /r/day5/day5_script1.R | 21df7ab2448850d82c49918bce72390c23e4e845 | [] | no_license | lhg96/R | f0883d9b1f81d9dc0c2cc36058bd5c93f1636884 | 1fea1629cc477fef840e60b242673ea95e95d3c6 | refs/heads/master | 2022-12-04T23:47:40.787959 | 2020-08-28T11:12:55 | 2020-08-28T11:12:55 | 289,908,762 | 0 | 0 | null | null | null | null | UHC | R | false | false | 2,944 | r | day5_script1.R | #결측치 표기 - 대문자 NA
df <- data.frame(gender = c("M", "F", NA, "M", "F"),
score = c(5, 4, 3, 4, NA))
df
is.na(df) # 결측치 확인 table(is.na(df)) # 결측치 빈도 출력
#변수별로 결측치 확인하기
table(is.na(df$gender)) # gender 결측치 빈도 출력
table(is.na(df$score)) # score 결측치 빈도 출력
#결측치 포함된 상태로 분석
mean(df$score)... |
e93e0e9eced5745e8c18353c0d6e0fe702b6da5e | 321d36ce4f9b3c1371003ed7620c2aa873032755 | /R/dwmHelper.R | 4bb5a98b7d1871cd7307eb3fd838cb174f1a27cd | [] | no_license | yangdi1031/rFIA | b318f81ec9c79942ddde994239297c23dda6138d | aaa0ff429696a1c94f81525d142d269f6f7676a5 | refs/heads/master | 2023-03-09T19:14:01.312116 | 2021-03-03T18:50:16 | 2021-03-03T18:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58,082 | r | dwmHelper.R | dwmHelper1 <- function(x, plts, db, grpBy, byPlot){
## Selecting the plots for one county
db$PLOT <- plts[[x]]
### Only joining tables necessary to produce plot level estimates, adjusted for non-response
data <- db$PLOT %>%
left_join(db$COND, by = c('PLT_CN')) %>%
left_join(db$COND_DWM_CALC, by = c('... |
c43c7adf9b6af88790c91678d727fdfead166ec2 | d48e34adc6063a5ca3dbfd772ad186fb93922f50 | /testPackage/checkTestsPackage.R | c1dad96768c309129fd18dcc791882bba5eb5945 | [] | no_license | Lion666/clinDataReview | 080832a95b74bebb595d59796758b9e8b4cf4e18 | 2876140f36c6bfe94d8626038d32b2f3f9477697 | refs/heads/master | 2023-08-05T18:55:26.658847 | 2021-10-01T16:55:27 | 2021-10-02T10:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,317 | r | checkTestsPackage.R | # Run tests and check tests coverage for the 'medicalMonitoring' package
#
# Author: Laure Cougnaud
###############################################################################
packagePath <- "../package/medicalMonitoring/"
## create reference figures for vdiffr::expect_doppelganger
library(vdiffr)
# The same c... |
7c9475418d9f01472ff93b91e1d2004d0b63f66b | 35de14603463a45028bd2aca76fa336c41186577 | /man/find_topConsensus.Rd | fd8790a7e683d30555a21240ddf383e8c7626bf0 | [
"MIT"
] | permissive | UKDRI/echolocatoR | e3cf1d65cc7113d02b2403960d6793b9249892de | 0ccf40d2f126f755074e731f82386e4e01d6f6bb | refs/heads/master | 2023-07-14T21:55:27.825635 | 2021-08-28T17:02:33 | 2021-08-28T17:02:33 | 416,442,683 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | find_topConsensus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/find_topConsensus.R
\name{find_topConsensus}
\alias{find_topConsensus}
\title{Find the top Consensus SNP}
\usage{
find_topConsensus(dat, top_N = 1, grouping_vars = c("Locus"))
}
\description{
Identify the \code{top_N} Consensus SNP(s) per Loc... |
865dd751fd311d5c14f4bace1725b2689c413430 | 7d40b1c2f63e2860712493d156aaf5c6f51e8d25 | /man/Tasmania.Rd | 58245c84c7de8401abcaa3a8170784f48ec5f2e9 | [] | no_license | Epiconcept-Paris/sftoolkit | 2fcb1d31ac41a74e16c9a40b13edc7c0ab62d58b | e46ab4fa781d7ebb0566759091ba0b9b4a5401bb | refs/heads/master | 2020-04-26T22:26:41.753060 | 2019-03-21T08:45:54 | 2019-03-21T08:45:54 | 173,872,662 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 676 | rd | Tasmania.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{Tasmania}
\alias{Tasmania}
\title{Map of Tasmania (AUS)}
\format{sf, data frame with 30 rows and 6 variables + geometry.
\describe{
\item{ISO}{ISO code of Australia: AUS}
\item{NAME_0}{"Australia"}
\item{NAME... |
8ec572c9f287a06865ccf2d3a035fff11980d2e8 | de135f7c6453465b6b56a0bcb8dd8d421cf92908 | /R/HiCcompare.r | f724d0dff029ec733ded1144db6ffa7bcf735da3 | [
"MIT"
] | permissive | dozmorovlab/HiCcompare | f555032a9ae9cbcc101ccb199f8b96bf5c63857f | 310a927372e836fdd0438452e4790d4d2a611c1b | refs/heads/master | 2023-06-08T14:25:06.340538 | 2023-06-04T01:46:25 | 2023-06-04T01:46:25 | 95,918,953 | 14 | 5 | NOASSERTION | 2022-11-28T21:25:44 | 2017-06-30T19:44:45 | R | UTF-8 | R | false | false | 710 | r | HiCcompare.r | #' HiCcompare
#'
#' HiCcompare provides functions for joint normalization and difference detection in multiple Hi-C datasets.
#' HiCcompare operates on processed Hi-C data in the form of chromosome-specific chromatin interaction matrices.
#' It accepts three-column tab-separated text files storing chromatin interac... |
2685975133a4e9e7416d0bd37a5dde6ed0f21252 | ddbfc51c7f00e40d6f8b0ced2b07ec31b25489f0 | /Graph Plotter/ggplot graph.R | b2b66328a854d60178769e458a8cec568503e942 | [] | no_license | mygit-kapil/R_Codes | 53d894a4c56403d0284a9e99fe5c3378c165f24a | 8f6747ea1473029de0817f2fa6dfdf59b26c20d6 | refs/heads/master | 2020-03-15T16:46:08.076412 | 2018-05-05T11:38:18 | 2018-05-05T11:38:18 | 132,242,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,482 | r | ggplot graph.R | ggplot_graphs <- function(file)
{
library(ggplot2)
library(quantreg)
graph_type <- readline(prompt="Enter the type of ggplot graph (point/line/histogram): ")
if(graph_type == "point")
{
xline <- readline(prompt="Enter the x co-ordinate: ")
x <- nrow(file)
x <- as.integer(x)
DF <- data.frame(A... |
eae7198d28038578bede2c2eb3dd15330093d1be | ff6d90e2f2cb21dea429c55838054d01071d6cd7 | /CNNModels/faceModelCNN.R | f86990594e3b1a277690ecabf3b57857250445e5 | [] | no_license | JeffSandov6/facialRecognitionUCI | 8d764b0e6e7c5c2aa207a1c1f3d4c7f858ba143d | 7bbe4b0a4a6fb6b7a0ae595d085597ac54cd42b2 | refs/heads/master | 2020-04-10T01:32:43.493238 | 2018-12-06T19:07:54 | 2018-12-06T19:07:54 | 160,718,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,248 | r | faceModelCNN.R | # Model for Faces CNN
use_session_with_seed(1)
Face_hiddenLayerNodes = (499+20)/2
faceModel<-keras_model_sequential()
#configuring the Model
faceModel %>%
layer_conv_2d(filter=32,kernel_size=c(3,3),padding="same",input_shape=c(128,120,1),activation = "relu") %>%
layer_max_pooling_2d(pool_size=c(2,2)) %>% ... |
d70480c8b80c2cfe518deb4b04f6a00d8cf21f10 | 976b640f30bfa8d8c2b65ca804e2baeb05e40f4b | /man/vulnerability_signature.Rd | 64dc69546cc159126bd05c02b96b8fbd2e20f2cf | [] | no_license | mrtnnrdlnd/hrgraphsign | eea1a81eed8c00e08ea30a9f1123fc5527321a21 | 8e1c9ead8f445e8ed1d79d51fb9d461f5d76425d | refs/heads/main | 2023-06-03T15:16:43.455542 | 2021-06-21T07:56:35 | 2021-06-21T07:56:35 | 363,876,487 | 0 | 0 | null | 2021-06-21T07:56:36 | 2021-05-03T09:18:14 | R | UTF-8 | R | false | true | 573 | rd | vulnerability_signature.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/signatures.R
\name{vulnerability_signature}
\alias{vulnerability_signature}
\title{Extract Vulnerability Signature}
\usage{
vulnerability_signature(graph, membership, weights = NULL)
}
\arguments{
\item{graph}{The input graph.}
\item{members... |
473d0f10d776fd5ef014ae618e9b80092b02dd9a | f7e7df7cb9bd7a18ceead5dcc366c8fd1bd216d4 | /scraper/events/eventshigh.R | acc72b34f69395369f6515e8fd5f2aae9d045b4d | [] | no_license | vm-natarajan/r-scraper | 72d007919d61f0fc244dec944be325e83bc12c4c | b61efbe50445c2ae63d6104f6ccda1427bd78dbb | refs/heads/master | 2020-04-01T07:23:13.704269 | 2018-11-26T04:22:27 | 2018-11-26T04:22:27 | 152,987,946 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,997 | r | eventshigh.R | getEventsHighEventDetails <- function(location,url_section,section){
stories <- data.frame(matrix(ncol = 10, nrow = 0),stringsAsFactors = FALSE);
col_names <- c("source","section","date","time","price","location","place","title","url","img");
colnames(stories) <- col_names;
url <- paste0('https://www.eventsh... |
72301d3fb1b4b9adbd5823885db1a2667513b25f | e63967e692fb616e22685b1b5792f1b5e53ae330 | /20170117-Putschko-ShinyR-SMS-Analysis/app.R | c39ca97e5f9171bc20ae3c146b7a07afe11a6e4d | [
"MIT"
] | permissive | WestMichiganRUserGroup/Meeting-Materials | 27d9a0bb8fd9b3923664b3e4e84b2f13e042a72d | 6a792773b7e8e8cc23f78d6d92239410fbb1ae60 | refs/heads/master | 2022-11-13T10:42:58.616639 | 2022-11-12T15:08:00 | 2022-11-12T15:08:00 | 79,477,514 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 39,739 | r | app.R |
# SMS Analysis ------------------------------------------------------------
# ---- The Setup ----
# Install these packages if you haven't already
list.of.packages <- c("dplyr", "tidyr", "readr", "lubridate", "stringr", "tibble", "forcats",
"ggplot2", "viridis", "ggthemes",
... |
b67a94baeab3bbbb497a593b77c52013fdf84784 | 914c515a6c85356ee148950f5d93be59ee112b4c | /tests/testthat/test_reg_ladlasso.R | 24fd682936f7510a65a4df099f6fe0b9fe39662b | [] | no_license | Mufabo/Rrobustsp | 917fb8e9a353ffc7a838544fa5cd1d39eae34f6c | 1700f4fed27e63cec6dfb67a14a208d8f46e2418 | refs/heads/master | 2022-06-14T22:15:50.045970 | 2022-06-05T12:13:32 | 2022-06-05T12:13:32 | 222,286,547 | 0 | 3 | null | 2019-12-19T14:17:46 | 2019-11-17T17:36:00 | R | UTF-8 | R | false | false | 2,898 | r | test_reg_ladlasso.R | library(Rrobustsp)
library(MASS)
library(Matrix)
test_that('ladlasso1 p>1, no intcpt', {
data('images')
load(path_test('Blas'))
load(path_test('sol1'))
y20n <- unlist(unname(images['y20n']))
lambda1 <- 124
intcpt <- F
Rsol <- ladlasso(y20n, diag(1, 400, 400), lambda1, intcpt, Blas)
R_sol <- Rsol[[1]... |
718803f1a4e8ff249c207e5aef784e1b448d4f52 | 70ea7b064ab882412346d701ee9896f6a0728b0f | /code.R | e190e6e4adfee23d1bbe62bcb9cf4e6397338e83 | [] | no_license | AkshayaA8/Policy-coverage-option-prediction | e4c350c40deba0eb3d9ecd099e9427cf91abfbab | 2ad6b68e67c5f9b17e5ab25b96b43dc27afc3f6c | refs/heads/master | 2020-04-13T07:11:40.740773 | 2018-12-25T03:47:09 | 2018-12-25T03:47:09 | 163,043,569 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,140 | r | code.R | #get the train data, datatable is my_data
plcy_data <- my_data[my_data$record_type==1,]
plcy_data <- plcy_data[,-c(1:7)]
str(plcy_data)
#converting independent variables to appropriate datatype
col_names <- colnames(plcy_data[,c(2,8)])
for(i in col_names){
plcy_data[[i]] <- as.factor(plcy_data[[i]])
}
pl... |
7770f92e29bbb0e9427af89d1baa51c33bdaafa7 | 0ab9d648721011f72953ae128d3c8595a91cdd97 | /codes/create_grid.R | 9390e02bed263afae77b2a8b67c32de0a2b67fb0 | [] | no_license | jms5151/Fore-C | 9484e0759a25917252dbaf40668b3faf89092690 | 4de43fdf9696edacbc8ebe2fba70450e8c45c209 | refs/heads/master | 2021-08-04T10:39:18.746093 | 2021-07-12T04:40:09 | 2021-07-12T04:40:09 | 215,233,961 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,258 | r | create_grid.R | # create grid for fore-c map ----------------------------------------------------
library(raster)
library(leaflet)
# Read in reef mask CSV. 0 = water, 1 = reef
# dims are 3600 rows (lats) 7200 cols (lons)
reefs <- read.csv("Data/Reef_grid/reef_plus_survey_gbr_deep_reef_remove_20210308.csv", header = FALSE)
regions_df ... |
bcdfc4d973582c9d1c0d1ec314decb38b44dd4e1 | 402733edf0ee3946671f7c8272b9fbd51f21420e | /good_data/frog_reg7/check_outlier.r | 59f682744f188902f3b2eb8cd608680da484807c | [] | no_license | amphibian-exeff/vanmeter_bodyburdens_envpoll2014 | a55cb6cf5fb2ce793c9a23f5033bd0d3705b5273 | ddfeaf59f7408f718010e75d6c053acd768ccdb5 | refs/heads/master | 2023-07-12T12:48:26.664855 | 2021-08-09T03:59:00 | 2021-08-09T03:59:00 | 41,526,957 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,176 | r | check_outlier.r | library(mvoutlier)
frog_root<-"D:\\Dropbox\\Robin_data_test\\frog_reg6\\" #PC path
setwd(frog_root)
raw_data<-read.table(paste(frog_root,"good_data.csv",sep=""), header = TRUE, sep = ",") #Read data into a variable
raw_data_t1 = raw_data[which(raw_data$good==1),] #select good data
Chemical_selec_index=is.element... |
f289528b79725572a209354368d30651dcf205aa | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ade4/examples/fission.Rd.R | b27459ec33538c58d3d3a80e06c289ced2e16946 | [] | 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 | 319 | r | fission.Rd.R | library(ade4)
### Name: fission
### Title: Fission pattern and heritable morphological traits
### Aliases: fission
### Keywords: datasets
### ** Examples
data(fission)
fis.phy <- newick2phylog(fission$tre)
table.phylog(fission$tab[names(fis.phy$leaves),], fis.phy, csi = 2)
gearymoran(fis.phy$Amat, fission$tab)
|
a2646b4ba7975ee90e2dc64112d24904d54c2894 | fb44f713c154e24a8059d47ec5d2d57d3c36e817 | /Lab7/2.3.r | c9f7b741cd1f6c32dc3871c57c755b537f6a2bae | [] | no_license | danghermang/ps | 98448f6e6975cdb11306298fa6593890b61d943d | 8f8badc78144beead27f0f09b056c267b068708b | refs/heads/master | 2020-06-21T08:09:17.257427 | 2019-07-17T13:05:23 | 2019-07-17T13:05:23 | 197,391,140 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 433 | r | 2.3.r | multinomial_test=function(alfa,o,p)
{
s=length(o)
n=sum(o)
E=n*p
critical_Chi_square=qchisq(1-alfa,s-1)
Chi_square_score=sum((o-E)^2/E)
print(critical_Chi_square)
print(Chi_square_score)
if(Chi_square_score>critical_Chi_square){
print("Ipoteza nula respinsa")
}else{
print("Nu se poate respinge... |
efd72143d2119f578e10ccd8a01b4555beed146f | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/falsequ_falsequ_1344/falsequ_falsequ_1344.R | c492c6da3f7406b2587cbd8406907aaed634a62e | [] | 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 | 65 | r | falsequ_falsequ_1344.R | 0726a4c6f669df200ada40747e772389 falsequ_falsequ_1344.qdimacs 1 1 |
1f76a573d1dff9dc671193c097d6555b7d8f387e | 8ef3e422e2f5618fdb0bcb99574cc771962ee99e | /man/Indcpr.Rd | 957547f7b2f33d245eb3b3a89078879f680f8e09 | [] | no_license | cran/tdm | f09134e94f9fb4d60133486d72dc84e1c80f99d2 | 293cc0a7e6d9641de189077cb5f46f6c146b5689 | refs/heads/master | 2016-08-03T21:51:21.507848 | 2014-12-16T00:00:00 | 2014-12-16T00:00:00 | 17,700,401 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 228 | rd | Indcpr.Rd | \encoding{UTF-8}
\name{Indcpr}
\alias{Indcpr}
\title{Equation for the calculated conc. of indinavir at steady-state}
\description{
Equation for the calculated conc. of indinavir at steady-state
}
\keyword{misc} |
24097eb061397edba936784b15c7b2a074d37a1b | c38d689c67e668c1bb7b04002eadfbcdffd72d5f | /plot4.R | 15ea69c29b20f32e81d2f6a9f9966df28a27c2cb | [] | no_license | jefriyang/ExData_Plotting1 | 1c3b5b7f958bc4fef8df0e717123ee424ba60c7c | 54b83b26d099dc3ec20d28ee2e6cc2b448ca16e9 | refs/heads/master | 2021-01-15T18:41:29.999528 | 2015-02-08T06:46:38 | 2015-02-08T06:46:38 | 30,439,289 | 0 | 0 | null | 2015-02-07T00:23:08 | 2015-02-07T00:23:07 | null | UTF-8 | R | false | false | 1,364 | r | plot4.R | #Read Data
file <- "./household_power_consumption.txt"
obs <- read.table(file, header=TRUE,sep=";",na.strings="?", stringsAsFactors = FALSE)
# Convert to Date/Time format
obs$Date <- as.Date(obs$Date, "%d/%m/%Y")
#Subset Data
reqobs <- subset(obs,obs$Date=="2007-02-01")
reqobs <- rbind(reqobs,subset(obs,obs$Date=="2007... |
db00d6fb988b4a751ef0eec5108eddb30e589d5c | 23d811eebd90cd24b622e8ef808ce09eb943e05f | /melt_and_munge_cases-and-interventions.R | aee511cf01d3f4223005c98d60517d7c47228572 | [] | no_license | stevenpollack/TMR | 6c8fda79bbc733d33332832a06d5dfcf28385cfb | c98b5a877ee5de4c69d90be7fc2576a0817b1594 | refs/heads/master | 2022-05-28T04:11:15.358636 | 2020-05-01T03:26:14 | 2020-05-01T03:26:14 | 256,673,786 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,740 | r | melt_and_munge_cases-and-interventions.R | library(googlesheets4)
library(reshape2)
library(dplyr)
library(stringr)
library(data.table)
library(lubridate)
sheets_auth()
ssID <- "1gR03lPiOBDiQOd3XFhSkYWJWi1vG8Wf_J-nmtSRaXbk"
worksheets <- c("daily new infections", "interventions", "melted viz data")
dailyNewInfections <- read_sheet(ss = ssID,sheet = worksheets... |
d4322a3d179ca4fdc0359deaf1087a726756caac | ef9ffa3aebc43e28724a7ccb22f1839932a4818b | /listdemo-R.R | b087c1d532df330835f5339985588a19a8a51d0d | [] | no_license | KJROH/proj180714 | 341fd2824aa5d943fced3aaeaa3dd5b99de1dc09 | 2c48b126fe582d50d7ca2499c13bb88174533440 | refs/heads/master | 2020-03-23T01:44:12.861540 | 2018-07-14T09:41:34 | 2018-07-14T09:41:34 | 140,934,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 396 | r | listdemo-R.R | # list is recursive vectors
# vectors is atomic vectors
# 점(스칼라) a return(......)
# 선 - 면 - 큐브
## p81
x <- c(1,2,3)
x
x <- c("홍길동",175,6,5000,T)
lst <- list("홍길동",175,6,5000,T)
x
lst
lst[[1]]
lst <- list(name="홍길동",height=175,6,sal=5000,
employee=T) # metadata=attribute=column
lst
lst$name # $=list 안의 속성... |
8e1a74f5eedcc1392a86bfa75bc27635d3a0832e | 9800983fb761b6cd588c93c719a97f3c9269d18b | /man/getTensorList.Rd | e694efc1a43ae5924e8f319d834a92b313c3859c | [] | no_license | priscillafialho/RcppSimpleTensor | 551f10d4115ddad928ebc76422961c9574934501 | 358d491e6a2c8c4f630850993108ca2cc5e84b03 | refs/heads/master | 2021-01-12T22:21:19.781510 | 2013-08-29T12:39:19 | 2013-08-29T12:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 296 | rd | getTensorList.Rd | \name{getTensorList}
\alias{getTensorList}
\title{Returns the list of current available compiled C++ tensors}
\usage{
getTensorList()
}
\description{
Returns the list of current available compiled C++
tensors
}
\examples{
getTensorList()
}
\keyword{compile}
\keyword{cpp}
\keyword{tensor}
|
8d669240cad5e9857606a5a96e78df06cb02ae34 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlepredictionv15.auto/man/Analyze.Rd | 198480555be087c461a113f98487f6ae7c544cea | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,897 | rd | Analyze.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prediction_objects.R
\name{Analyze}
\alias{Analyze}
\title{Prediction API Objects
Lets you access a cloud hosted machine learning service that makes it easy to build smart apps}
\usage{
Analyze(Analyze.dataDescription = NULL,
Analyze.dataD... |
6d6a4950813f006431487905baa30ef27b4e2ef4 | 6c7f2ba2dc6618164b635995e65c07c9efc3504f | /TP01/scripts/notes.r | cece3c8bd296653f17331aef0b29bc26aaa6d2d4 | [] | no_license | laetibouud/SY09 | b37f564325d0c805c5550053cc83e1fdd28c7390 | fc6239459ceb0251f30dd7891a3e8f278fdac3d3 | refs/heads/master | 2020-12-31T00:12:40.750167 | 2017-03-29T08:34:31 | 2017-03-29T08:34:31 | 86,553,430 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,406 | r | notes.r | notes <- read.csv("sy02-p2016.csv", na.strings="", header=T)
notes$nom <- factor(notes$nom, levels=notes$nom)
notes$correcteur.median <- factor(notes$correcteur.median, levels=c("Cor1","Cor2","Cor3","Cor4","Cor5","Cor6","Cor7","Cor8"))
notes$correcteur.final <- factor(notes$correcteur.final, levels=c("Cor1","Cor2","Cor... |
81831f3d7d1d7b7c4dfcfeadb54d8820409c7d94 | a00b74d82bfad4d0c6d432304e4deb3b30b455a8 | /old_or_unused/reproduction_methods.R | 429e509e9ba4225f0080db69f8f83f1cc7df954e | [] | no_license | pilarcormo/fragmented_genome_with_snps | e97b02272dcfbd887a0e44232ff66a0cd54d7edb | daeb1883a4f8f2a4c8096a62efd1e69cc0257a4e | refs/heads/master | 2021-01-18T21:22:54.370306 | 2014-12-28T12:16:43 | 2014-12-28T12:16:43 | 24,980,602 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 550 | r | reproduction_methods.R | reproduction_plot <- function(x_gen, y_fits, se, group, location, filename){
library("ggplot2", lib.loc="/Library/Frameworks/R.framework/Versions/3.0/Resources/library")
df <- data.frame(
generation = factor(x_gen),
y_fits = y_fits,
group = factor(group),
se = se
)
limits <- aes(ymax = y_fits + se, ymin = ... |
34552075e3f6dcedac58f31f169b87e63d769ed4 | 094f81c31a3cfd560b24280e476d5af4fb52b9e3 | /R/fixviolation.R | 6d5a7ce2a223d078525c8d1da2bb4c95583f1e40 | [
"MIT"
] | permissive | PJOssenbruggen/Basic | 6c2343dcb135cb364d059160925ded5cb43b5455 | 1885fa40d3318cc554b4dd80154b263baef19ac4 | refs/heads/master | 2021-01-25T11:57:19.583401 | 2019-01-04T13:03:32 | 2019-01-04T13:03:32 | 123,449,454 | 0 | 0 | null | 2018-03-05T12:26:55 | 2018-03-01T14:56:48 | R | UTF-8 | R | false | false | 11,031 | r | fixviolation.R | #' \code{fixviolation} produces of a safe headways for a following vehicle
#'
#' @return \code{fixviolation} is creates following vehicle trajectory that satisfies the safe headway rule.
#' @param veh vehicle, a number
#' @param zone from \code{dfcrit} matrix for vehicle \code{veh}, a number
#' @param df1df2 leading an... |
1f6b9f566b3d15e07828600d0007d97db87f54af | 21f54b374eb4a60d8e3e418185b78e65e747b6e6 | /prog_Lect8.R | 7052cf6580f664387296f5b24a3d6defa81028b4 | [] | no_license | marcos0318/FinancialDataAnalysis | 479855291a0863b43d0a1a01ebe2e00c5c4cc8a2 | d4298bd3eb706e2052f277a6dca7b6403a450e07 | refs/heads/master | 2020-03-28T15:15:35.434989 | 2018-11-01T12:44:35 | 2018-11-01T12:44:35 | 148,572,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,944 | r | prog_Lect8.R | rm(list = ls())
setwd("...//Lect5") # set directory
BHData <- read.table("...//SP_BH.csv",sep=',',header=TRUE)
attach(BHData)
### original price
par(mfrow=c(1,2))
plot(SP,BH, main="BH vs SP500")
BHSPl2 <- lsfit(SP,BH)
abline(BHSPl2)
plot(BHSPl2$residuals,type="l",main="Residual Plot of LS Regression of BH Against ... |
d91dc6593fa9435b4f3e217a9c1d9427b844b4b6 | 60e830955164b8f0ff21a3dbd850319bae68567e | /WaveformCode/AnalysisofDiscreteHeartRateStatisticalApproach.R | ee11bb5cd243043e23e42487514b62f98bc10332 | [] | no_license | BenLopez/UHSM_BHF | 739ed912182c36f2bf719d771c6392a1dfbe6f47 | 4afad6662f95f1d20f7270113c80a1836d035028 | refs/heads/master | 2021-05-26T07:31:07.476669 | 2019-12-03T09:52:56 | 2019-12-03T09:52:56 | 127,924,523 | 0 | 0 | null | 2018-10-10T11:03:39 | 2018-04-03T14:53:28 | R | UTF-8 | R | false | false | 10,722 | r | AnalysisofDiscreteHeartRateStatisticalApproach.R | pathFiles <- choose.dir(caption="Select folder with source code")
pathFiles <- paste0(pathFiles, "\\")
setwd(pathFiles)
source("LibrariesAndSettings.R" , print.eval = TRUE )
# Load patient index
path_PatIndex <- choose.files(caption="Select 2017 PatientIndex.csv file")
PatIndex2017 <- read.csv(file=path_PatIndex, s... |
3917c98f863bd070bc26660eddf49d3c49a10588 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/OasisR/examples/RCEPoly.Rd.R | 1b3b3387ec8d5c781b57bf3376b5aa24f85cadd9 | [] | 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 | 713 | r | RCEPoly.Rd.R | library(OasisR)
### Name: RCEPoly
### Title: A function to compute Polycentric Relative Centralisation Index
### Aliases: RCEPoly
### ** Examples
x <- segdata@data[ ,1:2]
foldername <- system.file('extdata', package = 'OasisR')
shapename <- 'segdata'
RCEPoly(x, spatobj = segdata, center = c(28, 83) )
RCEPoly(x, f... |
aa6d0a5e1edbcf1dd3dd7ec7b2593d134cf83ff7 | 29fae7bd72da57d6683c9e14f4753214bd02789b | /NN/fn/cd.weight.R | 7d443ae96f18d54621a21d5d060da39f10773d89 | [] | no_license | eugene9212/Machine_Learning_with_R | 8f7f2c8a837f073803f04cc41e95b88e3ea655a4 | 93beaa391057d1b795cbfaff91c706b8256c4645 | refs/heads/master | 2020-03-29T18:21:40.831846 | 2019-02-21T04:41:51 | 2019-02-21T04:41:51 | 150,207,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,827 | r | cd.weight.R | # CD Algorithm
cd.weight <- function(input, weight, bias_v, bias_h, learning){
# Demensionality Check!!
if (dim(input)[2] != dim(weight)[1]) output <- t(weight)
if (dim(input)[2] != dim(weight)[1]) warning("Dimensions of input and output are not identical")
# v : visible layer in RBM
# h : hidden layer ... |
5d503015a3b3609c0ebff5441999cb14fcd25871 | 5ad474ec063b6dc6b62250267c0575996aee2a3a | /Server_e_block.R | b19cb10f59f09334acae8bdc40a539bb07536523 | [] | no_license | JuanGaleano/Migration-and-Mobility-Survey | 2989e48fa75a23c7142f7e926ab2d1c51ae80e9b | a6d12d4a64b0f34a77ec10977d0421584ac78226 | refs/heads/main | 2023-04-19T11:34:50.640369 | 2021-05-14T17:33:28 | 2021-05-14T17:33:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 136,894 | r | Server_e_block.R | #### E1 WHAT WAS YOUR LABOUR MARKET SITUATION #####
output$E1_1_16 <-renderHighchart({
mar <- lapply(dmms, function(x){
x<-x[,c("E1_1","E1_2","E1_3","E1_4",
"E1_5","E1_6","E1_7","E1_8","E1_9",
input$magE,"year")]#input$magC,
colnames(x)<-c("E1_1","E1_2","E1_3"... |
4901fa00eb8cfcf3558222071ed0350420b26aef | 04a7e4899d9aac6d1dbb0c37a4c45e5edb4f1612 | /man/conv_type_1_table_lines.Rd | 6c943b0b31ba7aa76382f8fd8b3042312b11b625 | [
"MIT"
] | permissive | pbs-assess/csasdown | 796ac3b6d30396a10ba482dfd67ec157d7deadba | 85cc4dda03d6513c11350f7f607cce1cacb6bf6a | refs/heads/main | 2023-08-16T17:22:18.050497 | 2023-08-16T00:35:31 | 2023-08-16T00:35:31 | 136,674,837 | 47 | 18 | NOASSERTION | 2023-06-20T01:45:07 | 2018-06-08T23:31:16 | R | UTF-8 | R | false | true | 2,425 | rd | conv_type_1_table_lines.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conv-type-1-table-lines.R
\name{conv_type_1_table_lines}
\alias{conv_type_1_table_lines}
\title{Convert an Rmarkdown type 1 table into a simplified form with WYSIWYG
newlines}
\usage{
conv_type_1_table_lines(chunk)
}
\arguments{
\item{chunk}{... |
b4caa56b693969d007bff291a98b76cfbdadd012 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lcyanalysis/examples/up_function.Rd.R | 8b9373de06769ac927b0ec6cd0d16ac574614148 | [] | 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 | 224 | r | up_function.Rd.R | library(lcyanalysis)
### Name: up_function
### Title: up trend line up function
### Aliases: up_function
### ** Examples
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
up_function(aapl,20,1)
|
fea0bbbb769d69129c3ae995b19ee0183f816ccf | 2717925e436d4740eb5aef564b037f4cac45e64a | /tests/testthat/test_tmux.R | c03416703127b72701b10dc3938b89ee3552b4ce | [
"BSD-2-Clause"
] | permissive | mllg/gtfo | 5415faca17469cb5ede6dbbe86f4ee89d44b24f0 | 2541e68b6f76f94f37b55870029779a274452801 | refs/heads/master | 2020-03-18T13:17:35.653943 | 2018-05-31T11:40:02 | 2018-05-31T11:40:02 | 134,774,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | test_tmux.R | context("tmux")
test_that("tmux is detected", {
withr::with_envvar(list(TMUX = "foo"), {
expect_is(find_tmux(), "cmd")
})
withr::with_envvar(list(TMUX = ""), {
expect_null(find_tmux())
})
})
|
a080471b0936242dc5c21d6ad8cd754f64047f11 | a188192e32330117438c7bb2b4681ff515b4e775 | /man/cleanQMJ10QMonthly.Rd | 721c5c79d443ef014620e505c23299e982081db0 | [] | no_license | jrs9/FFAQR | 6e5e80efced864c9f3f1ad0bbf0882878d8b1def | fd4f45a4a83899112ee8676113990c5e92c2c131 | refs/heads/master | 2016-09-05T20:20:01.386675 | 2015-01-28T15:17:18 | 2015-01-28T15:17:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 372 | rd | cleanQMJ10QMonthly.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/cleanQMJ10QMonthly.R
\name{cleanQMJ10QMonthly}
\alias{cleanQMJ10QMonthly}
\title{Reads in, cleans, and subdivides daily QMJ10QMonthly data set in data folder.}
\usage{
cleanQMJ10QMonthly()
}
\description{
Reads in, cleans, and subdivi... |
0ce122499fc5fcbfba23cad93dd1688ae689a39e | 2dcdabb1e68f1068000ddc3bfcbeec4cc7386e21 | /man/signal_func.Rd | c06bf6b77522675a9859cc664c7b7669e61b1aca | [
"MIT"
] | permissive | dozmorovlab/preciseTAD | 026a98aab76f46cd8df3301020c996677a224d01 | 4b71866911061eb3bf2f79584bc7ff219c7bae16 | refs/heads/master | 2023-05-23T21:24:02.386063 | 2022-04-22T01:47:12 | 2022-04-22T01:47:12 | 278,137,960 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 501 | rd | signal_func.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/signal_func.R
\name{signal_func}
\alias{signal_func}
\title{Helper function used to create signal type feature space}
\usage{
signal_func(binned_data_gr, annot_data_gr)
}
\arguments{
\item{binned_data_gr}{A GRanges object}
\item{annot_data_g... |
eae536ec6c8b4ffd625133731699aa262c3fe2a8 | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/tools/man/undoc.Rd | 6ad76ec7bf4707c89e8f576d3e862101baeee870 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 2,143 | rd | undoc.Rd | % File src/library/tools/man/undoc.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2007 R Core Team
% Distributed under GPL 2 or later
\name{undoc}
\alias{undoc}
\alias{print.undoc}
\title{Find Undocumented Objects}
\usage{
undoc(package, dir, lib.loc = NULL)
}
\description{
Finds the objects ... |
01ea3a22e222be0e0170b5f8598ca1a115bfff5d | 94cfb0deb1dad7940a3ba4c5d7c7d60e293a0bc5 | /TestFunctions/test_ggplot2.R | 71e51ae6f065cfbed67773973ed4e9d26c5f90eb | [] | no_license | fredcommo/CGHObjectsSources | 13334364b625d43e965700edca16f450f3cd9284 | 613143d5ebd30ff290dc0b31d3136bd032925b8c | refs/heads/master | 2020-03-29T09:35:34.126976 | 2013-10-19T18:52:18 | 2013-10-19T18:52:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,774 | r | test_ggplot2.R |
locateChr <- function(y){
colText = 'grey40'
colLines = 'grey80'
arrayInfoPath = '/Users/fredcommo/Documents/Projet Safir/Arrays Infos/'
hg19 <- read.csv(paste(arrayInfoPath, 'human.chrom.info.hg19.FC.txt', sep = ''), header = TRUE, sep = '\t')
cumLen = cumsum(as.numeric(hg19$length))
cumCentr <- 1/2*cumLen[1]
... |
f893074243fc061f4454f5620caa4557b9765aa3 | aa7dd0af20f44056cff5da956eb6911c232a77ce | /man/plot.FDAimage.Rd | ff063abbc4512377c99d0aed8cf2dcb308b98bc7 | [] | no_license | FIRST-Data-Lab/FDAimage | b5f92040c90c90ed8afb45af06471cb204e7b7c1 | 82def691e3089d0a056d1dd1f869385b68aacd8b | refs/heads/master | 2022-02-27T16:40:13.924022 | 2019-10-11T01:43:08 | 2019-10-11T01:43:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 656 | rd | plot.FDAimage.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.FDAimage.R
\name{plot.FDAimage}
\alias{plot.FDAimage}
\title{Produces coefficient function plots for a fitted "FDAimage" object.}
\usage{
\method{plot}{FDAimage}(mfit)
}
\arguments{
\item{mfit}{Fitted ``FDAimage" object.
\cr}
}
\value{
N... |
ed0679cabe9fc6e20c5bd6b7a002d75a6e422dea | 7e2366414e85d27c7487944dc0ac64a6a87e216b | /Predicted_observed.R | b8568f1968e9254cbb9153238cecf790495cf6a0 | [] | no_license | JanBaert/Per-capita-interactions-and-stress-tolerance-drive-stress-induced-changes-in-biodiversity-effects | f54738078ad971e650c885da4e4ead5d897558dc | eefc27602c8dbcbbbb9ac4ef33c134c32781c695 | refs/heads/master | 2021-01-09T20:53:24.371084 | 2016-06-30T11:57:55 | 2016-06-30T11:57:55 | 58,455,402 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,561 | r | Predicted_observed.R | # set working directory
setwd("/Users/Jan/Documents/UGent/Data/Experiment 1/Supporting information")
# load packages and data
require(deSolve)
load("data_biov.RData")
# load vector with the order in which parameters were estimated
load("compositions_list.RData")
# load model precitions
load("MC_out.RData")
... |
1aae58d897723711509c48f3d00cb31d0e077089 | 3be81a994b1ba51fb5fad7ef9bf2bde7ef039e44 | /man/allCounty.Rd | 6dcb8d209099c2497c1d8f62b205fab5f27c1f50 | [] | permissive | mthomas-ketchbrook/tidyUSDA | 73e8b67f06b64725105f3aacf407a7b3273e9374 | bcf918743d3b726337576791a297498ba1468b04 | refs/heads/master | 2020-07-11T09:22:18.022960 | 2019-09-11T16:21:53 | 2019-09-11T16:21:53 | 204,502,010 | 0 | 0 | MIT | 2019-09-11T16:21:54 | 2019-08-26T15:10:29 | R | UTF-8 | R | false | true | 378 | rd | allCounty.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-allcounty.R
\docType{data}
\name{allCounty}
\alias{allCounty}
\title{All possible values from the COUNTY field.}
\format{A vector with 1 variable}
\source{
\url{https://quickstats.nass.usda.gov}
}
\usage{
allCounty
}
\description{
All po... |
223b151edff0870ede66dcd528be978cd7dbbe51 | 198f171a9d02f67e8e6cbf58303583dc2b5f656c | /plot4.R | 3b95becde8276b1725ebc686b9356090ce6848b1 | [] | no_license | sorenlind/ExData_Plotting1 | 653d4f429ca9d14624b358606f114ab29da7a7e6 | 5f622551cfbb1502d967f8cfab1db0bb6377e718 | refs/heads/master | 2020-12-25T08:37:41.486341 | 2015-08-09T17:01:53 | 2015-08-09T17:01:53 | 40,360,954 | 0 | 0 | null | 2015-08-07T13:07:37 | 2015-08-07T13:07:36 | null | UTF-8 | R | false | false | 1,020 | r | plot4.R | source('./common.R')
# Read the data used for plotting
plotData <- readData()
# Open PNG device
png(file = "plot4.png", height = 480, width = 480)
# Make space for 4 plots in one and set transparent background color
par(mfrow = c(2, 2), bg = NA)
# Create the plot
with(plotData, {
# Top left plot
plot(Global_act... |
6f87d079ee0a18600a9377f842648ba847b1c96f | 4d449c0a0aba578bd843499661325a5b95c6c745 | /master_scripts/air_vars.R | c390e9828a691a10acc6a014eaf1661492b5a28e | [] | no_license | CourtneyCampany/selaginella | b90df01b1fb52d7352d91cea7a2376125e6cb54a | f68c72c99e8a97afa961764599cd496605fe8a5e | refs/heads/master | 2021-06-30T11:05:27.493146 | 2019-05-13T17:25:53 | 2019-05-13T17:25:53 | 104,884,411 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,981 | r | air_vars.R | source("master_scripts/plot_objects.R")
##micro climate data for site conditions for selaginella
clim <- read.csv("raw_data/microclimate.csv", stringsAsFactors = FALSE)
library(lubridate)
clim$datetime <- mdy_hm(clim$datetime, tz='UTC')
clim$site <- as.factor(clim$site)
library(plantecophys)
clim$vpd <- RHto... |
6928f5553b051864c4784a5b9f1057d7268cdbde | 27771fb1e6ede18171011e29c028f955238c3bd9 | /R/FWI_ERA5_grab.R | 21f0a457096da6eddec3026a0b08a9ab9a300f6f | [] | no_license | xynpocari/DCCW | 1eb84de7673c55134a8e6686b6982558a0a8dfb7 | 775ebf992f192a849ac43622e6c3ba44f1f20ea4 | refs/heads/main | 2023-08-07T09:19:25.677117 | 2021-10-04T22:39:07 | 2021-10-04T22:39:07 | 356,772,041 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,180 | r | FWI_ERA5_grab.R | #' Grab FWI metrics
#'
#' Extract daily rasters for Fire Weather Indices calculated using ERA5 Reanalysis data to a user-defined date range and spatial extent.
#'
#' @param variable A string or vector of FWI metrics. E.g. \code{c('FFMC','DMC','DC','ISI','BUI','FWI')}.
#' @param overwinter_DC Logical. Should FWI me... |
d841ac68ce77ba51302a4a452e364075aec4eff3 | a285601f8addbee198781ccb560e217b40601c31 | /altura_solar_resultados.R | 99a8e8ec7a555cfdd807be93405b5d6f6c7fadf4 | [] | no_license | Cicconella/Mestrado | 20de71b2337f2660552eae0ebebf8891598ee12d | 9a414141c03452c7611db6f0aabe51cf9eafb138 | refs/heads/master | 2021-01-21T13:07:29.911278 | 2018-01-10T09:49:35 | 2018-01-10T09:49:35 | 91,807,251 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,384 | r | altura_solar_resultados.R | library(qqman)
i=1
altura = c()
for(i in 1:22){
cnv = read.table(paste("/media/cicconella/01D2FE834EA51BE0/Documents and Settings/Nina/Google Drive/Mestrado/Cromossomos/cromo", i, sep=""), header = T)
cnv[1:10,1:10]
a = read.table(paste("/home/cicconella/solar831/Chr", i, "/altura/resultados/p-values"... |
d80d0ec05c41eac6e82522acebf7481becf6d352 | eb4667b178e418d936c35569383e5cb0663f93ad | /R/ind.contrib.R | e7b63a30f7cca7596258f262313e0651cf2e23c2 | [] | no_license | cran/RVAideMemoire | 21081d49de9999a7438c40de05ab67a145336a02 | 6a48aaa7facac606e954b06a9cc1ea46b387d575 | refs/heads/master | 2023-08-31T00:44:09.327145 | 2023-08-23T07:30:05 | 2023-08-23T09:30:39 | 17,692,998 | 7 | 7 | null | null | null | null | UTF-8 | R | false | false | 2,061 | r | ind.contrib.R | ind.contrib <-
function(model,print.diff=FALSE,graph=TRUE,warning=25) {
if ("lm" %in% class(model)) {
coeffs <- model$coefficients
coeffs.diff <- lm.influence(model)$coefficients
} else if ("least.rect" %in% class(model)) {
coeffs <- model$coefficients
coeffs.mat <- matrix(ncol=2,nrow=nrow(mo... |
c1a418cb9c21cc0c635eb23512d6cdbf2d07bdfc | 95be3f083f504afb5898a8cec46397f5e01e15bb | /download.site.filesFn.R | 9b36460789f38953573286c445186c7515f4c77d | [] | no_license | Kevin-M-Smith/nwis-simple | 906ecf11be27ba73ca9d042618905c65f0e19034 | da3cb3d6a25134ed9f5f74309bc851cc778c91a5 | refs/heads/master | 2021-01-13T14:13:11.416348 | 2015-01-05T16:51:26 | 2015-01-05T16:51:26 | 28,007,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,211 | r | download.site.filesFn.R | download.site.file <- function(state){
#print(paste("Collecting active sites from ", state, "...", sep = ""))
url <- paste("http://waterservices.usgs.gov/nwis/site/?format=rdb&stateCd=",
state,
"&period=P5W&siteOutput=expanded&hasDataTypeCd=iv,id",
sep = "")
active <-... |
6fdf42249c697f92460b137128072eb2c9a64887 | d9559311f50a4fccc915a4a5cb4516aa014ee24f | /maxandmin.R | b4a502009b55282bd41ee1e3dfae4b9546e1b101 | [] | no_license | a168828/R_SCRIPT_CODES | fb0b27143bd6a584cac35eb7157d96abf4a69aeb | 09ef0347fad1577022eccbf99825d949b5e5ff68 | refs/heads/main | 2023-06-01T01:03:20.445962 | 2021-06-13T18:34:25 | 2021-06-13T18:34:25 | 376,614,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 43 | r | maxandmin.R | fe<-c(20,30,77,1,23,6,10)
max(fe)
min(fe) |
68bbe285fd16f6e350138ada1a4662f287f7d2de | 18fb990a4c3c45a72f816be5eeb146c5c1162983 | /man/odds.ratio.Rd | 457fd4f412de187243f7b11fb1962025d7bd8afe | [] | no_license | yijaeseung/samplesizeCMH | 576573fb07238ed3f64f92568f79412104a5d12b | 53c30dd1803a7f5e1e138d81da84eb28cf249b52 | refs/heads/master | 2023-03-17T19:23:46.242510 | 2019-12-03T06:28:27 | 2019-12-03T06:28:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 967 | rd | odds.ratio.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/odds.ratio.r
\name{odds.ratio}
\alias{odds.ratio}
\title{Create an odds ratio estimate from a 2-by-2 table of frequencies or proportions}
\usage{
odds.ratio(x)
}
\arguments{
\item{x}{A two-dimensional matrix or table containing frequencies or... |
8096ed21b787b95a31c1091497c3a89898fe69fb | d5a9254953c538b7162c5b77fa663a5a11b47986 | /training/sample.r | dc44b3c998b514b49751293bf1ccdc13f9d12bb5 | [] | no_license | mcelevan12/picture_dimensionality | dba8ba9a90ec5b732ddea730bafbf84feea9811b | 33c1e1518759f9970d3d28e016055a4c37744768 | refs/heads/master | 2020-04-23T17:58:16.148343 | 2019-03-19T19:41:28 | 2019-03-19T19:41:28 | 171,350,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,298 | r | sample.r | #Sample script for running a model of aclove on PCA08
st = list(c = 2.3, phi = 4.4, lw = 0.2, la = 0.1, r = 1, q = 1, w = matrix(0, 2, 18), h = matrix(c(1.246941135940084, 3.8921262091647004, -0.18739697773108563, -0.8740265465228294, 1.512747971612059, 0.6069902130842613, 0.12495299159147684, 0.5523350257852532, 0.628... |
9e2c73d8f3a092025ff627dcf3944ff98206e3c8 | d3f20ed2a13eb9ca153094f15c2e351e2642cb19 | /ds/assignment.R | 274d02474f41fb55c20649beb1182166806053ee | [] | no_license | apoorvakarn/R-in-Action | b7d0003d9d0be0755b7710903fb56984a59dda9b | 923dfe1f12cecfdd1511d2d55e4a4796499f9c82 | refs/heads/master | 2021-09-11T19:49:45.127777 | 2018-04-11T18:01:48 | 2018-04-11T18:01:48 | 100,679,882 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 706 | r | assignment.R | #assignment
marks2a= c(10,12,13,14,17)
marks2a
sum(marks2a)/length(marks2a)
#discrete
marks2b=c(10,12,13,14,17)
marks2b
student2b=c(5,7,9,8,4)
student2b
sum(student2b)
(markstotal = marks2b *student2b)
sum(markstotal12b/sum(student2b))#13.06061
x=rep(marks2b, student2b)
table(x)
mean(x)
#continuous
marks2c=c("10-20",... |
c2e7dba3515f2ef4b60c25c4de757188e901e206 | 7489894195a361f5b66b3b2e75c86270e83fa9bc | /R Assignments/Logistic.R | cd9967948a5fb9a3cdc2837a49d624ca35c6710d | [] | no_license | nityanandkore/6211-Advanced-BI | daabfc2dfe25d26a74a201be98ed4a65be3f1561 | 105ce19871ae7298183ab87ac7297a09dc4919da | refs/heads/master | 2022-11-28T09:53:35.916492 | 2020-08-05T13:53:23 | 2020-08-05T13:53:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,152 | r | Logistic.R | #install.packages('caret')
#install.packages('car')
#install.packages('e1071', dependencies=TRUE)
#install.packages('pROC')
#install.packages('dplyr')
#install.packages('Hmisc')
library(caret)
library(car)
library(pROC)
library(dplyr)
library(Hmisc)
getwd()
setwd("C:\\Users\\P2190101\\Desktop\\NK Pe... |
27271d6612a6524e8d536ce139a8042e1ee9d4e3 | cba1565eb4da432bfed9251b135dc36448db91d4 | /Intro to the Tidyverse/Intro to the Tidyverse worked example.R | 8ecf63aa501fcb71bc63c8a0fa1fdb8099f4c34a | [] | no_license | NeuroShepherd/R_Coding_Presentations | b92118385d9befc9e3827d6453800a781a75c9e9 | b19afd0ac417a4c14efe2e19c5d337ee7f546bc2 | refs/heads/master | 2022-12-13T02:38:31.200054 | 2020-09-02T00:43:00 | 2020-09-02T00:43:00 | 260,514,647 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,325 | r | Intro to the Tidyverse worked example.R |
# Turn mtcars into a .csv to later demonstrate read-in of it
# mtcars %>%
# tibble::rownames_to_column(var = "car_name") %>%
# write_csv("./Intro to the Tidyverse/mtcars.csv", na="")
install.packages("tidyverse") # Run 1 time
library(tidyverse)
# Pipe
read_csv("./Intro to the Tidyverse/mtcars.csv", na="") %>%
s... |
4381d880532e490583c4b259ddab61a84c384505 | 1fff2d2af75f6912effd3a9751fa8a8025f17c34 | /run_analysis.R | 4cd7d0706172d71ce8412047f06ea9b1d2b61495 | [] | no_license | harishsmenon/getting-and-cleaning-data-project | 8e127d9af5634c6e3b0d64f5899e38c6755e0f14 | 15d4a8856246c02d3b982016c2a8a9584249af7e | refs/heads/master | 2021-01-10T11:04:00.356431 | 2015-10-25T22:04:36 | 2015-10-25T22:04:36 | 44,931,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,205 | r | run_analysis.R | ##Coursera Getting and Cleaning Data Course Project
##Data: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
##1) Merges the training and the test sets to create one data set.
##2) Extracts only the measurements on the mean and standard deviation for each measurement.
##3) Uses d... |
89b827cdcda0b504c655d42d36e88c5e4d69c93d | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Thermodynamics_And_Heat_Power_by_I_Granet_And_M_Bluestein/CH6/EX6.6/Ex6_6.R | e6d142deb98f1dc2fedf03e1749ae5944cc4f1d7 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 144 | r | Ex6_6.R | # page no. 245
p = (200+14.7)*(144)
T = (460+73)
V = 120/1728
R = 1545/28
v = (R*T)/p
print(v)
print(V/v)
m = (p*V)/(R*T)
print(m)
|
856ffc4ea72089385133421975c764ad415f1f88 | 0458269a55d2b0fcf5fd8994b20a326e607f3951 | /tests/testthat/test-4-guess-hdTypes.R | a6a51483c9165d5205b8d0d238944e0033ac13f9 | [
"MIT"
] | permissive | brazadas/homodatum | 9b403b1addc243838f8c1d3b0d0a3a6a7c8ed312 | 6f939b13cc5851a18331cff9d5d09edb54dc935e | refs/heads/master | 2023-01-02T15:24:00.094165 | 2020-10-28T19:04:05 | 2020-10-28T19:04:05 | 298,450,580 | 0 | 0 | NOASSERTION | 2020-09-25T02:48:14 | 2020-09-25T02:48:13 | null | UTF-8 | R | false | false | 2,097 | r | test-4-guess-hdTypes.R | test_that("Test guess", {
# Guess Cat
v <- c("MSPS-CD-166-2020", "003-2020", "0811 - 2020")
expect_false(isDate(v)) # Test if there are letters
expect_equal(guess_hdType(v), hdType("Cat"))
v <- c("10306908", "900935265", "9010385043", "9010385043", "9010385043",
NA, "901046823", "830035101", "9004... |
1f0ef022e999e3dbba43329e7823d909b1d651a3 | cf2cb09f424281adde2c9411a6a2cea8011b01e6 | /R/addRepeats.R | a520009acfd9795788c7ac2b5388bcfc8c3a5ab4 | [
"MIT"
] | permissive | crisprVerse/crisprDesign | b58eb93beaf1699b1eb585875939d0249d0dce4c | 98724dbafe87863723bf829f9300cafa5852c130 | refs/heads/master | 2023-07-22T06:35:25.615889 | 2023-07-19T18:09:09 | 2023-07-19T18:09:09 | 523,800,050 | 11 | 3 | MIT | 2023-07-19T18:09:11 | 2022-08-11T16:48:52 | R | UTF-8 | R | false | false | 4,786 | r | addRepeats.R | #' @title Annotate a \linkS4class{GuideSet} object with repeat elements
#' @description Add an annotation column to a \linkS4class{GuideSet} object
#' that identifies spacer sequences overlapping repeat elements.
#'
#' @param object A \linkS4class{GuideSet} object or a
#' \linkS4class{PairedGuideSet} object.
... |
b2985fa0a07330afa6e208a00ae62557d509de65 | ce0a89ee1244e995c160d3202ebedb3ff860c3f3 | /Scripts/Others/3GO-KEGG 2.R | 20c56764c423fd34da4dfeeb947c204dec5e4ede | [] | no_license | Iceylee/NGS-Pacbio | 1dc8d9f7e6327414dffe8500921fa2cf1e56fe72 | 4d4f6052eff9ae13b170e8f8431e79ed5b39d6ca | refs/heads/master | 2020-04-05T06:32:17.031168 | 2019-09-04T03:34:24 | 2019-09-04T03:34:24 | 156,641,487 | 9 | 5 | null | null | null | null | UTF-8 | R | false | false | 5,238 | r | 3GO-KEGG 2.R |
library(clusterProfiler)
library(DOSE)
library(dplyr)
require(AnnotationHub)
library(tidyr)
hub <- AnnotationHub()
db <- hub[[dbname]]
groups = paste(exp_group,base_group,sep="vs")
sig_path = paste("result/2sigGene-volcano/",groups,"_sig_genes_exprData.txt",sep="")
gene_list <- read.csv(sig_path, sep = '\t',header =... |
310d368e70bea4e6c3e07cba41d69d8e09b4d963 | 2e088636e49553ac6840b71ce44b16d2840fea4e | /cachematrix.R | 16c0bef6ba7b0c36ac98ac63cf009e9175b78499 | [] | no_license | marco2508/ProgrammingAssignment2 | 55caae2712a3b30114e2341bb81d8b60594ff533 | 0b3e2eaec326ea24c8e5d3092007ad3745c81114 | refs/heads/master | 2021-05-23T08:38:38.365390 | 2020-04-05T10:45:27 | 2020-04-05T10:45:27 | 253,203,125 | 0 | 0 | null | 2020-04-05T09:56:50 | 2020-04-05T09:56:49 | null | UTF-8 | R | false | false | 3,714 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
#lastig; first have to understeand what an inverted matrix is
#https://masterr.org/r/how-to-cache-a-matrix-inversion-in-r/
# change ... |
9238a9f2b1b61e0311c7f49e0613bece07e644d7 | c52178f855f814c05e75ab1559a5c7de129a4ef8 | /R/problem.R | 3555b8795d72e4d7af371a8a64fa2da9d2e1685d | [] | no_license | prioritizr/prioritizrutils | 36471915f8334ec53d954cd7c7676075fee5e0b7 | fa5c2d446e1fef5eba6000f4377396fa99fb60fc | refs/heads/main | 2021-11-25T01:01:03.703861 | 2017-03-08T01:59:51 | 2017-03-08T01:59:51 | 82,646,326 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,422 | r | problem.R | #' @include internal.R ConservationProblem-proto.R
NULL
#' Conservation planning problem
#'
#' Create a systematic conservation planning problem. This function is used to
#' specify the basic data used in a spatial prioritization problem: the
#' spatial distribution of the planning units and their costs, as well as
#'... |
d2b3172fe7fd79e6c31a8031f509d61c1d339935 | 4e1488f653357a617512d0576d36596397f41ed5 | /scripts/pronostico/drafts/comportamiento_horario/creacion_automatica.R | 1f62b13d152d1e44619f2c4f9fa2ccba5b12b22c | [] | no_license | DanielRZapataS/general_forecast_engine | 3e66f0f79d831c04fb234ac45523ae7023afb480 | ac8ab701b6028d85156a95ea35751b9f7393a7a8 | refs/heads/master | 2020-11-25T14:09:05.396161 | 2019-12-17T22:25:11 | 2019-12-17T22:25:11 | 228,707,456 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,887 | r | creacion_automatica.R |
#' #clean a process original bases to create month staging table
#' #' @param original_path : path field where original base_list[[i]] places
#' #' @param staging_path : path field where staging base_list[[i]] places
#' #' @return : staging table
original_path <- "Y:/V2.0/data/staging"
staging_path<- "Y:/V2.0/data... |
a7ded974f1d181e5342d6917d6750f75d6414c75 | 2646dea4810b1fcf9b0c6e198a3a994f22ddaada | /cachematrix.R | 4fb4763c3f2952c8b94b73a56566b82cb9fc11fd | [] | no_license | sangitadas118/ProgrammingAssignment2 | aac1e357d08ec52917c558332695888cc0e0d12e | ce025016dcbe0511465654cc8e34eff5a4c40db1 | refs/heads/master | 2022-12-16T22:48:56.251576 | 2020-09-19T13:15:17 | 2020-09-19T13:15:17 | 296,857,446 | 0 | 0 | null | 2020-09-19T11:51:17 | 2020-09-19T11:51:16 | null | UTF-8 | R | false | false | 731 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
inve<-NULL
set<-function(j){
x<<-j
inve<<-NULL
}
get<-function() x
setInverse<-function(solveMatrix) inve<<-solveMatrix
g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.