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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7678eec535b04395db2a68530df30ddf2c204af7 | c53e367a5a155cfb1ee3a41e8b0351aeaa8d331d | /gridGraphics/test-scripts/test-par.R | 2e05bd8b89df5b856db5600dea0817820e0c805b | [
"MIT"
] | permissive | solgenomics/R_libs | bcf34e00bf2edef54894f6295c4f38f1e480b3fc | e8cdf30fd5f32babf39c76a01df5f5544062224e | refs/heads/master | 2023-07-08T10:06:04.304775 | 2022-05-09T15:41:26 | 2022-05-09T15:41:26 | 186,859,606 | 0 | 2 | MIT | 2023-03-07T08:59:16 | 2019-05-15T15:57:13 | C++ | UTF-8 | R | false | false | 1,890 | r | test-par.R |
require(grDevices) # for gray
library(gridGraphics)
par1 <- function() {
par("ylog") # FALSE
plot(1 : 12, log = "y")
par("ylog") # TRUE
}
par2 <- function() {
plot(1:2, xaxs = "i") # 'inner axis' w/o extra space
par(c("usr", "xaxp"))
}
par3 <- function() {
( nr.prof <-
c(prof.pilots = ... |
7b572b7a9ca5474681dfcdf07254f522229585af | 85abc2513a155bf54eea49580acb1f09b742bc88 | /R/util.r | 296dcadee1d2b617881fe7080d1571ad39765d36 | [] | no_license | mkoohafkan/cimir | 13ce7bb87ae3ffa3ed238d6529d485c44a066e53 | e54c8d91e4dae3bad48bebe7606952a11b58d417 | refs/heads/master | 2023-02-19T23:56:29.933152 | 2023-02-14T05:23:49 | 2023-02-14T05:23:49 | 160,749,999 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,780 | r | util.r | cimis.tz = "Etc/GMT+8"
empty.record = tibble(
Date = as.Date(character(0)),
Hour = character(0),
Julian = integer(0),
Station = character(0),
Standard = character(0),
ZipCodes = character(0),
Scope = character(0),
Item = character(0),
Value = character(0),
Qc = character(0)
)
#' Quick Fix to as_ti... |
664210a0358e3d429f71383c0bbc5fa66283da39 | 3050849fdeb7b54d22f5b72ec004fefeb0af86a6 | /tests/testthat/test.DIscBIO.IMP.R | f6cbb8d2eeebc4b36cca8739ae8abbfe22f04da9 | [
"MIT"
] | permissive | dami82/DIscBIO | 4e8fd3591b2c1d92c9deb83596713f076a12ac1c | 8de0522099697a9364ee01befdb13f5b36b16970 | refs/heads/master | 2021-04-22T02:19:49.309902 | 2020-04-08T11:37:15 | 2020-04-08T11:37:15 | 259,098,496 | 0 | 1 | MIT | 2020-04-26T18:01:52 | 2020-04-26T18:01:51 | null | UTF-8 | R | false | false | 9,340 | r | test.DIscBIO.IMP.R | # ---------------------------------------------------------------------------- #
# Data pre-processing #
# ---------------------------------------------------------------------------- #
context("Data loading and pre-processing")
sc <- DISCBIO(valuesG1msReduced)... |
e8c3a9eb4307b447e08d986ba079952cbca4d232 | fcb9bd2e5be13ef292927a1674af9fa2b9cdbbf3 | /R/print.pcoasig.R | 68ce294b8730d0bf89937d159c2e535944aba91a | [] | no_license | vanderleidebastiani/PCPS | 9a68e9a169a422d8239c708ecb79a4d86f9b8330 | 71329266a31d87faac6977c624a176edda5f85f5 | refs/heads/master | 2021-08-06T18:05:58.611153 | 2021-02-02T19:41:08 | 2021-02-02T19:41:08 | 22,879,537 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 237 | r | print.pcoasig.R | #' @rdname pcoa.sig
#' @encoding UTF-8
#' @export
print.pcoasig <- function(x, ...){
cat("Call:\n")
cat(deparse(x$call), "\n\n")
cat("PCoA values:\n")
print(x$values)
cat("\nProbabilities:\n")
print(x$probabilities)
invisible(x)
} |
226d05c0e1cd9451bff38df3b512123bfcb22fb7 | 2c88dd784cc718ca44aa04a5d42adbb512a2164e | /interpolation.R | 23e1534e5da0ca2f4b4f041bd6218f545c8113cc | [] | no_license | erikagonzalezs/mortar-interpolation | a36cdc1460ad7901dd4b5ae5594e44176224f13a | 2175f4ceb14638f6bde37c3051dfec72344a180e | refs/heads/master | 2022-09-06T03:26:05.830535 | 2020-05-26T16:37:12 | 2020-05-26T16:37:12 | 267,095,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,359 | r | interpolation.R | #--------------------------------
# RETO 2
#
#--------------------------------
# Integrantes
# - Andres Camilo Giraldo Gil
# - Erika Alejandra Gonzalez
# - Leonel Steven Londono
#--------------------------------
# Analisis Numerico
#--------------------------------
#Instalacion Librerias Requeridas
#----------------... |
ebd69c3f46a173c870fc9c68a062130e81034794 | 66cb7880ff3e2785bd4de737799d8e14e9d6b25e | /tester_file.R | 0853af29e0712fa01e233378a17dac67591225fc | [] | no_license | aeraposo/Data-440-Raposo | 0dda5220b960caca4520468b797c2ebc925627cf | c3c48542cc5ff383da7f77b3540d00601131f233 | refs/heads/master | 2023-01-18T19:05:49.166979 | 2020-11-24T17:44:32 | 2020-11-24T17:44:32 | 289,048,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23 | r | tester_file.R | # trying to push to git |
5d758f8761264ba471cafee4000d8097ea500817 | da75298a0a888118873c387139df1496739ebccd | /ggplot2 example.R | a02b278f051412f41023f3447ab7e8ecc591e73b | [] | no_license | AlonFriedman01/Visual-analytics-class | b791b37bcb94d27cd49b5db86ee567c127d78c8a | ebcc96054ce565265435be59d9f42aff2c1c4b46 | refs/heads/master | 2021-01-07T12:37:06.707025 | 2020-04-12T21:22:54 | 2020-04-12T21:22:54 | 241,695,186 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 504 | r | ggplot2 example.R | df <- data.frame(
gp = factor(rep(letters[1:3], each = 10)),
y = rnorm(30)
)
ds <- plyr::ddply(df, "gp", plyr::summarise, mean = mean(y), sd = sd(y))
ggplot(df, aes(gp, y)) +
geom_point() +
geom_point(data = ds, aes(y = mean), colour = 'red', size = 3)
ggplot() +
geom_point(data = df, aes(gp, y)) +
geom_poi... |
2decd098bb7be382010f71a63bae4aed8e320817 | a508837184dbad17a408cfe8a0d066c8f7254ccc | /app.R | 8466cc255ad3e9bd1d73eb70918c83e57f9674dd | [] | no_license | usfviz/bckenstler-hw3 | ea0c241b9d89c5285c4d21b0f08c20883cfe749e | e1ca5b6c6e311f9a5568ac63a9618a40714d509b | refs/heads/master | 2021-01-19T22:59:12.771886 | 2017-04-27T06:14:11 | 2017-04-27T06:14:11 | 88,901,211 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,874 | r | app.R | library(shiny)
library(ggplot2)
if(!"GGally" %in% installed.packages()) install.packages('GGally')
library(GGally)
library(MASS)
fb <- read.csv('data/dataset_Facebook.csv',sep = ';')
fb <- fb[fb$Total.Interactions!=6334,]
ui <- fluidPage(
titlePanel("FB Post Interactions and Times"),
fluidRow(
mainPan... |
6e4ff01334c88d6751e1c3ba1517cada9a85e44c | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609961227-test.R | 57c4125e502977a3c230bf79fdf20fc6db1c235a | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,359 | r | 1609961227-test.R | testlist <- list(x = c(-687865865L, -2097153L, -1L, -65536L, 0L, -1L, -393258L, -2049L, -536871026L, -1L, -10726L, 803602431L, -1L, -10726L, 805251109L, 239L, -1L, -1L, -2745809L, -56064L, 61439L, -16776961L, -10497L, -42L, -65495L, 30802099L, NA, -2097153L, -524321L, -702926849L, 1277100031L, -10726L, 805306367L, ... |
ff3067ba6a9dfc165bb7ac82e382ca25aaf5713f | 03facaf304845a6bb4d1afa92026329a17e90f0c | /R/sisesat-class.R | 61c5e43695ee56d117cf29a8d69e6b2565337cc8 | [] | no_license | imarpe/imarpe | acc7653ac5f96d4d469c69995efe174bb4671245 | 9e4a12157edebb3857143ab3fd1fda618c558b97 | refs/heads/master | 2021-04-06T11:44:10.705962 | 2020-08-06T01:45:29 | 2020-08-06T01:45:29 | 16,237,099 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 118 | r | sisesat-class.R | # Main functions for the 'sisesat' class
# includes: a function to read data and create the object of class
# sisesat
|
5d348c0c30d476f45b85ed09e6ea082fd93432c2 | 3b9f656885e4822849d265a2e7b4476528ea3337 | /R/idemo.FIM.R | 69abbbd74deb4a8e292e554b66dc6066b56cee8b | [] | no_license | cran/iDEMO | f31322c5e8c1680f84eb5320f7c1a87cad265570 | ce4fcdc6adefc20177e18f434ff0bab3534bff7a | refs/heads/master | 2020-05-17T11:12:52.543048 | 2012-06-06T00:00:00 | 2012-06-06T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,510 | r | idemo.FIM.R | idemo.FIM <-
function( sEta, sB, sE, Time){
if( is.numeric(sE) & is.numeric(sEta) & is.numeric(sB) & is.numeric(Time)){
if( sEta>=0 & sB>=0 & sE>=0 && all(Time>0) ){
m <- length(Time)
Q <- matrix(rep(Time, length(Time)), ncol = length(Time))
Q[row(Q) > col(Q)] <- sort(Q[row(Q) < col(Q)])
O <- sB^2... |
4315c97d7db049a63dd8e82ac5ea86d5574b871a | d63a0723923d0574d4f0218f3e48238666b4c479 | /man/project_wham.Rd | 6517dde53d3e364f3aa5af6205a730b72a31a888 | [] | no_license | ChristineStawitz-NOAA/wham | 5bf34060ec6508e54c4eb943b55f7153cc1b0b59 | a7dfd52390b1f5e35a0270edb00d9fc86c4f8773 | refs/heads/master | 2020-11-27T06:19:17.368027 | 2019-12-11T20:45:48 | 2019-12-11T20:45:48 | 229,336,441 | 1 | 0 | null | 2019-12-20T21:07:11 | 2019-12-20T21:07:10 | null | UTF-8 | R | false | true | 5,837 | rd | project_wham.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/project_wham.R
\name{project_wham}
\alias{project_wham}
\title{Project a fit WHAM model}
\usage{
project_wham(model, proj.opts = list(n.yrs = 3, use.last.F = TRUE,
use.avg.F = FALSE, use.FXSPR = FALSE, proj.F = NULL, proj.catch = NULL,
av... |
6d894cadd56f5fe892653086a35e45a3be5bb719 | 9c035edc307844bf39839ed7275e4aaf8d7932bb | /plot2.R | 3c80e767ba9d1cda8e6714b1f5a9e9e26205e1a5 | [] | no_license | adeelbaba/ExData_Plotting1 | c9e6b6f3882cd1b5bb4a529c6937514d01bad914 | cbd91f3655161028baf9f0d5c53da63337a0e53c | refs/heads/master | 2021-01-18T06:56:59.660344 | 2014-06-08T22:02:13 | 2014-06-08T22:02:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 393 | r | plot2.R | # Read data
PWR=read.table("~/Downloads/household_power_consumption.txt", sep=";", header=T,na.strings="?")
PWR$DateTime <- strptime(paste(PWR$Date, PWR$Time), "%d/%m/%Y %H:%M:%S")
PWR=subset(PWR, as.Date(DateTime) >= as.Date("2007-02-01") & as.Date(DateTime) <= as.Date("2007-02-02"))
plot(PWR$DateTime, PWR$Global_ac... |
62e295b65fceaf55b2e56913c9c7115fc5e4eb97 | 891963b0d2ff7c4a75cee11eac79b3790e0e3410 | /notes/example_script.R | 3048f9556ba1dd93ab34a18cd8d841271777d944 | [] | no_license | gbearden/r_course_evans_school | 1665969e71a47e9bbe00bc5b0834e20e8fc17b9e | 093f128348081de9382ec9948cc5e82922bc3c9f | refs/heads/master | 2022-10-26T03:25:26.929943 | 2022-10-25T23:54:33 | 2022-10-25T23:54:33 | 111,721,217 | 1 | 3 | null | 2022-10-25T23:54:34 | 2017-11-22T18:52:50 | HTML | UTF-8 | R | false | false | 192 | r | example_script.R | # --------------
# Example script
# --------------
# Load library
library(tidyverse)
# Import data
airbnb <- read_csv('https://bit.ly/3oadz2L')
# Explore data
head(airbnb)
summary(airbnb)
|
6d36562ea0a64ec5f25e85bce75eb5699eb2afef | db3a029c4711f7bb2b469d61b3a117687f936161 | /Code/poolmeans.R | b21bad82f465929a2c59d1e94a9a2cdd0fdacaa5 | [] | no_license | KatiePelletier/WingShapeBSA | 455d0f6750c3ca62aae6b6044d84412ab4909eeb | 42913eb33502269b74c4728f41de18c3203b418c | refs/heads/master | 2023-02-24T09:56:51.615109 | 2023-02-14T14:32:03 | 2023-02-14T14:32:03 | 236,039,708 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,863 | r | poolmeans.R | poolwings <- read.csv("../Data/selectedshape_75tails_ds.csv", stringsAsFactors = T)
str(poolwings)
source('~/Dropbox/DworkinLabSharedMaterial/scripts/WINGPLOTSOURCE.R', chdir = TRUE)
selvec <- read.csv( "../Data/seldict_vectors.csv" )
str( selvec )
WingPlot(as.matrix(colMeans(poolwings[,10:105])))
#Houle wings are ... |
1328273827e9b2c2016873abebc5d4e2adc46d88 | 4694cbed3552993d8e82c33524f35da8311a3f81 | /tests/testthat.R | 840bb559ca874bceeb21bef9130ffb55f467b0d4 | [] | no_license | RRMaximiliano/constitucionesNic | 14ac58974fc6d1dab9490c879bf23ea0733b6cfc | 2f6ba4269ea5b17f3aa0cc290326096e5dcd6e48 | refs/heads/master | 2023-05-02T14:50:56.680399 | 2021-05-30T08:14:49 | 2021-05-30T08:14:49 | 372,141,792 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 78 | r | testthat.R | library(testthat)
library(constitucionesNic)
test_check("constitucionesNic")
|
b8358b4ff119ab851fc0fbed13db8bc987cec9b8 | e50ebfa49c005977a7364c9f428d9d8a785439de | /R_scripts/script_2_alkaloids_Sorensen_and_select_in_ants.R | 87f6e13462f88fd3391cccf1c3301834fe4cd257 | [] | no_license | ivanprates/2019_gh_pumilio | fe9805207a9915ef88b0fee3e44ef254ab48c0ad | 3d3fb253ac11258c21c5f687c05215b166796e2b | refs/heads/master | 2020-06-04T10:45:09.997715 | 2019-11-22T16:13:10 | 2019-11-22T16:13:10 | 191,989,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,335 | r | script_2_alkaloids_Sorensen_and_select_in_ants.R | ############################################
## R script by Ivan Prates (ivanprates.org), Smithsonian National Museum of Natural History, Washington, DC, USA, June 2019.
## This script does the following:
## Estimates a Sorensen dissimilarity matrix for the the complete Oophaga pumilio alkaloid dataset (both for indivi... |
a129995b07d4d5821b19a49b71484d13e84d706e | 67de61805dd839979d8226e17d1316c821f9b1b4 | /inst/models/passing/testAllint.R | 3334ee109b8c24bb46d91bd9bc2a5b68936dc895 | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 6,074 | r | testAllint.R | #
# Copyright 2007-2016 The OpenMx Project
#
# 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 ... |
137edd97069061e6504ab5072ab6591ef4b48bed | 1c81f97fd067260b7657019abe8028093b10d49f | /LAMBDA/R_script/RSA_Relabel_trial_ID_discrete_distance_18_ID.R | 19ef714e5b3e7804873906da53ebf2221737b2f1 | [] | no_license | yunshiuan/fMRI_LAMBDA | 367f2f52ec9e511f8d5cb19cb9de7022a7ab33fb | f72e1d45b5183222d7aa5bcfc4309936151d5179 | refs/heads/master | 2021-05-11T19:32:31.574804 | 2018-11-25T08:23:00 | 2018-11-25T08:23:00 | 117,878,829 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,398 | r | RSA_Relabel_trial_ID_discrete_distance_18_ID.R | #===========================================================================================
# Re-label trial ID [Trial 4: discrete distance with 18 IDs (Trial 5 in the RSA README.txt)] : combining format(with location) and distance(with sign) information
# Note: the old "trial ID" only accounts for distance,
# but... |
9d48e0c4b4339e4e416a7149dd051b0cb40e2c13 | fd870c2f684c2d62ab31ebf4bdfcdc208a3bc2e4 | /week5/week5_mapmaking.R | 63099662fc15c1bada741825c5e4f4740f6ccb4e | [] | no_license | LingruFeng/gis_code | 9d42f53f13be62dac03b051c417ca3be5563ddd8 | 988c4fa1a7fa0ae8289d60df7848ebe980e71623 | refs/heads/main | 2023-02-04T11:33:56.499000 | 2020-12-25T10:16:57 | 2020-12-25T10:16:57 | 308,058,560 | 1 | 0 | null | 2020-10-28T18:38:05 | 2020-10-28T15:24:39 | R | UTF-8 | R | false | false | 7,938 | r | week5_mapmaking.R | ##Load all our data
library(sf)
library(tmap)
library(tmaptools)
library(tidyverse)
library(here)
## read in all the spatial data and
## reproject it
OSM <- st_read(here::here("greater-london-latest-free.shp",
"gis_osm_pois_a_free_1.shp")) %>%
st_transform(., 27700) %>%
#select hotels... |
53b8394c167d6c886eee008ecc2a9e9e35515b7c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/adiv/examples/QE.Rd.R | 47ac79e94285395b5a18a4740eac883b6662dfd1 | [] | 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 | 1,275 | r | QE.Rd.R | library(adiv)
### Name: QE
### Title: Quadratic Entropy
### Aliases: QE discomQE
### Keywords: models
### ** Examples
data(ecomor, package="ade4")
dtaxo <- dist.taxo(ecomor$taxo)
QE(t(ecomor$habitat), dtaxo, formula="EDI")
QE(t(ecomor$habitat), dtaxo^2/2, formula="QE")
table.value(as.matrix(discomQE(t(ecomor$habita... |
b8c765ddd5c3d7bc265c101d2a3645f054d3e684 | 589b566fc6d258a5c342cfc76782371b1681e4f3 | /Testing Functions/Standard Elite Testing/hard_elitism_Experiment.R | f30b10a103ae52ec29812c6ab3fb6601f2192ed6 | [] | no_license | Fozefy/GeneticAlgorithm | c36061e7d098649ee480d25f37c145ef07f331ab | db2f3ce9ad58a0ef5aa65a51a8c74afa5a5d0609 | refs/heads/master | 2016-09-06T07:06:36.741214 | 2016-03-08T21:31:22 | 2016-03-08T21:31:22 | 12,627,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,757 | r | hard_elitism_Experiment.R | n=50
graph = gridConstructor(100)
hard.elite.one = c(1)
for (i in 1:n)
{
ga = new.GA.env(GA.base.args=new.GA.base.args(max.gen=5000,numPop=2), fitness.args=new.fitness.args(fitness.fn=twoPop.one.max.withCoupling(.5), goal=30, externalConnectionsMatrix=matrix(c(1:100, 1:100), nrow=100, ncol=2)), xover.args = new.xove... |
92292c3309105a79660482e5e123c87ad0f9d48c | 70711fc73084b483c55cbcc32212724de4ba0ef9 | /man/syno_mycobank.Rd | bd253d2e8c4025c27dec7d0ac3e4790bd61a6b0e | [] | no_license | FranzKrah/rmycobank | 6b5023a3a8900c233110ef4c374b5f61a0eb1f8a | c7edfdd1d3413c3380cac64b7b110a0bc1b6c3e3 | refs/heads/master | 2021-01-10T17:23:25.375075 | 2016-02-17T13:31:34 | 2016-02-17T13:31:34 | 51,508,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,027 | rd | syno_mycobank.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/syno_mycobank.R
\name{syno_mycobank}
\alias{syno_mycobank}
\title{Downloads synonyms from mycobank.org}
\usage{
syno_mycobank(taxon)
}
\arguments{
\item{taxon}{a \code{character} containing fungal species name}
}
\value{
list with two... |
9a8b8f09fddd3f0074732cd5458e58ea0af8009b | 2b01128d3fa2d06bd046cc0c80c334a6b7fbe25e | /Cp BIC AdjR2.R | 01a35b896c03e699dea70e460a4502a74c64a8b4 | [] | no_license | diarabit/Regression---many-type | 9ca4e4b2e3fa0f31d4e3fd7a1ce35b650bbf55f0 | fbb7a48bdea2783d007e53af95a3c878236788a9 | refs/heads/master | 2020-05-28T11:32:04.141421 | 2015-12-02T03:12:58 | 2015-12-02T03:12:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 806 | r | Cp BIC AdjR2.R | #B6. (a) (g)
res <- function(n){
return (1 - (1 - 1/n)**n)
}
k <- 1:100000
plot(k, res(k), type = 'n')
#B6. (b)
X = rnorm(100)
eps = rnorm(100)
beta0 = 5
beta1 = 2
beta2 = -5
beta3 = 13
Y = beta0 + beta1 * X + beta2 * X * X + beta3 * X * X * X + eps
library(leaps)
dataxy = data.frame(y = Y, x = X)
mp = regsubsets... |
756cf9adc0dfe1a3e58d1d2785e49c3d91f84bfa | 2041acc62d31b18ffdb8d4205962151433e81629 | /man/get_alumno_coe.Rd | a934e5d3c4184a5754c6a226837815d60f8c073a | [] | no_license | mguevara/HES | 9571efd6d69613f21a94c55cf3b13b287e543dd0 | 669063774d4c9ef3eeaa8861b1bcdb8143dd437d | refs/heads/master | 2022-04-08T12:21:51.275725 | 2020-02-19T16:45:44 | 2020-02-19T16:45:44 | 234,790,645 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 865 | rd | get_alumno_coe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_data.R
\name{get_alumno_coe}
\alias{get_alumno_coe}
\title{Get Alumno coe}
\usage{
get_alumno_coe(g = ches1217, classification, data_postulaciones)
}
\arguments{
\item{g}{Graph containing a network of kind Higher Education Space HES. Def... |
47b42c2cf669698b379289d6158f59a73f19cd13 | d425c2a2482195442314960ed968d653dc6fca65 | /scripts/03_kmeans_all.R | 723bb592ad4a79e15411d3ade28a04d1a28c3707 | [] | no_license | foreverst8/KERS_analysis | 53389869295f578fc95657ef422538318631f991 | 9d30bf1a9f9109f25a4e666d8ff8f09d7e8c23e1 | refs/heads/master | 2023-03-21T13:41:57.410584 | 2020-12-14T15:02:05 | 2020-12-14T15:02:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,940 | r | 03_kmeans_all.R | suppressPackageStartupMessages(library(chipmine))
suppressPackageStartupMessages(library(foreach))
suppressPackageStartupMessages(library(doParallel))
## this script performs k-means clustering on (-2kb)-TSS-TES-(+1kb) profile matrix
## generated for all genes in each TF ChIPseq data
rm(list = ls())
################... |
fe8f6520fa66c7641ae9a62c67f4123cd250e041 | 21ea1c16f10f03487f17dabc1671018b545d1a10 | /man/theme_hrbrmstr_cabin.Rd | e957d0ae065fedf1a0cd27f3f1edd55b04f44739 | [] | no_license | tpopenfoose/hrbrmisc | 055cc2b33124592d3e9df79d6fa9df93807331dd | c7e6f85c22ae4f0b0f69ea435e7bf217ff8e1e43 | refs/heads/master | 2021-01-11T14:36:47.677412 | 2017-01-22T17:32:47 | 2017-01-22T17:32:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 297 | rd | theme_hrbrmstr_cabin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/themes.r
\name{theme_hrbrmstr_cabin}
\alias{theme_hrbrmstr_cabin}
\title{Cabin theme}
\usage{
theme_hrbrmstr_cabin(grid = TRUE, axis = FALSE, ticks = FALSE, ...)
}
\description{
\url{http://www.impallari.com/cabin/}
}
|
a52345db3ac54cb2d986e12af815ea92cdfe7377 | 9f5059f7c029b7ad55bf52cd75431134244c0d16 | /R/installR.R | f36f4771892c0977cf8507ab8399ace89d048e57 | [
"MIT"
] | permissive | mxfeinberg/electricShine | e5a1137aee77707803177f7a1a1537eda7bac324 | d8ddefa8bc6ad1186ad36a69d4cd72247326699a | refs/heads/master | 2020-07-26T02:52:31.718346 | 2019-09-14T06:30:27 | 2019-09-14T07:54:28 | 208,512,099 | 0 | 0 | NOASSERTION | 2019-09-14T22:34:33 | 2019-09-14T22:34:33 | null | UTF-8 | R | false | false | 881 | r | installR.R | #' Install R from MRAN date into electricShine folder
#'
#' @param exe find exe name
#' @param path path to electricShine directory
#' @param date MRAN date from which to install R
#'
#' @return nothing
#' @export
#'
installR <- function(date,
exe = "R-[0-9.]+.+-win\\.exe",
pa... |
aed799502f495eb7aa2a6a5ff655f5cd1531ddba | f6d92cc450dfe87c348a3dd9bdb0d9b8f2d5fe0e | /R/data.mkl.R | 95051d08e7e25516a9b2f15f4678b05c7cc071ac | [] | no_license | EarlyWarningProject/2015-Statistical-Risk-Assessment | 21302673679e58380bdab5b1050ff44037581c10 | 320e97b80731ed3b7faf2c19bb719f6e00f06692 | refs/heads/master | 2021-01-19T08:07:41.978644 | 2017-02-15T21:13:23 | 2017-02-15T21:13:23 | 82,070,084 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 44,257 | r | data.mkl.R | # MASS KILLING EPISODE DATA MAKER
# Jay Ulfelder
# 2015-03-20
# Clear workspace
rm(list=ls(all=TRUE))
# Get working directory
wd <- getwd()
# Load required functions
source(paste0(wd, "/r/f.countryyearrackit.r"))
source(paste0(wd, "/r/f.pitfcodeit.r"))
# Create rack of names and years, starting in 1945 and ending ... |
9fe6f8c474475db33b48fcc254b0280a52372896 | 557dab06d7b9fb268de1e9f6b4af549d2189a03d | /man/sentometrics-deprecated.Rd | 02cde9e6ea4992b0cbc49b39967b237af6fd5608 | [] | no_license | vanpeltj/sentometrics | 42072f2e42ae6e0881a733670828fa15b71bf2ae | 505e45cd4a94a65b2bb3429a2c479025938475eb | refs/heads/master | 2020-06-02T13:23:02.715948 | 2019-06-07T08:12:37 | 2019-06-07T08:12:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,004 | rd | sentometrics-deprecated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deprecated.R
\name{sentometrics-deprecated}
\alias{sentometrics-deprecated}
\alias{fill_measures}
\alias{merge_measures}
\alias{to_global}
\alias{subset_measures}
\alias{select_measures}
\alias{setup_lexicons}
\alias{retrieve_attributions}
\a... |
af46be08c421c5de554fc471e93f8f624316387b | c118908b1c8bad0914e38e43f1148b58364accc2 | /tests/testthat.R | 923d63343303f16f99505725ad251dcca81a2ce1 | [] | no_license | andrewcparnell/Bchron | baf98d6642a328ba3c83e8fcf2e04b6c0af86974 | faa14f54444e7ec417e0e389596014a1c7645349 | refs/heads/master | 2023-06-27T02:01:46.417288 | 2023-06-08T11:17:34 | 2023-06-08T11:17:34 | 40,361,984 | 30 | 12 | null | 2022-04-05T20:46:28 | 2015-08-07T13:33:16 | R | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(Bchron)
test_check("Bchron")
|
f66f9381650d2fe18d8348d5bcd4e8efc181e75d | 9bcced85ea09fbbe1ad811d793e26110f03e3131 | /inst/src/tabs/norm_data/svr_norm.R | 2a31adb08a2cbbb86a73326d1724996949574802 | [
"MIT"
] | permissive | LUMC/dgeAnalysis | dd1f2b3b9ddd2cb58da81cb2975742f210cbf9d2 | 283dc32e68c8b4990b212ccd973589525d52f5b2 | refs/heads/master | 2023-04-15T21:43:13.639460 | 2022-08-11T08:24:58 | 2022-08-11T08:24:58 | 240,005,238 | 14 | 6 | MIT | 2022-08-11T08:25:22 | 2020-02-12T12:16:13 | R | UTF-8 | R | false | false | 5,261 | r | svr_norm.R |
## Create table with normalized counts
output[["normalized_counts"]] <- DT::renderDataTable({
tryCatch({
checkReload()
DT::datatable(inUse_normDge$counts,
options = list(pageLength = 50, scrollX = TRUE))
}, error = function(err) {
return(DT::datatable(data.frame(c(
"No data avai... |
9fff8d6bb8ed78c07d1257fd38d18bec0f7cc103 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sysid/examples/sim.Rd.R | 4444ef44d3bf57cb848e262cb73008fe010417b4 | [] | 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 | 257 | r | sim.Rd.R | library(sysid)
### Name: sim
### Title: Simulate response of dynamic system
### Aliases: sim
### ** Examples
# ARX Model
u <- idinput(300,"rgs")
model <- idpoly(A=c(1,-1.5,0.7),B=c(0.8,-0.25),ioDelay=1,
noiseVar=0.1)
y <- sim(model,u,addNoise=TRUE)
|
9288ff61ed77bb737bcdb80696e5989a1812ec9a | fcf3fc149193ee9c7250012d9c0a4633fe0050d2 | /ajustements.R | 55549f7ae31d6412066ad1def979464738dddc5b | [] | no_license | cpauvert/m2-HMM-pRediction | 9f7ec1ecde8b134abb509a86032254136bbea613 | 3c8c5635ec76c51a9c742c7c7d899d7a715dd979 | refs/heads/master | 2021-01-25T08:43:31.569571 | 2015-09-19T16:57:43 | 2015-09-19T16:57:43 | 41,036,581 | 0 | 0 | null | 2015-09-14T09:16:37 | 2015-08-19T13:43:12 | R | UTF-8 | R | false | false | 4,600 | r | ajustements.R | # Librairie seqinr
require(seqinr)
# Chargement des fonctions définis
source("fonctions.R")
# Question A
# Pour des modèles d'ordre de 0 à m
ajustementRapportVrais<-function(mMax, fasta, alphabet, seuil=0.05){
# En prenant le test de rapport de
# vraisemblance comme critère d'ajustement,
# on cherche l'o... |
ef28ae33b13d9adeee1abb488b616fa32e2d565f | 5982a3e5a3a21387dc3fc165ca412d155d74c996 | /src/covariates_region_age.R | 8d82b97261808c506b642265a230ac5f7cea608a | [
"MIT"
] | permissive | bayesiandemography/iceland_migration | 1e22fa3dd3910a983e5aa9de274217c1a45cdf26 | 1afda4c2ff170119f55a1271ec3e911943bfb03a | refs/heads/master | 2021-03-04T03:26:14.462514 | 2020-03-09T13:17:15 | 2020-03-09T13:17:15 | 246,006,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | covariates_region_age.R |
library(methods)
library(dplyr)
library(dembase)
library(docopt)
'
Usage:
covariates_region_age.R [options]
Options:
--last_year_train [default: 2008]
' -> doc
opts <- docopt(doc)
last_year_train <- opts$last_year_train
population_train <- readRDS("out/population_train.rds")
covariates_region_age <- population_tra... |
9346b17d000d158da00a1f7e42fcbf11e3209b07 | 2b61ecac75f9600f6f643d75c38e07aec77fd8a0 | /priv/R/testJsonLines.r | cdc67480e1b2392e08b50b19e5a0396278d9664c | [] | no_license | ProtoLife/rscriptex | 3d378ff89f51fd4d31f60d4533dbf30893e4dcd5 | a5890806521990386dd7a8f8d23535fbe4f7b931 | refs/heads/master | 2022-03-07T09:50:21.235638 | 2019-10-22T18:42:39 | 2019-10-22T18:42:39 | 216,657,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 698 | r | testJsonLines.r | #!/usr/bin/r
library(jsonlite, quietly = TRUE)
# Read JSON data from stdin
readJsonLines <- function() {
f <- file("stdin")
open(f)
strData <- readLines(con = f, n = 1)
if (length(strData) > 0) {
close(f)
jsonData <- try(jsonlite::fromJSON(strData), silent = TRUE)
return(jsonData)
} else {
r... |
03141c38a39f36259d224cbe59c216da4bd8da70 | 4c177a38f944b6cb417d8a59e3f6b8984c37671c | /1pop/Power_1pop.r | a90b3cf65391f36f338078faa78b70772e50c8e8 | [] | no_license | anbena/ABC-FDSS | 3e13b7d4af08bc4ad8e5308a5d3d388ac0b0c0ab | 6b9098a00dc558e0798894bd95f5be5a2f7179f0 | refs/heads/master | 2021-06-22T21:47:32.412209 | 2020-12-09T10:11:20 | 2020-12-09T10:11:20 | 162,409,395 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,838 | r | Power_1pop.r | #Usage: Rscript --vanilla ./Power_1pop.r <locuslength> <nrloci> <rec.rate> <nrchr>
require(abcrf)
args<-commandArgs(trailingOnly=TRUE)
nsim<-50000
pods<-1000
ntrees<-500
fdir<-"ms1pop/"
ll<-as.character(args[1])
nl<-as.character(args[2])
r<-as.character(args[3])
chr<-as.character(args[4])
parcomb<-length(ll)*length(nl... |
c3c893277fa2aea1b21d9dc76bd2633036167c62 | 99230d873a58fca944a5f8929850eb4597cf1bd8 | /R/mergeSort.R | 0769ae6fb0fcd022456a6b9f0d554b784c20324b | [
"BSD-2-Clause"
] | permissive | sktivd/collabExample | 51c1dc9ad85dd39e1b3c8d15ad862082374bef7d | b2496721351bf94f818ceccc171d51ec5e1cd7af | refs/heads/master | 2021-01-16T17:53:11.838956 | 2017-09-03T23:59:47 | 2017-09-03T23:59:47 | 100,021,645 | 1 | 1 | null | 2017-09-04T00:18:35 | 2017-08-11T10:40:32 | R | UTF-8 | R | false | false | 377 | r | mergeSort.R | #' Merge Sort
#'
#' sort a numeric array by merge sort algorithm
#'
#' @param unsorted a numeric array
#' @param ascending sorted by ascending value (default: TRUE)
#' @return sorted numeric array
#' @examples
#' mergeSort(c(324, 234, 243))
#' @export
mergeSort <- function(unsorted, ascending = TRUE) {
.Call("merge... |
2da7de01e00b90e43784195d56e1789e23502a76 | d06c45000e06134211c99add0beea81ee0452244 | /02.DS-Visualization/S5-Data Visualization Principles/5.3 Data Visualization Principles 3/02. Exercise.R | 3c30f7ad2b4eb01a179cbfb0e0d801da554e93da | [] | no_license | dgpaniagua/data-science-assessments | 24eb2d2c0f50a5a5f8b76db86e4f6fad0d803022 | 5c9af8ce74701f7df6431744128885e124cc7fe0 | refs/heads/main | 2023-09-05T14:01:52.179350 | 2021-11-22T04:40:59 | 2021-11-22T04:40:59 | 376,401,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,035 | r | 02. Exercise.R | ##STATEMENT:
library(dplyr)
library(ggplot2)
library(dslabs)
library(RColorBrewer)
data(us_contagious_diseases)
the_disease = "Measles"
dat <- us_contagious_diseases %>%
filter(!state%in%c("Hawaii","Alaska") & disease == the_disease) %>%
mutate(rate = count / population * 10000) %>%
mutate(state = reorder(state... |
74de740bf14bce70359a12461debf2514de6f170 | 671f8f374ab512a5e0b2742101252b8bea266c03 | /src/runFishFlowallFolders.R | eafadd506ff98d78d0e840c2ea45feab7cbb15e1 | [] | no_license | MirceaDavidEsc/placozoa_internal_coordination | f8c3f2abd06ddeda876bfc3a73d05923334e0e9e | 65657e04dd810baadbda03911dd304970cfdad7c | refs/heads/master | 2023-07-15T01:23:21.069337 | 2021-08-26T09:19:11 | 2021-08-26T09:19:11 | 261,339,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,041 | r | runFishFlowallFolders.R | # This script creates a list of all subdirectories of the dataSourceFolder directory. It copies the videos from the external hard drive to the local disk. Then it runs fishFlow on all the movies. The result is that all movies will have original-tracks.hdf5 made.
dataSourceFolder = "/Volumes/Untitled/ForFishFlow/"
data... |
f69d9a2747a116581bad60be513a5c344b17ac86 | 9d1aa1752e422ab835cefe3f5db7f67a3b9bff35 | /tests/testthat/test-auth.R | 612b5bbe1e4d2566c222a0536bac6a088e38443f | [] | no_license | fdlk/molgenis-r-armadillo | 21888a478d520e552f55bdb9cecd93cf6149191c | f942ca6ce91c994423e9a2a44035110e082147d2 | refs/heads/master | 2023-08-14T17:43:31.477459 | 2021-09-17T20:38:03 | 2021-09-17T20:38:03 | 268,761,615 | 0 | 0 | null | 2020-06-02T09:46:09 | 2020-06-02T09:46:08 | null | UTF-8 | R | false | false | 2,068 | r | test-auth.R | content <- xml2::as_xml_document(
list(
AssumeRoleWithWebIdentityResponse =
structure(list(
AssumeRoleWithWebIdentityResult = list(
AssumedRoleUser = list(Arn = list(), AssumeRoleId = list()),
Credentials = list(
AccessKeyId = list("UNWUHGSS9OOE1L7I49X9"),
... |
e082414b8f467c85508ce33d8c44faa694228e87 | ad21d3e027aa8d6b23f4ffa91c811bf686d77a9d | /done-r/proconditioning3.r | 4f1b17cf57453e4d79a2166873bc5d5b9e852dcc | [] | no_license | i-hs/R-project1 | 834462e81815ebeb70830bcb7bf0cac5760dfa90 | dde28b1e722acf4ce2b5d5587e7141dc9367b9be | refs/heads/master | 2022-11-18T14:10:41.379385 | 2019-12-12T01:54:28 | 2019-12-12T01:54:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | proconditioning3.r | # 유동인구 데이터 201417, 2018, 2019에 id값을 부여하고 위도 데이터와 join
rm(list = ls())
library(dplyr)
add19_coord = read.csv(file = 'data/everyCoords19.csv')
add18_coord = read.csv(file = 'data/everyCoords18.csv')
add17_coord = read.csv(file = 'data/everyCoords17.csv')
head(add19_coord)
#
flow19 <- read_excel('flowdata/flow2019.xlsx'... |
4e1b09ae5c40062c47a6e67c87a14fcc4f15dd6d | 44f2e07bcf5aacb88a5351915f8b630d5f4a43d1 | /RCode/UCR_transform/cbf_transform.R | 6f72068584786a6903a4145e317b2c35d6887d83 | [] | no_license | seninp/cbf-dl | cae1cd741612b529e7013c1b34a07eb23ba57332 | 4f5c51c2911155c00e676b60ec4b30b1eb35be9b | refs/heads/master | 2021-03-27T20:16:12.670557 | 2017-01-27T17:22:11 | 2017-01-27T17:22:11 | 74,592,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 542 | r | cbf_transform.R | library(stringr)
##
conn <- file("../src/resources/data/CBF/CBF_TEST", open = "r")
linn <- readLines(conn)
##
ds <- (1:129)
##
for (i in 1:length(linn)) {
str <- str_trim(linn[i])
str_split <- unlist(strsplit(str, "\\s+"))
label <- as.numeric(str_split[1]) - 1
series <- as.numeric(str_split[2:129])
ds <- rbin... |
9a9bcafc0e75709aa7958fd07bde3fff8907af0e | a8b6f5cbc0c677b0bb317b0740fac7e78938ab9e | /man/ex15.28.Rd | 213db484232371654f4f809b7c4d61727f4a1cb0 | [] | no_license | cran/Devore5 | 784f86cb950d39003a797b309bde9ba5ea239795 | 3c6de7a6447f3be4b54d00832e23995ea9655aa5 | refs/heads/master | 2020-12-24T14:36:21.931350 | 2004-10-03T00:00:00 | 2004-10-03T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 502 | rd | ex15.28.Rd | \name{ex15.28}
\alias{ex15.28}
\non_function{}
\title{data from exercise 15.28}
\description{
The \code{ex15.28} data frame has 8 rows and 3 columns.
}
\format{
This data frame contains the following columns:
\describe{
\item{Subject}{
a numeric vector
}
\item{Potato}{
a numeric vector
}
\item{Rice}{
a numeric vector
}... |
8de34338ed4548d71a4a92fcccf5b1e0ccaf2f1c | 839c3ae77ac66f15918357c01a2c08be2b7d934d | /R/Projects/Data Visualization/Data Visualization and Exploration with R/IntroR/Solutions/Chapter5_1.R | b532b55bd9e6a0c5a2dbb723b7b9ff5f5dbb2d4d | [] | no_license | VN-Pikachu/Data-Science | d655d0683713f347a9d0a45fb47d303e9ceba039 | 694f47ca1c605ed33f154f293347f59bc5a81729 | refs/heads/main | 2023-03-20T00:36:34.351244 | 2021-03-27T13:27:53 | 2021-03-27T13:27:53 | 345,064,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | Chapter5_1.R | dfPop <- read_csv("CountryPopulation.csv", col_names = TRUE)
View(dfPop)
dfPop2 <- gather(dfPop, `2010`, `2011`, `2012`, `2013`, `2014`, `2015`, `2016`, `2017`, key = 'YEAR', value = 'POPULATION')
View(dfPop2) |
428876681a2e00ddbb09b7b31aff0939316d9c64 | bdc0c0fabc792a4265880df318ce4e6ec6eedd57 | /R-BoxPlot.R | 9b180df4beb8938b8b539fbb7fb9d0e6277c807a | [] | no_license | jlrosasp/bedu-proyecto-r | cb16260c90be63df6139e784c5ffaa53f5598241 | 5bd57fe7723945582c4f74efaa2bc87b1bc5fc2d | refs/heads/master | 2023-03-18T17:49:15.762746 | 2021-03-09T02:50:33 | 2021-03-09T02:50:33 | 345,863,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 911 | r | R-BoxPlot.R |
library(httr)
library(jsonlite)
#install.packages("plotly")
library(dplyr)
library(plotly)
library(ggplot2)
#Cubo de datos
repositorio = GET("https://api.datamexico.org/tesseract/cubes/imss/aggregate.jsonrecords?drilldowns%5B%5D=Date+Month.Date.Month&drilldowns%5B%5D=Sex.Sex.Sex&measures%5B%5D=Insured+Employment&p... |
b40e7bc03b3de9311a71b3918b0b6c55c8294cc6 | 9615fb602f18b98f2177ab6587b212fd4c4458df | /man/dot-plot_facet_wrap.Rd | e30422be106baa1d126332fa84c72e4b8abd1354 | [
"MIT"
] | permissive | keshav-motwani/ggexp | 5d5e17069d000ef2240ec2fd333fe8d9a71518fc | 6fa61934bd083be5aba2760b2793a356daa22ee3 | refs/heads/master | 2023-02-24T06:11:16.784465 | 2021-02-03T04:39:34 | 2021-02-03T04:39:34 | 207,692,137 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 532 | rd | dot-plot_facet_wrap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_facets.R
\name{.plot_facet_wrap}
\alias{.plot_facet_wrap}
\title{Helper function to add facet_wrap to plot}
\usage{
.plot_facet_wrap(plot, facet_rows, facet_columns, ...)
}
\arguments{
\item{plot}{ggplot object to facet}
\item{facet_row... |
db3f8e4f2c6c60402ee134ad148c29c9f54f2f88 | 72242aa83c2c8d0de12db9365ccbb21d4f097c68 | /R/angle.hy.R | 1b04b5a8efbaab63deb676547eec24d496bfca8c | [] | no_license | hyochoi/SCISSOR | 4d932a333c51ea6591f8fe30502c94407eb03df8 | 377789106d34200baa1d4d826952e2ad5313ba3a | refs/heads/master | 2022-07-20T18:20:54.990303 | 2022-07-03T18:37:53 | 2022-07-03T18:37:53 | 194,808,036 | 9 | 2 | null | 2021-11-19T04:09:35 | 2019-07-02T07:06:51 | R | UTF-8 | R | false | false | 480 | r | angle.hy.R | #'
#' @export
angle.hy = function(x,y,perp=TRUE){
angle2.hy=function(xx,y,perp=TRUE){
sumx2 = sum(xx^2); sumy2 = sum(y^2)
if ((sumx2>0) & (sumy2>0)) {
ang0 = min(1,as.vector((t(xx)%*%y)/sqrt(sumx2*sumy2)));
} else {
ang0 = 0
}
ang = acos(ang0)*(180/pi);
if (perp){
ang = min(... |
9f42d05befe50e4a928a43511d8e6ba9d9fe2753 | 3b3674cc7cf9a06c1926533f532ccc091bac2f14 | /30_mirna_seq/02_r_code/03_qpcr/01_chat_expression.R | c5be545204a7584e7436980756f587d5cb9077f3 | [] | no_license | slobentanzer/integrative-transcriptomics | 8618c6eef9b58da9c31a188e34ff527f3f9f8d04 | e9e0a7b6f7ed7687f40fbea816df9d094ba293a2 | refs/heads/master | 2022-07-18T10:32:51.331439 | 2021-01-19T15:17:52 | 2021-01-19T15:17:52 | 214,313,249 | 2 | 2 | null | 2022-06-29T17:42:35 | 2019-10-11T00:57:06 | R | UTF-8 | R | false | false | 7,179 | r | 01_chat_expression.R | #CHAT EXPRESSION IN CNTF DIFFERENTIATION####
rm(list=ls())
home= '~/GitHub/'
rootdir = paste(home, "integrative-transcriptomics", sep="")
setwd(rootdir)
library(ggplot2)
# LA-N-2 ####
expr <- readRDS("./raw_data/raw_expression_qpcr_la2.rds")
#molecular weight of CNTF: 22,931 Da
mw <- 22931
expr$molarC <- as.numeric... |
dba693376079b6ff69620fd46ad0898bda276210 | 6d3f42b98400fa95a472c839feea39ad056adb61 | /man/SnowTemp.Rd | ac80b90bb6c956e3f4935b8ebdf6c7d0d8833fe1 | [] | no_license | vilnat/microclimf | 3948256a9876f71144b62f8e0f2dda6828eff133 | 7fbe9b46d5ff12b79f41428eec01f705fc1dd9bd | refs/heads/main | 2023-06-22T12:37:33.537763 | 2021-07-12T08:28:17 | 2021-07-12T08:28:17 | 368,167,358 | 0 | 0 | null | 2021-05-17T11:53:06 | 2021-05-17T11:53:06 | null | UTF-8 | R | false | true | 1,042 | rd | SnowTemp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/snowmodel.R
\name{SnowTemp}
\alias{SnowTemp}
\title{Estimates snow temperature}
\usage{
SnowTemp(
tc,
u2,
rh,
pk,
Rsw,
skyem,
snowalb,
snowem = 0.99,
zm = 0.002,
umin = 0.5
)
}
\arguments{
\item{tc}{a vector of air tempera... |
899daf648d7b4443beffb65338138b50a5e186bd | 850a5e7537ecd8a3fdda83199819bdfec3ea7a66 | /man/layer_inset.Rd | 9a2807098e778f8369f167f17380c65b49c5b10f | [
"MIT"
] | permissive | elipousson/maplayer | 709cf32944aa628820d62ade3d2802d01ddb9b9d | 1267b6f1ec5551321457381f131412706993de7a | refs/heads/main | 2023-08-31T10:25:04.096427 | 2023-08-25T17:33:29 | 2023-08-25T17:33:29 | 496,240,757 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,080 | rd | layer_inset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layer_inset.R
\name{layer_inset}
\alias{layer_inset}
\alias{make_inset_map}
\alias{stamp_inset_img}
\title{Use patchwork to create a map with an inset context map or figpatch to stamp
an inset image}
\usage{
layer_inset(
map = NULL,
inset... |
e6f2db3532c36fb0b4fbd30e7824c5ed5fbdaeaa | 29fa35352970c306fb571fdaea7655ec8cb89fe8 | /R/abbreviate.R | 5b394f10f465ca9d1b1286f297c4cdeadb0308f6 | [] | no_license | kardinal-eros/linktaxa | d60f1c95d825afaa3f04c5aace69f759e05534e4 | 7e1d00c39552982a0d11961fc4334de545429817 | refs/heads/master | 2020-06-02T03:49:38.931966 | 2017-01-16T11:19:20 | 2017-01-16T11:19:20 | 14,984,203 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,826 | r | abbreviate.R | # select common string positions
".first" <- function (x, nchar = 4) {
lapply(lapply(x, "[", 1), "substring", 1, nchar)
}
".pair" <- function (x, nchar = 4) {
lapply(lapply(x, "[", c(1,2)), "substring", 1, nchar)
}
".triple" <- function (x, nchar = 4) {
lapply(lapply(x, "[", c(1,2,4)), "substring", 1, nchar)
}
a... |
5ad8b7afc5be63669aedd7423affd67c12f26828 | d22663b34ba75a8d5d5860dcc3649c20067e7a03 | /man/split_matrix.Rd | c31f4d0f649344dc8a8efe119ce9e79b50384eca | [] | no_license | CollinErickson/sFFLHD | 23c973094c12266eba4bddf99f08dd7ba01507f9 | f72d222410eccc89a5baf13f2711ad4eba42e47e | refs/heads/master | 2020-09-14T17:54:54.224379 | 2019-02-15T21:11:13 | 2019-02-15T21:11:13 | 66,681,013 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 853 | rd | split_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/split_matrix.R
\name{split_matrix}
\alias{split_matrix}
\title{Split a matrix by rows, based on either the number of rows per group
or number of splits.}
\usage{
split_matrix(mat, rowspergroup = NULL, nsplits = NULL,
shuffle = TRUE)
}
\argu... |
65d1e7f9e95a61d66eead66fbd4f93ae45d84f1c | a4d350b5c39e05ed9a26073160079c1a443b57c6 | /cachematrix.R | 225e2bf2cccedca911d11d600638373150f46854 | [] | no_license | souravsaha1605/ProgrammingAssignment2 | ff87faeaf06885e8f3da5ed02e9d24160fe3a8ec | 3242e845cb7a394a96dc5df5fbf30ac5f8e4920d | refs/heads/master | 2021-01-19T09:58:46.632132 | 2017-04-10T13:50:52 | 2017-04-10T13:50:52 | 87,806,873 | 0 | 0 | null | 2017-04-10T12:14:16 | 2017-04-10T12:14:16 | null | UTF-8 | R | false | false | 2,201 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Matrix inversion is usually a costly computation and there may be some benefit to caching
## the inverse of a matrix rather than compute it repeatedly.
## Below are two functions that are used to calculate and cache the inverse of a... |
997f251be7352fa7a55970da31d8303bc5beab4d | 5302cef45f9290abd8654dfd3f07a4465399674c | /svm.R | 2ec20887050871233b78fe754e3f616681d876df | [] | no_license | mnaylor5/PortoSeguro | 14833000401f3da938fe94fd92a45b389bda322d | 9ed68dd1367df68ec244166523d7f3a25bba1497 | refs/heads/master | 2021-07-24T05:39:05.949368 | 2017-11-05T20:39:39 | 2017-11-05T20:39:39 | 105,821,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,180 | r | svm.R | # Fit SVM with all predictors
setwd('C:/Users/Mitch/Desktop/Kaggle/Claim Prediction')
source('_utils.R')
library(liquidSVM)
# Read in training data
full <- fread('data/train.csv')
# Names of every predictor
all_predictors <- colnames(full)[!(colnames(full) %in% c('id', 'target'))]
# Random seed for reproducibility
... |
30dec945cb293435cd7d750ecbfc647b4f463379 | e4228d2482a085d3355964c278269a082959e038 | /R/mc6_mthds.R | b486e71859dd2d63c95bbd781689f8eeb8479693 | [
"MIT"
] | permissive | USEPA/CompTox-ToxCast-tcpl | 08d9667ee76532382f2ef2fe7da2e7b8ebc26b2b | a8582c61883ba6e6f25b503cfa1f1b37605e3b29 | refs/heads/main | 2023-08-30T12:53:21.736913 | 2023-08-24T13:40:02 | 2023-08-24T13:40:02 | 89,386,154 | 23 | 13 | NOASSERTION | 2023-09-13T14:07:15 | 2017-04-25T17:05:00 | R | UTF-8 | R | false | false | 15,628 | r | mc6_mthds.R | #-------------------------------------------------------------------------------
# mc6_mthds: Load list of flag methods (to be used at level 6)
#-------------------------------------------------------------------------------
#' @name MC6_Methods
#' @title Load list of level 6 multiple-concentration flag methods
#'
#' ... |
49bc9309fd07a6d3a60efd39a51ec9ba5fe60887 | db4fbf2a3f510af870758c27aaa6bd81bc44e834 | /plot4.R | 6447f2bc52effaee9052961965e36d82845a6483 | [] | no_license | arunapatil/ExData_Plotting1 | 16da0fed9d5a01d6460db0eaaae3470b338e71f7 | 969acd55568415b3c120661dd878189f931d21ff | refs/heads/master | 2020-12-26T01:18:23.696388 | 2015-01-11T09:01:13 | 2015-01-11T09:01:13 | 29,082,698 | 0 | 0 | null | 2015-01-11T05:43:28 | 2015-01-11T05:43:26 | null | UTF-8 | R | false | false | 1,257 | r | plot4.R | #Read input data and clean it (subset to just the required dates, date/time conversions, numeric conversion)
setwd("C:/Users/arunaba/DataScienceCoursera/ExploratoryDataAnalysis")
library(data.table)
data<-fread("household_power_consumption.txt", na.strings=c("?", ""))
newdata<-data[data$Date=="1/2/2007"|data$Date=="2/2... |
56be769255b8b54b767a8d35f67e92d5f2d17db5 | a144d52144c41691de3baf988ba1ec0c15e7cc93 | /functions.R | 61fdda5c3182bb1ca8c752c343fafd16a7d81476 | [
"MIT"
] | permissive | saha-19/FreshAPI | dfcb644b54b5d37ec9e3f20c0e16556267458b58 | eb8dc55d03313c94d65013428f7e2b5084e414f3 | refs/heads/master | 2022-04-23T07:19:21.697783 | 2020-04-29T18:03:12 | 2020-04-29T18:03:12 | 254,222,650 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,596 | r | functions.R | predict.bacCounts <- function(bacteria, method, entry, info, product, platform){
#
# Function to predict selected bacteria counts
#
# bacteria = information which bactera type was chosen to predict (TVC, Ps, Bth or LAB)
# entry = a single FTIR entry row
# info = data frame with informations about mo... |
23498440fd97fa06d8fe1c73c6d8a540fe046b7c | 727eca003d70aaed8129d84c8c6cbf53023384f9 | /pkg/mac/licence.r | f6e40aaf9a2374cce650fb9eecd8f4a14142ca1e | [
"LicenseRef-scancode-unknown-license-reference",
"PostgreSQL"
] | permissive | allentc/pgadmin3-lts | 833484e5ada99be4629369a984c13cfb59180600 | d69b58b473ee501fd5be016ceea6f7c21f10336a | refs/heads/master | 2023-05-26T16:42:23.572751 | 2023-05-22T02:40:57 | 2023-05-22T02:40:57 | 174,668,882 | 25 | 34 | NOASSERTION | 2023-05-22T02:40:58 | 2019-03-09T08:36:29 | C++ | UTF-8 | R | false | false | 2,020 | r | licence.r | data 'LPic' (5000) {
$"0000 0001 0000 0000 0000"
};
resource 'STR#' (5000, "English buttons") {
{ /* array StringArray: 9 elements */
/* [1] */
"English",
/* [2] */
"Agree",
/* [3] */
"Disagree",
/* [4] */
"Print",
/* [5] */
... |
8dbcbeafcf32ca7615172c6d4b369b1514e06ab7 | fcb9c08efecacc63018c388fcb847e58aa07f087 | /R/m2_vary.R | 92d0c6572dd8c4663be80b423162ba5013729164 | [
"MIT"
] | permissive | yuliasidi/m2imp | 52957a3580385d5f9a29e85579b4f124ae9d874e | 857f43522906c43306d49bcd4649d2cf44901343 | refs/heads/master | 2020-07-13T05:51:33.835388 | 2020-01-14T21:14:16 | 2020-01-14T21:14:16 | 205,009,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,880 | r | m2_vary.R | #' @title Variable margin overall point estimate and variance derivation
#' @description Calculates overall point estimates and its variance using a
#' vector of margins
#' @param lambda numeric, fraction of control treatment effect preservation
#' @param m1 numeric, statistical margin
#' @param pc numeric, estimated p... |
016f3bae723d64043087d7f89c5e0d88eab7ba6b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/intubate/examples/kernlab.Rd.R | d133e465a195ca965cb85c0fab9397e4e6fc073c | [] | 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 | 5,967 | r | kernlab.Rd.R | library(intubate)
### Name: kernlab
### Title: Interfaces for kernlab package for data science pipelines.
### Aliases: ntbt_gausspr ntbt_kfa ntbt_kha ntbt_kkmeans ntbt_kpca ntbt_kqr
### ntbt_ksvm ntbt_lssvm ntbt_rvm ntbt_sigest ntbt_specc
### Keywords: intubate magrittr kernlab gausspr kfa kha kkmeans kpca kqr
### ... |
efc68794e0e97b9d42d28e21f2240d8562ac7bfa | 1e4f0d9f2d5bd272dcdc22b908d5734499737043 | /R/HRQoLplot.R | bd71f689c454862c088c6b1ae42c609cd542763a | [] | no_license | idaejin/PROreg | f8aeadf6e4e5943507aded875ae5edfaaed65d75 | 739571ba62b3216b0ceff9ae4326d762bc1535da | refs/heads/master | 2020-03-28T17:05:41.562507 | 2018-10-16T22:36:42 | 2018-10-16T22:36:42 | 148,756,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,017 | r | HRQoLplot.R | HRQoLplot <- function(data,legend=FALSE,title="Short Form-36 Health Survey",dimlabel.cex=NULL,legend.cex=1,linewidth=3,title.cex=1,lty=1){
number <- 0
number.cex <- rep(1,8)
maxmin <- data.frame(
PF=c(20,0),
RP=c(4,0),
BP=c(9,0),
GH=c(20,0),
VT=c(20,0),
SF=c(8,0),
RE=c(3,0),
MH=c... |
c68c074ec9e9d9e779dc9c1388dd41951742ee6c | 9d1e0abd4ea265db162001d36cbf2202c86effbd | /R/logpl.R | cb620452d903e0fa60c599bd8fcc728b420e21e7 | [] | no_license | cran/survcomp | 018fb386d9497b09286b439eba26446ff0f86081 | f9980b6f34782542731743799b5040f6b562fd7a | refs/heads/master | 2021-01-10T19:44:06.874372 | 2009-02-08T00:00:00 | 2009-02-08T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,842 | r | logpl.R | `logpl` <-
function(x, surv.time, surv.event, strata, beta, na.rm=FALSE, verbose=FALSE) {
##############
#internal function
##############
logpl1 <- function(x, surv.time, surv.event, beta, verbose=FALSE) {
x <- as.matrix(x)
nm <- dim(x)
n <- nm[1]
m <- nm[2]
r <- rank(surv.time)
beta <- as.matrix... |
d550e0c5c5a257c11984a59ea3675d8769fc7912 | 2fae5a43bd5f38d5674406bd636b998729db8271 | /runfiles/archive/msw_decay_msm_v2.R | 57aacb1a003ad0a01240dd3e230199dc39cf5569 | [
"MIT"
] | permissive | shoshievass/bridgeConditions | 1be73e22ea87d223e99c1cf3c9e59ce1759539f4 | 24208ee063a58de73492d7e63fb6d8ddb414d760 | refs/heads/master | 2021-12-21T02:56:00.098804 | 2021-12-16T00:46:06 | 2021-12-16T00:46:06 | 117,144,750 | 1 | 0 | MIT | 2020-05-25T20:29:28 | 2018-01-11T19:39:11 | R | UTF-8 | R | false | false | 4,854 | r | msw_decay_msm_v2.R | library(tidyverse)
B <- 100
T_max <- 16
simulated_bridges <- data.frame(bridgeID = 1:B, age = runif(B, 0, 100))
bridge_dates <- expand.grid(bridgeID = 1:B, data_year = 1:T_max) %>% arrange(bridgeID)
simulated_bridges <- simulated_bridges %>%
right_join(bridge_dates)
T_b_df <- simulated_bridges %>%
mutate(rn = r... |
6f4384278c07b0f3f658566b7268e24827b48ef0 | 83d35a0c687e56de320bbe025fe876df41ea3bf6 | /inst/unitTests/findBAFvariance_test.R | eb9646218807632c6d2dfa38a450f5ceff6ef6f1 | [] | no_license | smgogarten/GWASTools | 797f4cc0d90299195fea29ee1fc24c492267541a | 720bfc6bede713dfcfbff1dd506f4c9f338caa9d | refs/heads/devel | 2023-06-26T13:37:21.371466 | 2023-06-22T12:37:41 | 2023-06-22T12:37:41 | 100,623,140 | 11 | 8 | null | 2023-06-22T12:34:02 | 2017-08-17T16:18:11 | R | UTF-8 | R | false | false | 1,373 | r | findBAFvariance_test.R | test_findBAFvariance <- function() {
blfile <- system.file("extdata", "illumina_bl.nc", package="GWASdata")
blnc <- NcdfIntensityReader(blfile)
genofile <- system.file("extdata", "illumina_geno.nc", package="GWASdata")
genonc <- NcdfGenotypeReader(genofile)
nbins <- rep(8, 3) # chroms 21-26 in this file, so... |
a35462147368f70e384ad3295cf0310b2aaad95b | 51d43d3ee56f17d715430a742ca1e9c985a076cb | /app/models/home.R | a0138175321e4c198a5ce004e4eac4f36982fd2d | [
"MIT"
] | permissive | aleDsz/lambR | 9f77ee447f3bcf898b2ef817e6067cfaff13b331 | a2f41328ccba3b8899e922b280b55c2f0b292702 | refs/heads/master | 2021-07-06T14:26:44.342123 | 2020-08-01T20:01:08 | 2020-08-01T20:01:08 | 156,108,383 | 0 | 0 | MIT | 2020-08-02T00:47:28 | 2018-11-04T17:43:07 | R | UTF-8 | R | false | false | 122 | r | home.R | Home <- R6Class("HomeModel", inherit = Model,
public = list(
get_name = function () {
return ("Alexandre")
}
)
)
|
906e20ffa9ddbfb81fc5b252afa6bbfc55bd27cf | a7dc929cfb59fa8add87b63be0146b7b7707d3b2 | /rprog/week2/assignment2/pollutantmean.R | e10088681a9961f5aab22a49d0e43ee501eb555a | [] | no_license | theoneandoney/datasciencecoursera | 3a15376fa427f15c202f93405ad5d504279d1b94 | 61377eec59c77d52906ffd028bd8464ce3c65a3e | refs/heads/master | 2021-12-02T15:32:22.397811 | 2021-11-03T00:48:39 | 2021-11-03T00:48:39 | 38,469,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 350 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id = 1:332) {
myfiles <- list.files(path = directory,
pattern = "*.csv", full.names = TRUE)
df <- data.frame()
for (i in id) {
df <- rbind(df, read.csv(myfiles[i]))
}
p <- df[,pollutant]
good <- complete.cases(p)
p2 <- p[... |
1b5c07f9dab6e06a266a44cfff19e5071d3fe14a | 363335caa7750c527dde4055320e8972fd32bbe8 | /ui.R | a5d7b2831b7cc71d17f943ef1fb38a9ac0be19d9 | [] | no_license | ayolaikaa/Proyek-Data-Science | 3313dd72e30adb9711bd0d58255dfb0be91931fa | 7d4b4dacbdf5745a73da9a1675dead8e2c7481d4 | refs/heads/main | 2023-02-18T10:35:47.317936 | 2021-01-22T11:11:08 | 2021-01-22T11:11:08 | 331,920,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 662 | r | ui.R | #
# This is the user-interface definition 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)
# Define UI for miles per gallon application
shinyUI(pageWithSid... |
852b7c99aa559bd02f337ddee1babfb5fe697d87 | 27a47d29aab06ca0d90889e7c2d7b71535785678 | /Week3/Code/DataWrangTidy.R | d4a1665708e2a9bae4634bd6d35e22d04d7023bb | [] | no_license | amishabhojwani/CMEECourseWork | 529ce63e16222795c8725357541ad8b11ecc2edf | 25ffc77b5a613956b4752dd5f99b7a6bd0649e09 | refs/heads/master | 2023-03-12T00:24:11.609251 | 2021-01-22T15:46:16 | 2021-01-22T15:46:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,323 | r | DataWrangTidy.R | ################################################################
################## Wrangling the Pound Hill Dataset ############
################################################################
require(tidyverse)
############# Load the dataset ###############
# header = false because the raw data don't have real hea... |
a91693aedc1e09cdbd971736b2106bb821d4ea35 | 75d5e31cdfb355e03452ad51b58b0194a5adf527 | /multiBatchScript.R | 5ddbe9d1f152b0f7eb7a9859c8134b3066b360e8 | [] | no_license | samueldnj/hierProdAnalysis | 1a520bde8e1d91e33a002a9a947278aec39add15 | 7fca3c8998679bf7d728b81b16848f329854d133 | refs/heads/master | 2021-03-27T13:54:36.601714 | 2019-03-03T09:08:25 | 2019-03-03T09:08:25 | 66,486,114 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,326 | r | multiBatchScript.R | # --------------------------------------------------------------------------
# multiBatchScript.R
#
# Runs a list of batch files in turn.
#
# Author: Samuel DN Johnson
# Date: 27 March, 2017
#
# --------------------------------------------------------------------------
# Source the simulation framework
source("cont... |
fe0df62cf051881b9e82fd10f4c1d96d6ee96b76 | 4bcc55d78276d5ee25e0a523470878104705f8b5 | /man/CleanDesignCtrl.Rd | 6acc0b9f3f86b3697ee837831b59b75b046afe3c | [] | no_license | kerwin12580/perturbLM | 56dea7e3fcb6df56fcb90c7e71c12261487b82f7 | 28350fb33637f9d2d9ebe04acdb9eb0cd35da123 | refs/heads/master | 2022-10-17T00:06:46.453710 | 2020-05-30T21:55:16 | 2020-05-30T21:55:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 464 | rd | CleanDesignCtrl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/genotype_handling.R
\name{CleanDesignCtrl}
\alias{CleanDesignCtrl}
\title{Filters out cells that belong to control genotype and other genotypes}
\usage{
CleanDesignCtrl(design.mat, ctrl)
}
\arguments{
\item{design.mat}{Design matrix}
\item{c... |
62f5af6cc15ab068559d990c0ae3836077c9cd8c | 7240a4d06e5d8d7420af21ee8829e352f3b6bbd1 | /man/getWeekOneSoh.Rd | 2eb1a51d72419f3598b3384b7d8c4fcefb1f8094 | [] | no_license | Kanjali/stencilRfunctions | e55e0bb756a788f14a3736626f60eb4de6cfd1ab | c928c24f084878fca90f381f5a6629be7d5da571 | refs/heads/master | 2021-01-01T16:23:39.316053 | 2017-10-23T09:53:36 | 2017-10-23T09:53:36 | 97,823,824 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 628 | rd | getWeekOneSoh.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataPreprocessFunctions.R
\name{getWeekOneSoh}
\alias{getWeekOneSoh}
\title{Get week-1 soh using sales happened in that week and soh of next week}
\usage{
getWeekOneSoh(soh_period, sales_with_period)
}
\arguments{
\item{soh_period}{accepts da... |
42c0bc91d3df7882985b664a7d36c5fcda36d754 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610051622-test.R | 684176eaa9576dbb373c71c0a57870cfd4c7a514 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,208 | r | 1610051622-test.R | testlist <- list(rates = 2.73737456983631e-312, thresholds = c(-1.26822486837899e-30, -2.24767481577173e-289, 7.19919233908128e-310, -2.12131688733295e-309, 3.65190389201212e-306, 3.916129996301e-306, -8.98798625795533e+307, -1.90877083252545e-287, -8.93447058037318e-157, -9.7771978033507e-292, 1.39348334607466e-30... |
741a7ea191bb747e5f98898b7d8c9f08352baeaf | f786c6b7ea4b65b280f666fde497df4940e7c02c | /man/get_county_map.Rd | a317447e26f22120e60271edf08d404eac8b5f5c | [] | no_license | southwick-associates/sadash | affbeb6b3c418ce6f9af7b99d28867182df1f78c | 26ed9b6440043e5246f6b5e8800b077131f4ac79 | refs/heads/master | 2022-01-25T17:01:31.374910 | 2022-01-05T20:45:58 | 2022-01-05T20:45:58 | 208,875,090 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 869 | rd | get_county_map.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualize.R
\name{get_county_map}
\alias{get_county_map}
\title{Load county spatial data for selected state}
\usage{
get_county_map(state)
}
\arguments{
\item{state}{abbreviation of state to pull}
}
\description{
Load county spatial data for ... |
d385928ba0b9acfa3a5cc5e1b5eca01a5ad11ce4 | a500013b7a3733f72d747082e10801e98567097a | /archived_script/stats_comparing_taxa_in_pubs_and_cases.R | 7f6c28d0c5ec0c720b9176e2c80095d79743578e | [] | no_license | robcrystalornelas/impacts_systematic_review | 4ff913c79e3f7b14d6ba79f6cc4f9e612fe68c29 | 9ed0f457f72bad9fb7de420bb7a9744dd9ada667 | refs/heads/master | 2022-03-18T14:40:31.648205 | 2019-11-20T00:19:12 | 2019-11-20T00:19:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,394 | r | stats_comparing_taxa_in_pubs_and_cases.R | ## Read IN DATA ####
source("~/Desktop/Impacts Systematic Review/scripts/impacts_systematic_review/clean_raw_data.R")
## LOAD PACKAGES ####
library(ggplot2)
library(dplyr)
library(ggthemes)
library(grid)
# Expected proportions for UNIQUE species
# Proportions of each taxa using UNIQUE SPECIES
subset_species_and_taxa... |
a00555b19eaee2d277a95973893440eaac5d63fe | 27c3030d0f13190a657c85705953d43e0c6d9e11 | /man/cAMARETTO_HTMLreport.Rd | 9bd485c645da4b48ca18f512f3f5a202873bdbdf | [
"Apache-2.0"
] | permissive | broadinstitute/CommunityAMARETTO | 7f6ea2f4563e0dc1b2b1c4add76e57af88cb1be4 | 5d6e50ee04fecfda06b5c7419da48f3119c219c5 | refs/heads/master | 2021-07-09T15:31:43.250678 | 2020-04-02T16:26:10 | 2020-04-02T16:26:10 | 149,328,234 | 5 | 3 | null | 2019-04-02T01:17:14 | 2018-09-18T17:37:55 | R | UTF-8 | R | false | true | 2,114 | rd | cAMARETTO_HTMLreport.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cAMARETTO_HTMLreport.R
\name{cAMARETTO_HTMLreport}
\alias{cAMARETTO_HTMLreport}
\title{cAMARETTO_HTMLreport
Creates a HTMLreport for the community AMARETTO results}
\usage{
cAMARETTO_HTMLreport(
cAMARETTOresults = list(),
cAMARETTOnetwork... |
0ca0a3b1de7a5f63ec2c57b2d4178e771f624273 | 95a50903de88ffb02f1aa1f27a53aa6439cb9ac3 | /Assignment7/Suppl7/Data_Imputation.R | d55ac5dc62ec74e6cb7a2d2436e2dd5e54528470 | [] | no_license | maxthemagician/BioInformatics3 | 46b2dff420dab3c818c3fcd7233cebff5369095a | 8468240ab99893a9947635e661537f84a2ec580a | refs/heads/master | 2020-03-10T14:20:08.165461 | 2018-07-10T12:18:11 | 2018-07-10T12:18:11 | 129,423,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,107 | r | Data_Imputation.R | if(!require(data.table)){
install.packages("data.table")
}
if(!require(ggplot2)){
install.packages("ggplot2")
}
dat = fread("ms_toy.txt") #read data
dat = as.matrix(dat) #transform fo better plotting
org_dat = dat[,1] # select a column
c1 = org_dat # copy for plot
s = sd(org_dat, na.rm... |
e0c4a6541e7544b21a9cf15e6ec18dd7444d33cd | d7d4f3aac9c493ac1837d529c4361ad4e6f4659a | /Day 21 (Elevation)/Day 21 (Elevation).R | d4583f54a75e4398ab3fb2d34ba7b104d8bc2b09 | [] | no_license | venkatnsn/30DayMapChallenge | 2047718cae45c56657c096819f043d3c772c0ab3 | 2797a77ea0b5261367e2dbdaf3cd14619b75ee98 | refs/heads/main | 2023-09-03T00:50:31.709478 | 2021-11-23T05:26:48 | 2021-11-23T05:26:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,581 | r | Day 21 (Elevation).R | # Libraries
library(osmdata)
library(sf)
library(tidyverse)
library(elevatr)
library(raster)
library(sysfonts)
library(showtext)
library(cowplot)
# Aes
showtext_auto()
sf_use_s2(FALSE)
colors1 <- c("#ffd902", "#FFAB28", "#FF751B", "#FF3E0D", "#cc0600", "#a20d46", "#5f0078", "#3f004f")
font_add_google("Fira Sans")
font... |
6e9b23e1bb161c42e05b7756fb89ea5064d2674c | dac4a8f2b14dbb92dd07e9ca9642410ae407a2f2 | /man/TransEntropy.Rd | dc96e4da946a9ea04001dd17a2f138d55249650a | [] | no_license | dstgithub/GrpString | 0710f0b5d1e8a90ee1e94e5a2f6facb19bc48c97 | 45b4da9cc59c71ddb8b53d7b6753665b7ff960fe | refs/heads/master | 2021-01-12T03:26:45.555515 | 2017-11-15T21:40:25 | 2017-11-15T21:40:25 | 78,210,123 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,179 | rd | TransEntropy.Rd | \name{TransEntropy}
\alias{TransEntropy}
\title{
Transition entropy of each string in a group
}
\description{
TransEntropy computes the transition entropy of each of the strings in a group.
}
\usage{
TransEntropy(strings.vec)
}
\arguments{
\item{strings.vec}{
String Vector.
}
}
\value{
Returns a ... |
ad6e8fe132f4f8afe6f5df9c553781a579553ca5 | 1e42b9829b85bc37d112ec5b8efa1682264297b2 | /man/filter_trace_length.Rd | 0092e0f8902ddc9798a6c4a450de89d015ab5246 | [] | no_license | strategist922/edeaR | ca83bf91f58e685bc9333f4db3bfea3d8c019343 | ad96118cccfdc90a7bed94f5aef2ee0cfab3aac8 | refs/heads/master | 2021-07-05T04:30:35.286640 | 2017-09-27T12:25:04 | 2017-09-27T12:25:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,163 | rd | filter_trace_length.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter_trace_length.R
\name{filter_trace_length}
\alias{filter_trace_length}
\alias{ifilter_trace_length}
\title{Filter: Trace length percentile}
\usage{
filter_trace_length(eventlog, lower_threshold = NULL,
upper_threshold = NULL, percenti... |
a2dca350e1ecf7e5ddd27765ac851eaf15d597c3 | 25541dc86ec95929bce47611f8bc3f66f4ebe2d1 | /misc/scripts/NICE checker.R | 557d660531f887052c148dbfc46db76f5c92b5fe | [
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | JoepvanderPlas/covid-19 | 04822770d5c6203b5b1668092a31053ed0fd99ad | 02eae255b60121fcba7cd1077694bd6d2c04f046 | refs/heads/master | 2023-06-14T00:23:57.124675 | 2021-07-15T13:33:54 | 2021-07-15T13:33:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,486 | r | NICE checker.R | #### NICE CHECKER ####
source("workflow/parse_nice-data.R")
temp = tail(list.files(path = "data-nice/data-nice-json/",pattern="*.csv", full.names = T),4)
myfiles = lapply(temp, read.csv)
dat.today <- as.data.frame(myfiles[4])
dat.yesterday <- as.data.frame(myfiles[3])
dat.twodaysago <- as.data.frame(myfiles[2])
dat.... |
20ca99cc063e39358950e8a9cff40606eb0b4d65 | 7f169a675234c3b5e7ac47ebbc132d2e4efd399b | /server.R | cd60582f9ead960b4b54960434706e4c2fecb07e | [] | no_license | aliahameed/PaedFever | 4c011544eb7ca5cf8e028e1e51b0f8f90c694894 | 5ae4d0210bf71c2bf9d3d7d17470618f6863a605 | refs/heads/master | 2021-01-22T02:39:50.389553 | 2014-07-24T08:26:56 | 2014-07-24T08:26:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,602 | r | server.R | calculateAge <- function(years, months) {
# return age in months
(years * 12) + months
}
calculateTemp <- function(method, ctemp, ftemp, scale) {
# convert to Celsius first
if (scale == 'fhr') {
temp = (ftemp - 32) * 0.56
} else {
temp = ctemp
}
# return rectal (the most accurate) temperature
... |
fde19b799ec3ca7921855d06db4b9bc0f99fadbd | 3ff86edc5910eb98255d5c9cd644d5b6316d0af8 | /2019/0508/viya-r-random-forest-with-imputation.R | a4a60f6d8b3d31d1f86cb756f0f48f6b5cb37803 | [] | no_license | bong-ju-kang/sas-school | f3e6671c6f57b7fb8c01f8b7464d9552e6385906 | f898c17be8bf7d6e8a686a7cf1c8d33562d7c202 | refs/heads/master | 2023-06-23T19:30:23.549758 | 2023-06-07T07:56:44 | 2023-06-07T07:56:44 | 185,529,951 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 779 | r | viya-r-random-forest-with-imputation.R | # Bong Ju Kang
# for for random forest sample with missing imputation
# 5/8/2019
library(randomForest)
print(dm_model_formula)
print(dm_input)
head(dm_traindf)
str(dm_traindf)
dm_model <- randomForest(dm_model_formula, ntree=100, mtry=5, data=dm_traindf, importance=T)
# 예측
predicted <- predict(dm_m... |
9945cdf85e0d533bc6e00e3846ed80a639c0f748 | 80169cc686f0c0cd9a9288c863e9b894ed9ed467 | /NCBR.RTools/man/add_FPKM_to_GR.Rd | e40c81c0e213c904cada51e8e45c9db24d584202 | [] | no_license | arunbodd/NIAID | a2c58c9484a4a7ec926123d9faac9a3604730715 | 9ab248b4ab96f177846330e0fa6414e18d9a49be | refs/heads/master | 2020-04-23T00:10:39.661297 | 2019-02-14T22:51:51 | 2019-02-14T22:51:51 | 170,769,487 | 1 | 0 | null | 2019-02-14T22:55:27 | 2019-02-14T22:55:27 | null | UTF-8 | R | false | true | 1,925 | rd | add_FPKM_to_GR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_FPKM_to_GR.R
\name{add_FPKM_to_GR}
\alias{add_FPKM_to_GR}
\title{Add FPKM values to a genomic ranges structure}
\usage{
add_FPKM_to_GR(GR, FPKM, FPKMgene, columns, FPKMsymbol = FALSE,
FPKMensembl = FALSE, outFile)
}
\arguments{
\item{GR... |
14e4fcf43050da8d9c297563cfeba54d3f7a1a42 | 05b698ebe661e7fde47992172f4d72130bbc738e | /R/noupclassify.R | 71268704e64c93b49323d5877dd41fbe24a6af11 | [] | no_license | cran/upclass | b28d5caba03390f4d01caeb39e2408824a95c413 | a85c1abbea766d7b536d2ac40157c6e80310756b | refs/heads/master | 2018-12-29T06:57:42.908233 | 2013-11-26T00:00:00 | 2013-11-26T00:00:00 | 17,700,692 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 803 | r | noupclassify.R | .packageName <- 'upclass'
noupclassify <-
function (Xtrain, cltrain, Xtest, cltest = NULL, modelscope = NULL, ...)
{
if (is.null(modelscope)) {
if (is.matrix(Xtrain)) {
d <- ncol(Xtrain)
}
else {
d <- 1
}
modelscope <- modelvec(d)
}
res <- list()
bestB... |
1cd050f43fecd551f382e802f23ec29a51f368f7 | 54f9314cf3a933b39ae1316e1d1e78a21f7b8b56 | /man/get_poly_last_price.Rd | 4fea337785567ee2875d3acc214624590e8a5079 | [] | no_license | tanho63/AlpacaforR | 1b36bcd44a188bd73c908223708bfbdd78820196 | d23df32fd337185c413dbeed8383bb0221a84034 | refs/heads/master | 2023-06-05T11:36:21.782384 | 2020-12-31T18:12:34 | 2020-12-31T18:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,036 | rd | get_poly_last_price.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Polygon.R
\name{get_poly_last_price}
\alias{get_poly_last_price}
\title{Get Polygon Last Price (Deprecated)}
\usage{
get_poly_last_price(ticker = NULL)
}
\arguments{
\item{ticker}{Specify which symbol you want to call by inserting ticker as a... |
308bea0633a027fb186d60eac23afce416556089 | 0d7425c0b9c210e34ef9c1938df117adbf43c172 | /5.LMMs.R | a9ab6ab0f278083458316ab31a1fa8d6614ae3dd | [
"MIT"
] | permissive | DanPapageorgiou/ranging_seasonality | ed81e777775911daec12a32ae72473711379acfd | 2a3aec308bb4a8449d1eeb16beed4aff8f387116 | refs/heads/main | 2023-06-10T18:31:01.087259 | 2021-07-01T13:27:54 | 2021-07-01T13:27:54 | 381,995,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,666 | r | 5.LMMs.R | library(lme4)
library(lmerTest)
library(repmis)
#download data files from Github and set a working directory
#################Question 1 & 2#########################
#load("/Users/danpapag/Desktop/GitHub_code/ddf_hr_dtd.Rdata")
#' Reproduecs Supplementary Table 2. Results of the LMM for the core home range size 50% a... |
841c67a3bebdfa1fd2eebe5fb395b5537c4f0621 | 118fc6e0c460f378a7135d12b9bb497af3715053 | /programs/config.R | a498859f54f2e97fc20f2d2dc8793c9d3e34648e | [
"BSD-3-Clause"
] | permissive | labordynamicsinstitute/ldi-replication-dataprep | 2724d38134214b0f4ff79d069b5c71282ebf1c21 | 7139fcdc83752665e5828b852e78d6d3136ceae0 | refs/heads/master | 2020-05-09T18:05:05.501115 | 2019-04-15T22:00:32 | 2019-04-15T22:00:32 | 181,326,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 258 | r | config.R | # ###########################
# CONFIG: define and filenames for later reference
# ###########################
# The Google Doc links are private - they are stored in a separate repo and need to be manually put in place here.
# Any other config goes here.
|
31cc6a000285591c4a0e6aa893fbd9389f5f9d7e | 5f684a2c4d0360faf50fe055c1147af80527c6cb | /2021/2021-week10/bechdel-test.R | 867700a24e1b52f23b45f4d0625913b81cb6762c | [
"MIT"
] | permissive | gkaramanis/tidytuesday | 5e553f895e0a038e4ab4d484ee4ea0505eebd6d5 | dbdada3c6cf022243f2c3058363e0ef3394bd618 | refs/heads/master | 2023-08-03T12:16:30.875503 | 2023-08-02T18:18:21 | 2023-08-02T18:18:21 | 174,157,655 | 630 | 117 | MIT | 2020-12-27T21:41:00 | 2019-03-06T14:11:15 | R | UTF-8 | R | false | false | 3,539 | r | bechdel-test.R | library(tidyverse)
library(colorspace)
bechdel <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-03-09/raw_bechdel.csv')
f1 = "JetBrains Mono"
f1l = "Regular"
f1b = "ExtraBold"
bechdel_med <- bechdel %>%
group_by(year) %>%
summarise(median_rating = median(r... |
6467050b25df5a0eb05c2ffe2c78263ee7da87bc | 5502b31c584e3ecc778f8dab98f71fbd207d7377 | /EDA.R | e86210b2e35b22063aeaeba66fa9dbc469056ddc | [] | no_license | EST-Team-Adam/Exploratory-Data-Analysis | 386a89f70119d73f347fa8a1d660d6d917057836 | 2aea93eff731ed0e6239c761f5bb55d81c5776ec | refs/heads/EDA | 2021-01-12T20:59:18.693429 | 2016-10-03T16:05:01 | 2016-10-03T16:05:01 | 65,398,695 | 1 | 0 | null | 2016-08-31T15:04:36 | 2016-08-10T16:32:50 | R | UTF-8 | R | false | false | 1,886 | r | EDA.R | EDA <- function(df,w) {
# This function runs a basic analysis of a given dataframe where Date is
# first column.
# analysis[[1]] : Price and Returns plots
# analysis[[2]] : Summaries
# analysis[[3]] : Boxplots
# analysis[[4]] and following : Scatterplots
## MEMORY PRE-ALLOCATION & DATE ##
df_ret <- as.data.frame(m... |
8b08deb5bb9d5c973f75bde8064245da2474e74c | 2c8fcec7afb7574d5e361ae53a613efa408903ab | /PD_Geno_Numericalisation_and_ChromSeparation.R | edbcce01c5af32103552ef060167e27c612ddd3d | [] | no_license | BioinformaticsUWL2020/BigData | a5947fab00426337442290153c3f6628bdedeee1 | cc8435554117b3d1de9361c4b6e7b71d0acab64a | refs/heads/master | 2021-05-21T17:18:19.564453 | 2020-06-19T16:30:40 | 2020-06-19T16:30:40 | 252,732,500 | 2 | 3 | null | 2020-04-23T20:15:30 | 2020-04-03T12:56:30 | null | UTF-8 | R | false | false | 8,059 | r | PD_Geno_Numericalisation_and_ChromSeparation.R | ### Numericalisation and Separation of PD Genotypes
### 17.06.2020
#### VERY IMPORTANT ####
# Run PD_HapMap_and_Pheno_Construction.R first
#lib import
## GAPIT REQUIREMENTS
library('MASS') # required for ginv
library(multtest)
library(gplots)
library(compiler) #required for cmpfun
library("scatterplot3d")
source("ht... |
de5651de92e5100fa56235025a0a0ea86c98e1d5 | 42f1f581913296f395277166b209f3a1b0feac53 | /cachematrix.R | 0cdd1ca051a55601acd132ab60d87742110d2abf | [] | no_license | srvshubh/ProgrammingAssignment2 | d67553c99a0c51a6782bf28a5da6f5c2e47c7a19 | 60040a795515e0be5525096ea875f4629ff45cdd | refs/heads/master | 2023-05-12T00:53:39.687439 | 2021-06-01T09:06:59 | 2021-06-01T09:06:59 | 255,364,594 | 0 | 0 | null | 2020-04-13T15:21:59 | 2020-04-13T15:21:57 | null | UTF-8 | R | false | false | 881 | r | cachematrix.R | ## These function computes the inverse of the special "matrix". If the inverse has already been calculated, it would retrieve the inverse from the cache
## Below function creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- function(y){
x <<- ... |
f417d9bf47c446516867135a26256692af94587f | 355d56c77d3926fb9cdbd76314c7723635431c20 | /manual.R | fe271b5ba836b7dd1e70f4089d2470a00af59d93 | [] | no_license | davydovpv/R.guide | ca916d08f5687eaaa3c6322903f639da908b97e3 | 8eb299e24c51dc4c870fb1c908a59e47baca2df8 | refs/heads/master | 2021-03-12T01:08:44.953428 | 2017-02-25T22:41:11 | 2017-02-25T22:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52,217 | r | manual.R | 1. Установка на 14.04
# Добавить реп
sudo sh -c 'echo 'deb http://cran.rstudio.com/bin/linux/ubuntu trusty/' >> /etc/apt/sources.list'
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
# поставить
sudo apt-get update
sudo apt-get install ... |
3b7b785578a92fcd2204d99e6470ea069ca7906e | 44a3fad6338a63ac5417b1e52e47420c0e013f45 | /R/Madogram.R | f1b8c3360ba158a085502673c9b110884872fa83 | [] | no_license | cran/ExtremalDep | 4faac60ce0040262a98410edc6488ddf939ad9bd | 18238416ddb6567610c4457dc332316272dbd16e | refs/heads/master | 2023-03-06T18:03:59.304908 | 2023-02-26T14:40:02 | 2023-02-26T14:40:02 | 236,595,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,494 | r | Madogram.R | #######################################################
### Authors: Giulia Marcon and Simone Padoan ###
### Emails: giulia.marcon@phd.unibocconi.it, ###
### simone.padoan@unibocconi.it ###
### Institution: Department of Decision Sciences, ###
### University Bocconi of Milan ... |
ab64d64f4737f13b104a528dae1eaaa68f064799 | f0cfbb85ed0b901bc7b4a9b50e7425195a65f665 | /R/topology.R | f54b281cc794b9ec13cb0e675491a235eef3bc0f | [] | no_license | mlansford/crgnet | 5dd5336ef2f81f0546b818ab8c2f28e365ace1f3 | 94e3504f4545c325600f992bf96d2c3fe3630ce8 | refs/heads/master | 2023-02-06T01:24:02.423666 | 2020-12-23T17:49:04 | 2020-12-23T17:49:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | topology.R | topology <- function(fits){
ngene <- nrow(fits[[1]]$parents)
nexp <- length(fits[[1]]$trajectories)
grph <- matrix(0, nrow=ngene, ncol=nexp)
for(k in 1:length(fits)){
gtmp <- t(fits[[k]]$parents + 1)
for(j in 1:ncol(gtmp)){
grph[j, gtmp[,j]] <- grph[j, gtmp[,j]] + 1
}
}
cgrph = grph / leng... |
dedf5f53a5f0916ec0f56dfe4221e5f7172661ea | 8e514435f9fa089581850f19bde56c575810b1fe | /results/r.R | 2c11f4cd04e43e5ec148cd7886813c427bc43d16 | [] | no_license | kevin-winter/Dataset-Anonymization | 1a2b624c1f5765466a90e81ca262a008c172b390 | de8025443922fa9afcc8a866594802bdd09df11a | refs/heads/master | 2021-01-23T14:12:28.430340 | 2017-11-04T14:52:06 | 2017-11-04T14:52:06 | 93,245,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 423 | r | r.R | library(readr)
x <- read_csv("~/Documents/workspace/_DATA SCIENCE/Dataset Anonymization/results/out_all.csv")
x <- x[!(x$algorithm %in% c("bnb", "gnb")),]
x$dt = x$dt_accuracy_sampled / x$dt_accuracy_original
scores <- c("accuracy", "cramers_v", "pearson", "iva", "dt")
xs <- x[scores]
scatterplotMatrix(xs, diagonal = "... |
9f4183998847af25feb0275f89f4ffcf2e5c1427 | c90dac176024e17fc2f984c2e5bf3390ee08235b | /Chapter 2/2.4.9.r | fb2d0858fd6150c0841b251eaf501f33ff33f100 | [] | no_license | HariharasudhanAS/ISLR-Exercises | 4317851a5c6fafe0f63f4f0be3b6363ea5bb9593 | 0b6066ce81c19cefeb582703f3b3a7f3148d5af3 | refs/heads/master | 2020-03-31T00:26:17.718212 | 2018-12-11T11:05:53 | 2018-12-11T11:05:53 | 151,739,548 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 695 | r | 2.4.9.r | Auto=read.table("/home/orange/Desktop/Auto.data",header=T,na.strings="?")
fix(Auto)
Auto=na.omit(Auto)
dim(Auto)
Auto=Auto[,-9]
names(Auto)
attach(Auto)
range(Auto)
#fix(Auto)
apply(Auto,2,range)
apply(Auto,2,sd)
apply(Auto,2,mean)
Auto=Auto[-seq(10,85),]
apply(Auto,2,range)
apply(Auto,2,sd)
apply(Auto,2,mean)
dim(Auto... |
35cabc788d73dbc0b9b3782a1391a05e1eafbaf6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/stabs/examples/fitfuns.Rd.R | dbef8d6ffb6f6914f25082ee48bd937dbd665e3c | [] | 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 | 1,227 | r | fitfuns.Rd.R | library(stabs)
### Name: Fitting Functions
### Title: Fit Functions for Stability Selection
### Aliases: fitfun fitfuns glmnet.lasso glmnet.lasso_maxCoef lars.lasso
### lars.stepwise
### Keywords: models nonlinear nonparametric
### ** Examples
if (require("TH.data")) {
## make data set available
dat... |
215ffaf6b27577bf9ade4f67daaf5f725bea9a47 | 8d0eb323a84a89fbb81045c492c8c7ed72c7cc84 | /RNA-seq/step4-DEG-0-install.R | ed39a3a3482a1f8fcbc3f0b9efdde76d8f4dbbaa | [] | no_license | reedliu/NGS-codes | e23157e1bf4a244b9e1ec0fc5b356fe562ea026d | d31dd42874789e9f0bf6979e47a7cd804f9bd5f4 | refs/heads/master | 2020-04-12T01:05:37.111875 | 2019-11-10T13:58:51 | 2019-11-10T13:58:51 | 162,221,667 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,334 | r | step4-DEG-0-install.R | ##############################
## install cran
##############################
if(length(getOption("CRAN"))==0) options(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")
cran_packages <- c('tidyverse',
'ggpubr',
'ggstatsplot')
for (pkg in cran_packages){
if (! require(pkg,chara... |
302a2943d0adf00037aef0bb4953ed44bd39ce16 | 95e3fe90769a784bae00b7baa17be7521faea529 | /cBioHeatMapClusters.R | c63a25b6e537d5cb09b2013558f3873a1168d42a | [] | no_license | zhangyupisa/work | 9207c75e0c930f1789f25ae0a22b72b188f002fe | f7ce63db8a140ceb9ec43f8d8f5ef1f699166038 | refs/heads/master | 2020-09-22T02:54:54.358498 | 2018-02-16T21:48:02 | 2018-02-16T21:48:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,899 | r | cBioHeatMapClusters.R | library(tidyverse)
library(RColorBrewer)
library(reshape2)
library(ISLR)
library(gplots)
library("Biobase")
nan.na <- function (x) {
x[is.nan(x)] <- NA
return(x)
}
dist_cor <- function(x) {
as.dist(1 - cor(t(x), method = "pearson"))
}
clus_wd2 <- function(x) {
hclust(x, method = "ward.D2")
}
clus_wd <- func... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.