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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a536a3f952033528d009471264325d08fe53247e | aa30f641d17b4658b33ecb28571ad46076128361 | /plot3.R | 3cdc4fcfa87ca4a9c3c662e126ef501939718a63 | [] | no_license | zubayer16/ExData_Plotting1 | d9b9b47251d9468a9714d04fa49f65244b73a388 | f1793c324d7ccd6b00b68ba6d0a07d593cdf81ee | refs/heads/master | 2022-07-11T18:01:17.980736 | 2020-05-17T17:10:06 | 2020-05-17T17:10:06 | 264,683,629 | 0 | 0 | null | 2020-05-17T14:19:11 | 2020-05-17T14:19:10 | null | UTF-8 | R | false | false | 1,331 | r | plot3.R | #Reading the text file in a table
powercon<-read.table("household_power_consumption.txt",header=TRUE,sep = ";")
#Extracting data for rows with dates 1/2/2007 and 2/2/2007
powercon1<-subset(powercon,Date=="1/2/2007" | Date=="2/2/2007",select=c("Date","Time","Global_active_power","Global_reactive_power","Voltage","G... |
055ce406e5f991c0c5b1bd26115eb68d601c6b38 | c82d2e02c0f8eb75857d01073e5a7bdf499b753b | /R/sc_sensitivity_analysis.R | d9b5fa2206af19b6294737f2362513065bece2a9 | [
"MIT"
] | permissive | passt/hsc-division-patterns | d680f917eeacaf2ca952ea1b180ade1c4ed4604d | 2e93b0a910435e67aa7dcdce5566e44c84747e54 | refs/heads/master | 2022-12-19T04:46:39.928254 | 2020-09-29T08:52:19 | 2020-09-29T08:52:19 | 294,457,747 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,361 | r | sc_sensitivity_analysis.R | # Function to run LIME variable importances
# LIME parameters optimized to give good local explanation of model, and consistent interpretations across different cells
library(lime)
library(h2o)
library(gplots)
localH2O = h2o.init(nthreads=-1)
########################################################################... |
b95bb07234d8c3f2ad3412421903d25ab45ef4c7 | 58b373c005dd500abac956cd56282bb6bb0c9cdd | /models/lmmodels/multiple linear model regression.R | 106bd0607dcb316c3c022c33b93be1d225c95264 | [] | no_license | Manjunathambv/Data-Science_-_Insofe_R_programming- | 6555974b924ce21783672e66c40a71706c970189 | a9ab6d5b0b3731905b5e52bf31005349a9ce7b50 | refs/heads/master | 2022-11-14T05:09:30.046663 | 2020-06-20T03:59:19 | 2020-06-20T03:59:19 | 273,633,155 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,558 | r | multiple linear model regression.R | rm(list = ls())
data = read.csv("housing_data.csv")
dim(data)
names(data)
head(data, 10)
str(data)
attribute_names = colnames(data)
target_names = "MV"
independent_attributes = setdiff(attribute_names, target_names)
character_names = c("CHAS" , "RAD")
numeric_variable = setdiff(independent_attributes, ... |
a602ed3a4dbd84fc229fcc7ce2ab8c57c575a47d | f624d93869a9c8404bf10cf48cd21db6f7993a8a | /data-raw/ch_12_work.R | 540d7682d987762b7728bdcb647bd6b1b0183533 | [] | no_license | clayford/bme | 470ba4f0ff078d1c0f963455f89727e3a3a76616 | 38909ccddb301fc8c3c7b3abab93ad672ea2dbcd | refs/heads/master | 2021-01-21T11:40:24.124585 | 2019-02-01T21:39:35 | 2019-02-01T21:39:35 | 56,441,842 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,531 | r | ch_12_work.R | # Biostats in epidemiology
# ch 12 work
# 12.2 --------------------------------------------------------------------
# Example 12.2
library(epitools)
schizophrenia
# crude death rate and directly standardized death rate
with(schizophrenia,
ageadjust.direct(count = cohort.deaths, pop = cohort.py, ... |
58afb698922f852dd1fb9329601ad89ffcb9bc41 | 24b46b2f61e37af930fb8d20cf3873ac57b42abb | /04_Codes/simulation_experi/phase 1.R | 002ea7cec2de63c93ee39b59bc98feb5e6788cb3 | [] | no_license | anqiChen9306/Territory-Mangement | 1e1e0c169b4179a3a0eddb14da81eeb4795c4636 | 011f8dda27cce4328cc57fd1c67a12144136558c | refs/heads/master | 2020-03-06T14:41:58.250533 | 2018-07-25T12:24:38 | 2018-07-25T12:24:38 | 126,940,383 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 26,288 | r | phase 1.R | library(tidyr)
library(dplyr)
library(DT)
library(data.table)
library(reshape2)
library(stringr)
library(parallel)
library(foreach)
library(doSNOW)
setwd("D:\\Rachel\\WorkMaterial\\Pharbers_git\\Territory Mangement\\04_Codes\\simulation_experi")
source("global.R")
load("backupofdata_0.RData")
## set the random number... |
a449977ed97fdbfb2d216360580f86b7a613aeee | 9ba83814967597f5b58cf0b91f15bd2f3895e379 | /man/tictocify.Rd | bbe84bceb04d9512bec25e11fc66c9210fd9cafd | [] | no_license | visuelledata/frite | a71f297167caa6b5261d1d724fa5f62ef88322d8 | 090d392bbc54a7efc47a2ab54eda26f905d8d09c | refs/heads/master | 2020-03-20T12:43:14.430397 | 2018-07-03T03:28:47 | 2018-07-03T03:28:47 | 137,438,851 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,097 | rd | tictocify.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tictocify.R
\name{tictocify}
\alias{tictocify}
\title{Creates a function that functions identically to the original, but gives execution time}
\usage{
tictocify(..f, tic_args = NULL, toc_args = NULL)
}
\arguments{
\item{..f}{Any function that... |
c2eb0e7b8d7160d46898ccc81795ce859fec13fb | 8ec0decfa8bab54bce5eb1feffb4b89bdcadf2f2 | /app.R | a8aafd86a9c796e7e1083bc171dd9bb95b8ef8a5 | [] | no_license | usfviz/jenniferzhu-hw2 | f39e4bb695293602ed5ac70dfd5683bfdd40a486 | b2f304484076bf0888fd106e95a91058e0663fd6 | refs/heads/master | 2021-01-19T19:47:28.558807 | 2017-04-18T05:46:16 | 2017-04-18T05:46:16 | 88,446,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,336 | r | app.R | library(shiny)
library(ggvis)
library(reshape2)
library(dplyr)
ui <- fluidPage(
headerPanel('HW2 by Jennifer Zhu'),
fluidRow(
column(3,
wellPanel(
radioButtons("region", "Region",
c("All" = "All",
"East Asia & Pacific" = "East Asia & Pacific",
... |
4ca137d1e8cbf6e21dbfdc69414a58c1851ff7dc | fd733b41910324b1cd829c07963b01e89148dca1 | /man/soql_add_endpoint.Rd | 62a939414f6a62ea3b36ad7317f2332022de8ab1 | [] | no_license | cran/soql | a4d99c0d7a48b9132d8b6f374f9aba27bae09085 | bfdb7859f0d4c42278a43c7ecbb28eb8e62537bb | refs/heads/master | 2016-08-11T15:21:34.027062 | 2016-04-01T10:41:49 | 2016-04-01T10:41:49 | 54,423,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,080 | rd | soql_add_endpoint.Rd | \name{soql_add_endpoint}
\alias{soql_add_endpoint}
\title{
Add SODA API endpoint
}
\description{
Add an endpoint to an already-existing \code{soql} object.
}
\usage{
soql_add_endpoint(soql_list, endpoint)
}
\arguments{
\item{soql_list}{
The \code{soql} object. If you don't have one yet, use the \code{s... |
42d13227e252036975c3e25f1e51f6b3bb7b5bc7 | 07689fc1a6e6cf546706f1642942fab4cb4e075b | /R/SpeedFilter.R | e7a3ee37b8825aa8f4c0a9f92995f8bd980a4cda | [] | no_license | dvm1607/TrajDataMining | 48e35418a9b18f2c8d81d81ee21d1a76744993e7 | 166baeeafa341fd4b0f8e6fc9137f3cdf294a6a4 | refs/heads/master | 2021-01-10T12:23:44.692776 | 2017-06-16T14:01:43 | 2017-06-16T14:01:43 | 52,975,737 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 742 | r | SpeedFilter.R | setGeneric(
name = "speedFilter",
def = function(A1,speed)
{
.loadPackages()
standardGeneric("speedFilter")
}
)
setMethod(
f = "speedFilter",
signature = c("Track", "numeric"),
definition = function(A1, speed)
{
if (is.null(A1)|| length(A1@sp) < 3){
return (A1)}
firstPoint = 1
... |
a442d9b7653df230c6267f34c61de78c51164da3 | 45c9bbfd9290f210b7812b1c596ef8bbf71d766a | /R/two_by_two_contingency_table_test.R | 1fb26beaf015e4cace9a27a18828d5689c68cb13 | [] | no_license | anhnguyendepocen/stat0002 | 0ecac4af4e85c6b5db05df10d49bd9bee1f21a69 | 66a6372043ef39cec18465d0cf339bb50e02bdf9 | refs/heads/master | 2023-01-02T01:12:46.374718 | 2020-10-16T20:27:34 | 2020-10-16T20:27:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,137 | r | two_by_two_contingency_table_test.R | # ============================== two_by_two_movie =============================
#' Test for lack of association in a 2 by 2 contingency table
#'
#' A movie to study the distribution of the Pearson chi-squared test statistic
#' used to test for lack of association in a 2 by 2 contingency table.
#'
#' @param data A nume... |
183b51473ef361f3ba82c9da098168f989040a96 | 460adc8d1918d26cff8f4c00124d65193d561ce2 | /R/dataTableModule.R | 34c996e68d521424c1f32856e8dbf9e2a8757cf9 | [
"Apache-2.0"
] | permissive | paul-shannon/shinyModules | 74ad8ee492e9cb9c9d82119b616296028369c8d3 | faecba65fb8d77149f4b9c34441b17e67bf35f82 | refs/heads/master | 2022-12-06T13:55:59.807356 | 2020-09-12T19:34:08 | 2020-09-12T19:34:08 | 272,457,191 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,160 | r | dataTableModule.R | #----------------------------------------------------------------------------------------------------
#' the UI for a DataTable shiny module
#'
#' @import shiny
#'
#' @param id the html document's widget id
#'
#' @aliases dataTableUI
#' @rdname dataTableUI
#'
#' @export
#'
dataTableUI <- function(id){
tagList(
D... |
66413ad72ca854af4600a14d492e9eba06e7d08c | 28908345906995f998f6585f7b4d4bc8dd0d467f | /docker/Rpackages.R | ff8a19e16a6a336342ae8105d63c9bddbd58da35 | [] | no_license | OpenMS/usage_plots | 2447120f2f14e82fe727efdd823cadb4fbf99fff | c3526c49b3effa76fbc2fb0a4b420196d98a50c4 | refs/heads/master | 2023-05-11T01:23:01.425200 | 2023-05-08T13:13:55 | 2023-05-08T13:13:55 | 95,778,185 | 2 | 4 | null | 2023-05-08T13:13:56 | 2017-06-29T13:02:26 | Python | UTF-8 | R | false | false | 155 | r | Rpackages.R | install.packages(c('ggplot2','scholar','knitr','rmarkdown','leaflet','rworldmap','lattice','RColorBrewer','sp'), repos='http://cran.us.r-project.org')
q()
|
c839f66f14915e47812de2d13d9d9aa3d31fcc11 | 4e03620bcddf4662f1871f7fe2b61e5f5aceef3d | /R/RcppExports.R | 7a49e33cfc400eb287f62bb849bcd114b4f32b47 | [] | no_license | pitakakariki/lineprof | c898eca166584c8d14536662383d15454c739a3e | 499a79780d58f58337b3ef78b8f31f5c750e68e6 | refs/heads/master | 2021-01-12T20:49:34.025621 | 2015-01-15T05:16:28 | 2015-01-15T05:16:28 | 29,280,271 | 1 | 0 | null | 2015-01-15T04:13:30 | 2015-01-15T04:13:30 | null | UTF-8 | R | false | false | 758 | r | RcppExports.R | # This file was generated by Rcpp::compileAttributes
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
contains <- function(haystack, needle) {
.Call('lineprof_contains', PACKAGE = 'lineprof', haystack, needle)
}
firstTRUE <- function(x) {
.Call('lineprof_firstTRUE', PACKAGE = 'lineprof', x)
}
parseLin... |
050a6ba57cebfdfd065f0b22cd489c8a77ef3ee2 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8642_1/rinput.R | ec7746ef519424cea428f628b40614d9b991effc | [] | 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("8642_1.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8642_1_unrooted.txt") |
79cfd74b6cccd0ffb656da83cd1deff9ecee8eb9 | 7056b32ad7ae1d92599304606793afe43ae195d4 | /R/baseliner_quick.R | 1727e7b0cabe400a84ba43e6f2cf68b8e1b6d8ee | [] | no_license | ahopple/PREMIS-sapflow | 3eb0f451365ad9703903f809db8bd7b3e6d6dde4 | ae637ee2aebbb3895efcde901fc2f9d4f3977df4 | refs/heads/master | 2023-02-20T04:46:36.444707 | 2021-01-21T21:25:22 | 2021-01-21T21:25:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,978 | r | baseliner_quick.R | # Script to process sapflow and PAR/VPD data for use in Baseliner
# Stephanie Pennington | Created August 27, 2019
# Load packages
library(readr)
library(lubridate)
library(tibble)
library(tidyr)
library(dplyr)
# BC files are tab delim
west <- read_csv("../BC/CR1000 BC WEST_Table1_201908.csv",
col_na... |
76bfbca553c73f642cf06a24965443552fad0d12 | fff8e5b247a2ec63521c878b17355b6ccefd9e28 | /habitat - pca.R | 919cb8ca40e58ce1cb54c4bb2cbc72a31a7eeef8 | [] | no_license | coricarver/urbanization-index | 4e44e47f4d87535fc5776f41618235efb884935e | 3670aa6b3f9872922c8d0f9adb4742bbe61e0db5 | refs/heads/master | 2021-12-12T13:06:44.917307 | 2017-01-13T17:31:07 | 2017-01-13T17:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,206 | r | habitat - pca.R | ############################
## habitata - pca.R
##
## Creating the Urbanization Index
############################
#########
## Data
#########
# Load and combine all GIMP-created data files
hab <- do.call('rbind',
lapply(list.files(path = "./data/", pattern = ".txt$", full.names=T),
... |
abb38d6aab7447cfa8707667971841546a4b3094 | 8c0b0e9a59c7230f3a23dbe8b29d2cde68733524 | /man/gard_reptiles.Rd | 724fa4f5c482844ad4fb1fd204bcf97b21f93fbf | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-3.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-3.0-only"
] | permissive | RS-eco/rasterSp | 33754976f86858511ccd6562fd16d47205a9e0df | 8c007900ceb2679f8aee04aec4d936648df5191b | refs/heads/main | 2023-01-11T11:49:02.325118 | 2023-01-09T08:00:37 | 2023-01-09T08:00:37 | 225,630,913 | 19 | 7 | MIT | 2021-07-07T07:15:15 | 2019-12-03T13:48:02 | R | UTF-8 | R | false | true | 424 | rd | gard_reptiles.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rasterSp-package.R
\docType{data}
\name{gard_reptiles}
\alias{gard_reptiles}
\title{Latin names of Reptile Species}
\format{
A \code{data.frame} with 10064 observations and 8 variables.
}
\description{
Latin names of Reptile Species
}
\detail... |
19a2d84567aa9b4e4d17128751b20270c2755f03 | ce6bfb815cf9f86c4fa051f2dd5a821c4dfdf451 | /plot2.R | c67fab6d55b19c39336a3c711543a6647a06301b | [] | no_license | lshizue/ExData_Plotting1 | 76f4c7fa4c79e009e2369f89ff5abde8b866d9e0 | 533eb1a3f48d77eb7677281289bdbce3dc074924 | refs/heads/master | 2021-01-12T20:40:52.288017 | 2015-01-10T18:48:52 | 2015-01-10T18:48:52 | 29,036,006 | 0 | 0 | null | 2015-01-09T21:23:40 | 2015-01-09T21:23:37 | null | UTF-8 | R | false | false | 587 | r | plot2.R | plot2 <- function(){
#loading data if not available
if(!exists("dados")) {
source("load.R")
loadData()
}
# create png file
png(filename="plot2.png",
width=480,
height=480,
units="px",
bg="transparent")
library(datasets)
#ploting empty canvas
par(mar= c(1, 4.1,... |
0a1c8b26f5ce572fa0211281814dec2a04eed9d0 | 0251ab23f6bbdfd51f101706d95480831cc3408e | /tests/testthat/test-skeleton_weight.R | 58034bda54c7f3fc096d3b41f1e6edaa65459f27 | [
"MIT"
] | permissive | EcoNum/coral.growth | 36462d26240bb3c6c73adca0ea7a77c31851700f | 87a02ee2f00d4b402508fadbad9c8c181a59db9c | refs/heads/master | 2020-05-24T08:24:25.171782 | 2020-05-04T11:33:18 | 2020-05-04T11:33:18 | 187,184,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 185 | r | test-skeleton_weight.R | context("test-skeleton_weight")
test_that("a character variable in skeleton_weight()", {
expect_error(skeleton_weight(buoyant_weight = "a", S = 35, T = 25,rho_aragonite = 2930))
})
|
9762ee9a44e73a22fc7729c4529bba095d0dbfa2 | e02d552c115e3da97a085598414507d0813a7591 | /figure.1/generate.miRNA.density.R | 177d5f169ee386d61fd68132bf44ea5678bb7b5b | [] | no_license | Nodine-Group/sRNA-spike-ins | f7a22b11b1398d4a2da9d2a439deb55a20392915 | ab1bdacaf310ade9c8fc76a38bc08b8b8fb271c8 | refs/heads/master | 2020-03-13T07:39:43.037831 | 2018-02-26T13:12:59 | 2018-02-26T13:12:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,931 | r | generate.miRNA.density.R | #generate.miRNA.density.R
#generates density plot for just miRNA fams in col0_fb1 for Fig. 1D
install.packages("extrafont")
library("extrafont")
loadfonts()
setwd('/Volumes/nodine/lab/members/michael/compFiles/sRNAs/projects/apps/smallRNA_spikeIns/scripts.for.ms/') #user will have to change this to their working dir... |
43cf971f1da378f10b86951fbb91da5910f3dc10 | 57b2f7991b35074babf10e600183a255525a8053 | /stimuli/NS01stimuli.R | 9acbbc949c2f77ae8fe21c636e12f23d211a8556 | [] | no_license | Nian-Jingqing/NS01 | 8d1b4ffe1ed7db12975aa0c4d0955b9f59cf5549 | 59166f3201207a7fc597c5838ef61e1d6e3c6779 | refs/heads/master | 2023-03-17T19:40:11.710487 | 2020-04-07T16:11:25 | 2020-04-07T16:11:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,742 | r | NS01stimuli.R | # NS01 Generate choices and get stimuli.
# Original data from Tim Mullett
# C. E. R. Edmunds - Created - 7-12-2018
# Setup --------------------------------------------------------------------------------------------
rm(list=ls()) # Clear all variables in the workspace
require(data.table)
femaleRatings <- fread("IAPS... |
06726eb7d6fa36e35fcd56f9d498e69379f2ffa9 | bc3a58c0f3abd24f4f64f641152c09b79efefe38 | /man/GDSFileResourceResolver.Rd | cffeb7c75017b411ae124c9e4134dbc86572328a | [
"MIT"
] | permissive | isglobal-brge/dsOmics | 96aa2594cbe009f2899d99fdc5be43a96f50d6bf | 78fee19320cdf360db7ec1aed2fb07ee4c533951 | refs/heads/master | 2023-04-07T09:23:17.202083 | 2023-03-15T09:31:40 | 2023-03-15T09:31:40 | 158,839,360 | 1 | 12 | MIT | 2021-02-02T10:21:06 | 2018-11-23T13:55:17 | R | UTF-8 | R | false | true | 2,522 | rd | GDSFileResourceResolver.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GDSFileResourceResolver.R
\docType{class}
\name{GDSFileResourceResolver}
\alias{GDSFileResourceResolver}
\title{GDS file resource resolver}
\format{
A R6 object of class GDSFileResourceResolver
}
\description{
Build a GDS resource c... |
b0c04d44137b892da21a990124d9437f55ec7dc3 | 9d58b6ea030df648ad75ec9089c12dd315294ebe | /Loan_Calculation.R | ca5da2235bde263088b991ce75157e4610b704fd | [] | no_license | jwcb1025/est-loan-balance | 11c5fb3f5932b538b9b7b0fbb989fd92de8d6b1b | 46eea4618aab1378a648c8d005c1bbef5c3b4456 | refs/heads/master | 2020-03-24T16:26:32.456305 | 2018-07-30T05:26:17 | 2018-07-30T05:26:17 | 142,824,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,128 | r | Loan_Calculation.R | # Import Libraries
library(dplyr)
# Import Data
df.DataTree <- read.csv("~/Models/DataTree/Raw/06065.csv", sep="|", na.strings=c(""," ","NA", "\\N"), stringsAsFactors = FALSE, fill=TRUE, quote="", colClasses = "character")
df.InterestRates <- read.csv("~/Models/Annual 30 yr interest rate.csv")
# Extract residential pr... |
25de8488491ae263c4235cc60506301e5f679c1b | 63b2af2879f69bf0eb494a206ecd245059e266ab | /SimLin_Repos.R | 60eb53234e7382d2d1aaa7fbf716afd5b9327845 | [
"MIT"
] | permissive | MCnu/R_sim_scripts | 4e0e7363acd586c602027348f26f15b5f47f91c4 | f69b466c8b9163f0e4b0e705dee00412b897ca76 | refs/heads/master | 2021-08-17T19:28:34.279460 | 2021-05-25T16:08:41 | 2021-05-25T16:08:41 | 299,398,051 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,739 | r | SimLin_Repos.R | # SIMULATED REPOSITIONING ANALYSIS
sim_lin <-
function(delta_start = "follow",
time_min = 25,
time_max = 450,
peri_rad = 0.85,
velo = T,
JDD = F,
Direct = T,
vacf = T,
ctrl_summ = F,
summarize = T,
contact =... |
16b65b7af232dddf3268b54a59212bf7f8eec915 | 29585dff702209dd446c0ab52ceea046c58e384e | /mixtox/R/NOEC.R | 4c43cb0af8fa33662c8e7130f82d3ecc96bfe1ba | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 837 | r | NOEC.R | NOEC <- function(x, expr, sigLev = 0.05){
# NOEC and LOEC calculation using Dunnett's test
## Dunnett, C.W., 1964. New tables for multiple comparisons with controls. Biometrics 30, 482-491
n <- nrow(expr)
m <- ncol(expr)
C <- sum(expr)^2 / ((n + 1) * m)
Tj <- rowSums(expr)
SSB <- sum(Tj^2) / m - C
SST... |
cf3d41a89f864d2894e1976caba6f9628bfa98d0 | b58784428b3c9b553f1ade5b57ab9e69a954f897 | /Pubmed API search/GetPubMed.R | f5eea628e0e5ae30b6844ff2e08652a75e728d96 | [] | no_license | ritadvi/R-projects | 8c6de361fb998adcc9be1ccafe390447d5bb1e23 | 0dbca18005ac46f7aaaa5b3b554fe8d67f70c2cb | refs/heads/master | 2022-04-27T00:00:36.210061 | 2020-04-28T10:14:33 | 2020-04-28T10:14:33 | 257,618,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,182 | r | GetPubMed.R | #install the RISmed package
install.packages("RISmed")
library(RISmed)
library(tidyverse)
# Use getwd() to check current working directory
# Import data from input.csv
setwd("~/R-projects/Pubmed API search")
# Leave a header for the column name Genes / Proteins
data <- read.csv(file = 'input.csv', TRUE, ",", strings... |
d5b16a1f4775199e7555b952a6150b5a5f260960 | a9b5691574a5883c9f5dacd42df81b0c851ddc07 | /Exploratory Data Analysis/Peer Assignment 1/Peer 1/plot1.R | 00cd769fe2eed5505227be2a135dccf3d56f4fa7 | [] | no_license | AlexKitov/datasciencecoursera | b0420c9c25a674444b0e7e1e3299ec58b804bbd0 | 61c35f98434534332780a330114e9a4b494e8486 | refs/heads/master | 2016-09-07T18:53:11.424122 | 2015-08-30T14:14:26 | 2015-08-30T14:14:26 | 19,503,728 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 674 | r | plot1.R | # Locale definition
Sys.setlocale("LC_TIME", "English")
library(sqldf)
# File definition
file <- file("household_power_consumption.txt")
# Data load
DF <- sqldf("select * from file where Date = '1/2/2007' or
Date = '2/2/2007'",
file.format = list(sep = ";", header = TRUE)
)... |
501805047f4e37dd3b1ae582168c04baf23df392 | 23f7e209d1eaefb5477034d57c89679de915d186 | /rscripts/scores_visualization.R | cfc54e289c632937cf6446a0496e3a0db07a9bd1 | [] | no_license | kalmSveta/AS | 3d4b3a68f0dde8dc719ecd93867fe17bc994e13e | 549c9d20925af35bf5d1ba5815a6b111c1fb287d | refs/heads/master | 2020-05-29T20:59:23.152415 | 2019-11-30T10:26:46 | 2019-11-30T10:26:46 | 189,366,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 969 | r | scores_visualization.R | library(data.table)
library(ggplot2)
dt <- fread('../python_scripts/folding_pretty_copy/out/folding/panhandles_preprocessed.tsv')
filtered <- fread('../python_scripts/folding_pretty_copy/out/folding/panhandles_preprocessed_filtered.tsv')
dt <- dt[dt$id %in% filtered$id, ]
known.ids <- c(127812, 70913, 579130, 106707,10... |
49e8a880567ba5834872fe11ea337e4ffcc7bdd4 | 6924a89998d69059eefe91ffd1661c88017c12f4 | /man/layer_gin_conv.Rd | c16e238524b7ffbff6d12f339957b388d26d4c82 | [] | no_license | rdinnager/rspektral | dffffac8345f32d5a86af91f8802da0166e8e828 | f72836cc79732bfeb70f5580314b92b38fd54114 | refs/heads/master | 2023-05-26T23:13:08.888846 | 2021-06-08T12:50:46 | 2021-06-08T12:50:46 | 289,394,618 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,290 | rd | layer_gin_conv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layers_conv.R
\name{layer_gin_conv}
\alias{layer_gin_conv}
\title{GINConv}
\usage{
layer_gin_conv(
object,
channels,
epsilon = NULL,
mlp_hidden = NULL,
mlp_activation = "relu",
activation = NULL,
use_bias = TRUE,
kernel_initia... |
d142ba4cbef5688d8e1106f7385a117a6f9e1736 | 971db158564345d25e66821f97d3257272daa3ea | /man/plotAlleleByPosition.Rd | 6da34085518f0cdc5f36d8d7107239a34b9708e8 | [] | no_license | cran/cancerTiming | 0c40bb4ce4a36abfbb270ff166b33b94d38527eb | 20a684b40ae92542ec883f6758bfb545524722be | refs/heads/master | 2021-01-17T09:05:07.366273 | 2016-04-03T00:22:46 | 2016-04-03T00:22:46 | 17,694,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,608 | rd | plotAlleleByPosition.Rd | \name{plotAlleleByPosition}
\alias{plotAlleleByPosition}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Plot allele frequencies by position
}
\description{
Plot observed allele frequencies from sequencing data against their location on the chromosome.
}
\usage{
plotAlleleByPosition(mutData, segm... |
2bb793d4ae83ddb729c0c2efb700a8d8e5a8c5a9 | d9f981d50d5476226ceffb9a4f75498ed3fd6127 | /grangertest.R | d7257cdca67c9f5f5094209d1bf170348e194688 | [] | no_license | bwriteLeaf/guochushiyan | 509df750338ac988c8d050c790e273e02eb365f6 | af9b3fd48874fcc18ea964c90d8a8994137a9523 | refs/heads/master | 2021-04-15T08:57:52.308169 | 2018-04-04T07:54:43 | 2018-04-04T07:54:43 | 126,176,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 475 | r | grangertest.R | #isweek = TRUE
isweek = FALSE
infile = "C:/Users/user/Documents/YJS/国储局Ⅱ期/实验/guochushiyan/winequality/wti-senti-hp.csv"
if (isweek){
infile = "C:/Users/user/Documents/YJS/国储局Ⅱ期/实验/guochushiyan/winequality/wti-senti-week-hp.csv"
}
table <- read.csv(infile, sep=",", header=T)
senti = table[["sentiment"]]
wti = table[... |
152d0a7b5ac6596dfae629430e796b3f76d6b686 | c6b10aa493cbfa8fdcaa76304c5b1bf0604317a3 | /man/snp_ppa.Rd | eb5de2496625b7837129057d2bc3faf2d434075d | [] | no_license | zerland/moloc | 3b895d9f06ac91bfba0ecd7a11cc7a0091578b0c | f083d8e44577c9a0c3a562f0d99957851f50fa68 | refs/heads/master | 2023-03-18T17:23:23.491381 | 2021-01-20T15:20:24 | 2021-01-20T15:20:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 770 | rd | snp_ppa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions_moloc.R
\name{snp_ppa}
\alias{snp_ppa}
\title{snp_ppa}
\usage{
snp_ppa(ABF, n_files, config_ppas)
}
\arguments{
\item{ABF}{is an array containing the single and coloc logBFs}
\item{n_files}{is one number, i.e. the number of traits ... |
3d3daf37577d1670d284b4453f14dc3e7f4aac2b | 702464534ec7388d8b44a1100a8db2a466e6bacd | /man/catches.Rd | 7af851f368573da0da5164eacdb5886030b66c0b | [] | no_license | klarrieu/ESM262PackageAssignment | 1900dfb18200d1805cdaac53440244d6836e697d | 2504e4e3511ae4bcd17a688cd30bbcefe0a8b40d | refs/heads/master | 2020-03-19T10:18:35.271509 | 2018-06-06T20:33:51 | 2018-06-06T20:33:51 | 136,270,785 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 395 | rd | catches.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/catches.R
\docType{data}
\name{catches}
\alias{catches}
\title{Sample data for fisheries_summary function}
\format{A matrix with rownames as fish species names and columnnames as fishery names}
\usage{
catches
}
\description{
catches - A matr... |
114fc1f26bbc8b88242d8de6b9dec112d4384f82 | d072433fb4facac496d0337b4cf22b5e00cf6853 | /man/rpp.glm.Rd | 611916ad0760977d3db518b49dfcc080054ccaec | [] | no_license | cran/asuR | 3e3d745182d938acba825b723fc09b14cc16dbaa | 578f3e0693d29fb8fd3056d52fa8913d5039cc79 | refs/heads/master | 2020-12-24T15:05:44.493897 | 2007-06-01T00:00:00 | 2007-06-01T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,097 | rd | rpp.glm.Rd | \name{rpp.glm}
\alias{rpp.glm}
\title{Partial Residual Plots}
\description{
Plots the partial residuals of a glm-model versus each predictor
}
\usage{
\method{rpp}{glm}(mymodel, id=c("all", "none"), ...)
}
\arguments{
\item{mymodel}{an object of class \code{glm}, usually, a result of a
call to the function \code{... |
2e8aa7e84f9e67b6ba3e45b79a75fc68de6dff4e | bce2c5ccb8e41f81d2105900c4e5ea329e8a4d1d | /Current-stuff/R/mclust/man/predict.densityMclust.Rd | 0c8e8b107e7899a19c718213c2e77755b303b988 | [] | no_license | tonyc2700/phd | 7165b21ff2ae4fb756e5cad5ac3e599c515ac847 | bf87f0023e4163e44175fdf6cc75c7e73ef79883 | refs/heads/master | 2021-01-17T13:58:17.472303 | 2016-11-09T13:50:39 | 2016-11-09T13:50:39 | 33,205,601 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,854 | rd | predict.densityMclust.Rd | \name{predict.densityMclust}
\alias{predict.densityMclust}
\title{Density estimate of multivariate observations by Gaussian finite mixture modeling}
\description{Compute density estimation for multivariate observations based on Gaussian finite mixture models estimated by \code{\link{densityMclust}}.}
\usage{
\meth... |
15b35c86fc9eccd8ad38c5ffaabcb59ac85fa466 | aec2efc1d566edce379275ad493b2ef3514eb345 | /test/analysis.R | 2e68a049a8e6b11f3321fab6707154f6c1d8ad40 | [] | no_license | hirenj/ms-checker | 0368b9874bc3b355664136a3db8463f7540db253 | 2e79ab8c355f9a36b48b949cac0abcadc2dc9507 | refs/heads/master | 2023-04-13T15:54:18.992789 | 2022-11-26T19:45:38 | 2022-11-26T19:45:38 | 32,934,491 | 0 | 0 | null | 2023-04-11T23:46:31 | 2015-03-26T15:09:47 | JavaScript | UTF-8 | R | false | false | 1,891 | r | analysis.R | args <- commandArgs(trailingOnly = TRUE)
manual_data <- read.table(args[1],sep='\t',header=T)
my_data <- read.table(args[2],sep='\t',header=T)
manual_data$quant <- as.numeric(manual_data$quant)
manual_data$original_quant <- as.numeric(manual_data$original_quant)
my_data$annot <- my_data$quant
my_data$quant <- as.nume... |
c9fc29a2951e24bbf45df7020ef18b6d5e297474 | 12cc9e21827aee98ba8eec485c4798fc62f2ebd5 | /man/targetsketch.Rd | ca9405a5827c22f0b5934e7fd4afa7abf32fa654 | [
"MIT"
] | permissive | tomsing1/targetsketch | 22d446bdfdb8f7b0c8e623f98230fbb0c9b267ea | 8b495debc9589861eab84eccf8f70f99c991065d | refs/heads/main | 2023-02-07T05:18:26.827658 | 2020-10-13T13:01:21 | 2020-10-13T13:01:21 | 324,883,295 | 0 | 0 | NOASSERTION | 2020-12-28T01:28:37 | 2020-12-28T01:28:37 | null | UTF-8 | R | false | true | 335 | rd | targetsketch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api.R
\name{targetsketch}
\alias{targetsketch}
\title{Launch the targetsketch app}
\usage{
targetsketch()
}
\description{
Launch an interactive web application for
creating and visualizing \code{targets} pipelines.
}
\examples{
\dontrun{
targ... |
0715a18e8b25d83610f2e0a9cb0fa539ea7aabde | b522c234364dc52c19cd58e36f92ad8ca3281f3a | /plot1.R | 4798fa42fff20dbf87d8acd1a46db318407c8799 | [] | no_license | ningkon/ExData_Plotting1 | 5f2cfd44a3d4855f50f2433d8d6e3a86b082c3fc | dcdc10df6874d55d387bd623e245d6ae55c93906 | refs/heads/master | 2020-04-23T01:17:07.759051 | 2019-02-17T08:51:52 | 2019-02-17T08:51:52 | 170,807,657 | 0 | 0 | null | 2019-02-15T05:38:15 | 2019-02-15T05:38:14 | null | UTF-8 | R | false | false | 1,298 | r | plot1.R | # download the file to working directory
mydf <- read.table("./Coursera/data/household_power_consumption.txt", header=TRUE, sep=";", na.strings = "?")
# load and start dplyr package
library(dplyr)
# Load only the data from 1/2/2007 and 2/2/2007
mydata <- filter(mydf, mydf$Date == '1/2/2007' | mydf$Date =... |
fc0fbca3a19fc27965ff2f17147d58ed7cb1ae03 | 59034b909c69f1658e30d405b438ea31cddaf4db | /covid/app.R | 24e6a4decda510217ef8f68a5a2500c042bc1c73 | [] | no_license | chrishebbes/covid-19 | 8e4ae38ea36333f5af64a3041ed61a591095070d | 1b4275da5fd76fa1ba18fb2d3684a87dd58ece79 | refs/heads/master | 2023-01-10T15:17:58.193997 | 2020-11-05T12:53:15 | 2020-11-05T12:53:15 | 303,705,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,175 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(devtools);
library(rsconnect);
#devtools::install_github("publichealthengland/coronavirus-dashboard-api-R-s... |
570fcdafa90d7589d7c64db9620dbd823bb04dc2 | 8a476df8f065da042e23ea00a9d1cd86ae63ad4e | /man/jn.var.Rd | 98c27b88e844cc9df1379ebde87666708cba2fd0 | [] | no_license | cran/skewtools | b40ab0ce0f1a3a1dd210105c0a8659ccebcd6881 | 91c35886083fd03f4af94ff3ad5d86b483a2bb88 | refs/heads/master | 2021-01-18T14:24:05.220898 | 2012-07-21T00:00:00 | 2012-07-21T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,196 | rd | jn.var.Rd | \name{jn.var}
\alias{jn.var}
\title{
Jackknife estimator for the variance of the Heteroscedastic Nonlinear
Regression Growth model parameters
}
\description{
This function computes the estimated variance of the Heteroscedastic Nonlinear Regression Growth
Model using Jackknife and Weighted Jackknife described ... |
c665d58839504c0cee146a4bb431275f62448884 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/EAinference/R/RcppExports.R | 99c1017436ba1c352fe537b7716f43228132862f | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 317 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
grlasso <- function(X, Y, XY, weights, group, lbd, Gamma, initBeta, eps) {
.Call('_EAinference_grlasso', PACKAGE = 'EAinference', X, Y, XY, weights, group, lbd, Gamma, initBeta, eps)
}
|
b847f829410619524752caa2ba457470fafed24d | fe6ccdbfc41f2a820d0f911289e1ff5d15472e7d | /man/BubbleChartSpec.Rd | 1114faf52cf87f6ad4323f06b9385f229d55b045 | [] | no_license | bradgwest/googleSheetsR | b5b7cd4c3a34fceeecb25894398fe87148f87cea | 48de991ee571f11b02f2254d3456551bfdbcd76f | refs/heads/master | 2020-03-27T11:21:13.423181 | 2018-10-12T19:52:59 | 2018-10-12T19:52:59 | 146,481,101 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,418 | rd | BubbleChartSpec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sheets_objects.R
\name{BubbleChartSpec}
\alias{BubbleChartSpec}
\title{BubbleChartSpec Object}
\usage{
BubbleChartSpec(series = NULL, legendPosition = NULL,
bubbleOpacity = NULL, bubbleSizes = NULL, domain = NULL,
bubbleTextStyle = NULL, ... |
01145d6cb9e908bdae82e9c1a218015d403f8e4c | f2bcc38a5ece9b14a3d8b68c5d4a09edff06314d | /man/CamApi.Rd | 9fbb3b71de31e5f716b492b178ef5f72453fbb46 | [
"Apache-2.0"
] | permissive | charlieccarey/monarchr.biolink | 8eb618c9c61091ac3371e7d67636520a07d3db6b | 5b488a06cedcafc9df44368e2d665555bc5cd53d | refs/heads/master | 2020-03-09T08:40:56.748770 | 2018-04-11T04:33:54 | 2018-04-11T04:33:54 | 128,694,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,105 | rd | CamApi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CamApi.r
\docType{data}
\name{CamApi}
\alias{CamApi}
\title{Cam operations}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
CamApi
}
\description{
swagger.Cam
}
\section{Fields}{
\describe{
\item{\code{path}}{Stores... |
56714b8d5070c87aab43d69babd697abeac2b83b | 45b46cbea9f36c9f1e44ba01c925e34ff24cfdbc | /Cachematrix.r | 7ac82c8c22a66d9036decd556c3baf3f10113b88 | [] | no_license | mostorga/ProgrammingAssignment2 | e314a9ffca333c6487e8e24ea03e91d622a67094 | bcdb5023be204e212fe690fdc4c5fa16705cdf06 | refs/heads/master | 2020-03-28T11:53:08.539733 | 2016-06-04T16:37:54 | 2016-06-04T16:37:54 | 59,960,073 | 0 | 0 | null | 2016-05-29T19:25:34 | 2016-05-29T19:25:34 | null | UTF-8 | R | false | false | 606 | r | Cachematrix.r | ##This functions creates the matrix that will be used
makeCacheMatrix <-function(x=matrix()) {
m<-NULL
set<-function(y){
x<<-y
m<<-NULL}
get<-function()x
setmatrix<-function(solve) m<<-solve
getmatrix<-function()m
list(set=set,get=get,
setmatrix=setmatrix,
getmatrix=getm... |
142bf1e23ab17d9de39d8f0f8c3cb7e444033b28 | 9126fddfd4e75e9015a9edf488062fd2c182e3e1 | /recommender.R | d4129ba0af84874567512b655a510f4b71ba6dbd | [] | no_license | mandixbw/netflix | 394e225f0c6d790f1efff43c99b83bc48025f692 | adb8afc7b98e907fcb582ee28ed1db4279d9220f | refs/heads/master | 2021-10-26T15:08:25.359453 | 2019-04-13T10:57:16 | 2019-04-13T10:57:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,685 | r | recommender.R | ## SETTING UP A WORKING DIRECTORY ##
setwd("insert your working directory here")
## LOADING THE NECESSARY PACKAGES
library(dplyr)
library(zoo)
library(recosystem)
## DATA PREPARATION -- TRAINING DATA
nf <- read.table("C:/Users/Andini Eka F/Documents/R/Business Analytics EDX Course/combined_data_1.txt",sep=",",header=... |
bca996deb762ddd8d6656f075c92677c0887410d | f85bbc68b6a74c430db3d7923d558b2376e83b19 | /resources/R_packages.R | 4f75b66842f29a6def2244cc629368270e36b878 | [
"MIT"
] | permissive | skin-science/CKG | 3e3dad9962d79ed8009896c4d685fdc990af34f1 | 3763686739066eb4fb50f065f07aa0d8f0137368 | refs/heads/master | 2023-06-14T09:12:29.755334 | 2021-07-12T23:05:32 | 2021-07-13T08:05:07 | 274,251,530 | 0 | 0 | MIT | 2020-06-22T22:03:43 | 2020-06-22T22:03:42 | null | UTF-8 | R | false | false | 291 | r | R_packages.R | install.packages('BiocManager')
BiocManager::install()
BiocManager::install(c('AnnotationDbi', 'GO.db', 'preprocessCore', 'impute'))
install.packages(c('devtools', 'tidyverse', 'flashClust', 'WGCNA', 'samr'), dependencies=TRUE, repos='http://cran.rstudio.com/')
install.packages('IRkernel')
|
685464ab7c59693f1a3607dec847cc6dc1c83ff3 | 127fc4ab3ed4eadd8a5605eb688efbaa09675e97 | /R/dists.R | 4bef7f2875791d933b89350dd097a1437a9129b2 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | beckyfisher/ssdtools | aa3d83b2debd80df704ab81b451b0dfc05e3639d | 297dfa8adcd0202cd5535f7ec7f64be9459179d4 | refs/heads/master | 2022-07-21T07:55:51.034739 | 2022-03-21T21:17:51 | 2022-03-21T21:17:51 | 233,015,874 | 0 | 1 | null | 2020-01-10T09:46:22 | 2020-01-10T09:46:21 | null | UTF-8 | R | false | false | 2,135 | r | dists.R | # Copyright 2021 Environment and Climate Change Canada
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... |
a8b686377579248a2091025cbbd30b16bb713300 | ebe5203b2fdca46fba7f1e484ebd65dfcd72dd21 | /270m/elevation sz and mat for 270m BCM points.R | 2e30c4cc11a9c547518bb574e2678169d07e90f9 | [] | no_license | JosephStewart/Tracking-Climate-For-Seed-Zones | 26303516dcb76e3fdf3e298d75619323701c6fd3 | 86037e57098d2cff32d7adfd218b23e2431955aa | refs/heads/master | 2020-04-18T15:01:44.070322 | 2019-11-13T03:50:27 | 2019-11-13T03:50:27 | 167,603,312 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,162 | r | elevation sz and mat for 270m BCM points.R | library(dismo);library(rgdal);library(ggplot2);library(data.table)
#
#
a = Sys.time()
r = raster("/Users/joaaelst/Documents/GIS_Lib/_climate/BCM_Surfaces_2015/1981_2010/tavg1981_2010_ave_HST.tif")
ca_bound = readOGR("/Users/joaaelst/Documents/GIS_Lib/Boundaries/California_Boundary_2013census/","ca_bound")
ca_bou... |
9b1af496bb9ea75ddb9dccb04c61094ef45954d3 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googledatastorev1beta3.auto/man/GqlQueryParameter.Rd | 1fc8c18af15a35a0700be474a9106f79b07c1ed8 | [
"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 | 509 | rd | GqlQueryParameter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datastore_objects.R
\name{GqlQueryParameter}
\alias{GqlQueryParameter}
\title{GqlQueryParameter Object}
\usage{
GqlQueryParameter(value = NULL, cursor = NULL)
}
\arguments{
\item{value}{A value parameter}
\item{cursor}{A query cursor}
}
\val... |
87a98ffede8c3909ee29686238e07fafbbd27a5f | c5bb677e0639c892319362332515769f9d1270fd | /AmyloGram/functions.R | 1dfa2dafa631585dd59a35834821b8e71c321716 | [] | no_license | michbur/prediction_amyloidogenicity_ngram | ce90675c6387405118617657080e9bfee685d00f | e3b41e18fbeb6a667ebc3b5c7eaf395c526c7323 | refs/heads/master | 2020-04-06T07:10:29.026876 | 2016-09-05T07:22:44 | 2016-09-05T07:22:44 | 60,834,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,993 | r | functions.R | library(signalHsmm)
library(biogram)
library(ranger)
make_AmyloGram <- function(seqs_list, ets, max_len, aa_group) {
seq_lengths <- lengths(seqs_list)
seqs_m <- tolower(t(sapply(seqs_list[seq_lengths <= max_len], function(i)
c(i, rep(NA, max_len - length(i)))
)))
gl <- do.call(rbind, lapply(1L:nrow(s... |
e6cee0c354efbb536d1f4917f728dba424f78431 | 7b2cb501e52fdc01040b685b7d245c50bb4dc6b8 | /finemap_data_1000G.R | 471cdde4febd5eb4e2db7d7ff0ab6e95d48d12bb | [] | no_license | hsowards/finelymapped | f9d0b31604d62b707811cc386b9983a2f60f4b47 | f604d548c7b6fc1af059ed9b51326229ccfb55a7 | refs/heads/main | 2023-06-26T11:41:29.733037 | 2021-08-02T15:19:42 | 2021-08-02T15:19:42 | 350,479,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,944 | r | finemap_data_1000G.R | source("/data/Brown_lab/dap/source.R") #this reads in the library and my functions I've written
args <- commandArgs(trailingOnly=T)
#1000G data processing for dap-g
sumstats_tongwu <- readr::read_tsv(paste0("/data/Brown_lab/dap/sumstats/", args[4], ".GWAS.txt"))
ld_tongwu <- readr::read_tsv(paste0("/data/Brown_lab/d... |
fbc8322e6a03b7b337ac0043d244238c322b42d2 | 9a7792bae32e2512e0a74aed94b8c0aef8433d6c | /inst/doc/stars4.R | f35f7495aba88130515942076ecd56cea593e072 | [] | no_license | cran/stars | 0c7109e878c92e02464ed13ecf23ffe90279c54a | 9c98ae0f331962170bd1f4b72e668c7c882cee1d | refs/heads/master | 2023-09-04T04:24:36.219481 | 2023-08-11T02:30:02 | 2023-08-11T04:30:48 | 145,904,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,946 | r | stars4.R | ## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, dev = "png")
set.seed(13579)
knitr::opts_chunk$set(fig.height = 4.5)
knitr::opts_chunk$set(fig.width = 6)
## ----fig.width=4.5, fig.height=4----------------------------------------------... |
a45b3268579ad1ded800995b671fa67ae94e91e4 | 8691943a2547990118c85beefecdc43312371618 | /man/textcolor.Rd | 304a16bbeaa024570cd3c4fa783a9a68774abd1a | [] | no_license | Flavjack/GerminaR | f0d97cbf735520db702538601e2cf511527cf66c | 3535a1aea0729abe5ba79114386885d487f946f4 | refs/heads/master | 2022-09-04T10:21:15.391932 | 2022-05-29T16:19:10 | 2022-05-29T16:19:10 | 49,505,163 | 5 | 3 | null | null | null | null | UTF-8 | R | false | true | 840 | rd | textcolor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/textcolor.R
\name{textcolor}
\alias{textcolor}
\title{Colourise text for display in the terminal.}
\usage{
textcolor(text, fg = "red", bg = NULL)
}
\arguments{
\item{text}{character vector}
\item{fg}{foreground colour, defaults to white}
\i... |
e0ce68f7e72674094c8e1b8959ad49ba85f9f62e | 163ceeb94d49b70d43cd707cbc5de03164a1ce50 | /R/rollmean.R | b923dfef8e4b3add26436cdce9eb74bc507cb15e | [] | no_license | privefl/bigutilsr | e8cce921638d1327a1038f6ac9b237eae9ca87de | bb760d109193d2163e869d9d231a8fdcba2ac96e | refs/heads/master | 2022-12-27T01:39:56.076386 | 2022-12-20T14:36:53 | 2022-12-20T14:36:53 | 199,856,656 | 11 | 3 | null | null | null | null | UTF-8 | R | false | false | 808 | r | rollmean.R | ################################################################################
#' Gaussian smoothing
#'
#' @param x Numeric vector.
#' @param size Radius of the smoothing (smaller than half of the length of `x`).
#' If using `size = 0`, it returns `x`.
#'
#' @return Numeric vector of the same length as `x`, smooth... |
c6668f85ab1a7dfb37d06008f8730a2da1466435 | 737d67e2884b33324003a7303351f5abf2c419e6 | /HivePlots/WGCNA/FromChen/moduleCandidate.R | 08166734eeb3b9405b535cee194914d7d1602c03 | [
"Apache-2.0"
] | permissive | bwbai/ATLANTiC | ad576ec305120a8b5012d08cad7f11a0c4ab217e | c831ac3e0c6ae0ed9be130a1959b50a6bc41ce2f | refs/heads/master | 2022-04-19T18:42:15.671658 | 2020-04-21T11:41:52 | 2020-04-21T11:41:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,779 | r | moduleCandidate.R | library(stringr)
library(fastmatch)
kin <- read.delim("Dat/Uniprot/Annotation_Kinase_list.txt", stringsAsFactors = FALSE)
tryp <- readRDS('/media/kusterlab/users_files/martin/postdoc/projects/phosphoproject/dat/preproc/crc65_psites_annotation.rds')
fp <- readRDS('/media/kusterlab/users_files/martin/postdoc/projects/p... |
219b2755da95400e8e0f0203ede6283c31497b13 | 438e15c93ab0264fcb168cd099b13e8ae8c9d4f5 | /Machine Learning Script.R | 27db94f3c6e5a28507e77f6825bc1d20af0d3499 | [] | no_license | Lunatico9/R-ML-Movielens | d857b04350a9b9e946d3fc77bcccba6f6acf380b | ceb4beb4e50c94bed976c455f5c962a095a0199f | refs/heads/master | 2020-09-20T12:28:57.846194 | 2019-12-06T23:46:12 | 2019-12-06T23:46:12 | 224,477,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,396 | r | Machine Learning Script.R | ################################
# Create edx set, validation set
################################
# Note: this process could take a couple of minutes
if(!require(tidyverse)) install.packages("tidyverse", repos = "http://cran.us.r-project.org")
if(!require(caret)) install.packages("caret", repos = "http://cran.us.r-p... |
13a11f0636f349d6ac7ad6d0f39b466a0e46a138 | 5fed6d674f165c35b61f675caed58a59b510e1c3 | /Replication/mps_analysis.R | 445e5f34a89dc9ebd808daebb9ae493a0a42d93b | [] | no_license | abyanka/cpt | 9ba41edaad4dac2ed819f2f20f628fd5f96bc9a6 | 1b68d40162927db87efd50453e8e71f39e5e7fd1 | refs/heads/master | 2020-04-14T21:02:10.593272 | 2018-10-20T19:57:20 | 2018-10-20T19:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,067 | r | mps_analysis.R | ##############################################################################################################
# Description: The program replicates all the figures, tables and results
# of the MPs for Sale: Eggers and Hainmueller (2009) data application
#
#
#############################################################... |
cfa9d817e5be58e2aa7d2a2840a26863d1b01702 | 89dfa63f311c4e6f6afefd64d0650a19f5e9a81a | /server.R | b953cad5010a1d40c80ec40a99183743d53f1716 | [
"Apache-2.0"
] | permissive | sdu-ncsu/st558-project3 | 3ea01b05011067fa86feba08e07612c6f2e57958 | d4695b7a54e2a061348683eb59ad9cfe5fabc291 | refs/heads/master | 2023-01-19T18:00:16.633332 | 2020-11-18T02:29:44 | 2020-11-18T02:29:44 | 311,433,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,519 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(tidyverse);
library(readxl);
library(plotly);
library(caret);
air <- read_delim(... |
44d167904233718ec2c06ec76715913dfc22ba7e | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/1,2-Dichloroethane_(.R | 4c69cc277eef8beaad74aee27c08ca7e3481b072 | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 276 | r | 1,2-Dichloroethane_(.R | library("knitr")
library("rgl")
#knit("1,2-Dichloroethane_(.Rmd")
#markdownToHTML('1,2-Dichloroethane_(.md', '1,2-Dichloroethane_(.html', options=c("use_xhml"))
#system("pandoc -s 1,2-Dichloroethane_(.html -o 1,2-Dichloroethane_(.pdf")
knit2html('1,2-Dichloroethane_(.Rmd')
|
78d4bd78c480776340b3f2842b4a0622edd754d6 | fded4ae8aa91861b1882fde7b28f6fdc32ebafed | /R/coursera/week4.R | cd16d1db96a98f991cf21071855058b861a2f307 | [] | no_license | carloshpf/sandbox | 11133d1c26db83927830beef5f20f76328ba4161 | fd6def51c1f110f6696351f7875ca98e17f98cee | refs/heads/master | 2020-04-12T01:34:43.409021 | 2019-03-07T20:49:32 | 2019-03-07T20:49:32 | 33,043,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,049 | r | week4.R | # The str Function
# What is in this objetc?
# Alternative to summary
# Compactly display the contents of lists
str(str)
# function (object, ...)
f <- gl(40, 10)
str(f)
summary(f)
head(airquality)
str(airquality)
m <- matrix(rnorm(100), 10, 10)
str(m)
s <- split(airquality, airquality$Month)
str(s)
# -----------... |
e1b871c58501570da095e725328a221f18827f89 | 6c1926b99503f6304d35ba383538c9c365242bb1 | /man/attributes.to.long.Rd | 82cb6a7ed8e4268df49995e1cd89f54d69c32c62 | [] | no_license | smorisseau/dhstools | 56e1451de1124ac0f7943c7710a03a13b5fcca22 | a8ba0addb7cae06cf085ebe08e9136bef04ed87f | refs/heads/master | 2021-01-17T15:33:10.641739 | 2014-03-25T15:37:50 | 2014-03-25T15:37:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,191 | rd | attributes.to.long.Rd | \name{attributes.to.long}
\alias{attributes.to.long}
\title{attributes.to.long}
\usage{
attributes.to.long(data, attribute.prefix,
ego.vars = NULL, keep.na = FALSE, idvar = NULL,
regexp = "^(.+)([\\.|_])(\\d+$)", regexp.index.gp = 3,
regexp.vname.gp = 1)
}
\arguments{
\item{data}{the wide-form dataset t... |
26d503708b26d2968dd52152f3a10f87858eba07 | 4362380c7c3bf62ab837f47cb63db1ad3bf2372d | /sparsity_analysis/elastic-net/14_DGN-WB_CV_elasticNet.r | 89579a639ac3a5fdf1779050c364fc46d0cf5007 | [] | no_license | lmogil/GeneExp_h2 | 2d6823655595e8b014410ded161729fd3a2aee49 | 91e022196348d62cf30172d5a4e9011ee9648302 | refs/heads/master | 2021-06-20T00:26:34.161973 | 2017-06-01T13:55:08 | 2017-06-01T13:55:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,287 | r | 14_DGN-WB_CV_elasticNet.r | ####by Heather E. Wheeler 20150108####
date <- Sys.Date()
args <- commandArgs(trailingOnly=T)
#args <- '22'
"%&%" = function(a,b) paste(a,b,sep="")
###############################################
### Directories & Variables
#pre <- "/Users/heather/Dropbox/elasticNet_testing"
pre <- ""
my.dir <- pre %&% "/group/im-lab... |
1f2a75181bbb434beaf939b493d39682dbe9ba70 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /segmag/R/calc_segmentation_magnitude.r | 05b8efac4ffc8e14dd3ad15fa954c077684df738 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,722 | r | calc_segmentation_magnitude.r | calc_segmentation_magnitude <- function(segmag)
{
# Baut ein Array in das die Segmentierungsstaerke geschrieben wird
# Um jeden Tastendruck wird Gauss gelegt
# Gauss vorberechnet mit cutoff
# Eine VPn jeweils Huellfunktion, damit maximaler Beitrag beschraenkt ist
# Statt in Zeit wird in Indizes des Arra... |
4c176210769b6568013370ab47e861c9108ff602 | fa9a3f2faf618b2bf12409fe69341031ee1de9ac | /dev_suite/clean_all_time_space_data.R | 23ea90c80d79abac8cf8d2cb1a0abdf18d4d86e8 | [] | no_license | silverer/covid_nyc_map | c1cbc0a4fbc8a29be95634123c1160b8c590da94 | 2d08dd8394853652f39c0b0ab3bce67db40526a3 | refs/heads/master | 2022-11-16T18:22:27.566032 | 2020-07-15T19:19:03 | 2020-07-15T19:19:03 | 265,358,933 | 0 | 0 | null | 2020-06-21T17:54:05 | 2020-05-19T20:30:30 | R | UTF-8 | R | false | false | 7,749 | r | clean_all_time_space_data.R | library(dplyr)
library(ggplot2)
library(plotly)
library(stats)
library(gtools)
library(stringr)
library(RColorBrewer)
setwd("~/Documents/covid_nyc_map")
source('./src/data_paths.R')
source('./dev_suite/clean_temporal_data.R')
acs <- read.csv(paste(new_data, 'acs_data_nyc.csv', sep = ''),
stringsA... |
a80f819186bbc0d7baabdbd21278a679b56dcd32 | f7a5ba5af2006f6f24c538ffa1cea6b96b811dc5 | /src/runAnalysis.R | 08a8f3499848febdf76d2d7caf75747699c9f812 | [] | no_license | xut006/single_cell_UCMAIT | eaa58150bd9547830e5c7a49bf3b5c0490e76b2c | 2ed97ed37c3703faafb07e7b0f25291f2431e216 | refs/heads/master | 2023-03-13T17:48:12.819005 | 2021-03-08T23:59:43 | 2021-03-08T23:59:43 | 198,322,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 986 | r | runAnalysis.R | #### Run Analysis ####
### paths must be set first
## repository directory (e.g. ~/something/something/single_cell_insulin)
repo_dir <- "/single_cell_insulin"
## get date for output file
date <- gsub("-", "_", Sys.Date())
#### render to html ####
## set controller script and output paths
# ctrl_path <- paste(repo_di... |
34deeeb3c0e70b7fc4f62ffecca2d0dac996edbd | 0ffbd1f7e505f8c8633f6856c3949f49da8a8200 | /R_code/PackagesInstall.R | d5b7f0fdc9011465f6b9fbd4da24708e156df9d3 | [] | no_license | michelegargiulo/UNISA2020_StatisticalDataAnalysis | 7c84606b9f75fbb7ebae6d1c1369258cb39c9dcf | 9ef5c09ca9bbd876ce28a70009f486327017b0ab | refs/heads/main | 2023-01-31T23:30:21.370822 | 2020-12-18T13:54:35 | 2020-12-18T13:54:35 | 320,288,027 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 308 | r | PackagesInstall.R | install.packages("devtools")
install.packages("roxygen2")
install.packages("readxl")
install.packages("anchors")
install.packages("RSQLite")
install.packages('mice')
install.packages('leaps')
install.packages('glmnet')
install.packages("pls")
install.packages("tidyverse")
install.packages("caret") |
f82607b39c011964365ab2eafaf4a681e64699e7 | 7374303c14e64c42bed64be1c8aff78e9aefa3d8 | /man/kde.test.Rd | bcd923951fdbce71193338d27fa3bc14c87e4cdd | [] | no_license | cran/ks | cd7d27f9a0d865f577c0bc4e857dbeca09ed55a6 | f571ffa28e9dbc5ab649b4f6ac30879cf8fad43c | refs/heads/master | 2022-11-30T03:47:41.411752 | 2022-11-24T02:40:02 | 2022-11-24T02:40:02 | 17,696,943 | 6 | 6 | null | null | null | null | UTF-8 | R | false | false | 3,128 | rd | kde.test.Rd | \name{kde.test}
\alias{kde.test}
\title{Kernel density based global two-sample comparison test}
\description{
Kernel density based global two-sample comparison test for 1- to 6-dimensional data.}
\usage{
kde.test(x1, x2, H1, H2, h1, h2, psi1, psi2, var.fhat1, var.fhat2,
binned=FALSE, bgridsize, verbose=FALSE)
... |
9497253abc72f9fd5f79301ee7432c24ab655a6f | 817aef9be7c091e8f4966b72f8359426b425f6ee | /R/liftTable.R | 0a8240639c3e5f84e515ef4e27598c9d8c982325 | [] | no_license | cran/CustomerScoringMetrics | 07e47dbdeb77b087fb61d1f66cee13ff82de3c2b | 09f407d8ba99ad86e146dba7af98d4ad0c2d9189 | refs/heads/master | 2020-03-08T20:27:40.716795 | 2018-04-06T09:39:01 | 2018-04-06T09:39:01 | 128,382,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,978 | r | liftTable.R | #' Calculate lift table
#'
#' Calculates a lift table, showing for different percentiles of predicted scores how much
#' more the characteristic or action of interest occurs than for the overall sample.
#'
#' @param predTest Vector with predictions (real-valued or discrete)
#' @param depTest Vector with true clas... |
a3d67687dcb8a0a6fe14b0a0a83f2edc820ffc83 | ee8e8a21162e555196fc1d91f477bc81caf58764 | /man/balance.Rd | 39da3e5a62e95da0d18f3e1294fc525d7c2f798c | [
"MIT"
] | permissive | rz6/DIADEM | 8c97928d08b0ff9c2c71b8ce8f1e05bf7a89a31f | 76b8701925a1d0b880625a3167d8606388433ad8 | refs/heads/master | 2020-04-09T01:05:36.276112 | 2019-12-25T20:55:30 | 2019-12-25T20:55:30 | 159,891,550 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 905 | rd | balance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{balance}
\alias{balance}
\title{Inserts 0 columns and rows after last row/column to symmetrize matrix.}
\usage{
balance(mtx, N = NULL)
}
\arguments{
\item{mtx}{matrix in dense format to be symmetrized}
\item{N}{posi... |
b281c5078cb575faa89aee79dffb7fcd5c9995e0 | b7cd0766d2f808c64b20da60e983468240bdee48 | /man/lfpcr_boot_oneunit.Rd | 86a4e9960948b61776b6caced4260a08d0b7e28b | [] | no_license | seonjoo/Lpredict | b168f83de72072aa1731d775fbb15ab6a3319d7a | 2cf365b4c2b0ca44645221157b00562ae4c43c13 | refs/heads/master | 2021-06-10T05:46:57.051361 | 2017-09-19T19:43:49 | 2017-09-19T19:43:49 | 56,447,015 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 992 | rd | lfpcr_boot_oneunit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lfpcr_boot_oneunit.R
\name{lfpcr_boot_oneunit}
\alias{lfpcr_boot_oneunit}
\title{Run one unit boot strapping}
\usage{
lfpcr_boot_oneunit(datct = NULL, idlist = NULL, seednum = 1000,
idvar = NULL, timevar = NULL, inYrs = FALSE, predvarlist =... |
e7cdab0703b24c9662321b6732090249f3896bae | 2f31f71c1370e3597c9697ba06bb195950884e57 | /ex15.R | 323393cf69de1de2287264f5a8c07df54c392527 | [] | no_license | 272-burger/statistical-methods | a7b81d11a4feb795df6da9807f5dc8cab9b76a68 | 409cc72f50a4c712664b5da2a14c4ee18029d043 | refs/heads/main | 2023-07-03T07:53:49.934794 | 2021-08-09T10:30:55 | 2021-08-09T10:30:55 | 366,439,630 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,914 | r | ex15.R | # assigning data
mydata <- matrix(c(16, 19, 18, 20, 24, 26, 30, 32, 31, 34, 5, 6,
7, 8, 9, 11, 12, 13, 14, 15, 2, 1.9, 4, 5.6,
6.1, 6.2, 7, 7.2, 8, 9), nrow = 10, ncol = 3)
colnames(mydata) <- c("매출액", "광고비", "설비투자")
(mydata <- data.frame(mydata))
attach(mydata)
# scatter plot... |
8c7aa8360daf8d133da11e2bd75dcaaa83076e11 | ce6cc316a7dc9bc2ecce50616da50bd1689eccb2 | /rankall.R | 4ce2cfa962834f8d141b7f458fb15b007d71c46f | [] | no_license | fmonera/ProgrammingAssignment3 | 97e3f4dc9747a5a482efb259209b27859da4c7b3 | 0615c46f81df058d34e6a19b96cc6ae0e7a4095d | refs/heads/master | 2020-05-16T22:01:45.399989 | 2015-08-30T14:28:37 | 2015-08-30T14:28:37 | 41,631,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,320 | r | rankall.R | rankall <- function( outcome, num = "best") {
## Read outcome data
dt <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
states <- unique(dt[,7])
if(outcome == "heart attack") cl = 11
else if (outcome == "heart failure") cl = 17
else if (outcome == "pneumonia") cl = 23
else stop("inv... |
c7fd2b1e2d75fd077abb00a0cba660a97eae6e68 | 771c05fa7b58f8f2dab7938da389e9e72b3cf3d4 | /Rvasp/man/print.dosdata.Rd | 10401c7277627b3bcfaecef9306a8384eacf4ac8 | [
"MIT"
] | permissive | gokhansurucu/Rvasp | 56a75b10daa606768791935530bd108204d92f4f | 8983440a96ca8acf017f47af8dbfd3f32faaad22 | refs/heads/master | 2020-04-08T21:14:33.155967 | 2014-03-14T20:08:59 | 2014-03-14T20:08:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 233 | rd | print.dosdata.Rd | \name{print.dosdata}
\alias{print.dosdata}
\title{Print a dosdata object}
\usage{
print.dosdata(dosdata, ...)
}
\arguments{
\item{dosdata}{object of type dosdata}
}
\description{
\code{print.dosdata} print a dosdata object.
}
|
173e821c61243f3e4f4287bf8763b6138cf3855d | 413aac01b62ea0e6d47d09517e7acb4fac35fada | /0-library.R | 570ab9781a7572841f001099235364c958ac514c | [] | no_license | bgulbis/Dexmedetomidine_MUE_2015_2016 | 1e69e06eb9b5455d5942903d8cea0c80adefce67 | c170831d99bdf0f49ef9c32184e9ad178f06065c | refs/heads/master | 2021-01-21T04:43:20.587622 | 2016-06-16T21:30:32 | 2016-06-16T21:30:32 | 51,957,678 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 496 | r | 0-library.R | # 0-library.R
library(dplyr)
library(BGTools)
library(stringr)
library(lubridate)
library(tidyr)
source("0-dirs.R")
gzip_files(dir.proposal)
gzip_files(dir.screen)
gzip_files(dir.data)
# lookup_location <- function(pt, start) {
# x <- filter(data.locations, pie.id == pt,
# start >= arrive.dateti... |
d07dd48da2f9502af4c43efa8cdf788f69540e52 | 3b223c25e6dea9aeb8441556b9e54f726ffaf587 | /experiments/elisa_paper_relevant/interactiveReferenceGame/results/rscripts/app/app_data_prep.R | bb2bc07b87a5ed05a580878b59ea176f2e117b6c | [
"MIT"
] | permissive | thegricean/overinformativeness | 4d53a0cc5f60d3cadc3e7a6435a60a240965a9ae | d20b66148c13af473b57cc4d1736191a49660349 | refs/heads/master | 2021-07-08T06:11:18.648504 | 2020-07-16T15:28:35 | 2020-07-16T15:28:35 | 33,973,028 | 1 | 2 | MIT | 2021-05-07T03:19:41 | 2015-04-15T04:25:13 | HTML | UTF-8 | R | false | false | 2,503 | r | app_data_prep.R | library(dplyr)
library(ggplot2)
library(bootstrap)
library(lme4)
library(tidyr)
theme_set(theme_bw(18))
setwd("/Users/elisakreiss/Documents/Stanford/overinformativeness/experiments/elisa_paper_relevant/interactiveReferenceGame/results/rscripts/app")
typ <- read.table(file="data/meantyp_short.csv",sep=",", header=T,ch... |
e6e2b6c18d5443e0ee609ca750af395ce4e2e21f | c44650689eec32af888d8eaa38aa40ceb76d5689 | /R/timeseries_plots.R | 747ffce5009f7fc3534b326cee07302ccd8abbd0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | jsta/glmtools | 6923c56f97bbd36ec5a50f146bbee47d0107b2fd | ea744cc56e93bf31be9ae2bf780de1197e0f319b | refs/heads/master | 2021-01-14T08:30:44.896709 | 2020-05-13T15:18:18 | 2020-05-13T15:18:18 | 286,780,574 | 0 | 0 | NOASSERTION | 2020-08-11T15:29:20 | 2020-08-11T15:29:19 | null | UTF-8 | R | false | false | 2,056 | r | timeseries_plots.R |
.plot_nc_heatmap <- function(file, var_name, reference, num_cells=100, palette, ...){
surface <- get_surface_height(file)
max_depth <- max(surface[, 2])
min_depth <- 0
z_out <- seq(min_depth, max_depth,length.out = num_cells)
data <- get_var(file, z_out = z_out, var_name = var_name, reference = reference)... |
0becf17c160a2d1f41a575ec2f65b36075f8c968 | e83edc59f6bb2424ab86375762b0c116000d0167 | /R/raster_to_filenames.R | ace2260a67bbd7ae9058ad2852a79db35297926c | [] | no_license | gearslaboratory/spatial.tools | 5f919f4474ef0792c37ba88bf47ce60229f65221 | 905954e12ed3092a56afaaa6f356d3f0a7e572c1 | refs/heads/master | 2021-01-04T02:51:21.597561 | 2020-02-13T19:34:33 | 2020-02-13T19:34:33 | 240,344,310 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | raster_to_filenames.R | #' Extract filenames from all Raster* objects.
#'
#' @param x Raster*. A Raster* object (even one without values/in memory) to determine the filename(s).
#' @param unique Logical. Only return unique filenames? If FALSE, one filename per layer.
#'
#' @return Character vector of filenames.
#' @author Jonathan A... |
08e8119664b5c71f1ed23f1e3ac6d29e54840e2d | 551d820cf59055378590fa27a26049c11970b794 | /lesson2_keypoint.R | 64ffa6dcfd158e45b14b1f67f7d8e84542987e53 | [] | no_license | GMfatcat/R-tutorial-lesson2 | d9439d12a2eb4509f05533ca971d740c498b25f7 | e44eeb38a66074fae8813827b52bda9b4c54d20f | refs/heads/master | 2021-04-03T12:22:47.688788 | 2020-03-18T22:09:14 | 2020-03-18T22:09:14 | 248,352,492 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 529 | r | lesson2_keypoint.R | # Run the code section by section
# ggplot2 install
install.packages(ggplot2)
# ggplot2 include
library(ggplot2)
#-----------------
#ggplot histogram
ggplot(data)+geom_histogram(aes(x=name,y=name2),fill=#BADDCC")
#ggplot histogram with multiple data
ggplot(data)+geom_histogram(aes(x=name),fill="red")+
g... |
fb5cd5a47d499113c9789f461cce1bd003e88c31 | e9d6628fc6b6fcc7cd57aa84ac1ae875ccec0aa3 | /R/AllClasses_old.R | fe9052aa3ce9e08028d571832af971f582fb6baf | [
"MIT"
] | permissive | bayesiandemography/demarray | f925b3a4c10550f65cf7262d5cf3ca93902ec8fa | 7bade2c7be5e2cc6d5e78ed4484fd0f67afdf7d9 | refs/heads/master | 2021-12-30T09:32:28.303845 | 2021-12-17T03:07:50 | 2021-12-17T03:07:50 | 201,564,235 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,225 | r | AllClasses_old.R |
## DemographicArray ----------------------------------------------------------------------
validity_DemographicArray <- function(object) {
dim <- dim(object)
dimtypes <- object@dimtypes
## is numeric
val <- demcheck::chk_is_numeric(x = object,
name = "object")
i... |
8b90620468c5e8d93c15f1e1b6bdc66c5a9f9498 | ae551ea3266ace856a2029e675c255c3a1ffaf19 | /R/genmovnet.R | 7a7886165af8b6584f0c384e6b0bcfc2cb292225 | [] | no_license | robchoudhury/INApreliminary | c2bd15e61512841ea2c6d7442c46820cb71c2fb1 | 593e0009111b8d29cd8784f363e49c1146b5d4fe | refs/heads/master | 2022-11-12T05:03:57.691687 | 2020-07-08T17:13:08 | 2020-07-08T17:13:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,780 | r | genmovnet.R |
#' Generate network adjacency matrix for movement
#'
#' This function generates an adjacency matrix for movement, assumed symmetric (in this version). It is used by functions including \code{INAscene}. The movement adjacency matrix is composed of 1s and 0s only if lktype="pa" option is used
#'
#' Updated 2020-06-02
... |
81a33f21d097bd0431c06cc97db9c08e4136ec58 | 5529bde1e41c21bb4b63a8f2c1addf295735f34b | /man/clip_read1_obj.Rd | 1bf1a855dd3ae32e7d1a91b98cd75bf3cdae85ac | [] | no_license | NikNakk/objectclipboard | 075336dc603de38d9fd2cfeb8a7a49fa3b0d1c43 | 1b9201e53967933a32ca62290e3a347eae8e90a8 | refs/heads/master | 2020-04-07T13:11:10.789456 | 2018-11-20T13:45:56 | 2018-11-20T13:45:56 | 158,396,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 368 | rd | clip_read1_obj.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clip_read1_obj.R
\name{clip_read1_obj}
\alias{clip_read1_obj}
\title{Read first object from clipboard written with clip_write_obj}
\usage{
clip_read1_obj()
}
\value{
object from clipboard (could be of any type)
}
\description{
Read first obje... |
a621eee0af893c11bf02df10b97473f66dfbcbc9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/remedy/examples/listr.Rd.R | c2c492d18593b42f4d1fadcf5060ef92432ba2ef | [] | 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 | 276 | r | listr.Rd.R | library(remedy)
### Name: listr
### Title: Convert to list
### Aliases: listr olistr
### ** Examples
## Not run:
##D #unordered list
##D remedy_example(c('line 1','line 2'),listr)
##D
##D #ordered list
##D remedy_example(c('line 1','line 2'),olistr)
## End(Not run)
|
54767eec8b4a464494bb3ba9c2b5470f3b9f3820 | 2f680317ef881d9255a68eb603c8f3a6a5383909 | /man/dplyr-ggvis.Rd | 19e3522e494ac60b4e2213dedd33e959aaaeac79 | [] | no_license | BAAQMD/ggvis | bd95b8501dc529387f7131217047859a0dc6f198 | 6e7083411ef710b214027f0452b9bb438478afe3 | refs/heads/master | 2021-01-20T16:28:13.546638 | 2014-09-29T19:01:38 | 2014-09-29T19:01:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,047 | rd | dplyr-ggvis.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{dplyr-ggvis}
\alias{arrange_.ggvis}
\alias{arrange_.reactive}
\alias{dplyr-ggvis}
\alias{filter_.ggvis}
\alias{filter_.reactive}
\alias{group_by_.ggvis}
\alias{group_by_.reactive}
\alias{groups.ggvis}
\alias{groups.reactive}
\alias{mutate_.ggvis}
\alias{mutate_... |
0dab566c8846728caf8176196c98712ff120d64a | 8f603f7a9f4cd16df4365874307beaeced2b9286 | /bird_sankey.R | 35bead2cc942297105052818a6e63023eec42945 | [] | no_license | rhaefer/bird_map | 199eded4fb376c0fdbfb32cdf98668a5ae46293e | 167868abaf3f1c9d3ce6adabdd8600e7ad8fa544 | refs/heads/master | 2021-01-19T10:54:14.888591 | 2017-02-23T04:27:09 | 2017-02-23T04:27:09 | 82,233,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,746 | r | bird_sankey.R | setwd("/Users/reid/Documents/Data Projects/birds")
library(dplyr)
birds<-read.csv("MyEBirdData.csv",header=T)
bird_select<-data.frame(birds %>% select(Common.Name, Count, County) %>%group_by(Common.Name, County) %>%
summarise(Frequency=sum(Count)) %>% filter(Frequency>=8))
bird_select$source<-bird_select$Common.Nam... |
4a3a57219cf1128517e76c77fb2fd60a7cdd4726 | 6b62017399a34214f029abae65aa42f026da8efd | /new_ase_code/rscripts/utils/combine.genots.r | 0cec5468002f94bac4749510984133ee494ee14b | [] | no_license | kundajelab/Personal_genome_mapping | 839369054c43bdb0acf0f725568e864f0d4d5d49 | 5f2117489ff1c76ff68bcd31be878ec0cd12bad3 | refs/heads/master | 2020-12-25T09:00:30.090789 | 2014-08-13T05:09:58 | 2014-08-13T05:09:58 | 23,176,657 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,940 | r | combine.genots.r | rm(list=ls())
library(Matrix)
library(ggplot2)
library(ape)
library(geiger)
source('utils/deseq.utils.r')
non.san = new.env()
load('../../rawdata/variants/all/snps/allNonSan/allNonSan.snps.RData', non.san)
non.san.genot = new.env()
load('../../rawdata/variants/all/snps/allNonSan/all_genot.RData', non.san.genot)
san = ... |
77876f274901bfe7a3045f8dad386810cc6eab22 | 70e015e71ce31e129c141ddfbcdbf5b200c52df4 | /Content/examples_code/ZIP_Nmixture_SwissGreatTits/ZIP_Nmixture_SwissGreatTits_setup.R | 7400c4f6a764456c36af706e2e42702e8623c216 | [] | no_license | lponisio/Vogelwarte_NIMBLE_workshop | ec258a845381621c303b779bb72c5b72924bbdd6 | 323a8ab63ba5b0199b2e3b368dfe2f51bfa17e1f | refs/heads/master | 2020-06-04T00:58:16.528340 | 2018-04-25T11:31:03 | 2018-04-25T11:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,206 | r | ZIP_Nmixture_SwissGreatTits_setup.R | # This example is adapted for NIMBLE from the AHM book by Jacob Levine and Perry de Valpine
# 6.11.1 Bayesian fitting of the basic ZIP N-mixture model
# ------------------------------------------------------------------------
# From section 6.9.2 - for data creation/organization:
if(!exists("DO_PLOT"))
DO_PLOT <- ... |
13b765234c6f82141583c80e3b84a98ce9aea166 | 089f560b12e6de236bc52852a05c6ad6c09df17e | /R/delphi-states.R | 5c151a79228cce31834fd0670ffdcdcf488b18a7 | [
"MIT"
] | permissive | mlamias/delphiepidata | e392c518f6f4c0c0d1c8d102c62845243e75ec30 | 7dc9eb67a3530cc027e66d3ccc7e31003cd7f536 | refs/heads/master | 2022-01-15T20:01:27.577372 | 2019-05-29T12:18:00 | 2019-05-29T12:18:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 387 | r | delphi-states.R | #' Supported States
#'
#' @docType data
#' @export
c(
'AK', 'AL', 'AR', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL',
'GA', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA',
'MD', 'ME', 'MI', 'MN', 'MO', 'MS', 'MT', 'NC', 'ND', 'NE',
'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'RI',
'SC', 'SD', 'TN'... |
18205f3646909fad5c5131f1d2e4b7556afeed3b | 782dfc9dbe0efa627fccdfac7bf4ce5efaafe00d | /R/get_degree_distribution.R | 03f08e3f1ce9f20ad1f913efa232efbeb2757733 | [] | no_license | KID4978/DiagrammeR | a2943b8a97c5f68c70a08a9bfde5d33d33565262 | c2c060a67e9b606fedb2f9b653d0361a09573a80 | refs/heads/master | 2021-01-23T01:17:11.540769 | 2017-03-22T16:43:32 | 2017-03-22T16:43:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,297 | r | get_degree_distribution.R | #' Get degree distribution data for a graph
#' @description Get degree distribution data for
#' a graph. Graph degree is represented as a
#' frequency of degree values over all nodes in
#' the graph.
#' @param graph a graph object of class
#' \code{dgr_graph}.
#' @return a named vector of degree frequencies
#' where th... |
e306e114d2dfb4b90e428256d1514571d404628f | e58cb0a3ce95401501f0f0441a492529632b41f7 | /analysis/getTranscriptSeqs.R | 5a220b4e5a1c875d18fa77852ee32b61960df186 | [] | no_license | larsgr/GRewdPipeline | ea451c75b5f4d91d4f92a941e3b2f3461566ee98 | 77a7d5b17373a2139d34327942fcec300b62fb40 | refs/heads/master | 2020-12-29T02:19:46.034273 | 2019-01-15T10:24:33 | 2019-01-15T10:24:33 | 30,870,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,787 | r | getTranscriptSeqs.R | ####
#
# get the sequence of the "conserved" genes
#
#
# get grpIDs for the genes that are significantly DE in all species
#
source("~/GRewd/pipeline/R/orthoGrpTools.R")
DEmat <- readRDS("~/GRewd/pipeline/data/DEmat.RDS") # from: superGeneModel.Rmd
dim(DEmat$peak$pVal)
sigMatUp <- lapply(DEmat, with, { ifelse(is.n... |
359da36799e789837b39e2f3537dd7aaa243ed0d | cc4dedb1efc2abcdc2176ad763a624aea83cf978 | /to_reprex.R | e35e0dbd75c11bccd18af5679be2d94fdb17289c | [] | no_license | nmolanog/AB_material | f39b17af0ffc2a9423778d3cacd7c6c1fa383181 | c22dfe6e04140ae45b0de79c6d3e9b2c3d284870 | refs/heads/master | 2022-06-14T01:19:34.959414 | 2022-06-08T19:48:20 | 2022-06-08T19:48:20 | 149,158,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,556 | r | to_reprex.R | ###############
rm(list=ls())
options(max.print=999999)
library(pacman)
p_load(tidyverse)
p_load(mvtnorm)
p_load(cowplot)
p_load(gridGraphics)
p_load(GA)
my_mean<-c(25,65)
mycors<-seq(-1,1,by=.25)
sd_vec<-c(5,7)
i<-3
temp_cor<-matrix(c(1,mycors[i],
mycors[i],1),
byrow = T,ncol=2)
... |
fe6e1ac2cf160eb48390813231628e587f3fb781 | f96d2b4516dda1e1b5007fb953671ed301ba0210 | /boosting_final.R | 61b0f2e057b2a0ef7b226617bcddd880a5dead3d | [] | no_license | simonzhangzp/ml3 | c7180bc05f8f807136be1dd2cbc1769e04f99a17 | b5ecdc3b42479e376c23d44e95fbc9a176367dfc | refs/heads/master | 2020-12-25T12:40:23.179610 | 2017-04-08T18:13:39 | 2017-04-08T18:13:39 | 83,711,926 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,953 | r | boosting_final.R |
rm(list=ls())
library(MASS)
library(gbm)
library(randomForest)
set.seed(1)
customer = read.csv("Lab3Data.csv", header=TRUE)
customer=na.omit(customer)
customer$Churn <- ifelse(customer$Churn=="Yes", 1, 0)
test = sample(1:nrow(customer),1000)
customer.train=customer[-test,]
customer.test = customer[test,"Churn"]
summa... |
e718f3900d66f64258b4390911a2168822b2b942 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/MarkEdmondson1234/autoGoogleAPI/genomics_functions.R | da1a23bdc96c50c2f0fc9d12321e19ab72652fbf | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,663 | r | genomics_functions.R | #' Genomics API
#' Upload, process, query, and search Genomics data in the cloud.
#'
#' Auto-generated code by googleAuthR::gar_create_api_skeleton
#' at 2017-03-05 19:53:15
#' filename: /Users/mark/dev/R/autoGoogleAPI/googlegenomicsv1alpha2.auto/R/genomics_functions.R
#' api_json: api_json
#'
#' @details
#' Authen... |
6cc25afc1999e54913c9d15f85385875a45fe3af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/KFAS/examples/ldl.Rd.R | 23b0e599e3387e202bdee1990ccb69536ff91763 | [] | 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 | 347 | r | ldl.Rd.R | library(KFAS)
### Name: ldl
### Title: LDL Decomposition of a Matrix
### Aliases: ldl
### ** Examples
# Positive semidefinite matrix, example matrix taken from ?chol
x <- matrix(c(1:5, (1:5)^2), 5, 2)
x <- cbind(x, x[, 1] + 3*x[, 2])
m <- crossprod(x)
l <- ldl(m)
d <- diag(diag(l))
diag(l) <- 1
all.equal(l %*% d %*... |
89e252b224199350fb1cc254b74d1655dd656079 | 4f355faa933fe9653d7b33585cc687cff17d0ba9 | /day2/trees.R | 1356b29e8c69a3e9effa4743146bb632e03c0f97 | [] | no_license | chandulal/data-science-with-R | b25c07b71088fe0cde9ac3aef096310cb996c689 | be051934c65bfcd7ac4c3bc1c02e26d446b06431 | refs/heads/master | 2016-08-11T17:43:07.240309 | 2016-03-12T10:44:25 | 2016-03-12T10:44:25 | 53,643,025 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,719 | r | trees.R | # Boston dataset variables:
# LON and LAT are the longitude and latitude of the
# center of the census tract.
# MEDVisthemedianvalueofowner-occupied homes, in thousands of dollars
# CRIM is the per capita crime rate
# ZN is related to how much of the land is zoned for large residential properties
# INDUS is proportion ... |
e5ad706c64ae4279a64b1127836fe40c84b6dc03 | 9c0f9a7675dd9ff2fe0f6e2eff94b8fe153dd7e0 | /dms.R | bd1c050d1036292b743dc6880b1310cadf32aad5 | [] | no_license | pmoracho/R | 8a6eef57c282c18b44f03ab2d5341a2e91f12505 | 4b7adb1104abed5f6205079f5ee905839bd24175 | refs/heads/master | 2022-07-07T00:14:48.361838 | 2022-07-02T22:34:05 | 2022-07-02T22:34:05 | 91,250,857 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,361 | r | dms.R | library(RODBC)
library(ggplot2)
start.time <- Sys.time()
cn<-odbcDriverConnect("DRIVER={SQL Server};SERVER=momdb2;Database=master;uid=plussistemas;pwd=plus")
df <- sqlQuery(cn, "
SELECT top 1000000
P.SYSTEM_ID,
P1.USER_ID,
P1.FULL_NAME,
P2.USER_ID,
P2.FULL_NAME,
DT.DESCRIPTION,... |
923cbda6e15c75ff328103b1eb9bd3c8e233abbb | a8d39817671c2aad5994396f839f4d527b42ce4d | /app.R | 66c85d0199b58c19890078cb97c0e4561c0bc29e | [] | no_license | chrisselig/nycdogs | b193727ed67c869f62f9dbef9d5169cfdfbd1780 | 6d8f836fc996a6041840b282c7c4575127c730eb | refs/heads/main | 2022-12-11T11:25:39.832646 | 2020-09-14T20:36:54 | 2020-09-14T20:36:54 | 294,489,439 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,619 | r | app.R | #
# Created by Chris Selig of BIDAMIA INC. ----
# https://www.linkedin.com/in/chris-selig/
# bidamia.ca
# App for exploring and forecasting dog bites in NYC ----
# September 2020 v1.0
#
# * Libraries ----
# ** Shiny libraries ----
library(shiny)
library(shinyjs)
library(shinyWidgets)
library(shinythemes)
# ** Data ma... |
7d71e54e0cb8d2558ae2a11b46179ccb32e0e397 | 6a704b8808392875f192dae75f4816e5b0de3d61 | /bd_serve.R | 4f3c40f9d1a9addad3131a91a3fb4b21dd66753a | [] | no_license | vudat081299/stat101 | fe85609050e82e550f4fe7f0d5d119f2b1f2b2b1 | 3313cac2391e1d30c19af28ba453d0d9984f4e93 | refs/heads/master | 2023-01-30T18:25:14.832491 | 2020-12-17T09:01:35 | 2020-12-17T09:01:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 114 | r | bd_serve.R | bookdown::serve_book(dir = ".", output_dir = "_book",
preview = TRUE, in_session = TRUE, quiet = FALSE) |
f38e8cc4ceeea2393da4d4cc8be0cc3022556c12 | 3524de329d1f28a6df15093155ea6c2df9c37f54 | /TurtleBackTest(v0.1) .r | 60015792cafdea8a02af21068be51548eefd883b | [] | no_license | SidGor/turtle_project | 324580276d8c57b7b5939f919fb7f48115458298 | 47f972d3c7aef2903e302081c9ac9a110094c71d | refs/heads/master | 2021-01-23T16:17:48.310002 | 2017-06-19T07:12:19 | 2017-06-19T07:12:19 | 93,289,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,205 | r | TurtleBackTest(v0.1) .r | ##########################Packages#############################################
library(quantex) #数据下载
library(rlist) #一些好用的列表操作比如list.stack
library(data.table)
library(dplyr) #在清洁数据的时候需要用到 left_join 以及%>%
library(zoo) #要使用rollapplyr来算各种滚动数据
####################################################################... |
43bf75c6cc78613d1d66fa582b87d10fc07de0cd | b30559e9ebad86aa28d32359b662457207cd3f23 | /4-meta_analyze.R | d52d13290bfce5754b9dd331f0bf4a3f063609b2 | [
"MIT"
] | permissive | jaydennord/glmm_variance | 24b4e68e60b63b5020fe65c05d39dde5808efbca | ced58822dbce3fbc6aa89d3799fae58ccf258953 | refs/heads/master | 2022-12-07T11:46:10.463894 | 2020-09-04T22:01:12 | 2020-09-04T22:01:12 | 236,608,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,935 | r | 4-meta_analyze.R | library(data.table)
library(tidyverse)
library(latex2exp)
# d <- read_csv("results_full.csv", guess_max = 5e5)
d <- fread("results_full.csv", sep = ",") %>%
as_tibble()
grps <- quos(nblk, neu, blk_sd, mu, gen_method, ana_method, term)
d2 <- d %>%
filter(
!(
str_detect(term, "(trt)|(blk.eu)") |
... |
cb79b287867969b3d256ad8a200cd0ed4928fc99 | c459dd32d88158cb064c3af2bc2ea8c7ab77c667 | /tumor_subcluster/plotting/heatmap/heatmap_emt_markers_by_individualsample_cluster_highlight.R | b1ace3efaf80e2c3c2a12d5f20c78c52998b3ab9 | [] | no_license | ding-lab/ccRCC_snRNA_analysis | d06b8af60717779671debe3632cad744467a9668 | ac852b3209d2479a199aa96eed3096db0b5c66f4 | refs/heads/master | 2023-06-21T15:57:54.088257 | 2023-06-09T20:41:56 | 2023-06-09T20:41:56 | 203,657,413 | 6 | 3 | null | null | null | null | UTF-8 | R | false | false | 12,450 | r | heatmap_emt_markers_by_individualsample_cluster_highlight.R | # set up libraries and output directory -----------------------------------
## set working directory
dir_base = "~/Box/Ding_Lab/Projects_Current/RCC/ccRCC_snRNA/"
setwd(dir_base)
source("./ccRCC_snRNA_analysis/load_pkgs.R")
source("./ccRCC_snRNA_analysis/functions.R")
source("./ccRCC_snRNA_analysis/variables.R")
source... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.