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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20bafcc58f8f787bb18c74366b6a43b514938a7f | ace889efe2683b178c4195f8209b955e78392f88 | /3.1- POPULARITY OF MUSIC RECORDS.R | aef6c78301f4b0feb98f9b51ffb14a9d1bdd56fa | [] | no_license | lucaslrolim/MITx-15.071x | 7517bc79fb6a51a6189e9d90e333afcca29f3dbe | 3cbbc08ce90d1744b90745390628f8b2be8c7862 | refs/heads/master | 2016-09-13T13:06:51.777416 | 2016-06-04T05:00:08 | 2016-06-04T05:00:08 | 57,808,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,044 | r | 3.1- POPULARITY OF MUSIC RECORDS.R | songs <- read.csv("./data/songs.csv")
# How many observations (songs) are from the year 2010?
length(songs$year[songs$year == 2010])
# How many songs does the dataset include for which the artist name is "Michael Jackson"?
length(songs$artistname[songs$artistname == "Michael Jackson"])
# Which of these songs by Michael... |
ea0e39a852f2a8fa6c6360b25168ba305240078c | b59142edc6f40f965bdb9ff4bda1cdc54c2ddb60 | /man/zinb_regulated.Rd | 2b1701334276257624a2b2c633f18671ab6bccae | [] | no_license | SkadiEye/RZiMM | 8de9b45f116ebf1cda8c474897bfd7f6eebddba8 | c846b2e61c404a073e65b5121372d88fcaf6b5b1 | refs/heads/master | 2022-09-29T05:06:50.478481 | 2022-09-24T06:01:21 | 2022-09-24T06:01:21 | 248,108,047 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,840 | rd | zinb_regulated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/2-1-c-RZiMM-Count.R
\name{zinb_regulated}
\alias{zinb_regulated}
\title{A Zero-Inflated Negative Binomial Model
- for RZiMM-Count Model}
\usage{
zinb_regulated(
y,
g_ind,
m_ind = NULL,
g_list = NULL,
m_list = NULL,
gm_list = NUL... |
849ae287dc98892aebfa196d42dfe8d817a66811 | 4dadd6709aef1a3da646f1b7f8fc23b3c017d88f | /sna_um_cleanup.R | 71b24e0d1c5d8928da783618ff9e2c6dfa769ba7 | [] | no_license | katerinabc/sna_at_um | eefc97aa9e9b158e53bfb2e5447861fc57c3faac | d09a13928f368f440aadb5a1216d7b0e8f52dfdb | refs/heads/master | 2021-01-10T09:39:54.059691 | 2016-04-11T00:55:26 | 2016-04-11T00:55:26 | 55,929,876 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,803 | r | sna_um_cleanup.R | #Script to analyze SNA at UM dataset.
#Created on XX November 2015
#Updated March 6th 2016
#next step: combine answers for project 2
# analysis ----------------------------------------------------------------
#do logistic regression
#calculate network characteristics for its members.
#indegree, outdegree, density fo... |
7551217c4f04af5e1900964e92f33a60cae0cf71 | d2de2f3709fb5a8fb0a7cd468f28a960452f170c | /includes/bernoulli.R | 058b2e2bb395b4f1d854e582e61ace19870120d9 | [] | no_license | spolischook/probability-theory | 8c1eaef6874e76b1f5108527065ce9d83a010658 | d0537c92a323923feaefcf0701a347710196403a | refs/heads/master | 2020-03-29T01:04:11.710925 | 2018-11-12T08:08:38 | 2018-11-12T08:08:38 | 149,369,743 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 275 | r | bernoulli.R | # Title : Formula Bernoulli
# Objective : Authomate probability computitions
# Created by: spolischook
# Created on: 9/19/18
source("combinatorics.R")
fBernoulli <- function(p, m, n) {
q = 1 - p
omega <- combinations(m, n)
return (omega * p^m * q^(n-m))
}
|
7e8cdf2a9ef5d6dce980728dfd38bfd8949b6f2d | 5d598bd59b2b566fd49bc1c6bd8fe0c803df32d1 | /scripts/loadDataHomePower.R | 6ff0c4b201626ebf59037e62466b58510af432cb | [] | no_license | caritosteph/exdata-plotting1-proyect1 | 846c822eb0b55d8775b2b678dd2442367c9bed34 | 759f8d65d2e27ff8580fdbf67c9cfa5e3c6fc20f | refs/heads/master | 2021-05-29T16:25:34.742054 | 2015-07-12T22:12:52 | 2015-07-12T22:12:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,118 | r | loadDataHomePower.R | #Lubridate makes it easier to work with dates
#and times by providing functions to identify and parse
#date-time data
library(lubridate)
# Save it to an new file for easy access later.
if (!file.exists('houseHoldPower.rds')) {
download.file(paste0('https://d396qusza40orc.cloudfront.net/',
... |
bcfe0543fbade0c4f5736b00aa9be79da3de7be0 | ad92f7dc6023fc05c51a175f93782229ef36e062 | /R/internal.R | 9073f874eab5282dab97f768ecf67f464b604f8f | [] | no_license | aoles/remedy | e0bf9668ac78e4d8cd6393ba192e2f41c21e2465 | efd85f33733aa9295500d4ed78367c1a8144a047 | refs/heads/master | 2020-03-20T11:31:07.959921 | 2018-06-23T12:25:51 | 2018-06-23T12:25:51 | 137,405,448 | 0 | 0 | null | 2018-06-14T20:22:57 | 2018-06-14T20:22:57 | null | UTF-8 | R | false | false | 675 | r | internal.R | #' @importFrom rstudioapi getSourceEditorContext insertText
add_prefix <- function(prefix) {
a <- rstudioapi::getSourceEditorContext()
s <- a$selection
n <- length(s)
# if no text is selected
if (n == 1L && nchar(s[[1L]]$text) == 0L) {
pos <- s[[1L]]$range$start
pos[2L] <- 1
rstudioapi::insertTex... |
06ba590afa3043c01f9142010eefe3fce943b6d6 | e0e0b867a2caef5899addb185f5641a1ff6c23b0 | /R/import.R | b7535c621552592db32e90fe9a96a4136942fec8 | [
"MIT"
] | permissive | mstaniak/giosDownloader | fba1d21f13ba1590fe2b748b9c913d4e3c480f83 | a8b3b220fa6174378e7c32e69c5664550965a042 | refs/heads/master | 2022-02-15T23:07:09.937778 | 2019-08-26T12:14:34 | 2019-08-26T12:14:34 | 103,324,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,859 | r | import.R | #' Check if there are any measurement on a given stations for chosen year and polutant.
#'
#' @param chosenYear year of measurements
#' @param chosenPolutant measured polutant
#' @param station station of interest. Please provide current names of stations (values, not names of stationCodes vector)
#'
#' @return logical... |
47c45124b1e8efdd70468ee3683e7395f594d41e | 833fef7d1324f759c7627e46851f6d863f87d07a | /work_groups/occurrence/funcao-limpeza.R | 70ddd255c422db9d3bed1c0752aba9ad59caa9b2 | [
"MIT"
] | permissive | LEEClab/SDMGroup | a3796145d04706bf94c4f23ec0d7d6062f00ba27 | e511d46a2645523675816c345a91d596fd10965b | refs/heads/master | 2020-04-06T04:06:30.723505 | 2018-02-26T14:43:49 | 2018-02-26T14:43:49 | 83,036,807 | 6 | 1 | null | 2017-06-04T03:50:39 | 2017-02-24T11:55:14 | R | ISO-8859-1 | R | false | false | 7,136 | r | funcao-limpeza.R |
limpeza<-function(occ.tmp=data.frame(na),
background.pol,
remove_latlongNA0=TRUE,
remove_anoNA=TRUE,
remove_limiteespacial=TRUE,
check.country=TRUE,
check.state=TRUE,
check.municipality=TRUE,
... |
8f94b826ce2e9ab7f8f88dd6bc9b0046dfc2cab1 | b50dbb928f0fec2a278f03d277af50d725ef0619 | /morex_v3/pericentromere/get_pericentromere_positions.R | 2fb48baa7c291f85f056eab6697da8014c631506 | [] | no_license | MorrellLAB/morex_reference | 2768861cf4324864cb0317e771be600cc59286e1 | 9bd91f1063e836604d036b8239f769c97a4e82f9 | refs/heads/master | 2023-06-11T13:49:38.423120 | 2023-06-08T16:55:12 | 2023-06-08T16:55:12 | 191,996,559 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,627 | r | get_pericentromere_positions.R | #!/usr/bin/env Rscript
# This script is based on Ana Poet's approach to finding the pericentromeric positions.
# See: https://github.com/lilei1/9k_BOPA_SNP/blob/master/script/PositionCentromeres.R
# Morex v3
# Dependencies
library(gtools)
library(data.table)
library(tidyverse)
### User provided arguments
# List of S... |
144bdd3c27ffd0cb989b41445c01c3cff88224a4 | 1c7a127d6f51567bde7264d768537059a2563cec | /social_network_info_spreading_simulation/network_influence_spread_simulation.R | 287c485fc4e0071f5c16e7c0684b310f7010b6a5 | [
"Apache-2.0"
] | permissive | Haydart/RDataScienceIntroduction | 51aa1bc6599e783ced09fadc25714d0bab6af36d | 8bec4be5368f4f3fbb1cea052401361ccd499e7d | refs/heads/master | 2021-08-15T04:01:27.576793 | 2017-11-17T09:38:09 | 2017-11-17T09:38:09 | 109,005,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,241 | r | network_influence_spread_simulation.R | library(igraph)
# prepare network data
raw_graph_data = read.csv(file="social_network_graph_data.csv", header=FALSE, sep=" ")
graph_data <- raw_graph_data[3:nrow(raw_graph_data), 1:2]
str(graph_data)
raw_graph <- graph_from_data_frame(graph_data, directed=TRUE)
graph <- simplify(raw_graph)
# Erdos-Renyi graph grap... |
6a0f8fe691727391c29ae0c884d09f12007753e2 | 251ddd5c2af5268d1d1624c1804c7c94da25ca5f | /Study/Dal.R | 48ecf10bad80aeb4b72c052d9c565abbb201e622 | [] | no_license | mandar2812/FrugalML | 5e9ca461b74df8a2c1d4e2694d6dfbbee1ab6909 | bbf60a36880abd4fdd72640f1b7ccfd667f5d516 | refs/heads/master | 2021-01-12T07:59:23.611050 | 2016-12-11T23:42:01 | 2016-12-11T23:42:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,074 | r | Dal.R | oldwd <- getwd()
setwd("/home/mikhail/Desktop/GitProjects/FrugalML")
files <- list.files()
# features of a data set
qualities <- read.csv("openml_data_qualities.csv")
separate_qualities <- split(qualities, qualities$dataset)
dataSize <- qualities[qualities$quality == "InstanceCount", ]
dataSize <- dataSize[... |
9bbd1fd68ecf111e174aa16d72d8fd669fe414b9 | c744f8c5401d2ca760d22d556fa2ecbebde39a56 | /rkvstore/man/rkv_iterator_size.Rd | 22d6663c9bffcc9a0fd82dc7b0944cbe548197eb | [
"Apache-2.0"
] | permissive | sshyran/oracle-nosql-drivers | 398816164de9a7507f7363ffbc868dfd73b85761 | 1f421d9ac561ee7ac4b37e084b1e97ae67f562b5 | refs/heads/master | 2022-03-13T23:52:03.170425 | 2016-04-07T14:42:14 | 2016-04-07T14:42:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 887 | rd | rkv_iterator_size.Rd | % File rnosql/man/rkv_iterator_size.Rd
\name{rkv_iterator_size}
\alias{rkv_iterator_size}
\title{Return the number of elements in the store iterator.}
\description{
Returns the number of items contained in the iterator. This function can only be used with iterators returned by the rkv_multiget_iterator(). The iterators... |
0987ae2fe1d037d675bde1d3a39187e11f8ee11b | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/10481_1/rinput.R | a199239e0a972d14312cac940cc9b52f0145caf9 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("10481_1.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="10481_1_unrooted.txt") |
8572c92b7f66ef512c5689865b1e496764cbfc43 | 784f76e349f2654c6c40adc6a66b0f026c649911 | /man/plotBindingPotential.Rd | c0b6d4becdb3b78905dee02103f0a39d5abd9d07 | [] | no_license | bjw34032/oro.pet | a3116696b06e9b6b0e7c00eef8cd332b8665c3a8 | 6a5d06370c90bcdc63c87ee36b116cf6a94c5858 | refs/heads/master | 2022-09-07T10:46:02.908052 | 2022-08-20T08:32:46 | 2022-08-20T08:32:46 | 32,883,375 | 1 | 1 | null | 2016-10-01T13:26:13 | 2015-03-25T18:32:46 | R | UTF-8 | R | false | true | 2,065 | rd | plotBindingPotential.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plotBindingPotential}
\alias{plotBindingPotential}
\title{Plot Baseline Versus Post-Treatment Binding Potentials}
\usage{
plotBindingPotential(
base,
drug,
lty45 = 2,
lty = 1,
lwd45 = 2,
lwd = 3,
col45 = "darkgrey",... |
17976ac710417f9b630c6b0b28330defdacdbea7 | 793429873754b0f7b44ec4f04e7f877976cb87cf | /manipulation/map/2-encoder-map.R | 228d11f7946f0a45f7f2e95c267dd103fad802b7 | [] | no_license | IALSA/ialsa-2018-amsterdam | c11d16451a1fd4b6d7f703371a73aba5febd76e1 | 7af21117757da67337ab54a95a04a092a249a51c | refs/heads/master | 2021-09-04T22:10:53.310639 | 2018-01-22T15:41:29 | 2018-01-22T15:41:29 | 108,875,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,200 | r | 2-encoder-map.R | # The purpose of this script is to create multistate measure to be used in modelling
# knitr::stitch_rmd(script="./manipulation/rename-classify.R", output="./manipulation/rename-classify.md")
#These first few lines run only when the file is run in RStudio, !!NOT when an Rmd/Rnw file calls it!!
rm(list=ls(all=TRUE)) #C... |
33250697eac4fd69f2644821c7b0d9f5021d1133 | 4fa206129b99ef56086794c7f00a601572e2ae53 | /05练习题.R | 90bda574754e859c2ea0a0d9c3287c1e003986c6 | [] | no_license | yuxi-xi/R-homework | 8c4c3ad923876acd20c56f1fabd78a81d2a31094 | 49e30122591e71354e85b39c38956766e3029d00 | refs/heads/main | 2023-01-05T19:18:41.509915 | 2020-11-05T15:54:54 | 2020-11-05T15:54:54 | 308,061,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | 05练习题.R | #5-1
a_list<-list(alpha=1,list(beta=2,gamma=3,delta=3),eta=NULL)
length(a_list)
b_list<-list(c(0,1,4,9),
16,
25,
36,
49,
NULL,
64,
NULL,
81,
NULL)
b_list
#5-2
(a_data_frame<-data.frame(
iris
))
colMean... |
d8b1333eae9fd80b156abfc27c2ca1102a174878 | 6fd39305ca3170f97c995f027deb30b4213314b1 | /man/plot.SDD.Rd | 0df83bf33751fc1e15e94804a099b54350c8bdcc | [] | no_license | cran/SDD | c22c74d48c8bd428f360a83ff993e03c0e73fa13 | a5e4ec6e60365fd0dd0e943c91f6a0afdbbb07da | refs/heads/master | 2020-05-07T12:12:04.473973 | 2015-02-24T00:00:00 | 2015-02-24T00:00:00 | 17,693,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,295 | rd | plot.SDD.Rd | \name{plot.SDD}
\alias{plot.SDD}
\title{Plot Method for SDD objects}
\description{
Plot method for objects of class \code{"SDD"}.
}
\usage{
\method{plot}{SDD} (x, norm = FALSE, stability = FALSE, step = 5, \dots)
}
\arguments{
\item{x}{a \code{SDD} object}
\item{norm}{
an optional logical; if \... |
d416c4e805d448d3dfae3df41e1218ffc4530c21 | 5150cf610a34c6c5be9b598277db1834d8fb16b4 | /tests/testthat/test-HOC.R | 84abb1f3224f0a6b0b91de1b38cf9438e2500066 | [] | no_license | SPI-Birds/pipelines | f3ab78668e526a47bd298b0f7f4127e274a4dfd0 | cb4bd41bc26d991fa54e520bb15b54333696b4cb | refs/heads/master | 2023-08-16T18:15:29.835023 | 2023-08-09T09:51:56 | 2023-08-09T09:51:56 | 153,275,927 | 0 | 3 | null | 2022-12-04T14:48:00 | 2018-10-16T11:42:17 | R | UTF-8 | R | false | false | 10,635 | r | test-HOC.R | testthat::skip_if(!exists("data_path"))
pipeline_output <- format_HOC(db = paste0(data_path, "/HOC_Hochstadt_Germany"))
test_that("HOC outputs all files...", {
expect_true(all("HOC" %in% pipeline_output$Brood_data$PopID))
expect_true(all("HOC" %in% pipeline_output$Capture_data$CapturePopID))
expect_true(all("H... |
5f578119da67e7b4790dac1e221302ee03d74d15 | a646c5a1c7ddf5598b4fc4104a5456104e6b3dc3 | /plot1.R | 02b6b89e1f3d058778255af51149fce65dbdd8ce | [] | no_license | andrew57jm/ExData_Plotting1 | 491ad35431d4af0274e07eeb3017cac2a374def1 | e3ae61483f5b2860ef33d5077ea9024aa6e7132e | refs/heads/master | 2021-01-19T21:18:59.749355 | 2016-03-07T00:35:31 | 2016-03-07T00:35:31 | 53,272,803 | 0 | 0 | null | 2016-03-06T19:47:34 | 2016-03-06T19:47:33 | null | UTF-8 | R | false | false | 512 | r | plot1.R | plot1 <- function() {
library(data.table)
library(dplyr)
library(lubridate)
# read data and filter the dates we're interested in
pow <- fread("household_power_consumption.txt",na.strings=c("?"))
pow <- filter(pow,Date=="1/2/2007" | Date=="2/2/2007")
# open the png device
p... |
1529adf059d774efca80acc10dc53c362a0fb7cb | 207ffc920f0c738733643ee781ca6aa4ab801e80 | /metapop/metapop_r/MetaPop_Preprocessing_Summaries.R | 45007098137e175bd828b3b94c59456103549d7c | [
"MIT"
] | permissive | metaGmetapop/metapop | c1db90e08996971efe97ffc914ac0282b9dadd27 | 0fdc3e589202e79755fc2f09343e7c8196e8ab63 | refs/heads/master | 2023-04-10T14:53:32.198651 | 2023-04-04T12:47:27 | 2023-04-04T12:47:27 | 158,002,337 | 33 | 9 | null | null | null | null | UTF-8 | R | false | false | 10,758 | r | MetaPop_Preprocessing_Summaries.R | options <- commandArgs(trailingOnly = T)
#universal
directory_name <- options[1]
threads <- as.numeric(options[2])
library_location <- options[3]
if(library_location == ""){
library_location <- .libPaths()
}
ref_fasta <- options[4]
ref_genes <- options[5]
#Component specific
min_cov <- as.numeric(o... |
fbc5d539c1f30239140306113e6ff9bc179b8247 | b28f74d681bb5dfbf34549c82a8c932f77c1b0a8 | /man/pep_to_prn.Rd | b8711090b3ba167d52d4b9a1b2de48eaf53d79ec | [
"MIT"
] | permissive | sailfish009/proteoQ | b07e179e9fe27a90fd76cde2ed7caa55e793e9d6 | e6a4fe79a21f9a9106a35d78c2ce42d59e9d82e2 | refs/heads/master | 2022-12-25T20:06:40.340740 | 2020-10-15T20:18:14 | 2020-10-15T20:18:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,060 | rd | pep_to_prn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/peptable.R
\name{pep_to_prn}
\alias{pep_to_prn}
\title{Helper of Pep2Prn}
\usage{
pep_to_prn(id, method_pep_prn, use_unique_pep, gn_rollup, ...)
}
\arguments{
\item{id}{Character string; one of \code{pep_seq}, \code{pep_seq_mod},
\code{prot_a... |
f6bc00ad9e90bf4377361ea1bbda86ee7ed67dbd | 9c2402aaf87d352954fd132e09e75b023354ee76 | /10번.R | eb6706faf0fe3e3454d46b8e699c321d1a5e59d8 | [] | no_license | tlfzgjadyd/R-Hadoop | 70ff542119763e2129ddc9a0410baed3e2ddf23b | 06e29d22d1cd61311f8bcb412bf19cb491ec03f8 | refs/heads/dev | 2022-12-29T17:43:21.380912 | 2020-10-15T09:01:14 | 2020-10-15T09:01:14 | 302,491,125 | 0 | 0 | null | 2020-10-15T09:01:15 | 2020-10-09T00:17:36 | R | UTF-8 | R | false | false | 68 | r | 10번.R | x <- c(1:4)
A <- matrix(x, 2, 2)
B <- matrix(x, 2, 2, byrow = T)
A
B |
6974a7be37de6a01961448dcb2fbc7984a34b6ad | fe1d921f0e087f5c5d58afa07511d79b114facfa | /inst/extdata/transition-probs/F3.R | abcab0d9c885fd30a98562ef6d0892c44e263b53 | [
"Apache-2.0"
] | permissive | Dordt-Statistics-Research/LaByRInth | 2acf9651a5a14db832ea975a2a44cd48c625f693 | ff44da887171586fc5ac40cd4f6ba701bc6d598f | refs/heads/master | 2021-01-01T04:53:07.756202 | 2018-10-19T01:06:51 | 2018-10-19T01:06:51 | 97,264,302 | 0 | 1 | null | 2017-08-04T19:52:09 | 2017-07-14T18:56:28 | null | UTF-8 | R | false | false | 183,163 | r | F3.R | ## Copyright 2018 Jason Vander Woude
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed... |
b4fd727fef99e41d0ff844861abf7e588af02142 | 446e8ed6dc4b6f01a62e0944bcafc1e7bdde1652 | /man/show_themes.Rd | 4c4db8d6b933c26c31b33ac427ebefb73a630dc8 | [
"MIT"
] | permissive | jlopezper/essurvey | 2f24d269334fde904a2ed4b76ce771e98c85b252 | 1bd88d41ca714ad5ad5d8ac61b71566142d8322e | refs/heads/master | 2020-04-27T13:19:53.757688 | 2019-03-08T13:24:39 | 2019-03-08T13:24:39 | 174,365,791 | 0 | 0 | null | 2019-03-07T14:59:43 | 2019-03-07T14:59:43 | null | UTF-8 | R | false | true | 625 | rd | show_themes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/show_funs.R
\name{show_themes}
\alias{show_themes}
\title{Return available themes in the European Social Survey}
\usage{
show_themes()
}
\value{
character vector with available themes
}
\description{
This function returns the avai... |
2c9be175fdaada0053952eecaaa0ac2426a37348 | 83f7cbd1728e1756ce26f249f23e562143de6b5c | /SimulationMain.Revisions.wPCs.vs1.dev.R | e7c877ef589a9f58057fc01fb7d741b274065744 | [] | no_license | mturchin20/InterPath | 765135535783c63122ba5d006ba671ac1cb4448f | 4b07e1377aa6bfd14cda7ed5e1ffb02ce52bd494 | refs/heads/master | 2021-09-08T23:55:41.264911 | 2021-09-06T23:28:53 | 2021-09-06T23:28:53 | 136,239,536 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,887 | r | SimulationMain.Revisions.wPCs.vs1.dev.R | #library("MAPITR")
library("devtools")
devtools::load_all("/users/mturchin/LabMisc/RamachandranLab/MAPITR")
args <- commandArgs()
#print(args)
X.File <- args[6]
Genes.File <- args[7]
Covars.File <- args[8]
Genes.Analysis.File <- args[9]
Output1.File <- args[10]
seed.value <- as.numeric(as.character(args[11]))
n.datase... |
884f1dbc46f1cb5e18e2999608ca0a8037220b57 | 09d8eb9f8703e8fd5c089eb58a559d4242b44a55 | /plot1.R | c20670d3fdb3ba7c91dc5b10bcc4a169a19de09f | [] | no_license | yachabach/ExData_Plotting1 | 098ef2360d3cf67112720faaf1cf913f5f43f75b | 1fb5a5af132888212366f6d7bdfc69f3ca4df393 | refs/heads/master | 2022-12-12T11:46:09.509680 | 2020-08-24T12:25:00 | 2020-08-24T12:25:00 | 289,589,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 601 | r | plot1.R | # Generate plot #1 from coursera assignment
#
Plot1 <- function() {
# Load data from working directory
#
fileNm <- "household_power_consumption.txt"
hd <- fread(fileNm, nrows = 1)
y <- fread(fileNm, skip = 64800, nrows = 5000, header = TRUE)
colnames(y) = colnames(hd)
#subset textual... |
4f1d9c90390c9c54814a141c35965f2febebc08c | e08f3b0790613a5c81f72db72e5a912a63052288 | /estimate r 9-21.R | ae30aa08b054f7e3da0955594de9ab200b7cbaef | [] | no_license | MSTRoth/PSC_Homeless | edb33718997ac2a1e4c9884529f5510369166aba | 943ce81b2657ea8bb54e2bd238c82feaed22f062 | refs/heads/master | 2020-06-07T06:47:29.544425 | 2019-08-16T20:23:46 | 2019-08-16T20:23:46 | 192,951,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,720 | r | estimate r 9-21.R | ####first and last#####
options(scipen=10000)
library(tidyverse)
####Estimates#####
setwd("X:/1 Marielle Folder/Spending Data/Estimates files")
###actual and estimated values by year####
#####quarter views####
quarters <- read_csv("quarters.csv")
data <- quarters %>%
gather("quarter_FY","outlay", ... |
e2b90c44129da244e37b3909ff0bb6ba459c2235 | c122e77a34976b987ad45f70b5802e79098702a4 | /inst/shinyApps/hisreg/R/modFordelinger.R | 4c7b97dafde56b4760be49fe425ac7f218ada15d | [] | no_license | Rapporteket/hisreg | b4d212fdca74dbd8fcc4dfbbc2bc1922f84b90dc | 7e06f4d5d39c357696d35146f5da5508eaa20586 | refs/heads/master | 2022-09-20T06:04:16.198184 | 2022-05-03T14:26:44 | 2022-05-03T14:26:44 | 77,216,862 | 0 | 0 | null | 2020-02-24T11:10:24 | 2016-12-23T10:03:24 | R | UTF-8 | R | false | false | 9,786 | r | modFordelinger.R | #hjelpefunksjon som lager topp og bunntekst til tabellen
cont <- function(enh, usRole) {
if (usRole == "SC") {
avd = "Valgt avdeling"
} else {
avd = "Din avdeling"
}
if (enh == 1) {
htmltools::withTags(table(
class = "display",
thead(
tr(
th(rowspan = 2, "Kategori"),
... |
4fd8b240fd4dd0f125607744e55d5450a73dbb19 | c90e263ccf61d5d6c0bc33c715c85beec9cf6ef1 | /man/cenreg.Rd | 0fb00ec6dee22bdadc3dcd9ce6e6afdc501b3fa2 | [] | no_license | cran/NADA | d68537895922ff0d882fbd1e4db0ea5bc8b83bb1 | b3584c690049bd498b427db75ebee4fadcb24bb7 | refs/heads/master | 2020-12-24T13:18:24.287687 | 2020-03-22T08:46:09 | 2020-03-22T08:46:09 | 17,681,060 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,729 | rd | cenreg.Rd | \name{cenreg}
\alias{cenreg}
\title{
Compute regression equations and likelihood correlation coefficient
for censored data.
}
\description{
Computes regression equations for singly censored data using maximum
likelihood estimation. Estimates of slopes and intercept, tests
for significance of parameters,... |
8750daf8416361c94af717e0ae279be42cfe9cf1 | 4aebc58b3b753e9d99f44a90ef4f83aae474f917 | /server.R | 614265ebe52b8f1c12bde640e2e05108bb7a73e3 | [] | no_license | civilstat/MixedPanel | 55413b13e26549b65c50f088fc1e791f241d2d6c | fc8b8d081b6035252fce6c640b3bdebffe209cd9 | refs/heads/master | 2021-01-01T18:23:09.604697 | 2015-10-05T22:36:30 | 2015-10-05T22:36:30 | 33,269,799 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,154 | r | server.R | library(shiny)
# Define server logic to plot a Hypergeometric distribution with explanatory text
shinyServer(function(input, output) {
# Slider input for number of women
output$Nwomen <- renderUI({
sliderInput("Nwomen",
paste("Number of", input$subgroup, "candidates:"),
min... |
88e80b88e81101525d37d9f36dca365c7f988e3a | 688185e8e8df9b6e3c4a31fc2d43064f460665f1 | /man/rad.Rd | ea89dc00201c51f5ec03ef402a809cc6eda8d7e1 | [] | no_license | IPS-LMU/emuR | 4b084971c56e4fed9032e40999eeeacfeb4896e8 | eb703f23c8295c76952aa786d149c67a7b2df9b2 | refs/heads/master | 2023-06-09T03:51:37.328416 | 2023-05-26T11:17:13 | 2023-05-26T11:17:13 | 21,941,175 | 17 | 22 | null | 2023-05-29T12:35:55 | 2014-07-17T12:32:58 | R | UTF-8 | R | false | true | 786 | rd | rad.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{rad}
\alias{rad}
\title{Function to convert between Hertz and Radians}
\usage{
rad(vec, samfreq = 20000, hz = TRUE)
}
\arguments{
\item{vec}{A numerical vector of frequencies in Hz or radians}
\item{samfreq}{A single element num... |
2a400ff9074effff1bbda2e9817c751fcb393cd2 | db26d059b38d4c7e51aae2fb4b6a72efe8007c43 | /ceRNA_helper/get_correlation.R | f4ba27db08cd25b19d4f3483f9accf84d0b101e7 | [] | no_license | duc-do/DyCeR | 5f5f3f4fb099a3052770fedb36221bbb57638444 | 76a651e97a5bec8b7c748b7256c8342614e5b91d | refs/heads/master | 2021-08-30T16:39:36.233992 | 2017-12-18T17:51:25 | 2017-12-18T17:51:25 | 114,670,223 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,012 | r | get_correlation.R | ### ----- variables ------#####
cat(paste(" compute correlation and pvalue","\n"))
#mRNA.expression = lasso.result$residual.expression
mRNA.expression = regression.data$mRNA
cor.info = WGCNA::corAndPvalue(t(mRNA.expression),use = "pairwise.complete.obs")
pair.dt = pair.dt
### ----- analysis ------#####
cluster = ... |
ba58df4fcc37033a676765f80f9f7ee1bdf2bd54 | 2fb67b51e9b082a41cf31e748b6745b5cb7c743d | /modules/scfmLandcoverInit/scfmLandcoverInit.R | 732553418b237d9592147ee076bb29159e48dc80 | [] | no_license | tati-micheletti/SpaDESinAction | 4724314e1e28bba8f837f7a1a99fefedd52d2041 | 6a39918a0f1b18ccbb752276f007302a64cef508 | refs/heads/master | 2020-07-06T08:40:08.520939 | 2019-10-10T16:14:26 | 2019-10-10T16:14:26 | 202,958,164 | 0 | 4 | null | 2019-10-10T15:44:01 | 2019-08-18T04:06:27 | HTML | UTF-8 | R | false | false | 13,286 | r | scfmLandcoverInit.R | stopifnot(packageVersion("SpaDES") >= "0.99.0")
defineModule(sim,list(
name = "scfmLandcoverInit",
description = "Takes the LCC05 classification of 39 land cover classes, and reclassifies it to flammable and inflammable [1,0]",
keywords = c("fire", "LCC05", "land cover classification 2005", "BEACONs"),
... |
ada7091e334737d6e2f51b0b65c1941ace30eeb7 | e04fdb3830feea19fc2d7f0dc937b21039af996b | /Software/RBrownie/man/addHS.Rd | 4513f79fe2eb899d501c5afad0bdd0fbb1c44c90 | [] | no_license | bomeara/omearatenure | c53b2bb41f313e84cd551c59317918657a3fbef1 | dd0fac37c26712e71bfdf0ad39e36b9b29c8f616 | refs/heads/master | 2020-04-08T08:33:03.815826 | 2014-11-03T07:26:40 | 2014-11-03T07:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,176 | rd | addHS.Rd | \name{addHS}
\alias{addHS}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Add Heuristic search command to brownie object
}
\description{
This function adds a character string to the the \code{commands} slot of a brownie object (or list of brownie objects) which instructs the brownie progr... |
5b4a0c0e9b5498b16d27259a8eda75dfe43afed4 | 9327560c9c09fbf7670e6723d7a821352906d875 | /Matrices/NamingMatrix.R | 32f108baf3b2b988d733f7a3ef2232cb5cdfc988 | [
"Apache-2.0"
] | permissive | Siddharth1698/R-programming---A-TO-Z---For-Data-Science | 5037f90824ebdcc4be7facc5401915d7dd4de659 | 63b127ecaeae86d6d7cb8497e9aca698fe94b8ec | refs/heads/master | 2020-05-26T09:30:00.537644 | 2019-06-02T20:12:32 | 2019-06-02T20:12:32 | 188,186,917 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 198 | r | NamingMatrix.R | tempRec <- rep(c("a","B","zZ"),each = 3)
tempRec
Bravo <- matrix(tempRec,3,3)
Bravo
rownames(Bravo) <- c("HOW","ARE","YOU")
Bravo
colnames(Bravo) <- c("x","Y","Z")
Bravo
Bravo["HOW","Y"] <- 0
Bravo
|
07c994ddff9121a85e03dcdc9043ba277b027126 | 2448d4800d4336b53489bcce3c17a32e442a7716 | /man/install_version.Rd | 97dcc424d532dfdc930e4597dd3c25def712e33f | [] | no_license | vsbuffalo/devtools | 17d17fd1d2fb620fef8d9883dffed389f80e39fb | 782e6b071d058eea53aae596a3c120d61df2f0b4 | refs/heads/master | 2020-12-24T10:41:24.637105 | 2016-02-18T14:03:05 | 2016-02-18T14:03:05 | 52,121,375 | 2 | 0 | null | 2016-02-19T22:42:43 | 2016-02-19T22:42:43 | null | UTF-8 | R | false | true | 1,748 | rd | install_version.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install-version.r
\name{install_version}
\alias{install_version}
\title{Install specified version of a CRAN package.}
\usage{
install_version(package, version = NULL, repos = getOption("repos"),
type = getOption("pkgType"), ...)
}
\argument... |
1c668fbb38be00e0ceab5fb3991bef60760fe99b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/futile.any/examples/anylength.Rd.R | a121c380e8c7470fd355b57b59808ac455913758 | [] | 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 | 246 | r | anylength.Rd.R | library(futile.any)
### Name: anylength
### Title: Get the generic length of an object
### Aliases: anylength
### Keywords: attribute
### ** Examples
m <- matrix(c(1,2,3,4,5,6), ncol=2)
anylength(m)
v <- c(1,2,3,4,5)
anylength(v)
|
2c3457b170f1d2865d416929f6244bd55056d2c9 | dd8132404e8c7b028cb13cba904c50aace01c6a7 | /swt/src/spc/se.u/se_mod3.r | 5128171d39110feb4a6643f4db1d39792021dc0e | [] | no_license | arnoldrobbins/gt-swt | d0784d058fab9b8b587f850aeccede0305d5b2f8 | 2922b9d14b396ccd8947d0a9a535a368bec1d6ae | refs/heads/master | 2020-07-29T09:41:19.362530 | 2019-10-04T11:36:01 | 2019-10-04T11:36:01 | 209,741,739 | 15 | 0 | null | null | null | null | UTF-8 | R | false | false | 796 | r | se_mod3.r | include "source/copy.r"
include "source/cprow.r"
include "source/dohelp.r"
include "source/display_message.r"
include "source/domark.r"
include "source/doopt.r"
include "source/dosopt.r"
include "source/dotlit.r"
include "source/getrange.r"
include "source/xindex.r"
include "source/maks... |
b9be64d14d9511e0ef20b9e82098507188f8f49e | 4a5266dbc98a6b96ccd2204b17ebe4994480904a | /tests/testthat/test_middle_date.R | 74ea047cae437a64e78d25757ced1d6b11827035 | [
"MIT"
] | permissive | piotr-ole/gantt | 3a454b89ddae8fa5a33a0336b0e41bb1e70697ba | e59e27b8abf7ba7b9c8da0a299862ce08caf7af1 | refs/heads/master | 2020-09-13T12:56:50.945369 | 2020-01-22T14:23:38 | 2020-01-22T14:23:38 | 222,786,863 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 238 | r | test_middle_date.R | test_that("calculate middle date", {
expect_equal(middle_date(as.Date('2020-01-01'), as.Date('2020-01-03')), as.Date('2020-01-02'))
expect_equal(middle_date(as.Date('2020-01-01'), as.Date('2020-01-04')), as.Date('2020-01-03'))
})
|
4761560270bebcfccf9f985d0a53a4146ca763cc | 18492dec7cab25005f797a8e36f207c7d228a107 | /plot4.R | 2cf10506562d8e15245dce1a966f193c7f29723a | [] | no_license | rhosek/homework | 19ad971137b593ee9cf2a31106a70c7395f4a99a | 5927e48ed8d9c57076e5cf658c720af1343e118f | refs/heads/master | 2016-09-02T02:38:41.755958 | 2015-10-18T23:23:44 | 2015-10-18T23:23:44 | 42,406,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,924 | r | plot4.R | ## First, download the zipped data file to 'downloads' directory using the given link and then extract the file
## Change the R working directory to 'downloads/exdata-data-household_power_consumption' to read in the portion of the file of interest
setwd("C:/Users/Ronald/Downloads/exdata-data-household_power_consumptio... |
472b843d5cbef8efa90bd55614f044a7d9939e67 | c1a4c35179dd8862fbc40b09eea92e3f491a81e3 | /tests/testthat.R | 50c2d1b80ba42a871ae9914f708988c89eb7dc00 | [
"MIT"
] | permissive | sdhutchins/documenteR | 3a5f16dbcbdb2b0369572d459e40fa28abb5e74d | 461d25295ec2bb58a4e7ad95311d4b53a07c670d | refs/heads/master | 2020-03-27T17:11:12.483900 | 2019-05-07T19:02:09 | 2019-05-07T19:02:09 | 146,833,831 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(documenteR)
test_check("documenteR")
|
e529415651e823d04dba2b7961b9cf7e0f5351ba | 867acb8f398b7d8b04670c5be619aec972fb7415 | /week-3/cachematrix.R | 0680586b9f257ffffade8f13b7a82c526fda5915 | [] | no_license | rlambert2/rprogramming | aeb3a44f23b339d2d65f769dcfb6adbec132f1c8 | daf67dd033ef0518d009654ece3cd5198311c639 | refs/heads/master | 2021-05-03T04:52:57.274529 | 2016-09-30T01:00:06 | 2016-09-30T01:00:06 | 69,115,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,158 | r | cachematrix.R | ## These functions create a matrix object that caches its inverse,
## then computes the inverse of the matrix, and checks to see if that value
## is in the cache. If it is, it returns the cached value. If it's not
## it returns the newly calculated value.
## makeCacheMatrix creates a matrix object that caches its inve... |
bc9267d4244437bb2613687a403cdd9ea25a2f30 | 020dd885e28b843c8eccc7fbcf0ea74c0f64d2bc | /Analyze.R | d8e14e8248c3adb30fb020aa81d4695aa5d76b96 | [] | no_license | MUST-learning/R-studio | c28a3a22de66ba0cc6a8feb6632fb6a39141118c | 0b7b6d4b822c941783d550aa25d69aa0cd9ad8e4 | refs/heads/master | 2021-07-21T18:22:51.209471 | 2017-11-01T02:23:15 | 2017-11-01T02:23:15 | 105,896,570 | 0 | 0 | null | null | null | null | ISO-8859-3 | R | false | false | 4,032 | r | Analyze.R |
#read the data
gcds <- read.csv("crdds.csv", header=TRUE,
sep=",")
# get columns' name and descriptions
source("readcolnames.R") # load the definition of functions defined in a file
colinf <- readcolnames()
colnames(gcds) <- append(colinf[[2]], 'Class')
coldes <- append(colinf[[1]], 'C... |
a8576e0bdee8ee22e913adf0f7e82fb238f97de0 | e573dd102635ce15f9270cc4ab91a6a3d1878979 | /R/read-any-bitmap.R | e8f41fa2d19db6a9c98cb80e1da4e87faa2b2ad4 | [] | no_license | jefferis/readbitmap | c0dd88f813f44480217744b31f8531dd0b8d4c16 | 9e4080ef73f4d689c616fde7a5530996580aea16 | refs/heads/master | 2021-01-23T03:28:43.142674 | 2018-06-27T11:48:41 | 2018-06-27T11:48:41 | 2,964,648 | 2 | 3 | null | 2018-05-21T11:52:24 | 2011-12-12T14:27:24 | R | UTF-8 | R | false | false | 3,862 | r | read-any-bitmap.R | # Functions to identify and read a variety of bitmap image formats.
###############################################################################
#' Identify the type of an image using the magic value at the start of the file
#'
#' Currently works for png, jpeg, BMP, and tiff images. Will seek to start of
#' file if... |
b75c90d7810e252b5062719b59c23e3c259f7bd5 | 502ab31e267cf5096b01ce1ccb97fd36ace11ee9 | /4. extract_CUSIP.R | ee19dcf89f343fec3fd14b2afd8a5a851f57f408 | [] | no_license | SpyridonGkikopoulos/Block_Codes | 3cf2fee5c638d8b293008cd44e528e925cbc37fc | e1e5142bd6647b4004c2c76c326032f16415e926 | refs/heads/master | 2023-06-11T21:51:44.523883 | 2021-07-06T04:46:40 | 2021-07-06T04:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,932 | r | 4. extract_CUSIP.R | start_QTR <- "2018Q4"
end_QTR <- "2018Q4"
### use this dir to download files
out_dir <- "/Users/evolkova/Documents/Blocks/"
### generate all dates
get_dates <- function(start_QTR, end_QTR) {
require(data.table)
require(zoo)
require(lubridate)
require(dplyr)
end_QTR <- end_QTR %>%
as.yearqtr("%YQ%q") %>... |
9597695dca4539f79193bdbe5aeb0d820776d69a | 42250f07c9cd59b962e23b5f94801a195c04f6cc | /tests/testthat/test_mlr_learners_surv_glmnet.R | 5374207fc3f65b4c32548ee99d1644c605c21d81 | [
"LGPL-3.0-only"
] | permissive | mlr-org/mlr3survival | fbb262e6a60f02cc775f1d4e06da6ee51c9a71f1 | a1cbd60a9ac9e8078daa837f6b99bf5ba2bbc45c | refs/heads/master | 2020-04-06T22:55:19.048008 | 2019-10-21T09:09:58 | 2019-10-21T09:09:58 | 157,852,127 | 8 | 0 | MIT | 2019-07-01T15:33:58 | 2018-11-16T10:31:22 | R | UTF-8 | R | false | false | 222 | r | test_mlr_learners_surv_glmnet.R | context("surv.glmnet")
test_that("autotest", {
learner = mlr_learners$get("surv.glmnet")
expect_learner(learner)
result = run_autotest(learner, exclude = "feat_single")
expect_true(result, info = result$error)
})
|
54979b3b51e571d41c3041ed455813a725c20ad9 | 745295046a9499a459f379c2931db70e21cd39e3 | /components-rwrapper/src/main/resources/plot_line_chart.R | 43839bbfeb30dfc9d47fc7b4e52f8f5c46447113 | [] | no_license | AnalyticsWorkbench/Components | bc109595c5707388ffe2c319cdbbfdadedabfde6 | cd7ab7eeaed7480712a3270cc9f81af0a7041634 | refs/heads/master | 2022-12-09T15:05:38.538578 | 2019-05-23T15:23:48 | 2019-05-23T15:23:48 | 136,925,042 | 2 | 1 | null | 2022-12-05T23:55:36 | 2018-06-11T12:44:40 | JavaScript | UTF-8 | R | false | false | 231 | r | plot_line_chart.R | plot_line_chart <- function(data) {
values <- c(data)
plot(values[[1]],type="o")
}
resultData <- list(dataUrl='line.data',plotUrl='line.png')
write.table(data, file="line.data")
png('line.png')
plot_line_chart(data)
dev.off()
|
8725aab7d1c5ec803133edb4b8738d28e0e6c7ca | a76f598b25592f0b49bf0865b2b92dfaf92357e9 | /tests/testthat/test_slise.R | c27f007aac83e4ba8e4dd87b9772c6b4ab1777e6 | [
"MIT"
] | permissive | edahelsinki/slise | a22b90e0ce06223a93bcf35bde96207254a602d5 | a7bc95384282168aa1642008b31d9159ab02eb72 | refs/heads/master | 2023-04-08T13:01:14.106004 | 2023-04-03T12:24:29 | 2023-04-03T12:24:29 | 203,325,030 | 8 | 1 | MIT | 2023-01-17T10:36:53 | 2019-08-20T07:39:52 | R | UTF-8 | R | false | false | 4,408 | r | test_slise.R | context("Tests for the slise algorithm")
source("setup.R")
test_that("Check SLISE", {
for (i in c(rep(c(4, 8, 16), 2))) {
data <- data_create(i * 30, i, floor(i * 0.5), 0.03, 0.3, 0.3)
slise1 <- slise.fit(data$X, data$Y, epsilon = 0.1, lambda1 = 0)
slise2 <- slise.fit(data$X, data$Y,... |
e1ea1a9475676c1e0868310a8e48ed797be460b5 | ba892b7dda59a3024307699aaee1d42d4af30e03 | /manipulation/7-subsets-for-analysis.R | 6715f4540e2779aa1f9a0cd4e31ec28fbe72b14e | [] | no_license | IALSA/longitudinal-response-pattern | 5b9d5b3ce292b27e1eaed7b8ed9d6ee8c616fa0d | d293812cb7f0cea8d8e9a4a447bb87843f2ff24f | refs/heads/master | 2020-04-09T16:52:07.699990 | 2016-07-15T20:06:43 | 2016-07-15T20:06:43 | 61,064,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,673 | r | 7-subsets-for-analysis.R | ## Project title: MAP
## Created on: June 03 2016
## Author: Jamie Knight
## Data: Creating final subsets for analysis. MAP for use in Thesis
## Summary:
## ---------------------------------------------------------------------- ##
options(width=160)
rm(list=ls())
cat("\f")
# --- load-packag... |
ebbe49ad52ab80e44a748c427cc80ad343d91f42 | cdae97e4ecf760987cf8c534f24cb553e5fdf00b | /Liniar vs Multiple Liniar Regression.r | b1b64c1dab82993d22931d60607ba9975491b0e9 | [] | no_license | AndraRaco/Statistics-project | 4b42de91c5f78ff3085b367c2e6d019f3ad37175 | 333a88443275100cc27cc231fefb68cad19c1bae | refs/heads/master | 2022-06-21T05:59:02.959745 | 2020-05-09T14:23:51 | 2020-05-09T14:23:51 | 255,165,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,427 | r | Liniar vs Multiple Liniar Regression.r | # Import dataset
dataset <- as.data.frame(Seatbelts)
View(dataset)
#----------------------1----------------------------
# Media penstru fiecare coloana
Mean <- apply(dataset, 2, mean)
View(Mean)
# Dispersia
Var <- var(dataset)
View(Var)
# Quantile
Quantile <- apply(dataset, 2, quantile)
View(Quantile)
# Boxplot
#bo... |
4311de60d85fc663f3111b3a00dd6d6619c8f73b | 56e22dd051b4ecc6bf96a7fa93d6dcecc74eebcb | /man/install_goldman_sans.Rd | 78c9e3ed88db649154cf8e47588b988fd25f5fa5 | [
"MIT"
] | permissive | yjunechoe/hrbragg | 44337b14d1a23b3d3757ac5dae3c2899913ff01b | 8f8b1f098d02329632fff26a89083237fa8cc75f | refs/heads/master | 2023-06-14T13:32:21.889462 | 2021-07-10T12:36:19 | 2021-07-10T12:36:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 829 | rd | install_goldman_sans.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install-fonts.R
\name{install_goldman_sans}
\alias{install_goldman_sans}
\alias{install_goldman_sans_condensed}
\title{Install Goldman Sans}
\usage{
install_goldman_sans()
install_goldman_sans_condensed()
}
\description{
Goldman Sans is a cl... |
ed4a92b285a9ca4c091a56e6a0773dc27d301fa9 | b53beb0e3daa03b1d5aca5d8c0737737ebd919b5 | /aggregateSummary.R | 7be31dc6735e1944e9fabc76ca501538842241b9 | [
"MIT"
] | permissive | manning-lab/aggregateAssociation | 0fa3d102dd9621bd4dbd95d54af0cbe2aba2c54c | 6897d7f4b42cc8898b3f2a06e93d081562f0bfe2 | refs/heads/master | 2021-07-10T23:45:20.904315 | 2018-09-21T16:34:03 | 2018-09-21T16:34:03 | 125,053,850 | 1 | 1 | MIT | 2018-03-22T15:47:14 | 2018-03-13T13:13:06 | R | UTF-8 | R | false | false | 5,279 | r | aggregateSummary.R | # summary.R
# Description: Generate a summary of association results including quantile-quantile and manhattan plots for all groups. Also generates CSV files of all associations.
# Inputs:
# label : prefix for output filename (string)
# assoc.files : comma separated list of association results, output of aggAssocTest (... |
c63e75be15b96511ac5cb0bd4d3299035b63cd3b | 918e582aa9c88bfd261af310d56b79ace2bd328a | /R/random_walk.R | 568e1b1c71c7ac134c6e28c11bee6c86f83d714e | [] | no_license | cran/SteinerNet | bba40d0d6a96aae8f5c6e623df07903f04fbbdc0 | 7133431c232fc5ed73ec7fa697043dd3cf704d1c | refs/heads/master | 2021-01-20T22:28:58.947559 | 2020-09-07T08:50:08 | 2020-09-07T08:50:08 | 17,718,267 | 3 | 10 | null | 2018-06-25T17:57:04 | 2014-03-13T17:01:45 | R | UTF-8 | R | false | false | 2,940 | r | random_walk.R | gRandWalk <- function (glist, numofterminals, terminalpr) {
nodlist <- c()
g <- glist[[1]]
seed <- sample(1:length(V(g)), 1)
i <- 1
while (i < numofterminals) {
seed <- sample(unlist(neighborhood(g, 1, nodes = seed, mode = "all")), 1)
... |
cf35e41d2c67c3dffa696a302592de818cd02d6f | 97a6fb83ad026cbedd48b0f1493b3837876ffebe | /RE_level_simulation/Translocation/scripts/translocation.r | 70786d84fdfe850b04550f84f1d5c7b74b1e7471 | [] | no_license | ay-lab/AveSim | 039d22791bda9ab8208af4d3f06c52cd1d9a1d4b | e4e47e90d643f04f9212fb2a9d64d964c8bfdf5f | refs/heads/master | 2021-01-20T12:21:38.997584 | 2019-11-28T04:38:10 | 2019-11-28T04:38:10 | 101,714,230 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,559 | r | translocation.r | library(BSgenome.Hsapiens.UCSC.hg19)
args <- commandArgs(trailingOnly = TRUE)
#Rscript insertion.r chr1 chr2 150000000 240000000 3000000 3000001
chr = read.table("../scripts/chr.list",header=F)
if (as.character(args[6]) == "yes"){
j = 1
while (j <= length(chr$V1)){
if (as.character(args[1]) != as.character(chr$V1[... |
5964f844139768af509715439fb89e333e2bb803 | f7c205369b307ef300fabbeb59bfd9043c73bad8 | /pl1 d.R | 97376d024cc7ae8273c531a095654845c98e4679 | [] | no_license | b62ropaa/R | 26ba444f38cd00ef9ab7ee33692df00d662e92ca | 218fa8327a8bb234fc4b47e2b3951b7a39da8a6b | refs/heads/master | 2020-04-13T03:20:36.251013 | 2019-09-09T10:54:14 | 2019-09-09T10:54:14 | 162,928,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 200 | r | pl1 d.R | print("Introduzca el cateto1")
cat1<-scan(n=1)
print("Introduzca el cateto 2")
cat2<-scan(n=1)
hip<-sqrt(cat1^2+cat2^2)
cat("La hipotenusa del triangulo de cateto 1=",cat1,"y cateto 2=",cat2,"es",hip) |
f1527b90d7d23e156ce17101c6581f2643516d64 | 19040283cd6c4468a7537a912c0c2d0fcca76a92 | /parse-corpus-coma.R | 4479e2389e43c6317cbd7af1c7d95385818c5035 | [] | no_license | daniel-jettka/corpus-analytics-with-R | 9a2d8b757879495f0a954b4bac5cf15c4d8a1515 | 13ba506c7af51985ef61a139766f2d374f2b396d | refs/heads/main | 2023-03-08T08:56:52.591582 | 2021-03-02T18:41:33 | 2021-03-02T18:41:33 | 311,933,042 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,624 | r | parse-corpus-coma.R | library(xml2)
############ Samples of Parameters ############
# Base directory of EXMARaLDA corpus (local)
# base_directory <- c("C:/Users/Daniel/Desktop/demo-corpus/")
#
# Name of coma file (path from base directory)
# coma_file <- "EXMARaLDA_DemoKorpus.coma"
#
# XPath to find paths to content files (here: EXS files)... |
4d053393fed49b3ff7f4587b9bbf3f38b5f0e85b | aeadfadb984277409faf5bde4f9544f47b82a2cb | /man/createConsoleAppender.Rd | 6ad3bca8a8ea072e3cf49678d3a42ef3df099f5d | [
"Apache-2.0"
] | permissive | cran/ParallelLogger | 500d886d83b5853d127660ad05336ac5593ad42c | 358c0c66e91e258dc1c3a86c99bd15a073185e54 | refs/heads/master | 2023-09-01T00:42:14.391609 | 2023-08-22T14:50:02 | 2023-08-22T16:34:27 | 145,897,044 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 836 | rd | createConsoleAppender.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Appenders.R
\name{createConsoleAppender}
\alias{createConsoleAppender}
\title{Create console appender}
\usage{
createConsoleAppender(layout = layoutSimple)
}
\arguments{
\item{layout}{The layout to be used by the appender.}
}
\desc... |
b3775b02a158b24774c401ffeeae549d71585f41 | 160fa6790946d4a704b580de3030ec9f6c14949d | /cachematrix.R | a9f699608cf0ac1ad3a995267989ea41dde6d3f3 | [] | no_license | Sarac96/ProgrammingAssignment2 | 6f972ac4f934a2700ce98c2ee9d3fb24f4093b94 | 7944c8ba6cd2905c0a802af0de776fd5df0c78c3 | refs/heads/master | 2022-12-24T21:24:30.129217 | 2020-09-22T08:10:10 | 2020-09-22T08:10:10 | 296,848,717 | 0 | 0 | null | 2020-09-19T11:01:05 | 2020-09-19T11:01:03 | null | UTF-8 | R | false | false | 1,213 | r | cachematrix.R | ## Computing the cache of a matrix can be a costly operation.
## This function creates a matrix whose inverse can be retrieved from a cache.
## makeCacheMatrix creates "special" matrix, which is a list containing:
## set the value of the matrix
## get the value of the matrix
## set the value of the inverse
## get the ... |
0a0df98e945e49698211c2bf9bae4ff5da527a47 | f5502bea857396ec669339f268f37c77f0ceb805 | /R/get_geo.R | e57879ded26197113f48aed717663cbca06ad58c | [
"MIT"
] | permissive | roboton/covid-covariates | 0646191e20596db2a4f5b9f7fa9fde7ab281c159 | b7e962017e5e71a78d1eb8ed9eaa379d9db401b3 | refs/heads/master | 2022-11-22T06:43:04.250917 | 2020-07-27T11:35:56 | 2020-07-27T11:35:56 | 262,303,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,262 | r | get_geo.R | ##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##'
##' @title
##' @param level
##' @param country
##' @param subregion1
##' @param subregion2
##' @return
##' @author roboton
##' @export
##'
get_geo <- function(level, country, subregion1, subregion2,
sr_l... |
9cbf07387b6b40e5a4e71b59b87a038f72710693 | c06f1619dbd2007837f73cc184fdef6d821ad981 | /R/useless_functions.R | 6e974444a20c4125ffbeb767a982c132afdf2007 | [] | no_license | BenGriff42/useless | 34cba60dada4e01324cd418e38e5c8fa0cad8f2d | ef3686ae6cbe4095ad0bdd3ac7ed97f4785c2a35 | refs/heads/main | 2023-08-14T11:45:09.814151 | 2021-10-07T12:28:32 | 2021-10-07T12:28:32 | 414,521,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 988 | r | useless_functions.R |
#' Return input
#'
#' Function to return whatever you put in
#'
#' @param x Anything
#'
#' @return What you input
#' @export
#'
#' @examples
#' same(1)
#' same("same")
same = function(x){
return(x)
}
#' Nothing
#'
#' A function that always returns 0
#'
#' @param x Anything
#'
#' @return zero
#' @export
#'
#' @examp... |
e527b1e0c5f75214c4849b99dbcaf66ed54185ca | 99cba6b0ed163c7b82b846e148d92d9ec16a0fba | /density_plot.r | 21dac392011ca53d551cbf048afa5f7ce0d30ca6 | [] | no_license | Xudeh/Predixcan-fw-brca | f777f5876317e5aaad564c40ff569d741704aec5 | d57f5bff5ec976c52549689d5f31a4d952cb4432 | refs/heads/master | 2022-02-12T10:21:24.310269 | 2017-10-24T22:09:36 | 2017-10-24T22:09:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 500 | r | density_plot.r |
cor.table=read.csv("R and p value in Tumor(420) and Normal(36).csv")
###density plot
plot (density(cor.table$R.in.tumor), col="red", lwd=2)
lines(density(cor.table$R.in.normal), col="green", lwd=2)
plot (density(cor.table$R.square.in.tumor), col="red", lwd=2)
lines(density(cor.table$R.square.in.normal), col="gre... |
c935d92df6774c09fdaafaa4f4d9d22eefb75a99 | db12b990924703cd74748d8585cd9c11fafa6746 | /h2o-r/tests/testdir_munging/unop/runit_cor.R | db76e446370bb3428751160764d6fcafeff8c725 | [
"Apache-2.0"
] | permissive | h2oai/h2o-3 | 919019a8f297eec676011a9cfd2cc2d97891ce14 | d817ab90c8c47f6787604a0b9639b66234158228 | refs/heads/master | 2023-08-17T18:50:17.732191 | 2023-08-17T16:44:42 | 2023-08-17T16:44:42 | 17,371,412 | 6,872 | 2,345 | Apache-2.0 | 2023-09-14T18:05:40 | 2014-03-03T16:08:07 | Jupyter Notebook | UTF-8 | R | false | false | 1,231 | r | runit_cor.R | setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f")))
source("../../../scripts/h2o-r-test-setup.R")
##
# Test out the cor() functionality
# If H2O dataset x, get back cor data frame with dimension ncol(x)
# If NAs in the frame, they are skipped in calculation unless na.rm = F
# If any categorical colum... |
ed74c4e5fd7c269f7606409909c16f3e7c8eb6dd | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlecomputealpha.auto/man/TargetPoolsScopedList.warning.data.Rd | 129a6bbec68da9254c57a747a353ab79a675b04b | [
"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 | 617 | rd | TargetPoolsScopedList.warning.data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_objects.R
\name{TargetPoolsScopedList.warning.data}
\alias{TargetPoolsScopedList.warning.data}
\title{TargetPoolsScopedList.warning.data Object}
\usage{
TargetPoolsScopedList.warning.data()
}
\value{
TargetPoolsScopedList.warning.data... |
2df43d8fda9ebcfe93321802542ddc934d3b2b92 | 406eb4f67e4f0ffe607dcaf39763f44418a78bff | /man/dcmEvidence.Rd | d6e2307ae62912db72ae1af8bfeaf403ccc221e2 | [] | no_license | cran/FIAR | 6af5007096986cef711b287691bd000d90183a3c | 25e7b6c1fa023da58578bdd3c7e6d9c52e388899 | refs/heads/master | 2021-01-19T06:43:30.247772 | 2018-06-05T10:48:21 | 2018-06-05T10:48:21 | 17,717,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 540 | rd | dcmEvidence.Rd | \name{dcmEvidence}
\alias{dcmEvidence}
\title{modelfit}
\description{Compute AIC and BIC of a DCM
}
\usage{
dcmEvidence(DCM, ts)
}
\arguments{
\item{DCM}{DCM object.}
\item{ts}{Timeseries to fit the model to.}
}
\value{Creates 2 extra fields DCM$AIC and DCM$BIC}
\seealso{spm.dcm.estimate}
\author{Bjorn Roelstraete}... |
d8bfb493a228b49a35ebab6bdb964a4713af4e2f | 0e269aab5f27deb9da70f53a839facdd99e0f692 | /scripts/plot_summ_2.R | cfbf997e15862c45781d48339aafc96a20cf4e78 | [] | no_license | kichacko/MSH-Resistance-Map | b5ec21657bcf468753e330e6b0ed9183da228c26 | 512a5937026f29e128b49908a0aa2bcc78e7ab59 | refs/heads/master | 2021-10-26T14:52:50.320905 | 2019-04-13T05:15:55 | 2019-04-13T05:15:55 | 112,489,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,849 | r | plot_summ_2.R | function_plot_summ_2 = function(input_data, subset_pathogen, subset_procedure, subset_year){
################# LOAD DATA ######################
df_01 = input_data
subset_year = as.numeric(as.character(subset_year))
################# SUBSET ######################
# Subset
... |
31fc0412598d31fa0e6daa008a537fc2f6656946 | 8e52cfdf2db46054104efc466320b4ad0217ea7f | /man/do_feature_selection_by_random_forest.Rd | 53c90e70676bad9b89ebffe66cbef2e197dbf432 | [] | no_license | jfontestad/hospital-readmission | 82469e9e60203e11e7fe8d40452a3087ec4adad6 | 67f50933b54cfa22a69e1b2cb7a5a00168f2625e | refs/heads/master | 2023-03-17T00:33:29.619647 | 2019-08-30T03:17:49 | 2019-08-30T03:17:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 360 | rd | do_feature_selection_by_random_forest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{do_feature_selection_by_random_forest}
\alias{do_feature_selection_by_random_forest}
\title{Title}
\usage{
do_feature_selection_by_random_forest(data_df, data_vars, outcome, data_dir,
output_pattern)
}
\arguments{
\item{ou... |
b410129f59a4c0b43674eda954ae781ce23c77f5 | 69cb42388719a7137ff3afbef869e6d45fcef4d5 | /Classification/mmm.R | f5e31b56a1146df0f51da31dc29b61968192f9fb | [
"MIT"
] | permissive | Deekerubo/AccidentPrediction | 660ad1e28585a2d09f253712d73f20be0e7b0c0a | e2e9739a7c1be3a48947107c0e42468b8331e92e | refs/heads/master | 2020-03-26T02:10:48.346321 | 2019-06-04T11:10:35 | 2019-06-04T11:10:35 | 144,400,039 | 0 | 1 | MIT | 2023-05-10T21:18:31 | 2018-08-11T16:14:31 | R | UTF-8 | R | false | false | 703 | r | mmm.R | #perfome linear regression on training data
reg<- lm(Accident_Severity~.,data=train_data)
#predicttestdata using liner modelling
predict<- predict(reg,newdata=test_data)
predict
plot(predict)
#testing the posibility of accident severity with values less than
Tab<- table(test_data$Accident_Severity, predict>2.8 ... |
f04310f8b39659390601affc263a74b5431a18c7 | 1d821994bcabecfbb2b5d10feca107ede2f95bc3 | /R/inverse.logit.r | 57ce2e452733b3204ac26d3704553953b41d7f9a | [
"MIT"
] | permissive | jae0/carstm | 1ca3c10790edf39abc938cadc4599839f92fd206 | 3fdfe0b6d8bf601acaf8b1732274d2ff217731ed | refs/heads/master | 2023-08-16T23:48:09.986292 | 2023-08-16T23:02:38 | 2023-08-16T23:02:38 | 117,303,833 | 0 | 0 | MIT | 2018-11-09T15:04:41 | 2018-01-13T01:27:33 | R | UTF-8 | R | false | false | 146 | r | inverse.logit.r |
inverse.logit = function( x ) {
# x should be the log odds ratio
oddsratio = exp(x)
prob = oddsratio / (1 + oddsratio )
return (prob)
}
|
94a3279678a5f03602e225e80005745bd3097ad2 | 2080044625e70fbe2407d923d1b3727da9ced1b2 | /glassKNNnw.R | 8bece9f789ceac4e8e017b6085e9d69255bb6670 | [] | no_license | kurla-sreevalli/DS_Rcode | 01a26929ed49f239fdf1b7d7eff50633ec857758 | 7d527816715954c993112ce1dcabd1a30fc26a1e | refs/heads/master | 2023-01-29T07:40:32.493397 | 2020-12-08T11:04:02 | 2020-12-08T11:04:02 | 294,662,354 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,916 | r | glassKNNnw.R | library(readr)
glass <- read_csv("C:/Users/sreevalli kurla ksv/Downloads/Excelr Data-20190131T150000Z-001/Excelr Data/Data Sets/KNN/glass.csv")
View(glass)
str(glass)
#table of type
table(glass$Type)
glassdf <- as.data.frame(glass)
# Replace types column names for 1,2,3,4,5,6,7 as type1,type2,type3,type4,t... |
0a9002a3d7ea62a8c74eacee499c53b50169e2c2 | 67565703b258987307a8c51a12c4c9b24ee3f7ca | /R/geom-colh.R | 238d36f309496e045ea81548d11b441ae9a12596 | [] | no_license | lionel-/ggstance | 2c049629963e4aac01a3a49f115f56e3936e560c | 7e303d755624d3764d4543a18c9abdbd410e2767 | refs/heads/master | 2023-04-03T17:08:36.786110 | 2023-03-14T16:59:59 | 2023-03-14T16:59:59 | 50,201,421 | 202 | 24 | null | 2023-03-14T17:00:02 | 2016-01-22T19:04:00 | R | UTF-8 | R | false | false | 1,258 | r | geom-colh.R | #' @rdname geom_barh
#' @eval rd_aesthetics("geom", "colh")
#' @export
geom_colh <- function(mapping = NULL, data = NULL,
position = "stackv",
...,
width = NULL,
na.rm = FALSE,
show.legend = NA,
... |
c8ba20fa86e63a9bc6ec99bae21a85c1c02a2f4d | 1e800858d0d3130be58458b284f31cc196f48f10 | /int.R | 380590988da804f95cdeb8912b0857cd9b878bf3 | [] | no_license | ShanYu3393/fusionFLM | 6f1ac495e680b10ac193abfdbff59b28c83cb12f | e216f63d2ff9adc86b64a1c78568966af22a92df | refs/heads/master | 2022-11-09T12:46:23.769244 | 2020-06-23T15:17:42 | 2020-06-23T15:17:42 | 273,521,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 101 | r | int.R | int <- function(func, time, X, t.range) {
sum(X * func(time) * (c(time[-1], t.range[2]) - time))
}
|
adc89d7c8a405bf536b349e52bde97a52c7bb6a2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/KMsurv/examples/bmt.Rd.R | 7280a17ad67b3e25d67a17d1b9fc7183a2d0f3e2 | [] | 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 | 136 | r | bmt.Rd.R | library(KMsurv)
### Name: bmt
### Title: data from Section 1.3
### Aliases: bmt
### Keywords: datasets
### ** Examples
data(bmt)
|
de458da2deac405246e67efdfcba7d51c1d325ef | 135bfc3f68e44689cb31b9c321f5c6cfe860d614 | /BS_compiled_OutputsAnalysis.R | 1b79175bf0af64fdaf8a5a5ef09bfac1bac9b2a4 | [] | no_license | siminl/Project-Coupon | 16601669c54c681bbcbc21527b127d0561d03b2b | c49eceeabe52916bd0d89a5e724662aeff7f77f5 | refs/heads/master | 2021-07-20T13:54:49.284769 | 2021-02-21T16:40:58 | 2021-02-21T16:40:58 | 87,201,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 105,744 | r | BS_compiled_OutputsAnalysis.R | industries_to_check <- c(2,5,11,10,1)
# bs_outputs_df <- vector()
# bs_outputs_df <- sapply(bs_outputs_stored, function(x) sapply(x,function(xx) cbind(bs_outputs_df,c(xx$par,xx$convergence,xx$value))))
#
#
# bs_outputs_compile <- (t(rep(0,dim(bs_outputs_df[[1]])[1]+2)))
# colnames(bs_outputs_compile) <- c("ch","thet... |
3613e44be16f0fcdaa9f28bf3a60ae4a53dc6680 | 2defb970de80008d3a5f77728bf3f896832fe2e1 | /R-proj/kc_read_data.R | 2a6f9700a5a45111091b8982d54c0aa9d2e57d57 | [] | no_license | FredHutch/COVID_modeling_schools | bd211844ebd00c5977ac6ad0ef8b298aa7d6a8f2 | 98c1a879e1685b78a21427780f0f34941c309034 | refs/heads/master | 2023-08-31T14:37:46.365370 | 2021-10-06T16:36:47 | 2021-10-06T16:36:47 | 413,988,503 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,713 | r | kc_read_data.R | # this file reads in the data used to fit the model and processes it into the required format
require(lubridate)
require(dplyr)
# Original sources ####
# data file downloaded from the DOH site uses data from King County downloaded on Oct 9th (cut down to 9-30)
# this is the data used to calibrate the model
#
# test... |
1017a60f09328a6f27cc264fa7d035bd8e9ff6bd | bde39c3923798ffd37486ca60532b8f3006a36b0 | /misc R scripts/QC computed indicators boxplots.R | 23ad8e60b72ac66183c9543b5dae282f6c6157c3 | [] | no_license | usubuglab/AIM_2016 | 0baa6eacb579e98ce9f2dc615bfa0647324200c2 | c634d37263ec4a8bd7ee1cf27d38edace4806b5a | refs/heads/master | 2021-07-19T21:18:38.268763 | 2021-03-24T19:51:43 | 2021-03-24T19:51:43 | 49,015,002 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,405 | r | QC computed indicators boxplots.R | #QC computed indicators by looking at boxplots by indicator and ecoregion
IndicatorsFinal=read.csv("Z:\\buglab\\Research Projects\\AIM\\Analysis\\QC\\2017\\AK\\IndicatorsAK8feb2018_Alldata_boxplots_for_workshop.csv")
IndicatorsFinal=read.csv("Z:\\buglab\\Research Projects\\AIM\\Analysis\\QC\\2017\\AK\\IndicatorsAK8feb... |
6b66448dae67deac16d8dc1e3c7af19b465fc7e2 | 29af718d33105bceddd488326e53dab24e1014ef | /Satisfiability/Transformers/Generators/Queens/GenericSAT/data/exp_files/ExpQueens/ExperimentR2.R | d8c68e54c2a4dcc8084f6cf4f56b42f11b2c186a | [] | no_license | OKullmann/oklibrary | d0f422847f134705c0cd1eebf295434fe5ffe7ed | c578d0460c507f23b97329549a874aa0c0b0541b | refs/heads/master | 2023-09-04T02:38:14.642785 | 2023-09-01T11:38:31 | 2023-09-01T11:38:31 | 38,629 | 21 | 64 | null | 2020-10-30T17:13:04 | 2008-07-30T18:20:06 | C++ | UTF-8 | R | false | false | 6,209 | r | ExperimentR2.R | # ExpQueens: Version: 0.3.4, parameter r 0 ... 10
# run on csverify
# Remark OK 3.3.2019: used old version of shuffle, leaving first field untouched
N sol nds h munds msnds hts t
1 1 1 0 0 1 0 0.00
2 0 3 1 3 0 1 0.00
3 0 7 3 7 0 1 0.00
4 2 15 5 3 1 2 0.00
5 10 43 7 3 1 2 0.00
6 4 133 20 25 1 3 0.00
7 40 443 29 17 1 4 0... |
dfc8700a7482c17c81c337acf0d3aa7dffe2bbfb | 257afcbc82d3610b68db6ad1227862a25f24e5d9 | /man/spectrolab.Rd | eca3f7e833dd2b18646ec6ae1c5ce922f44740b1 | [] | no_license | annakat/spectrolab | 061f6e9dfdfcf00431b8fea6164be3de1be052fd | c0a342b4a924bd48f051d8418df0b60a3d0dd9d7 | refs/heads/master | 2021-07-21T05:21:30.337824 | 2019-09-05T19:36:18 | 2019-09-05T19:36:18 | 142,489,204 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 250 | rd | spectrolab.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spectrolab.R
\docType{package}
\name{spectrolab}
\alias{spectrolab}
\alias{spectrolab-package}
\title{Spectrolab}
\description{
Class and methods for hyperspectral data.
}
|
5df4630b06c1c09c35578abb1174d669c3e58018 | 67a6f1af8a7e28e3e64f123ce48fff3017364094 | /man/getUCSC.Rd | 4bb581e1baf01f3239990bf5cf3cc062b40d9cdf | [] | no_license | tastanlab/NoRCE | 3257f0af8da9cbff2152313edc9df9e3b2b4dd1c | e8779cec9bdece0e71a8f85389259a8d1714465f | refs/heads/master | 2020-05-28T14:17:11.643250 | 2019-05-26T12:11:24 | 2019-05-26T12:11:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,016 | rd | getUCSC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getNearest.R
\name{getUCSC}
\alias{getUCSC}
\title{Get nearest genes for the window of the upstream/downstream region.}
\usage{
getUCSC(bedfile, upstream, downstream, hg)
}
\arguments{
\item{bedfile}{Bed formated input gene regions}
\item{up... |
d633d0782183926f46cdd3f6ab14c15a16a27b76 | f5e66f86b5e89c21a54cd8a095de5752018a549e | /data-raw/NOAAetal2012.R | eda3e4e0499e8d185669ad49fafaecc88f017898 | [] | no_license | rjaneUCF/MultiHazard | 5279e4efc869e8745818fe62b37ce1d35534114c | 334b0e1aa6bd5f4dbd68876221fad3c499e691a2 | refs/heads/master | 2023-07-29T15:04:55.523801 | 2023-07-11T20:46:42 | 2023-07-11T20:46:42 | 239,541,679 | 11 | 4 | null | null | null | null | UTF-8 | R | false | false | 90 | r | NOAAetal2012.R | NOAAetal2012<-read.csv("NOAAetal2012.csv",header=TRUE)
devtools::use_data(NOAAetal2012)
|
ed58f8c36779b6c7dcbef4c52ce42a38d8938752 | 930a64ae51ba9c4052bcd2b6d4392ff70f98bde8 | /FORMULAS.R | 2bddc8934a33356b6ef0189f9cb0179292b25e7f | [] | no_license | statisticallyfit/RStatistics | 1e9f59a1ebef597d4c73f3cf10bed5170126d83b | 93915cc141c4cb2b465d301d44695b8ce0ad35f8 | refs/heads/master | 2020-06-26T02:29:51.113577 | 2019-10-18T18:00:14 | 2019-10-18T18:00:14 | 74,606,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,671 | r | FORMULAS.R | source('/datascience/projects/statisticallyfit/github/learningmathstat/RStatistics/Rfunctions.R')
# use DescTools
# Kurt
# Skew
#skewness <- function(x) {
# m3 <- mean((x - mean(x))^3)
# return(m3/(sd(x))^3)
#}
#kurtosis <- function(x) {
# m4 <- mean((x - mean(x))^4)
# return(m4/(sd(x))^4 - 3)
#}
... |
fac6778abef5010ce5bc1cbf8efb20d2c0892857 | 0ea852e85df22dde661279d2738f229e2f8511e1 | /R/gra.R | 69416b86957c6197e60f49c0a0d5aad89cc29c87 | [] | no_license | ekarbowiak/SuperFarmerPKEK | 6666768970e682de58a1d7136b744c0a3f642f4f | e660a8a5ef72834d77a64bd8ce7290e9e2c0af8e | refs/heads/master | 2021-01-13T05:31:16.125472 | 2017-01-27T09:08:00 | 2017-01-27T09:08:00 | 80,165,451 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | gra.R | #' Gra w SuperFarmera zadana strategia
#'
#' Funkcja gra() oblicza czas gry w grę SupreFarmer zadana strategia
#'
#' @param strategia strategia, ktora chcemy zagrac. W pakiecie do wyboru: strategy1, strategy2, strategy3
#' @param kostka1 zwierzeta znajdujace sie na kostce nr 1
#' @param kostka2 zwierzeta znajduja... |
18f8d934168fb4283542605213ba6edba053fc98 | b119d79e8a8790fd6ce300bab406a2b67f7e70ec | /tests/testthat/test-parser.R | c2eb67d6c3df5d60b650689ea21289dffa0168eb | [
"BSD-3-Clause"
] | permissive | gadenbuie/selectr | f8a499c8aad67e3dfacb312e155947b8a6dd8f93 | 7bd1b0f834fc7eaa1b6dde749a1b847884663dc0 | refs/heads/master | 2022-04-27T22:02:58.729128 | 2019-04-02T08:42:08 | 2019-04-02T08:43:19 | 202,213,707 | 0 | 0 | NOASSERTION | 2019-08-13T19:47:56 | 2019-08-13T19:47:56 | null | UTF-8 | R | false | false | 5,984 | r | test-parser.R | context("parser")
test_that("parser parses canonical test expressions", {
parse_many <- function(css) {
selectors <- lapply(css, function(x) parse(x))
n <- length(selectors)
results <- list()
for (i in seq_len(n)) {
selector <- selectors[[i]]
if (is.list(sele... |
ab3214b976903edc7adda28eea07c05c8ceadcb1 | d692ef9a915e8d901d6c17567a632f555c70d5c9 | /YATAWebModels/R/generators.R | bada7e4ad93635605bdc20d759267398a8f42514 | [
"CC0-1.0"
] | permissive | cryptobuks1/YATA2 | 386f0cc47e6bfeda8c626d6d44e033708f06c404 | 04d7c4fefea3babc0d0f30ee15c9a52602623055 | refs/heads/main | 2023-04-26T16:05:54.430701 | 2021-05-27T15:00:58 | 2021-05-27T15:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,761 | r | generators.R | makePoints = function(size=100) {
rpar = 50
# Start
r1 = sample(100:150, 10, replace=TRUE)
idx = sample(1:10, 1)
# Plus/Minus
ud = sample(c(-1,1),size,replace=TRUE)
#values
v1 = runif(n = size, min = 0, max = 1)
v1 = round(v1,3)
var = v1 * ud / 10
dat = rep(r1[idx], size)
for (i in 1:(size-1)) {... |
431ed021c69925bc4d25a3afe415b08248d55b41 | aee78785ad6670a0fab9a6ae0b43710076f4f67f | /R/cra3.R | a4e96c57e43ceca019fbddf65cf874d99c421658 | [] | no_license | cran/PowerUpR | 86f9b9210dbfa5645b5780c448c75d0e339e7749 | ac7e9ab6b727f9536a0245441642b17bdbb3f54e | refs/heads/master | 2021-11-10T04:28:44.972166 | 2021-10-25T15:10:02 | 2021-10-25T15:10:02 | 72,525,187 | 11 | 7 | null | 2018-04-25T18:56:54 | 2016-11-01T10:12:25 | R | UTF-8 | R | false | false | 40,291 | r | cra3.R | mdes.cra3r3 <- function(power=.80, alpha=.05, two.tailed=TRUE,
rho2, rho3, p=.50, g3=0, r21=0, r22=0, r23=0,
n, J, K){
user.parms <- as.list(match.call())
.error.handler(user.parms)
df <- K - g3 - 2
SSE <- sqrt(rho3*(1-r23)/(p*(1-p)*K) +
... |
c5485ffbbdca33e8721007ce76e4820c3b9fc18a | aa01dbbf23cbea8b1575dc9b7b5f04717a13796e | /Project5.R | 95e8aeab1dde8a8d856ce93cf44ebd29a353f0a5 | [] | no_license | Priyanshi73/R_projects | 21a66f1db3a05f52fc80f3cd69438a1f67060381 | f7b5352aae088e0c6fa1801f7a70cbd0676ab3fb | refs/heads/master | 2022-12-14T20:08:24.688877 | 2020-09-14T13:28:29 | 2020-09-14T13:28:29 | 295,216,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,364 | r | Project5.R | getwd()
setwd("C:\\Users\\Priyanshi\\Downloads\\Data\\project_5")
bank_full_test=read.csv("bank-full_test.csv",stringsAsFactors = F)
bank_full_train=read.csv("bank-full_train.csv",stringsAsFactors = F)
View(bank_full_train)
dim(bank_full_test)
dim(bank_full_train)
setdiff(names(bank_full_train),names(bank_full... |
dcc6668152ab63bd0f7c2c316a8586dd0f561f3e | 7a513b603765226575b01d439530715b1519d74c | /man/convert.temp.Rd | 704fb833e264b4d67deed97591dd0e3bb982769f | [] | no_license | jsugarelli/tempconvertr | 00ce29b5312cceee4e11a590be8b68cd4ced1ae9 | c0960f6e83bbaa0bc81a783b0ccd387fcf3e32ee | refs/heads/master | 2021-03-01T18:37:07.693329 | 2020-03-08T12:11:09 | 2020-03-08T12:11:09 | 245,806,456 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,397 | rd | convert.temp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tempconv.r
\name{convert.temp}
\alias{convert.temp}
\title{Converting Temperatures}
\usage{
convert.temp(from.temp, from.unit = "Celsius", to.unit = "Kelvin",
as.json = FALSE)
}
\arguments{
\item{from.temp}{Temperature value to be... |
317741497b389110c55939f7d40b74b3417afd87 | 7350b810110e86c3418ed68556a1922cfdc0ac17 | /script.R | 3fece8c423c39bfc45b761489946715ae9302319 | [] | no_license | mattpiskorz/image_processing_r | dd808403628912191a70be4684f8631627aef8c2 | a64c13543f5646aaa5a7a208e784c7d3fb2b2620 | refs/heads/master | 2020-05-30T18:56:01.647357 | 2014-12-04T14:07:36 | 2014-12-04T14:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 271 | r | script.R | library("EBImage")
library("png", lib.loc="~/R/x86_64-pc-linux-gnu-library/3.1")
file_source <- "/home/matt/Projects/image_processing/test_images"
file_name <- "6_6_black_and_white.png"
image = readPNG(paste(file_source,file_name, sep="/"))
display(image)
print(image)
|
0869086682d473af1e9ee052fc66b6c4b3b24c97 | 04ab1edfb4b08adabbf89eb8011b78c35c6f4e0f | /scripts/10_parseProteomicsSpectronaut.R | b84d60029a8659fbd770e377883ae20f785412ad | [] | no_license | alanlorenzetti/tlr_v2 | b4bc9d7c00580dd08015273957e919a35cc9b4df | ea4c3e2701cbd5e6357fac83b4f764e6b7969d30 | refs/heads/master | 2023-05-27T11:57:20.296063 | 2021-06-08T22:17:02 | 2021-06-08T22:17:02 | 290,974,388 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,257 | r | 10_parseProteomicsSpectronaut.R | # alorenzetti 202007
# description ####
# this script will parse proteomics abundance data
# generated by Spectronaut software
# loading files ####
file = "data/Halo_WholeLysate_analysis_HaloIonLibraryVNG_merged_final_2018-04-07_SW100_Protein_Report_20200731.xls"
file2 = "data/Halo_Ribo_analysis_HaloIonLibraryVNG_mer... |
3a0010d2473f7a3cafd6a3e49678b667e282fedc | f8698ecfccdb58bb284f364108e93cd0d4c8355e | /functions/utility.R | 944cd0b2e239250aa4f752aa0965d2db8326d484 | [] | no_license | martin-vasilev/DEVS2 | 5e46cb702ed06e6ee927907fcd8606a4e5277baf | f47f5d19d5c1d5b13bf64c128afb56aa205dd347 | refs/heads/master | 2023-01-11T22:06:28.078862 | 2020-11-11T22:44:46 | 2020-11-11T22:44:46 | 121,888,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,048 | r | utility.R |
# Martin R. Vasilev, 2017
########################
# UTILITY FUNCTIONS #
########################
# Extract text containing stimuli info:
get_text<- function(file){ ## extracts the loaded text material #
start<- which(grepl("DISPLAY TEXT", file))+1 # start point
end<- which(grepl... |
9a1968c2f4af0c9233aae705ce9d034b3e9d11ff | 9edbb0f6dab00623bd0b0042062e0201042090f0 | /man/plot.detectOutlier.Rd | 7aeee4cff5a07698374e73bb3d9f9fa03567ce3a | [] | no_license | bozenne/butils | 87161bb1e31570984f5a80e00d783f59297516fb | 358a62cb656bf0b8ac335e71bf8b79102b458d8e | refs/heads/master | 2023-07-23T10:19:58.756236 | 2023-07-18T13:00:10 | 2023-07-18T13:00:10 | 63,180,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 385 | rd | plot.detectOutlier.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.detectOutlier.R
\name{plot.detectOutlier}
\alias{plot.detectOutlier}
\title{plot function for detectOutlier objects}
\usage{
\method{plot}{detectOutlier}(x, ...)
}
\arguments{
\item{x}{an object of class detectOutlier.}
\item{...}{not u... |
adc9e204ff79d031db95fff6c6064583bf63034c | f57f1f4c562cde9d39539bc3186c8eed3b6f54e0 | /man/selectLambda.Rd | c4d7e05b0a09056e99a8a0057d5bd1b2e0c02501 | [] | no_license | ChristianGoueguel/rospca | 0a8905c686ad83a24ad4b081c924bd4ad1539a44 | 6631abbd32845558160bf682ac992be018768643 | refs/heads/master | 2023-03-19T03:37:37.298457 | 2018-10-20T15:46:39 | 2018-10-20T15:46:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,311 | rd | selectLambda.Rd | \name{selectLambda}
\alias{selectLambda}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Selection of sparsity parameter using IC
}
\description{
Selection of the sparsity parameter for ROSPCA and SCoTLASS using BIC of Hubert et al. (2016), and for SRPCA using BIC of Croux et al. (2013).
}
\usage... |
11d39c244a78f8767bb383fb873d58cb11758b7f | 22057bf4f2eb001f739761e53a5578de578e6920 | /2D_model_initial_setup/field.statistics.R | a90fed6b288f36408f3512475ce4929608602a8a | [] | no_license | mrubayet/archived_codes_for_sfa_modeling | 3e26d9732f75d9ea5e87d4d4a01974230e0d61da | f300fe8984d1f1366f32af865e7d8a5b62accb0d | refs/heads/master | 2020-07-01T08:16:17.425365 | 2019-08-02T21:47:18 | 2019-08-02T21:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,521 | r | field.statistics.R | rm(list = ls())
library(rhdf5)
library(BurStFin) #for partial.rainbow
H5close()
load("results/general.r")
case.name='heat2.1'
obs.time = seq(1,960)
ntime = length(obs.time)
load(paste("results/",case.name,".x.velocity",sep=''))
load(paste("results/",case.name,".z.velocity",sep=''))
load(paste("results/",case.name,".hy... |
16bfa68e757cbac33ddaeadff5505489e2b24379 | e55359349183a5c8547f624c628e59f8d378f618 | /SLX-12998_mmhs/peaks/SLX-12998.D707_D507.HH772BBXX.s_2.r_1.fq.gz_model.r | 112de3c8d12f1200e265370cee0440c18c75f4c4 | [] | no_license | andrewholding/BrundleDevelopment | 701d011546cdce0c3033a9a4f91357fa629e609a | 46034028558886f0c442f329ded61969b12c023d | refs/heads/master | 2021-01-17T19:15:48.543303 | 2018-02-20T16:28:53 | 2018-02-20T16:28:53 | 95,553,226 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 78,110 | r | SLX-12998.D707_D507.HH772BBXX.s_2.r_1.fq.gz_model.r | # R script for Peak Model
# -- generated by MACS
p <- c(0.0380848212526,0.0446991644003,0.051030211659,0.0577307752946,0.0637046233889,0.0635691340507,0.0637538922392,0.0633720586496,0.0639263332151,0.0636184029009,0.0639632848528,0.0637662094517,0.0635198652004,0.0635691340507,0.0639140160025,0.0645298766308,0.064308... |
640746c63f7be8aa735cf18230c88536ef222b54 | 5476725a7a3ea2c8e4396edd59e6d8d565f8d28d | /0.Tidy_data_boss.R | f80c205c1b674100437d14a5d72e55fdaf5b5678 | [] | no_license | UWA-Marine-Ecology-Group-projects/GB_Habitat_Classification | 49ecff1424abb1654f88ba5855b34d7528d8e702 | 9392d5e89ea60a440c6f5831ab571d594a09f077 | refs/heads/master | 2023-07-09T18:10:31.794091 | 2021-08-19T04:40:07 | 2021-08-19T04:40:07 | 375,555,452 | 0 | 0 | null | 2021-06-10T03:15:21 | 2021-06-10T03:15:20 | null | UTF-8 | R | false | false | 5,670 | r | 0.Tidy_data_boss.R |
###
# Project: Geographe Bay
# Data: BOSS
# Task: Cleaning boss habitat data and adding spatial covariates
# author: Kingsley Griffin
# date: Aug 2021
# modified: Anita Giraldo 13/08/2021 # just added lines for directories and to save xy
##
# library(reshape2)
library(dplyr)
# library(googlesheets4)
library... |
fbd95b008caa1e107365a3dbd9b0ad424373c36b | a0ceb8a810553581850def0d17638c3fd7003895 | /scripts/scripts_analysis/all_merged_analysis/2-downstream_LDA.R | 662d5955b5d5eec1d9528c92517919480d5670ab | [] | no_license | jakeyeung/sortchicAllScripts | 9e624762ca07c40d23e16dbd793ef9569c962473 | ecf27415e4e92680488b6f228c813467617e7ee5 | refs/heads/master | 2023-04-15T22:48:52.272410 | 2022-10-24T10:45:24 | 2022-10-24T10:45:24 | 556,698,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,612 | r | 2-downstream_LDA.R | # Jake Yeung
# Date of Creation: 2019-12-07
# File: ~/projects/scchic/scripts/scripts_analysis/all_merged_analysis/2-downstream_LDA.R
# Downstream LDA
rm(list=ls())
library(dplyr)
library(tidyr)
library(ggplot2)
library(data.table)
library(Matrix)
library(hash)
library(igraph)
library(umap)
library(scchicFuncs)
... |
f5619a9af1828da5d92f5c9be7e5830779c0ba97 | ab1730e13eb49478aa0cc443d40c68921cbe1662 | /man/StockChanges.Rd | 0dfd309de691316adc7632356f583f9234a676f5 | [] | no_license | cran/Lock5Data | 688fa73667eacea4f4a325763907bba30f55c030 | 770f5fd2b8956dbb0c822133223f9c811561f130 | refs/heads/master | 2021-08-02T06:23:39.102769 | 2021-07-22T21:40:10 | 2021-07-22T21:40:10 | 17,680,339 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 727 | rd | StockChanges.Rd | \name{StockChanges}
\alias{StockChanges}
\docType{data}
\title{
Stock Changes
}
\description{
Stock price change for a sample of stocks from the S&P 500 (August 2-6, 2010)
}
%\usage{data(StockChanges)}
\format{
A dataset with 50 observations on the following variable.
\tabular{rl}{
\code{SPChange} ... |
4afc8950caa21de07e084c5ae739b2ed7cdb5525 | 261e86602bc68e647ce1c2335694bb186a18952d | /man/tor_ppo.Rd | 5775180585ca0c2d4931ba5d1519e13114fb839a | [] | no_license | vullioud/torpor | 9b600eebe41f3904f72a7b6c7c2c9bbc7743cb1c | f7fbf134e1ae7fd7c9b6d2ee31c803e79d59c91b | refs/heads/master | 2023-06-24T11:42:09.732894 | 2023-06-16T09:01:00 | 2023-06-16T09:01:00 | 139,414,327 | 0 | 0 | null | 2023-06-16T08:36:40 | 2018-07-02T08:33:03 | R | UTF-8 | R | false | true | 856 | rd | tor_ppo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tor_summarise.R
\name{tor_ppo}
\alias{tor_ppo}
\title{Check priors/posteriors overlap}
\usage{
tor_ppo(tor_obj)
}
\arguments{
\item{tor_obj}{a fitted model from \code{\link[=tor_fit]{tor_fit()}}}
}
\value{
a data.frame
}
\description{
\code{\... |
8e6131efce72582aeb1c50f20a544b14c02754a7 | 859a2bdab8ba9943fffde77a0a930ba877c80fd9 | /R/create_background_panel_instance.R | a0f5c0fe6cb9957b246dd635c84328b04cb35a56 | [
"MIT"
] | permissive | alkodsi/ctDNAtools | e0ed01de718d3239d58f1bfd312d2d91df9f0f0d | 30bab89b85951282d1bbb05c029fc333a139e044 | refs/heads/master | 2022-03-20T11:47:06.481129 | 2022-02-20T11:25:48 | 2022-02-20T11:25:48 | 208,288,617 | 30 | 9 | null | null | null | null | UTF-8 | R | false | false | 4,027 | r | create_background_panel_instance.R |
#' Creates a background panel instance from a bam file (e.g. healthy samples)
#'
#' This function scans the targets regions in one bam file, and reports the number of reference, non-reference reads for each loci
#' in addition to the non-reference (VAF) allele frequency. Loci with VAF higher than vaf_threshold are mas... |
467d3504cf26b28bfe72299d5b153362fa0650db | 0c6032eb0f9711b6de7ef08e7349197c620952f0 | /STabundance/man/d_logP_Z.Rd | 16592368ead9f2c8e0de51232d706f9635a96569 | [] | no_license | pconn/STabundance | 75c3b8efc27112b086711442a854ce8d27a914e3 | ef6ccccf0fae635d7a9f6b1a49d3c1bc34dd6f44 | refs/heads/master | 2021-01-01T05:35:05.392653 | 2016-01-29T21:45:07 | 2016-01-29T21:45:07 | 15,171,892 | 3 | 1 | null | 2016-01-29T21:45:07 | 2013-12-13T19:19:16 | TeX | UTF-8 | R | false | false | 923 | rd | d_logP_Z.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/util_funcs.R
\name{d_logP_Z}
\alias{d_logP_Z}
\title{Calculate partial derivative vector for for Langevin Z MH updates (for OPRS model)
(Assuming function is called separately for each multinomial update)}
\usage{
d_logP_Z(Z, Log.offs... |
e386af4957dccd2409a42df3bc5510c567c8d077 | aad2ba18223ae709bd1ae8546a8cbf1cc8e1af4a | /scripts/functions/cache_RDS.R | bf00914d9e5a5e2c2c44d8874ed9dd2f06497cdc | [
"MIT"
] | permissive | rubysaltbush/pollination-macroevolution | b20c3d43d4db18ef61e49a02b323705b0db3750f | 1693b63a60f0d4fdb27e9fe2627af83b2239950f | refs/heads/main | 2023-06-25T01:37:12.459831 | 2023-06-20T00:57:55 | 2023-06-20T00:57:55 | 551,184,048 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 412 | r | cache_RDS.R | # function to cache pre-prepared R data. If RDS already in cache will read data
# from cache, if not will run defined script to produce and then cache data
cache_RDS <- function(path, fetch_function, read_function = readRDS,
save_function = saveRDS) {
if (file.exists(path)) {
read_function... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.