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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c3d3e431c59e73e86ca4fd5f8dd4d4f4b51f010 | 426771aafae3b1784b502b7ce868a83f58c2143a | /toh_cs250m.R | 9c1a19609b3d5a188cc65746d61e62194eec5fd7 | [] | no_license | cyborginhas/gis714final | 574b0d1bb57af9a2b17fa2c2017a0546b9e795eb | cdc3b84b1e921b1fdddff41771cde9d82d89247f | refs/heads/main | 2023-04-19T07:32:17.227502 | 2021-05-05T04:44:42 | 2021-05-05T04:44:42 | 364,436,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,908 | r | toh_cs250m.R | #Load packages ----
require(biomod2)
require(abind)
require(ade4)
require(caret)
require(checkmate)
require(dismo)
require(doParallel)
require(dplyr)
require(earth)
require(ecospat)
require(ENMeval)
require(foreach)
require(foreign)
require(gam)
require(gbm)
require(ggplot2)
require(Hmisc)
require(lattice)
require(MAS... |
98098a482a68ab1ad6ff9946cfee38665855ce10 | 71e68ac700c98810a21000184a156852b99fc134 | /R/upliftKNN.R | 214daf27aacfe15d5181e1857f69991cd00c1e2e | [] | no_license | cran/uplift | 5b31835ba3696e4e8993ff0df485a12934ded08c | 95965272e71c312623c95c439fb0b84f95c185b7 | refs/heads/master | 2020-05-16T16:26:12.053179 | 2014-03-17T00:00:00 | 2014-03-17T00:00:00 | 17,700,694 | 13 | 12 | null | null | null | null | UTF-8 | R | false | false | 4,119 | r | upliftKNN.R | ######################################################################
# Uplift K-Nearest Neighbour Regression and Classification
######################################################################
# train = matrix or data frame of training set cases.
# test = matrix or data frame of test set cases. A vector will b... |
ac1e5f26276bf48cecf03ad8217f05f9a75014cf | 8b7b04400c9e413fca2223be167b560d3825818d | /tests/testthat/test_RCMIP5.R | c73a9971c76fedafa140d8d1abd72d7e31a7c971 | [] | no_license | cran/RCMIP5 | 8d597ed7452cac82926ce421042c31a020799ce9 | 488bafee609f8c2695290476735159de2d29d862 | refs/heads/master | 2021-01-19T01:43:20.061269 | 2016-07-30T18:53:27 | 2016-07-30T18:53:27 | 25,301,608 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,568 | r | test_RCMIP5.R | # Testing code for the RCMIP5 scripts in 'RCMIP5.R'
# Uses the testthat package
# See http://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf
library(testthat)
# To run this code:
# source("RCMIP5.R")
# library(testthat)
# test_file("tests/testthat/test_RCMIP5.R")
context("RCMIP5")
implementat... |
3106e1168c48c8f88be71377fa084834431a8176 | 1fdd9cbe860fe7582fd46a3fde14be950d3f8d42 | /man/rescaling_summarise.Rd | 0389c1d58571277bb21b2f55ad52defbbc03b076 | [
"MIT"
] | permissive | WeiquanLuo/stNet | c13b9e9236b1ad8eb8142c1a68b2ce99d520421b | ecb015ea3533d31edcc957e396b3b2004d7a5c40 | refs/heads/master | 2020-09-14T13:26:25.242291 | 2019-11-22T18:38:20 | 2019-11-22T18:38:20 | 223,140,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 679 | rd | rescaling_summarise.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rescaling_summarise.R
\name{rescaling_summarise}
\alias{rescaling_summarise}
\title{rescaling the temporal resolution by method}
\usage{
rescaling_summarise(data, rescallingMethod)
}
\arguments{
\item{data}{a list of numeric data}
\item{resc... |
40b0a87bb488f46ce6840202f37ffb8ec71b63ac | 769898772e7225264fd942b2e5a666af3105d3a1 | /man/impute.loess.Rd | 80a5003c90529114311ddc782355128d99cce6c3 | [] | no_license | cran/spatialEco | 3fa4393496453b091c547cc7601a984e54bf2be6 | 22944d790b25451c848d420b61d386471073b1ee | refs/heads/master | 2023-07-08T05:04:12.117110 | 2023-06-30T07:40:02 | 2023-06-30T07:40:02 | 30,218,937 | 5 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,239 | rd | impute.loess.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/impute.loess.R
\name{impute.loess}
\alias{impute.loess}
\title{Impute loess}
\usage{
impute.loess(y, s = 0.2, smooth = FALSE)
}
\arguments{
\item{y}{A vector to impute}
\item{s}{Smoothing parameter ()}
\item{smooth}{(FALSE/TRUE) Smooth data... |
d7bee71ba1fcf9f39868765eb1370ab98e6ee1d3 | 5a4b23e8a1b0d2ba1b861c358b1d7c5c3907883a | /myrepo-covid19/Predykcja.r | 515faf4eb08c87ee115f6ab7dd4f375c21d25d37 | [] | no_license | juliakoott/myrepo | 924be1395994f01974debbd87fc69567d9c4c874 | 365506fc737d501b1c7cc7ee38aca181a376e98d | refs/heads/master | 2021-05-24T08:31:38.275806 | 2020-09-10T18:30:28 | 2020-09-10T18:30:28 | 253,471,926 | 1 | 2 | null | 2020-05-10T19:25:54 | 2020-04-06T11:03:26 | null | UTF-8 | R | false | false | 5,018 | r | Predykcja.r | #Instalacja paczek
#install.packages("data sets")
#require("data sets")
#install.packages("ggplot2")
require("ggplot2")
#install.packages("GGally")
require("GGally")
#nstall.packages("COVID19")
require("COVID19")
######################################################################
#ISO | vec... |
15b72c30c7285b4775415c8aadbc113339f864f5 | 2646da6beb532a45e05aa0bbf213f6bcd53929d8 | /Iris_Rscript/3mergeTwo_hadoop.R | eba682391223b890af83919956ac36eb40a41591 | [] | no_license | junjunruan/Big-Data-Classification | fd6c5737bb016b1077be903b0056486f5a16f8bb | 66c28189033b0c3a0019175c88bd757213af9a79 | refs/heads/master | 2016-09-06T19:53:21.729117 | 2015-09-28T17:43:10 | 2015-09-28T17:43:10 | 42,276,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,116 | r | 3mergeTwo_hadoop.R | Sys.setenv(HADOOP_HOME='/usr/local/hadoop')
Sys.setenv(HADOOP_CMD='/usr/local/hadoop/bin/hadoop')
Sys.setenv(HADOOP_STREAMING='/usr/local/hadoop/share/hadoop/tools/lib/hadoop-streaming-2.2.0.jar')
start.time <- Sys.time()
data <- read.table ("/home/hduser/Documents/R/Iris_output/iris.data.txt", sep = "")
lib... |
26846be0932e6fb32ba1ce0f1825740c1029ff93 | 10f4fbcb3fcbe8601a226dd49ab362a0256cba51 | /R/zzz.R | 46fb0d03b2e8acf31f423fb14d4897e41eb876dc | [] | no_license | anders-kolstad/sdmShiny | 55461ce6e9e12edeffe931a5340d8114b6d89521 | e323ac9e4ddd073c80523774f9db781e49eb2843 | refs/heads/master | 2023-01-23T00:39:07.829744 | 2020-12-03T08:35:39 | 2020-12-03T08:35:39 | 255,807,989 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 117 | r | zzz.R | .onAttach <- function(libname, pkgname) {
packageStartupMessage("Hello. This is the sdmShiny package. Have fun.")
} |
7de16174e92305e97b1af9821b9164606bf06008 | 4ba706744ab27ff97c2f02655f90c3242b350aa1 | /R/name_model.R | 3df3b65888b9ac7470c851a2f31521d293e669b7 | [] | no_license | PengInGitHub/Kaggle-Titanic | 3d6cd6e66dd72e6425c9c4de5c903d1322243704 | 795d4a6b464a0c0e23ea89b420f3b9d18dca9e98 | refs/heads/master | 2020-03-26T20:34:46.680789 | 2018-08-26T13:56:48 | 2018-08-26T13:56:48 | 145,333,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,459 | r | name_model.R | #resource
#https://www.kaggle.com/cdeotte/titanic-using-name-only-0-81818
#simple gender model
#if male: 0 else: 1
setwd("~/go/src/github.com/user/Titanic/data/")
test <- read.csv("test.csv", stringsAsFactors = FALSE)
test$Survied[test$Sex=='male']=0
test$Survied[test$Sex=='female']=1
submit = data.frame(PassengerId=t... |
3cadf9cf6167bd9f895d0cd774ca10c4593a1faa | 8e005c6cf3bfd3d0ec1f1d1dd138565ccfa5af33 | /Musfiq.R | 9b4a35c78164733196a1a69f627c6619a2fd62ac | [] | no_license | fazlerabbi2248/Time-Series-Analysis | 1e04e0444655e09f41d3e4104ed7913f5fbeec97 | 8ae6775a2a07b5df0cf66fd4e582f343c80c65ac | refs/heads/master | 2021-03-11T09:54:18.351106 | 2020-03-18T14:18:20 | 2020-03-18T14:18:20 | 246,521,873 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 586 | r | Musfiq.R | musV<- c(253,78,0,0,70,0,90,0,0,202,11,
0,107,191,220,0,69,24,0,0,0,156,0,
0,0,0,0,0,0,0,0,44,112,0,42,
0,0,1,0,116,163,0,0,0,178,0,0,
142,0,0,0,0,0,110,0,302,83,0,133,
0,46,0,0,166,327,215,0,0,0,0,0,
0,0,74)
print(musV)
musTs<- ts(musV,start = c(2014,2),frequency =... |
ae3e01b248eeb1c093aab8a44fbec78f932e8826 | c2788594bd272c37b9e307f0f6087cd9a0cb6e8e | /Graficos.R | f1e62a51674ab4b3c2a1b445088c40aee6a2dd05 | [] | no_license | thalisreboucas/Manipula-o-de-dados-R | dfc3ac589183260681659806c82e04add0f3af0f | a02e4cc509bf6770cfd9af2146fdfd81e7d098f2 | refs/heads/master | 2020-08-05T03:39:39.690330 | 2019-10-02T15:51:24 | 2019-10-02T15:51:24 | 212,380,069 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,108 | r | Graficos.R | library(tidyverse)
library("ggthemes")
#esquisse()
#histograma com escala fixa
ggplot(big) +
aes(x = Taxes) +
geom_histogram(bins = 30L, fill = "#617a89") +
labs(x = "Taxas", y = "Empresas", title = "Histograma das empresas pelas taxas") +
theme_minimal() +
facet_wrap(vars(Level))
#boxplot das empres... |
f730e5ec19b524b2459420969f4f1de91cceffe2 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/opsworks_stop_stack.Rd | aefe57969686287614fd094414ffa4e8255d3338 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 429 | rd | opsworks_stop_stack.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/opsworks_operations.R
\name{opsworks_stop_stack}
\alias{opsworks_stop_stack}
\title{Stops a specified stack}
\usage{
opsworks_stop_stack(StackId)
}
\arguments{
\item{StackId}{[required] The stack ID.}
}
\description{
Stops a specified stack.
... |
8a7e3535ca1e08c670fefb56d545c63700e8820b | bed6e385166a316d7c1c6ab754fec0bf4c505847 | /statistics/statistics-final-words.R | 24439cfd64e9ab55b466b8416c20efff8a493bcb | [] | no_license | zhou-dong/people-to-people | 05b96b2ea9c86a16082235a19eab7b5fb624ef2b | e9376ea6ffa8bbc2ee11d7204b7e18b54396a125 | refs/heads/master | 2021-01-13T02:36:32.113749 | 2015-05-14T05:12:56 | 2015-05-14T05:12:56 | 31,597,206 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,443 | r | statistics-final-words.R | library(rmongodb)
mongo <- mongo.create()
if (!mongo.is.connected(mongo))
error("No connection to MongoDB")
db_skills <- "linkedin.final_skills"
query = mongo.bson.buffer.create()
query = mongo.bson.from.buffer(query)
fields = mongo.bson.buffer.create()
mongo.bson.buffer.append(fields, "value", TRUE)
fields = ... |
56aa99405a29fc15bd6a48f6fb08c353446b8bb9 | b3111e2321fab38b1639824e3c07951aac692453 | /tests/testthat.R | 8de3878803c1b28e535abf84f705aeabc77a3edc | [] | no_license | paullevchuk/CustSegs | f1a793a223b01f0eb2f90b69c9c4ac4470dfd339 | fca99a2d6fbeea22854da934778cef6d2f7e90dc | refs/heads/master | 2021-01-11T18:27:55.343464 | 2017-01-20T11:09:41 | 2017-01-20T11:09:41 | 79,552,252 | 0 | 0 | null | 2017-01-20T11:06:56 | 2017-01-20T11:06:56 | null | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(CustSegs)
test_check("CustSegs")
|
22a5ca8b8b85db8b236c1265a086a382337fc768 | 70c8284c90085e62df100238bdcc466d6ce7f1d6 | /R_s/VCF-1.r | a2b1949422d0ed67c82294bdc2e06f57f807c611 | [] | no_license | limeng12/My-Rscript | 74285f68ef68be8df960392428858f62122d1484 | 753778c9bf4fb88f094c5fc858a04c1d20e3b21d | refs/heads/master | 2021-05-16T02:58:18.851892 | 2017-05-22T06:34:35 | 2017-05-22T06:34:35 | 40,741,924 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,064 | r | VCF-1.r | #library(RJDBC)
library(plyr)
#library(data.table)
#这个文件主要是处理VCF文件的,包括各种各样的功能,是一个库文件被调用的。
#filter by 1000 genome
#main class and method
setClass("VCF",
representation(chr="character",
pos="integer",
id="character",
ref="character",
... |
8ca29fabe05b8ab6513f5c26bc4b080c615bbe08 | c21feb043f907de5c6048cbb71c34358082a98c3 | /models/arima/code/may_cleandata.R | c1c0f0e2f0cfbd003b1ab034bb4d545d61fc0496 | [
"MIT"
] | permissive | alan-turing-institute/CROP | 9d344ce6bcff859ae7f87252fd13b3c03067f889 | 649fdc62e61568d1ee7f9b0d931077288993c0ab | refs/heads/main | 2023-05-13T09:21:08.436419 | 2023-04-13T08:56:24 | 2023-04-13T08:56:24 | 224,865,173 | 23 | 2 | MIT | 2023-03-29T09:48:36 | 2019-11-29T14:02:49 | Python | UTF-8 | R | false | false | 6,122 | r | may_cleandata.R | # This script outputs the hourly average temperature, rel hum and energy for the latest data
# It then combines all the data frames using left_join with a time vector called my_time, to be sure the data contains all the timestamps in the last year, even if no data was collected
#
# load bespoke functions
delete.na <- f... |
d41c8d1b2be62962a26013c5b1a1a090fe386454 | e084949e627ed5b297dbfd46a0c8f897b8e2f63e | /server.R | fcb0036acbcd13f03c9e4aed70a6591fe9016b9d | [] | no_license | fcherance/GoF | 492c6fa984b5ae8c0dbe23d30e104b56378b7193 | a95109dc2c2418486ba157460c9ee98a3f5cba27 | refs/heads/master | 2021-06-01T10:10:26.169235 | 2016-05-19T20:46:02 | 2016-05-19T20:46:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,580 | r | server.R | # Server Script -----------------------------------------------------------
# Title: ROC curve sensitivity to underlying distribution of classes
# Author: Fabien CHERANCE
# Date: 19 May 2016
# Mantainer: Fabien CHERANCE <fabien.cherance@gmail.com>
# Description: Setting a variaty of spread... |
198334b25eb64e477a8922f1297b7fe82d5b4d98 | 2bb617584eae4b44305330750da8c37c15be69e0 | /run_analysis.R | 10b704c06b26196eeab619ad797d7e86ff380ed2 | [] | no_license | jsbarretor/Getting-and-Cleaning-Data-Course-Project | 697c1d0e63b09d32e1ecaf58a59667b9427810fd | 6501f40fe30f3857f7bd9a929e54a04df4af18ba | refs/heads/master | 2022-12-04T16:20:32.197264 | 2020-08-10T22:34:54 | 2020-08-10T22:34:54 | 286,590,633 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,316 | r | run_analysis.R | # Load libraries
library(dplyr)
# Set WD 1
setwd("D:/Coursera/Getting and Cleaning Data/Proyecto")
# URL data for the project:
url.data <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
# Download the data
download.file(url.data, destfile = "getdata_projectfile... |
3c033c8c0307a457211f47e1197828528db9092c | 7cd6da22844e9a9f64d9d69ff6e6194a214d67c7 | /R/scraping/Rcrawler.R | 89a362df9ed708296f9fe6882bc7ee3684e8f19d | [] | no_license | sillasgonzaga/lsdb | 2be0ac54a0efab743063d24e410acdb8c5c26fbc | d4c53141821cfd18d1a4cfa14b59f5fd58959790 | refs/heads/master | 2021-07-07T11:37:16.273334 | 2017-10-05T02:42:55 | 2017-10-05T02:42:55 | 105,339,906 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 206 | r | Rcrawler.R | library(Rcrawler)
# https://lsdb.eu/set/194650/sean-tyas-degenerate-radio-episode-049-15-12-15
Rcrawler("https://lsdb.eu/", no_cores = 4, no_conn = 4, DIR = "crawler",
urlregexfilter = "*/set/*") |
8987ecb3388ef188ebcfbed7712a5bc27d9f6520 | 22ff9556893a8684058c2eef978b049601fd15f3 | /functions/lenique.R | 033a3cd39caef416751d5ff58533f2bcd361f7b8 | [
"MIT"
] | permissive | camkay/edld610_fpr_finalproject | aed8f273396e88ed8ab62292cfca281a8f04d503 | 8dff16842ae84be2d76de4d92137045e7ccecbad | refs/heads/master | 2020-05-07T16:10:04.939463 | 2019-06-13T00:35:27 | 2019-06-13T00:35:27 | 180,670,926 | 0 | 5 | MIT | 2019-06-03T17:01:22 | 2019-04-10T22:07:55 | TeX | UTF-8 | R | false | false | 358 | r | lenique.R | #################################################
#### Custom function 8 (at least 2 required) ####
#################################################
# Streamlines `length(unique(x))` into on function. Relies on the warnings
# produced by `length()` and `unique()`.
lenique <- function(x) {
# calculate the length o... |
85ad6155643a6bd5b7c7286907398c21dda5b50b | 9d680e799f36291ef0406729e61315b8b3d9d0a1 | /man/get-methods.Rd | b9e6ef7e208ef8b014fcc38850a55ebbbfb9389b | [] | no_license | cran/chemosensors | ffe070d193178a9274c6273fbdea6e256d028550 | b8bf614e42a6b0bea7c4eb5eec14c06f679d17b1 | refs/heads/master | 2021-01-01T16:59:55.106040 | 2014-08-31T00:00:00 | 2014-08-31T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,983 | rd | get-methods.Rd | \name{get-methods}
\alias{alpha}
\alias{alpha,SorptionModel-method}
\alias{beta}
\alias{beta,SensorModel-method}
\alias{coef}
\alias{coef,ANY-method}
\alias{coefficients}
\alias{coefficients,SensorArray-method}
\alias{coefficients,SensorDynamics-method}
\alias{coefficients,SensorModel-method}
\alias{coefnames}
\alias{c... |
c1d872f27cafcba7c026fd5a33e88d68f0e9d3f0 | c0fd09facad89d8095ebd50c1c6b1cc9b3b0afad | /src/recommendation_final.R | 1502651db229152c1e41e272fa37f4267faefa3d | [] | no_license | gabby-camara/WhiteSpaces | 9db8cb58baf698493111ebe0de030799b33231e6 | f52b3b454532d4bdc8e3d78b1549dcffe510327e | refs/heads/master | 2020-04-01T17:50:07.350645 | 2018-11-21T09:14:34 | 2018-11-21T09:14:34 | 153,453,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,969 | r | recommendation_final.R | # Final recommendation algorithms
# --------------------
# data
# --------------------
rdf_final = sector_product %>%
select(Client.Sector, Segment, Legal.Entity.Subsidiary, Product, log.Actual) %>%
group_by(Client.Sector, Segment, Legal.Entity.Subsidiary, Product) %>%
muta... |
c9409ece10e6b40765e331b1644e249a337a59f7 | ee3262b507fab7a58db15d375d9ff05513bce10d | /server.R | 7826e81bdf297ff1edb42460ad8a8058fc5e7668 | [] | no_license | franmarq/Twittersentimentanalysis | eb15799433feb09b6a5a0ccb5fd4e91ffa6bd6a8 | 3c1f0ffad49bfc7d17c9420577e6e847433da978 | refs/heads/master | 2021-04-12T11:23:54.267128 | 2018-03-22T19:13:27 | 2018-03-22T19:28:55 | 126,383,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,259 | 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(tm)
library(wordcloud)
library(twitteR)
# Define server logic required to draw ... |
a8d767b123b27712243cb4b734835440b20c4ec9 | dce955667845c701e937d7c4714e1c2bd5e17c10 | /R/fctdata_generator.R | 8d9e35d64286243480e8ef02a1fdea34c281220e | [] | no_license | Qrtsaad/CHANGEPOINT | 3b7047e21c4405bce5c51b126a857a1d0cc661da | d2a0e4e44dea6364bd7743f17ca18c3bd04040b9 | refs/heads/main | 2023-07-17T01:20:28.239312 | 2021-08-28T10:07:07 | 2021-08-28T10:07:07 | 359,913,093 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 877 | r | fctdata_generator.R | #' Make changepoints
#'
#' @param n an integer
#'
#' @return a vector of changepoints for data_generator function
#' @export
#'
#' @examples
make_chpts <- function(n)
{
if (n<0){stop('n must be non-negative')}
else if (n <= 100){res <- seq(from = 0, to = n-1, by = n/2)}
else if (n <= 200){res <- seq(from = 0, to ... |
7de998d89e7a8de3e90bdb986cdf74e6b83356b7 | 28cafe6fac761bde26ed54f809c0a7a0f23a083f | /man/check_features_targets.Rd | 31a2bd5de872cd0badfdc266ebd76cbf453ed3c7 | [] | no_license | tdhock/penaltyLearning | 20bf238b8052b677ab94ad260b4943258b73cb4a | ecf9f5d5b0d8951a14956783780df15f26740c4c | refs/heads/master | 2021-11-27T00:36:54.241660 | 2021-04-21T21:44:15 | 2021-04-21T21:44:15 | 78,790,677 | 14 | 7 | null | 2021-02-05T18:07:08 | 2017-01-12T21:58:14 | R | UTF-8 | R | false | false | 460 | rd | check_features_targets.Rd | \name{check_features_targets}
\alias{check_features_targets}
\title{check features targets}
\description{stop with an informative error if there is a problem with the
feature or target matrix.}
\usage{check_features_targets(feature.mat,
target.mat)}
\arguments{
\item{feature.mat}{n x p numeric input feature matr... |
65a1fae0eb4ade565de0505f1db0e3ea122f1a24 | cac77f2c9b5a33da7e285fa82a710477814a24c3 | /doc/dual_trajectory.R | bb8d55c12749fd84404ed8bf7c90858a21ffd23e | [] | no_license | haoshu2017/bayestraj | 485598e43234527a810d81511a886ff767d8d4a5 | 96f8c01f23d8b68490c51bc15ff423fe69854539 | refs/heads/master | 2022-04-29T02:56:15.793123 | 2020-04-29T00:42:28 | 2020-04-29T00:42:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,658 | r | dual_trajectory.R | ## ---- include = FALSE----------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup---------------------------------------------------------------
library(BayesTraj)
## ------------------------------------------------------------------------
N=1000 #nu... |
629073ca685815be2dfa7a2bbfb11b4acecadc98 | 876f1e027ec3bb6325df1cd46aa3e0ada1cb47b4 | /Stochastic_process/HW_4/R_proj/h_dvd_2.R | b588c42d17339475fc44746e34cc20d496a1cb80 | [] | no_license | hazirliver/6_sem | d0c9b91bd54118dd04b6ef1c4617520fb1f423a1 | 32fc28e8279ca6cbf1d16bcf38787f72009da64a | refs/heads/master | 2021-01-04T03:10:53.292658 | 2020-05-19T08:49:24 | 2020-05-19T08:49:24 | 240,349,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,669 | r | h_dvd_2.R | png(filename = "../img/2d_1_ext.png",
width = 1920, height = 1080,
res = 96 * 2)
plot(pairs.extnd.list[[1]], type = "l", main = "Trajectory 1, h = 0.01",
xlab = "", ylab = "")
dev.off()
png(filename = "../img/2d_6_ext.png",
width = 1920, height = 1080,
res = 96 * 2)
plot(pairs.extnd.list[[6]], t... |
f2684a8bb6c07ac94387f4cee07abfa1489ebb84 | 5bdc4b4c6b2a6ea11a1f020404f496fa8160ef07 | /man/comprSensitivity.Rd | 6607ae646308910b71ba60ab77187af9d0679423 | [] | no_license | Rong0707/survSens | fcc16eef2e57896a9b660f4571722dee483f7fed | 1d25c250cabd28b8d6716dd059ee2c4b473fa47b | refs/heads/master | 2023-06-09T17:15:51.072128 | 2023-05-27T23:47:38 | 2023-05-27T23:47:38 | 255,234,016 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,140 | rd | comprSensitivity.Rd | \name{comprSensitivity}
\alias{comprSensitivity}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Sensitivity analysis of treatment effect to unmeasured confounding with competing risks outcomes.
}
\description{
\code{comprSensitivity} performs a dual-parameter sensitivity analysis of treatment ef... |
a496946a484c79a9871ad453cffd8f079de0d2c5 | 161cd6cee62d2c65ae23c6e9eeec9256abe78634 | /preprocessing/preprocessing.R | 68f9131b11ff0c8552c47133666a968a35abcc61 | [] | no_license | NathanKolbow/MLBPredictions | a74bb6e6ae88abb3e0a7d16efe6c9f6e0838e3be | a801ed11659498251fac46e52619b0cce41a0f58 | refs/heads/master | 2023-01-31T04:34:12.536393 | 2020-12-17T22:43:55 | 2020-12-17T22:43:55 | 310,713,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,919 | r | preprocessing.R | library(xgboost)
library(tidyverse)
library(caret)
library(fastDummies)
library(tidymodels)
library(magrittr)
library(lme4)
library(tictoc)
library(baseballr)
# reading in data
pitches_2019 <- read_csv("project_data.csv")
get_player_id <- baseballr::playerid_lookup("Baez", "Javier")
# getting rid of columns that the m... |
fa787d9b052f9d291a96a0114c6e06e6394892f5 | 385d3fae6b145716027feae92aefbf02da8c76f2 | /tests/testthat/test-errorHandling.R | e0aa2673fb2998883425b93809e39872108e98a2 | [] | no_license | AnotherSamWilson/ParBayesianOptimization | c818c31e6bd0133db0d89c20abc11e2fce409ba9 | af44dd96f9c0fa1bde3ae9bf3fa53d735bac119f | refs/heads/master | 2022-11-05T17:50:55.350676 | 2022-10-18T14:05:24 | 2022-10-18T14:05:24 | 155,993,502 | 102 | 22 | null | 2022-07-28T05:43:59 | 2018-11-03T14:57:56 | R | UTF-8 | R | false | false | 2,359 | r | test-errorHandling.R | context('errorHandling')
testthat::test_that(
"continue"
, {
skip_on_cran()
set.seed(10)
sf <- function(x,y) 1000 - (x-5)^2 - (y + 10)^2
FUN <- function(x,y) {
if (runif(1) > 0.5) stop("You foo'd when you should have bar'd.")
return(list(Score = sf(x,y)))
}
bounds = list(
... |
59b71939725999c1d8c60774b084ed7c6d9e1b66 | 14751e8a07a4f9ee40a1adc5411e7e8a68d13ad1 | /probabilidad/probabilidad.R | ca1f9d2ab738db6ed41a48c1fe407fc2257574f9 | [] | no_license | jrlacalle/material_docente | 4ba380a356059d8f692844bcdd02d774038e8d76 | f7470910c5931b66f981b76875e6e89cd8e477ee | refs/heads/main | 2023-06-04T22:47:04.655249 | 2021-06-23T14:46:48 | 2021-06-23T14:46:48 | 379,634,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 348 | r | probabilidad.R | # Definimos el espacio muestral
m <- factor(c(0,1), levels = c("cara","cruz"))
m <- c(0,1)
x <- sample(m,5,replace = TRUE)
sum(x)/length(x)
x <- sample(m,25,replace = TRUE)
sum(x)/length(x)
x <- sample(m,100,replace = TRUE)
sum(x)/length(x)
x <- sample(m,1000,replace = TRUE)
sum(x)/length(x)
x <- sample(m,1000000,repla... |
fad7106506d9a02b8779c43c353bfc25b5ed89a8 | a069ee82caf0f49641bdb9c1161f1da6a02a6083 | /ExerciseCodes/E6.R | a43fabf6754bf66bff64fc01b5b8743aa7509752 | [] | no_license | nhannguyen2610/R_Statistics | 154fc9ee685e885533737db8b2028f5611ea2e53 | 1233cd76c2278ea50fd65d534e90951dd32c56c0 | refs/heads/master | 2021-05-10T17:03:24.604914 | 2018-02-27T08:27:52 | 2018-02-27T08:27:52 | 118,596,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,600 | r | E6.R | setwd("~/Desktop/S-S/Aalto/IN Stats/Excercise/ex_18")
# 1b
# Require e1071 package to calculate skewness and kurtosis
library(e1071)
BS <- function(x) {
n <- length(x)
v <- skewness(x)
k <- kurtosis(x)
n*(v^2/6+k^2/24)
}
BS(runif(20))
BS(runif(50))
BS(runif(100))
BS(runif(500))
BS(runif(1000))
#BS-statistic s... |
f306d7116dc00dd3ed4a6f189730df25b5060c65 | 6263ea947bf83a6a7267f42dfccce47f9ee7a6da | /ml/plumb.R | aeff0f3d32117d116b2540e120efa64a1a62a66a | [] | no_license | Is0tope/potluck | f99b3f34e9aec90eb2b77bf71c7de33769838550 | d89aedcc62912133f5674006973ad91240a5b61a | refs/heads/master | 2021-05-09T17:29:45.577755 | 2018-01-28T09:16:26 | 2018-01-28T09:16:26 | 119,140,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 85 | r | plumb.R | library(plumber)
pr <- plumber::plumb("api.R")
pr$run(host = '0.0.0.0',port = 8000) |
2027e598214ad269085fb0cb0a99f158093b8511 | 253d4a133a8a6e568f30523447358689d182f473 | /man/contour.stars.Rd | 19ee50e0e107d988addf8056eb85e66b0c37cba7 | [
"Apache-2.0"
] | permissive | r-spatial/stars | 081a7fc96089aeb276051107911145d17365de79 | 0e17daf1c49b69f990ec77275e80cfd471210aee | refs/heads/main | 2023-09-04T10:58:52.888008 | 2023-08-19T09:15:37 | 2023-08-19T09:15:37 | 78,360,080 | 489 | 126 | Apache-2.0 | 2023-03-20T09:17:18 | 2017-01-08T17:48:24 | R | UTF-8 | R | false | true | 812 | rd | contour.stars.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{contour.stars}
\alias{contour.stars}
\title{plot contours of a stars object}
\usage{
\method{contour}{stars}(x, ...)
}
\arguments{
\item{x}{object of class \code{stars}}
\item{...}{other parameters passed on to \link[graphics]{c... |
beed0c2af0f152adcb77ac451fb488a120d301bf | 08013da4e6dd2088d30fb462883f70f7c8a5b224 | /R/surv_prob.R | 41f9cbcb71e61b43734212d6150ec0d13a1c17ae | [] | no_license | apjacobson/parmsurvfit | 312341e5b918bc52ed0007ea89c034e2533ba762 | 131e2bdf3b353adb99b60c09c141af790493d4ea | refs/heads/master | 2020-03-29T10:08:45.079224 | 2018-12-07T04:12:02 | 2018-12-07T04:12:02 | 149,791,202 | 2 | 1 | null | 2018-12-06T19:55:46 | 2018-09-21T16:42:15 | R | UTF-8 | R | false | false | 2,489 | r | surv_prob.R |
#' Survival probability based on parametric distribution
#'
#' Computes probability of survival beyond time t given that the data follows a specified parametric distribution.
#' @param data A dataframe containing a time column and a censor column.
#' @param dist A string name for a distribution that has a correspondin... |
28f7f00d5854cbbdd401868d36f48faf724ad3b8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/updog/examples/oracle_plot.Rd.R | fba079bd08fb5bd5749997b8dfcefcab181e5aaf | [] | 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 | 365 | r | oracle_plot.Rd.R | library(updog)
### Name: oracle_plot
### Title: Construct an oracle plot from the output of 'oracle_joint'.
### Aliases: oracle_plot
### ** Examples
ploidy <- 6
dist <- stats::dbinom(0:ploidy, ploidy, 0.75)
jd <- oracle_joint(n = 100, ploidy = ploidy, seq = 0.001,
bias = 0.7, od = 0.01, dist = di... |
0fb0041ac6785b48269524d56dda2ce5003c8272 | 9ac330d47854c44ae239ec22465adb8ce0a24f00 | /backtests/Engine Validation Results/workings.R | b33cbe0b21a3693176a4eb54e862188cc83b74fc | [] | no_license | riazarbi/equity_analysis_trials | 21e40b523dc7531ef4e200867fb3968ae09ac0e1 | 7a4250cdaec29721a08d9329a2d8ce717e65a6b5 | refs/heads/master | 2020-05-30T15:30:03.605347 | 2019-06-02T08:31:01 | 2019-06-02T08:31:01 | 189,820,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,178 | r | workings.R | # specify directory
direc <- "backtests/Engine Validation Results/"
# load all trial returns
trials <- as.character(8:14)
trial_returns <- paste(trials, "_returns.feather", sep="")
trial_full_paths <- paste(direc, trial_returns, sep="")
library(feather)
library(magrittr)
library(dplyr)
for (i in seq_along(1:length(tri... |
06f699433cd2b37e2a778660b6eee4320aefcbda | a35945446bba341325c243f33acd08267441bf58 | /testing/data-frame-test.R | 60b82edcea46ce82935a3c7a6ec7354a1ee4768a | [] | no_license | MSS-Project/mss-r-code | c8186b0d204a5664c2c5b489e0afb51ef01ba61f | 518bf2c8e5b4583ba4f71a1d5ecee9cef031ca19 | refs/heads/master | 2020-04-05T04:28:48.599571 | 2018-11-07T10:50:07 | 2018-11-07T10:50:07 | 156,553,176 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,558 | r | data-frame-test.R | library(funnelR)
###real data test
df = read.delim("/Users/linjo/Box Sync/Morocco13/Project-MSS/Techstuff/fiche_rectum.csv",sep=",", colClasses = c(rep("character", 130)))
length(unique(df$numdossier))
#45
keeps=c("numdossier","opérateur1","opérateur2","clavien_90","date_sortie")
#keeps=c("opérateur1","clavien_90")
... |
f03c0b293cf1f5f0decb866e37786463742c9a0e | 977824dce5737a2566cd8f20661ccbea82864211 | /postprocess/frameshift.and.stop.remover.R | fb124848ec27ff2dafe15b45105230d07c65eca6 | [] | no_license | weshorton/tcr_sequencing_tools | 91747dfab43784721652c0a8d4bcb33880ad2cb1 | 42560483a4f2b71edd5c4170c78538af17a1f498 | refs/heads/master | 2021-01-18T04:51:18.419159 | 2016-02-19T20:26:45 | 2016-02-19T20:26:45 | 51,036,205 | 0 | 0 | null | 2016-02-17T18:35:11 | 2016-02-03T22:44:03 | R | UTF-8 | R | false | false | 5,111 | r | frameshift.and.stop.remover.R | # Script for flagging and/or removing records with stop codons and frameshifts
#
# Set the value of the remove.clone.table parameter to indicate whether clonotypes
# containing stop codons and frameshifts should be removed
#
# Script expects as inputs a file generated by MiXCR's "exportClones()" function... |
10d0faf587b16d223e9af7c2a3430baa1368c420 | 2fd3d364b6ffe4718981c63b9d66c2bf6571811a | /Research-tumor,genome/genecompare.R | 9b8eb8a4f2e28e7211f75c5df581b7b0b58fe952 | [] | no_license | simon1405/R | ba11e2b76ef3ad03d762ee461285e9d2591a9142 | 49903c9594a5c0b202523776b15cb71b320dab1d | refs/heads/master | 2020-04-21T20:05:48.656785 | 2019-02-15T14:27:04 | 2019-02-15T14:27:04 | 169,830,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,254 | r | genecompare.R | gene<-Normalized_geneExpression_HHCsamples
colnames(gene)
x<-read.table("C:/Users/simon/Desktop/Winter Intern/MEDICAL/Liver_ImmGen_results_Ver2_new.txt",header=TRUE,)
dim(x)
dim(gene[,2:163])
colnames(gene)
rownames(x)
newgene<-as.matrix(gene[2:163,])
genename<-gene[,1]
dim(genename)
dim(genecom)
for (i in 1:37582)... |
225ea0d43376482709b8e713927ba420c6294dba | acea526728f55e3d64a7f2c44ad72eecea91d95a | /opdc postcodes.R | 383bb572560e48ea4748606c7cd566eb7a140afb | [] | no_license | seanolondon/R | 3375b49a0b182efac35f5d767fe354d627fee19c | 4c4375857e03c1277c5cce9acc8a57d8b2e8ecc6 | refs/heads/master | 2021-08-22T21:10:47.243036 | 2017-12-01T09:00:41 | 2017-12-01T09:00:41 | 112,718,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,389 | r | opdc postcodes.R | library(rgeos)
library(sp)
library(rgdal)
pacman::p_load(dplyr, data.table, tidyr)
rm(list=ls())
area_names <- data.frame(OBJECTID = as.factor(c(6,7,5,3,9,11,8,10,12)),
Sub_Area = c("Northern Park Royal",
"Southern Park Royal",
... |
bec340d4a9ad950344d520feea6a6de1bbf4d899 | e1a3abc30055c43440773900ec95ebbbea4815a9 | /R/Task8.R | d4a137ff7607f9a6a7365f0b8f689a395a1b35fe | [] | no_license | lnonell/IntegromicsPractical | ca7dd2316aa208615c81b00a8f50c809db6d7972 | 81a7eff69541782493a438b41a1e8a6eaddbdeba | refs/heads/master | 2021-05-23T12:04:26.230916 | 2020-06-12T12:11:31 | 2020-06-12T12:11:31 | 253,277,526 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,685 | r | Task8.R | #Task 8 Oscar Paniello Pérez-Hickman
#Purpose: Plot results of MFA, mixOmics, together with rawdata (mRNA, CN and methylation data) and significative correlation data.
#Filter previously each raw data set to get the 10% of the genes with the highest sd. The plot should be informative.
#input: data.frames obtained as ou... |
7825148864fd3760ebca3bb6ef27f8135152ade3 | fc3dcbfc159fa55cd65866728e94d2ceda703fc6 | /setupdata.R | ef559e5a4cb7ba8d9f9a3c2da20d465d6d83062e | [] | no_license | flanaj/ExData_Plotting1 | 6cd844fe2872955a97095076d0a5b6a15758d672 | bc5c853566b526397ac87bf1db2313e8b1027217 | refs/heads/master | 2022-12-10T23:51:13.757989 | 2020-09-07T19:05:38 | 2020-09-07T19:05:38 | 293,564,086 | 0 | 0 | null | 2020-09-07T15:23:38 | 2020-09-07T15:23:37 | null | UTF-8 | R | false | false | 1,724 | r | setupdata.R | library(dplyr)
#
# download data
#
fname <- "exdata_data_household_power_consumption.zip"
if (!file.exists(fname))
{
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url, fname, method="curl")
}
#
# extract data
#
extractedfname <- "househ... |
805c25419f51855fdc6210c1a6d44d8f7831e13b | 125af6bd1dedd45089b3d5c95e0a4691e1fe715b | /man/trajectory_list.Rd | 39ca1c3e037bbc8914f807d3e0ad58afaf61f5dc | [
"MIT"
] | permissive | envhyf/SplitR | b068a2997d20831281a6f210801cc6b0b2a40265 | 386c65067c6ad62bcec442fabe7f93c81826f495 | refs/heads/master | 2021-01-18T10:30:53.412897 | 2015-01-24T10:03:04 | 2015-01-24T10:03:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 579 | rd | trajectory_list.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/trajectory_list.R
\name{trajectory_list}
\alias{trajectory_list}
\title{List HYSPLIT trajectory output archive files or folders}
\usage{
trajectory_list(output_folder)
}
\arguments{
\item{output_folder}{the absolute path for the traje... |
34b12c0b9545b5ccd8651fdffa6c893b8d4705e1 | 53525167102f0b02d3116a8a11b1a9f70e957acb | /plot1.R | 5e2d664ba96ac6419d62b8dac612cea8af0b0b50 | [] | no_license | yihueijiang/ExData_Plotting1 | 81ab2ec0618737946978ef56c1626c668b87ba54 | 183480341f988ce54545abe1bb3749119dc6fff6 | refs/heads/master | 2021-01-21T03:13:41.459305 | 2015-06-07T09:02:13 | 2015-06-07T09:02:13 | 24,881,208 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 583 | r | plot1.R | rm(list=ls())
#read data
data<- read.table(file="c:/Users/Yi-Huei/Desktop/ExData/Project1/household_power_consumption.txt", sep=";",nrows= 2075260, header=TRUE, quote= "", strip.white=TRUE, stringsAsFactors = FALSE, na.strings= "?")
# select subdata with two days from the full data
subdata<- subset(data, (data$Date =... |
52178442af95fc57a248680ecf8ee433587ba448 | 1162f8a2de179f8b93369f7a76a058180e98aa21 | /R/t_test_beta.R | 21a86d69cf18b740241d2c4e099fbb4b493fb8b5 | [] | no_license | elwood-shannon/esfstatistika | 96c99139f211bb14d1aee65e8f4742a9294e66c6 | b5cdb4fbaad627c63263bf35d284597c9b90f768 | refs/heads/master | 2022-12-19T13:57:27.459372 | 2020-09-24T12:29:24 | 2020-09-24T12:29:24 | 250,825,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,429 | r | t_test_beta.R |
#' \eqn{t}-test beta
#'
#' Funkce pro vypocet testovaciho kriteria a kritickych oboru \eqn{t}-testu pro regresni parametr beta.
#
#
#' @param b Odhad parametru beta
#' @param s Smerodatna odchylka parametru beta.
#' @param n Pocet pozorovani.
#' @param p Pocet parametru v modelu (bez urovonove konstanty).
#' @param al... |
c9dfa74be076b2f805099e35a115c4f6a7a1f5cb | 0c3758367c95fde408b29ba5bd93a31fb25f213f | /mainMonteCarlos.r | 482ab53b204fed00bf0c49b47c6422077585cdfa | [] | no_license | ccrismancox/JOP_substantiveEffectsInBinaryOutcomePanelModels | fa2ccfda854c8140e6932c3e510f7cfe38266352 | 75bf24f66ed70075f6c2c141f227ab74bce83831 | refs/heads/master | 2020-07-07T01:36:12.285166 | 2019-08-22T17:58:03 | 2019-08-22T17:58:03 | 203,202,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,495 | r | mainMonteCarlos.r | rm(list=ls())
library(doRNG)
library(doParallel)
library(survival)
library(brglm)
library(lme4)
library(plm)
library(Matrix)
library(spam)
library(ggplot2)
library(reshape2)
library(scales)
library(matrixStats)
library(data.table)
source("sparseFirth.R")
beck.logit <- function(alpha, cml, X, y){
theta <- c(cml, ... |
e9843ee4cbca14698c35e6ab5a8b0d1b713c30b8 | 66b5bd8a08bef5dd328a86c465dc7a7036f09143 | /Apps/R/Graphs/performance differences per level.R | 38fa52c3a653ae88cb4b8162f8cb40cf64fe96e3 | [
"MIT"
] | permissive | RGreinacher/bachelor-thesis | 634b1021797ebd88c936ff1f15e84a5d1ea9207a | 60dbc03ce40e3ec42f2538d67a6aabfea6fbbfc8 | refs/heads/master | 2021-01-01T20:37:55.754031 | 2018-07-12T12:24:48 | 2018-07-12T12:24:48 | 98,902,427 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,811 | r | performance differences per level.R | library(readr)
library(ggplot2)
library(gridExtra)
# constants
data_frame <- read_delim("~/Nextcloud/Uni/Bachelorarbeit/Apps/Auswertung/data/data_frame.csv", ";", escape_double = FALSE, trim_ws = TRUE)
color_coding = c(
"keine Assistenz" = "#7A88A5",
"10% Assistenz" = "#BF3865",
"50% Assistenz" = "#E0B558",
"... |
820341800376192b9429a28e4c3aa87f05743e66 | 29585dff702209dd446c0ab52ceea046c58e384e | /iGasso/R/mlmp.test.R | 1d2f5c1d84cd16d2692084efb33ee7410afb74d2 | [] | 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 | 1,680 | r | mlmp.test.R | mlmp.test = function(g, y, weights=NULL, stat="score")
{
DNAME = paste(deparse(substitute(g)), "and", deparse(substitute(y)))
y = scale(y) # dimension n x q
n = nrow(y)
q = ncol(y)
A = crossprod(y)
vg = apply(g, 2, var)
g = as.matrix(g[,is.finite(1/vg)], nrow=n) # remove non-inform... |
13f2bab911d1d0725961749d617d34cf7d5adde4 | d2eafe165be8e006a48de556070b763f3f7b15c1 | /plot1.R | 2607639be3d3635b4343cf9b593cbf6db2510ea2 | [] | no_license | brianblank/courera_ExData_Plotting1 | 4bf628277ac7ed2e94621cf32e5ff0212f7432cf | 6b461a352500091537bb8a4a25d86e9af7b07f1d | refs/heads/master | 2021-01-17T20:49:42.056240 | 2014-11-09T03:10:50 | 2014-11-09T03:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,074 | r | plot1.R | plot1 <- function(directory = ".") {
# Load data for dates Feb 1 2007 and Feb 2 2007
data <- read.csv(sprintf("%s/%s", directory, "household_power_consumption.txt"),
sep=";",
header=FALSE,
colClasses=c(rep("character",2),
rep("numeric",7)),
na.strings="?",
skip=66637,
nrows=2880)
... |
de26c018851fc7783c633298b281398d25b69b91 | ee358af808580e6b1653a015e3427aeabfba81f5 | /run_analysis.R | ea80f01121e93253617a9a6e54e9fa355dc4a4d2 | [] | no_license | marmai123/Getting-and-Cleaning-Data-Course-Project | c801965b01377ea4a0b4d55fe9fe95fa33157ffe | fddffe8ac43695bd545440401af1dabecf1ffefe | refs/heads/main | 2023-06-17T04:47:14.499726 | 2021-07-15T12:02:58 | 2021-07-15T12:02:58 | 377,470,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,614 | r | run_analysis.R | library(data.table)
library(dplyr)
# Download data file and store it in "data" directory, unzip file
if(!file.exists("data")){
dir.create("data")
}
url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(url,destfile = "./data/mydata.zip")
unzip("mydata.zip... |
c0c0ede9090710bb7d3fc8e34666fcc7a3de6ff3 | 3c12c737fc61f19eed718026f569adab78e3aa41 | /model_selection_sims.R | aa2ba1f2f5475009ec5af59d291d3020de899e2f | [] | no_license | TraciPopejoy/Trend_comparison | 54c73a8357603e897f0e6bf739dcac9d89649038 | fa7f130720fb2e60a8c0b1e878666cb20b7f367d | refs/heads/master | 2022-12-20T03:32:29.311303 | 2020-10-14T21:59:51 | 2020-10-14T21:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,868 | r | model_selection_sims.R | library(bbsBayes)
library(tidyverse)
library(plyr)
library(jagsUI)
library(ggmcmc)
library(beepr)
#set up for WOTH
#load eBird simulated TRUE trends
sim_trends <- read.csv("data/ebird-trends_simulated.csv", skipNul = TRUE,colClasses = c("character","integer",rep("numeric",9)))
#will need to load eBird estimated tren... |
245c70e1224955eee2ac6c5dec60a8e5b3598aee | 563f761040775133293553aaf17c4b8eac01d4ee | /scripts/run_me.R | db2a2a35ac952e4c717d37eb991b3f3cd41d6b67 | [
"MIT"
] | permissive | brendanhcullen/personality-diabetes | d77a30b34f6722833b13891d12585051f3ee606c | 6ac3ce8f5dc34eb03f78429e1f83edc45266beb6 | refs/heads/master | 2023-02-10T10:49:39.990733 | 2021-01-01T19:59:08 | 2021-01-01T19:59:08 | 198,284,368 | 0 | 0 | MIT | 2020-12-17T00:12:01 | 2019-07-22T18:53:46 | R | UTF-8 | R | false | false | 3,877 | r | run_me.R | # This script imports raw SAPA data and performs the following cleaning operations:
# 1) score SPI data
# 2) convert variables to correct type (e.g. factors)
# 3) create composite demographic variables (SES)
# load libraries
library(here)
library(tidyverse)
library(psych)
library(janitor)
library(missMDA)
# Source p... |
a1b6474ca36ac444f30ce4bc0f436b924ed3438d | cd5b4927b7496c6f4f8b322a3041404665185e1e | /man/prop2coord.Rd | cfd3a9df9001c280129000168ae841998581fc94 | [
"MIT"
] | permissive | rintukutum/rdonuts | 2510f19d347dd1d5ced4f4c9b7068335da74ae6f | 3348b930326c95e535b1b71907c4ec4ff67b171f | refs/heads/master | 2021-01-23T18:51:29.628316 | 2017-09-21T04:41:34 | 2017-09-21T04:41:34 | 83,003,411 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 257 | rd | prop2coord.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/donut-prop2coord.R
\name{prop2coord}
\alias{prop2coord}
\title{prop2coord}
\usage{
prop2coord(x = 1, y = 1, radius = 1, size = 0.5, fill = "skyblue")
}
\description{
prop2coord
}
|
0c1a05c2280610e3ae7cd2165e34466ece53ceaf | 0599b04224cbd89f4257c1befd8e2e0407fef9cf | /TIBS Wetland Model Plotting Functions v1.R | 26dfeee796c37d5ebf2a9b8fea4c1d729dc2e93d | [] | no_license | LooiXIV/Wetland-Model | 30f85ffc3768a038ec6ae51f70118b0ed5b751df | aaf1040999c914db4611d6c314bbdfe526fcf867 | refs/heads/master | 2020-06-15T06:52:41.469517 | 2017-03-11T02:46:57 | 2017-03-11T02:46:57 | 80,171,826 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,432 | r | TIBS Wetland Model Plotting Functions v1.R | # df <- data.frame(cbind(1:10, 11:20))
# names(df) <- c("y","x")
#
# par(mar = c(7, 7, 7, 7))
# plot(y ~ x, data = df, ylab = "", xlab = "independent")
# axis(side = 4, at = c(1:10))
# mtext(side = 2, line = 3.5, text = y.lab, cex = mag+.5)
# text(par("usr")[2] + 2.2, 5.5, srt=-90, labels = y.lab,
# xpd = TRUE, ... |
cd587ba1f6fbbde3ccb444d394241fc3dd68ef0b | 642d338221f44aad742b39230cffcbc297f48306 | /R/whiten2.R | 5673f0c4ab86efe8b7ef480f2149636dcaeb43cb | [] | no_license | stnava/itkImageR | 3577ccb5785893c510f6e0fabd6a68d5d6c095a2 | 8b218e81d8e3cc642c8891a4eb4c43dc941cf870 | refs/heads/master | 2016-09-05T14:29:26.851337 | 2013-11-25T22:53:34 | 2013-11-25T22:53:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 220 | r | whiten2.R | whiten2 <- function(x) {
if (nargs() == 0) {
print("Usage: x_whitened<-whiten( x ) ")
return(1)
}
svdx <- svd(x)
dd <- (svdx$d)^(-1/2)
xw <- ((svdx$u %*% diag(dd)) %*% t(svdx$u)) %*% x
return(xw)
}
|
5b790322ca6af20e7be37acc44f1ddde09d285dc | de295eb6f94aa692143985f8b89abaa32525584b | /r/load-tdt.R | 570a7e9eee6a7e08c1377fcde9c3804b749b16c5 | [] | no_license | chrisnatali/FinX | ebe7124b85f56eae8d1b17e6d90e03e23c456ed2 | a5a223172cbcf8ea5fd1a7e2a604d6eb48c06187 | refs/heads/master | 2016-09-05T16:58:40.139310 | 2012-03-04T23:37:29 | 2012-03-04T23:37:29 | 3,127,199 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,371 | r | load-tdt.R | tdt=read.table("tdt")
names(tdt)=c("sym", "day", "op", "hi", "lo", "cls", "vol")
sym.new=c(1, which(tdt$sym[-1] != tdt$sym[-nrow(tdt)])+1)
sym.lens=c(diff(sym.new), nrow(tdt)-(sym.new[length(sym.new)]-1))
i.sym=rep(sym.new, sym.lens)
o.sym=unlist(sapply(sym.lens, function(n) {0:(n-1)}))
chg=c(NA, (tdt$cls[2:nrow(tdt)]-... |
0cbcc1cccc1bfc7bc79e4b600dd35fbb21bee82c | 5ffe62a29eec525f568d2e71b854d3ce442e98ef | /Genotyping/Analysis/PRBI/drafts/assemblePRBIgenotypes090713.R | bda096e263da6b37b742fb45a8675f284e28f3d1 | [
"MIT"
] | permissive | pinskylab/PhilippinesAnemonefish2008 | df3ac238f4db30d90cd564f68a23a2bf8eff86f6 | 4b21bc01c6be794181feff95b44f7e0295ecf061 | refs/heads/main | 2023-08-11T06:47:06.704422 | 2021-09-30T17:27:36 | 2021-09-30T17:27:36 | 307,220,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56,663 | r | assemblePRBIgenotypes090713.R | setwd("/Users/mpinsky/Documents/Stanford/Philippines/2008/Genotyping/Genotypes")
#### Read the genotypes ####
colstoread = c("NULL", "character", "NULL", "character", "NULL", "numeric", "numeric", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NULL", "NU... |
96c9d44a04895de43dcd91c17a8b6332a9f496ea | f3bc7e85e05d77ae3ac0a3dd5138a6e005b80efc | /tests/testthat.R | 479810d4aa811382a87ce48b375e498f02d8a90c | [] | no_license | cran/boxoffice | 304c9232089ff5787efc4efce203ac0c83b53264 | f3e4eb63fa8bb56b1d4947857cd25f6961c10e62 | refs/heads/master | 2020-12-25T14:38:43.552547 | 2019-10-26T03:30:02 | 2019-10-26T03:30:02 | 66,137,002 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 66 | r | testthat.R | library(testthat)
library(boxoffice)
test_check("boxoffice")
|
33096fdf07b768bb1d408d94e2fa3dda118d00ff | ba0761362e4bc842e41f5d1404fefca97a712abd | /tests/testthat/test-backend-snowflake.R | e73c7e6504500c1c918ea27cf265d6e58ad7ac88 | [
"MIT"
] | permissive | ndiquattro/flaky | 14908a9ab6970e49dadfc7802004e9cf9596f503 | 56683ea32378eb83035c134724732ed59b5c7e4a | refs/heads/master | 2021-01-07T20:36:10.213915 | 2020-11-17T05:21:59 | 2020-11-17T05:21:59 | 241,814,281 | 7 | 1 | NOASSERTION | 2020-11-17T05:22:00 | 2020-02-20T06:52:21 | R | UTF-8 | R | false | false | 779 | r | test-backend-snowflake.R | test_that("custom stringr functions translated correctly", {
trans <- function(x) {
dbplyr::translate_sql(!!rlang::enquo(x), con = dbplyr::simulate_dbi("Snowflake"))
}
expect_equal(trans(str_detect(x, y)), dbplyr::sql("CONTAINS(`x`, `y`)"))
expect_equal(trans(str_detect(x, y, negate = TRUE)), dbplyr::sql(... |
568011399bff84375b8c90e0da581a85d7adf719 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sensitivity/examples/sobolTIIlo.Rd.R | f5c417487d5de7de5c428c199b77688fb9589448 | [] | 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 | 683 | r | sobolTIIlo.Rd.R | library(sensitivity)
### Name: sobolTIIlo
### Title: Liu and Owen Estimation of Total Interaction Indices
### Aliases: sobolTIIlo tell.sobolTIIlo print.sobolTIIlo plot.sobolTIIlo
### plotFG.sobolTIIlo
### Keywords: design
### ** Examples
# Test case : the Ishigami function
# The method requires 2 samples
n <- 10... |
27ef29558a0e52f38cbd131aaa98cc644518a997 | 83ae362a3e99619cfb980a35d9cabb26400756e7 | /list_matrix_06_10.R | dbedd8797f40ca7e50f3d47243091db3aa38e42d | [] | no_license | rlatjsrb/R_basic | 8e9456692f1e4898a6441fa378ce6012f920e6b5 | c85140356a411c6f27720b1d724c235f16ef396f | refs/heads/main | 2023-05-28T05:48:03.515075 | 2021-06-14T08:33:42 | 2021-06-14T08:33:42 | 375,417,135 | 0 | 0 | null | null | null | null | UHC | R | false | false | 3,436 | r | list_matrix_06_10.R |
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R은 자유 소프트웨어이며, 어떠한 형태의 보증없이 배포됩니다.
또한, 일정한 조건하에서 이것을 재배포 할 수 있습니다.
배포와 관련된 상세한 내용은 'license()' 또는 'licence()'을 통하여 확인할 수 있습니다.
R은 많은 기여자들이 참여하는 공동... |
1940e283ec10027ad2c12bd07dc4e51e44a8dab5 | 6ce1b9f3806a01331d1f0f536b85df764a414564 | /tests/testthat.R | e3798af1a5d7e1216e9c137c9cd2c659a975a17d | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ndiquattro/flophouse | 77caaa040176b82d08449b0dab64c7dfe6a478a0 | 235d9f74f0f18461b113471a7f21681cba650bef | refs/heads/master | 2021-08-28T20:37:50.764819 | 2017-12-13T04:56:43 | 2017-12-13T04:56:43 | 113,827,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(flophouse)
test_check("flophouse")
|
a6ad9a79891507ae6bf7f03c9d44554f1963745a | 64c71251ad5df390e5954c3919d7c1fc10a443bb | /3.Figures.R | b3fe8d0439e87921dc202549362fbc05014e3e34 | [] | no_license | robwschlegel/Trend_Analysis | 767631a11f88b2610f43a4e3a3a1f2f417422b53 | e84da681b67e880d374e9ced12965207cd7f39ea | refs/heads/master | 2021-06-11T13:05:51.885285 | 2017-01-29T12:57:44 | 2017-01-29T12:57:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,648 | r | 3.Figures.R | ###########################################################################
### "figures.R"
## This script shows the code used to generate the figures for the paper
# 1. Load all packages required for the analyses
# 2. Load all functions etc. found in other scripts
# 3. Load the site list and spatial data used for the ... |
aecfe4e94be3bce87883212274138237c1f4c7d8 | 7164d4515036f3ebce26f3a0b7f0b3031683aaa1 | /man/createSimmodule.Rd | 62a14098c09049d5dcf84c868978bca0861187e0 | [] | no_license | kcha193/simarioV2 | 0a96193cf09f32acea2287d76687a9e1ee2eb237 | 66c7bfbb3dfd3dbd7d9b95d7d9b84632e6aa5aca | refs/heads/master | 2023-03-15T14:34:46.222056 | 2023-02-26T01:59:06 | 2023-02-26T01:59:06 | 57,259,491 | 5 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,486 | rd | createSimmodule.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Simmodule.r
\name{createSimmodule}
\alias{createSimmodule}
\title{Creates a Simulation module object.}
\usage{
createSimmodule(name)
}
\arguments{
\item{name}{name of this object}
}
\value{
a list
}
\description{
A simulation m... |
97b3b44696a2f5156a711fe924c3c25f254e5593 | 57eb613a446a89e08918c18e4a2ef5b7904754a3 | /tests/testthat/test-parentage.R | 445cbd03283a4909192ec89b2f7a282968f01807 | [] | no_license | kate-crosby/ProgenyArray | c0fec380460e1d21d16477a05d05361e88e59f70 | 6fde9526f0bcb953251a28473a7c042b40254211 | refs/heads/master | 2020-12-28T23:49:59.252767 | 2015-05-15T23:44:22 | 2015-05-15T23:44:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,836 | r | test-parentage.R | # parentage.R --
# Copyright (C) 2014 Vince Buffalo <vsbuffalo@gmail.com>
# Distributed under terms of the BSD license.
# not testing over this parameters space
NPARENT <- 100
NPROGENY <- 100
SELFING <- 0.5
error_message <- function(ex, act) sprintf("proportion correct below expectations: %0.3f expected, %0.3f actua... |
fbe184fecfc87f61a5201c0d9563ff3269ddad65 | e6a115b95ffba2caac921daeb2ef911b504d0142 | /CD109_analyses_with_plot.R | 4c39cb06e5441a1a57a9957c39560b3247eaa86b | [] | no_license | zhsiru/BMD_WES_paper | 46472ab1f8244c15281909191d477f0cf38e2b7c | 16695ca11cba9b355f339c308d0fc8de4bb4bee9 | refs/heads/main | 2023-09-05T23:29:44.397834 | 2021-11-11T20:48:17 | 2021-11-11T20:48:17 | 427,138,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,820 | r | CD109_analyses_with_plot.R | setwd("C:\\Users\\sirui.zhou\\work\\regeneron-wes")
setwd("C:\\Users\\Sirui\\Desktop\\WORKS\\regeneron")
dt <- data.table::fread("CD109_5cells_mineral_v2.txt")
dt[, Cell := factor(Cell, levels = unique(Cell))]
levels(dt$Cell)
dt_western <- data.table::fread("CD109_5cells_western.txt")
dt_main <- dplyr::left_j... |
72b86b83817155dc5f1e067674b3af820156db65 | 184aae15a38a32ca59befbfd8775406e559bd9c5 | /ReadingNotes/ggplot learning.R | b22d80cff4e7437929a3bf22b483a54501746c4c | [] | no_license | WangLiuying/R_scripts | d20703060e74dbbf005acae04066c14bd7a430b4 | 9f873d1a9f656d15c6b24ea712897883a220f14d | refs/heads/master | 2021-06-26T06:56:11.329934 | 2018-05-17T03:41:02 | 2018-05-17T03:41:02 | 96,893,364 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,662 | r | ggplot learning.R | ##ggplot学习
library(ggplot2)
data(mpg)
p <- ggplot(data=mpg,mapping=aes(x=cty,y=hwy))
p +geom_point()
p <- ggplot(data=mpg,mapping=aes(x=cty,y=hwy,colour=factor(year)))
p +geom_point()
p+geom_point()+stat_smooth(method=loess)
p <- ggplot(data=mpg,mapping=aes(x=cty,y=hwy))
p+geom_point(aes(colour=factor(year)))+stat_s... |
46f66398e8c0f411976fbd1d709901866509acf2 | 0a072d9ed28ddc9b4256b6c574497078d8dd5360 | /man/list_delete.Rd | 021fddf49feb8b901b55bafe5a42b385bbd543ff | [] | no_license | theoroe3/mailchimpr | c175458f01b20e71bf0d7a5df3f4f35429e7cddf | 848224c13d7b6a5ca114675a9eeeddf62472b691 | refs/heads/master | 2020-12-23T04:58:55.218590 | 2020-01-30T23:24:04 | 2020-01-30T23:24:04 | 237,041,523 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 445 | rd | list_delete.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lists.R
\name{list_delete}
\alias{list_delete}
\title{Delete a list/audience}
\usage{
list_delete(api = NULL, list_id)
}
\arguments{
\item{api}{Character. Your private api key. If api is `NULL`, the environment variable `Sys.getenv("mailchimp... |
ca58f3290e9d3e46ef4aaa28f15439edffe6c26f | 67615957a9f5d2f74817db4ce219fe10644c0ae0 | /courses/stat587Eng/slides/Inference/I05-Confidence_intervals/Sampling_distribution.R | 11a66397ea6e5da9b6afcd984898c80407843a4e | [] | no_license | jarad/jarad.github.com | 29ed8dc5583a52a57cd26bac252d071a0ff623a9 | 00a2bada3de6d6aa89b4795f52d5b134dd3edfe7 | refs/heads/master | 2023-08-09T10:30:19.203097 | 2023-07-30T14:54:31 | 2023-07-30T14:54:31 | 6,108,556 | 9 | 21 | null | null | null | null | UTF-8 | R | false | false | 4,371 | r | Sampling_distribution.R | ## ----libraries, message=FALSE, warning=FALSE, cache=FALSE------------------------------------------------------
library("plyr")
library("dplyr")
library("tidyr")
library("ggplot2")
## ----set_seed, echo=FALSE--------------------------------------------------------------------------------------
set.seed(2)
## ----... |
746933a6da71ecd7fe2563c9b64676e8f7ab1eb4 | 39d3e308c0faba3b645d51f097320ce787524bb5 | /05 Reproducible research/reproducible lectures.R | 8fb935f5e75068af86c3c892f635eb1806412028 | [] | no_license | ksetdekov/datasciencecoursera | df24e3d45010526689b8f55db63944a0cf4d40b9 | fab28b845d56a824bcf08a3ac04ca69b7e562ad1 | refs/heads/master | 2021-07-15T06:34:21.731826 | 2020-05-14T08:50:30 | 2020-05-14T08:50:30 | 130,076,178 | 0 | 0 | null | 2019-03-27T09:57:17 | 2018-04-18T14:36:34 | HTML | UTF-8 | R | false | false | 2,210 | r | reproducible lectures.R | setwd("C:/Users/ksetd/Dropbox/datascience/datasciencecoursera/05 Reproducible research")
library(kernlab)
data(spam)
set.seed(3435)
trainIndicator=rbinom(dim(spam)[1],size = 1,prob=0.5)
table(trainIndicator)
trainSpam=spam[trainIndicator==1,]
testSpam=spam[trainIndicator==0,]
names(trainSpam)
table(trainSpam$type)
plo... |
2304bbfea64ec8572491c5ecc2817811d9f48bbd | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.application.integration/man/swf_describe_domain.Rd | 3a616147096935440fcd9a7989a144a97450b074 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 554 | rd | swf_describe_domain.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/swf_operations.R
\name{swf_describe_domain}
\alias{swf_describe_domain}
\title{Returns information about the specified domain, including description
and status}
\usage{
swf_describe_domain(name)
}
\arguments{
\item{name}{[required] The name o... |
98d9a97fd8e1825606d44c80adf3d36b9e239c59 | ddbc8d66f3ef3617aacdd4e6b8de5cbb4897fd96 | /maryamCode/generateAllStates.R | f586d41147a00143d0ff0e8cbe083f74fa26986e | [] | no_license | Venlanen/strandsequtils | 7594238693b0496b7104bb6c657a5ff6fc042276 | 21c08fb25810ed3f5570e5956e54fa482cd6b89c | refs/heads/master | 2021-07-16T00:35:56.343268 | 2017-10-18T13:40:02 | 2017-10-18T13:40:02 | 107,122,636 | 0 | 0 | null | 2017-10-16T12:12:54 | 2017-10-16T12:12:54 | null | UTF-8 | R | false | false | 354 | r | generateAllStates.R | #tested
#' generates all binary strings with n 0s and m 1s
#' @param n the number of 0s
#' @param m the number of 1s
#' @author Maryam Ghareghani
#' @export
#'
allStatus = function(n,m)
{
allStat = NULL
status = initialState(n,m)
while(status != FALSE)
{
allStat = c(allStat, status)
status = getNe... |
e76154163ef10acd40f83494b8be944bab5ba062 | 72ab89b96248e135427e31e9c97fb055fdb307b6 | /man/venenos.Rd | 41445c4ab6823fd24b897de56d3fc017d2bb6c0c | [] | no_license | javiercara/DisRegETSII | a0b6ab9f061ec94f72146a6860074f3f635a46dd | 851788b05b98efc819fa0f648699faa41d0181fc | refs/heads/master | 2021-01-20T11:34:18.246895 | 2020-02-03T16:29:04 | 2020-02-03T16:29:04 | 79,790,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,138 | rd | venenos.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/venenos.R
\docType{data}
\name{venenos}
\alias{venenos}
\title{Datos de superviviencia de roedores a los que se le habian suministrado diferentes venenos y antidotos}
\format{Lista con los siguientes campos:
\itemize{
\item ven: tipo de venen... |
2e64ea1b066fbb175f6482c90f6fc07fba17ab50 | 21ee3aa10d114c0fa72a63659d6a6387d2cab2fb | /r.functions/check.introns.F.R | bfdcb73a02940f696ef2ca8191d27dbcca6fab17 | [] | no_license | iaaaka/evo-devo | 27c25bf5e7eb86daa48ab4d8479e7ec29d2310de | 4bbe57c9867a18ba67cb14c80f349ac9228a5408 | refs/heads/master | 2021-06-28T19:20:45.485510 | 2021-02-19T07:57:04 | 2021-02-19T07:57:04 | 224,820,497 | 6 | 4 | null | null | null | null | UTF-8 | R | false | false | 9,465 | r | check.introns.F.R | library(vioplot)
library(reshape)
plotProportionOfCannonicalSites = function(x,species,min.sam.no,more.or.equal.fun,...){
get.freq = function(l,f){
r = split(l,f)
r = r[order(as.numeric(names(r)))]
t = rev(cumsum(rev(sapply(r,length))))
c = rev(cumsum(rev(sapply(r,sum))))
list(y=c/t,x=as.numeric(names(t)))
... |
84f368c0f5f4355a833ec0f5a12d6a7f065e26cf | e59bfb6100c4ef2de8ba99b865f510db5a47cb52 | /scripts/Fishers/sort_combine_threshhold.R | 50b0b16fde50d630a569654c02989dfe28f1f095 | [] | no_license | jmmarzolino/CCII_BOZ | 0330a1a8abe2249e4412ad73d7309d451c6d8f0a | bca16e6fde90c989a7c1b90c9a65cf000d1677c2 | refs/heads/master | 2021-12-11T18:00:35.595392 | 2021-11-30T23:01:15 | 2021-11-30T23:01:15 | 214,494,990 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,339 | r | sort_combine_threshhold.R | #!/usr/bin/env Rscript
#SBATCH --ntasks=1
#SBATCH --mem=50G
#SBATCH --time=2-00:00:00
#SBATCH --job-name='sort_combine'
#SBATCH --output=/rhome/jmarz001/bigdata/CCII_BOZ/scripts/sort_combine_threshhold.stdout
#SBATCH -p batch
# first run the script `cum_pos.R` with a bunch of fixes for multiple file names and differe... |
0988124189b7a36027a3218433e8d3ca378542a7 | a2ceebfc20220ad30e394ac39c5b61f6e0ab0d10 | /hPVI_2015_histapp/server.R | cffc47cc2e063cba0a2f29b94f8b5e0afacde121 | [] | no_license | TonyAngelo/MN_Politics | bf3e9f58efbdb8d6217df7db2d37e18fdb2abfaa | f8a33ee9d7d3f6a358dc8349d698326231f7c52c | refs/heads/master | 2021-01-19T14:57:05.728741 | 2015-06-18T13:53:31 | 2015-06-18T13:53:31 | 35,682,330 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,288 | r | server.R | # required packages
library(shiny)
library(ggplot2)
library(gridExtra)
# Define server logic required to draw a histogram
shinyServer(function(input, output) {
# create the output plot
output$distPlot <- renderPlot({
# get the data for the selected chamber
x <- read.csv(paste("./data/mn_",tolow... |
b3cf6d21f7f76d0ddcf44b04ec7a3d6f7eedaa73 | 1239237523470898ec3dec34427dcfc878d4f937 | /191216_도서관별 연간 대출건수 0인 인기도서.R | 1a536c6f9da2fe5cf724cf7ecbd55a1af5620725 | [] | no_license | swoos91/Library_book_recommend | 589868c82c0cf42802b7923a0f29bbae7d88602b | cdfbf2b9269dfa6883e1eae99cfcf0f1830cc945 | refs/heads/master | 2022-04-17T01:07:46.735420 | 2020-04-17T10:12:16 | 2020-04-17T10:12:16 | 256,232,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,181 | r | 191216_도서관별 연간 대출건수 0인 인기도서.R | setwd('c:/semi/6조')
load('2018년 성북구 도서관별 대출목록.Rdata')
# '영유아 인기도서 리스트'와 '1월 도서 대출 목록'에서 겹치는 도서를 추출
name<-c()
#name<-as.data.frame(name)
for (idx in 1:12) {
temp<-read.csv(paste0('c:\\semi\\6조\\성북구\\인기대출도서_2018-',idx,'.csv'),
skip=13, header=T, stringsAsFactors=F)
temp<-temp$서명
print(length(na... |
849fbac3be27a5fb194da97d1dc9397283123f10 | 27e0aa98574e032b0085ba97f7a17b1d1693ca8d | /cachematrix.R | 2cfac468b23ffd7360a2c5f2d1c7d4054dce852e | [] | no_license | LucilaSchmidt/ProgrammingAssignment2 | 9b13d74b18c95e68eb72e7a86e9b6bdbbd1a9a19 | 7f2b56ee01fd359edb44ff57806c86683039be55 | refs/heads/master | 2021-01-22T13:48:19.875994 | 2014-05-18T23:35:59 | 2014-05-18T23:35:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,420 | r | cachematrix.R | ## These functions are designed to avoid repiting calculations
## If we know that we are going to need the inverse of a matrix lot of times
## we can calculate it once, and store the result for the next time that we need it.
## These functions are for that.
## This function creates from a matrix a special type of obj... |
6b5bc1d382fe481ba19bebdc40b0de0b9391c68a | 853cfd087c68c70d5456b331654199f43802c6cd | /man/beadc.Rd | daf3afacc4d2583ba3e6cffc1682b24102ba2181 | [] | no_license | schalkwyk/wateRmelon | 04a30e26765dff4c16d41b98b2283c026625505c | b674068c40f806d6edfd1d703171eba173f74c8c | refs/heads/master | 2023-06-26T00:48:16.638300 | 2023-06-16T15:30:41 | 2023-06-16T15:30:41 | 108,290,350 | 3 | 3 | null | 2021-10-04T12:31:58 | 2017-10-25T15:38:03 | R | UTF-8 | R | false | false | 733 | rd | beadc.Rd | \name{beadc}
\alias{beadc}
\title{
Calculates the number of samples with bead count <3 for each probe in matrix of bead count values
}
\description{
Calculates the number of samples with bead count <3 for each probe in matrix of bead count values.
}
\usage{
beadc(x)
}
\arguments{
\item{x}{
matrix of bea... |
1ab959c95e518cac3e8b1582397b9f017f11a78d | 9254b237ee565c9c33a5cadc44353f2e1d0e5748 | /R/get_corgi.R | dd99ae071b7a72fc6eaa6d00cfe82dde84e2b725 | [] | no_license | bdacunha/randompic | 5bc9de9d671448bc94f5d7d664687fca5bafd30d | f937ff70989f6dae444e04960368f783586e18eb | refs/heads/master | 2021-01-10T14:03:37.212361 | 2015-11-23T23:57:30 | 2015-11-23T23:57:30 | 46,516,582 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 432 | r | get_corgi.R | #' get_corgi
#'
#'Inserts the link of a picture containing corgis depending on the height and width specified
#'
#' @param width numeric
#' @param height numeric
#' @return link
#' @export
#' @examples
#' get_corgi(300, 400)
get_corgi <- function(width, height){
stopifnot(is.numeric(width))
stopifnot(is.numeric(heig... |
547996dddc0e88807015f6364a6e79256e91dd31 | 534402f58f8e00d95b83a79eb1fab5f887d9c13c | /paper-code/f_cmp/j_merging_ratio.R | 539565c3f0647a695f78f3bb159d3e35b57fc822 | [] | no_license | mywanuo/KaMRaT | 79fd064d7db18bc29146f3f249d6227c5c4237be | 4cda92ca1ecc40549ef95354be734216ee8cd9cb | refs/heads/master | 2023-04-22T01:31:03.805036 | 2021-04-21T09:04:00 | 2021-04-21T09:04:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,803 | r | j_merging_ratio.R | rm(list = ls())
library(stringr)
library(tidyr)
library(magrittr)
library(ggplot2)
nb.summary <- read.table("/home/haoliang.xue/media/ssfa/MEMBERS/haoliang.xue/PRAD_TCGA/merging-first/merging-ratio.tsv", header = F)
colnames(nb.summary) <- c("number", "file")
nb.summary$number <- nb.summary$number - 1
nb.summary$type... |
4fcbcd8168bc1c99405900a355e861fedc59a7de | d23a003b3329ddd581ce28b90bbb4ae1dab6ddce | /01_dep_exposure.R | 9bfbbd6ce975f630de3ccddf5f2d9b2ec1f19c50 | [] | no_license | lenamax2355/EHR_Data_Management_and_Analysis | d8930c7d416ff84767690765231a257cf7d5f317 | d908e2ab5bac3d1309c7e3b6e3c9549fc328484d | refs/heads/main | 2023-04-28T02:27:25.293263 | 2021-05-12T05:15:25 | 2021-05-12T05:15:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,854 | r | 01_dep_exposure.R | ######################################################################
## Title: 01_dep_exposure.R
## Author: Charysse Gibson
## Date created: July 17, 2019
######################################################################
# Purpose: Identify depression exposure
#####... |
81c3c48340f73cbaff4d86c59ef932bc512b7398 | 0704b673d172dbb69bd5f55fa5eb226e36fb66d6 | /PoonaiAnil_Homework2.r | 3ebde4203df89f6ea6c02fdad496d43f84c2db15 | [] | no_license | DevonARP/STA-3000-Work | f2352f8664648d6053e50363ac0b581d4a36b4e7 | 108f5d595ccfed287c7b6f76914db8f3139f1e0b | refs/heads/master | 2022-11-22T14:57:23.400854 | 2020-07-23T22:21:09 | 2020-07-23T22:21:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 588 | r | PoonaiAnil_Homework2.r | Carbs = c(50,60,40)
Fat = c(8,30,30)
Protein = c(20,40,40)
dat1 = data.frame(Carbs,Fat,Protein)
rownames(dat1) = c("Breakfast","Lunch","Dinner")
dat1
#1
p1 = c(sum(dat1$Carbs),sum(dat1$Fat),sum(dat1$Protein))
p1
#2
CCarbs = dat1$Carbs * 4
CFat = dat1$Fat * 9
CProtein = dat1$Protein * 4
dat2 = data.fram... |
4ec21925d7a326b52971ee7fa4f9a8563fed6665 | aaee9e9d31a117fc6639973769cf91f7f36bc005 | /pkg/R/substValue.R | c8fdc4c88d3f30dece59b50cc195d8978f954612 | [] | no_license | data-cleaning/editrules | f83c80b73034eeab28d6f4997d3bc6404c33eb11 | 9194adda360ebc3555f6bec0355555fbd94fe1a5 | refs/heads/master | 2020-04-12T13:14:20.517998 | 2018-09-17T08:57:44 | 2018-09-17T08:57:44 | 10,077,571 | 15 | 7 | null | 2015-05-26T19:50:54 | 2013-05-15T11:57:08 | R | UTF-8 | R | false | false | 9,639 | r | substValue.R | #' Replace a variable by a value in a set of edits.
#'
#' @note At the moment, objects of class \code{\link[=disjunct]{editenv}} are converted to \code{list}
#' prior to processing (so no performance is gained there) and reconverted afterwards.
#'
#' @param E \code{\link{editset}}, \code{\link{editmatrix}}, \code{\lin... |
c454637e6cea4a27db3644cac50f8506a5bf0aad | 12ab3213a5868d5718701df22de1ca9494adfcf8 | /man/kn_is_exist.Rd | 102dc9366c7682d20d58df2cec65ddfec2da0cd7 | [] | no_license | takewiki/ksmpkg | 93ede44f273fbf9a5b9c93694956ff637676f313 | 3572ae8c79f3167caf68280ce130a005debf92e7 | refs/heads/master | 2022-04-18T01:13:18.947256 | 2020-04-21T00:21:16 | 2020-04-21T00:21:16 | 257,218,206 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 428 | rd | kn_is_exist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/knowledgeNode.R
\name{kn_is_exist}
\alias{kn_is_exist}
\title{判断知识点是否存在}
\usage{
kn_is_exist(kn_name, kc_name, conn = conn_rds("nsic"))
}
\arguments{
\item{kn_name}{知识点名称}
\item{kc_name}{知识分类名称}
\item{conn}{连接}
}
\value{
返回值
}
\description{... |
b7994e8d2c105df8e674d80456378c72613b4471 | 49853e35e13b3701d794b5b784b30a40e83cb2c4 | /plot2.R | 3d304510e4822d526dc83879a28e55efc96c299a | [] | no_license | VivienBH/PlotProject1 | c43316f62c19e8f6008f89fa207b8f1f88d5f89e | 75b852f1d805bdee4899ffb24fe1a02a348fbb98 | refs/heads/master | 2016-09-06T10:25:56.541996 | 2015-05-10T18:23:20 | 2015-05-10T18:23:20 | 35,382,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | r | plot2.R | ## Load data, draw graphic and store in file "plot2.png"
## 2015-5-10
## Set the working directory
#setwd("~/Desktop/Coursera/Exploratory Data Analysis")
## Load tidy data - data set store in object named power.consumption
source("getandcleandata.R")
## Draw plot
plot(power.consumption$DateTime, power.consumption$G... |
1f4bddf2a139c74b4af605d00e30845b8f3047eb | cdc8e477a0b8392984ac7a63f9d608a6cc48d8fd | /man/fpopTree.Rd | 581d68e4c9aa187215cc8a9303a757e5f9397cf3 | [] | no_license | vrunge/fpopTree | e192fcc796b9519a8ef1e41f42d5c2c325c19831 | 3b0da013f236330d380179d512b3ba27030684a5 | refs/heads/main | 2023-03-05T14:37:04.733741 | 2021-02-05T17:00:30 | 2021-02-05T17:00:30 | 330,942,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,337 | rd | fpopTree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fpopTree.R
\name{fpopTree}
\alias{fpopTree}
\title{Functional Pruning Optimal Partitioning for data structures in tree}
\usage{
fpopTree(vertex_data, tree, type = "mean", weights = NULL, testMode = FALSE)
}
\arguments{
\item{vertex_data}{vect... |
047a97f1468100511dcc67ce92cbb5909e8a288f | 5dda2f287818150aa71603a9f9f42375f6b99c6f | /keepbusy.R | 06d0261d12d63f2f2ea47690a48d7315afd25b38 | [] | no_license | gtritchie/aaa | b6f841c09c14bb5f52894823c6f032b3f41ce59f | 6c6f689a4484ebbd1247082c163ae147bb7024d1 | refs/heads/master | 2023-05-05T14:06:19.955364 | 2023-04-22T19:43:03 | 2023-04-22T19:43:03 | 90,062,045 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 164 | r | keepbusy.R | # random comment
keepbusy <- function() {
a <- 0
while (TRUE) {
Sys.sleep(1)
print(a)
a <- a + 1
Sys.sleep(2)
print(a)
a <- a + 1
}
}
|
1b3b43b0fcc6e01406fbecd76032d7f24eec7039 | fccda946aeab155ab523e683537e0f8cb5ecac8e | /man/projMembership.Rd | 7fb0581718fe5d0feb49ce4c325c4e54d73d0282 | [] | no_license | lingxuez/SOUPR | d2931a89f46b310e5dc8f0bf2d817d0085b6dd1e | 68358c79a40b82174605fdb249e286bd7fc5eee3 | refs/heads/master | 2021-03-22T05:04:26.405694 | 2018-10-17T02:35:32 | 2018-10-17T02:35:32 | 122,891,238 | 8 | 7 | null | null | null | null | UTF-8 | R | false | true | 336 | rd | projMembership.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SOUP.R
\name{projMembership}
\alias{projMembership}
\title{Clean up membership matrix}
\usage{
projMembership(theta)
}
\arguments{
\item{theta}{The estimated raw theta}
}
\value{
The cleaned-up membership matrix.
}
\description{
Clean up memb... |
e0427078ac613e588959c82942dd4115d2c06754 | 3191f9ae5e1a31cdb3eef7866ea6300ad276db1e | /w2_project.R | 4374f313c050a4a951b552053b537dbc96f19e1a | [] | no_license | adityatibrewal-2803/RepData_PeerAssessment1 | fa2c5490fcf374078d9be82ad292912d09c1cee3 | 64e8b82e9b85d9135e28d3410b2db4a4c33a2c36 | refs/heads/master | 2021-08-07T09:29:20.600324 | 2017-11-08T00:17:10 | 2017-11-08T00:17:10 | 109,666,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,401 | r | w2_project.R | # Setting the working directory
setwd("C:\\00-AdityaTibrewal\\OneDrive\\Study Mtrl\\Data Science\\Coursera\\Reproducible Analysis\\W2\\Peer Project\\RepData_PeerAssessment1")
# Loading libraries
library(dplyr)
library(ggplot2)
# File reading and pre-processing
activity = read.csv(unzip("activity.zip"), na.strings = "... |
337556ca29a3c2bc8b7465bd056ec8ee1e3499d3 | 93d1fcc7758e5e99927be0529fb9d681db71e70c | /R/ma_d_bb.R | 0ca847b8a13374d508766d5da181e52a61b95cd6 | [] | no_license | psychmeta/psychmeta | ef4319169102b43fd87caacd9881014762939e33 | b790fac3f2a4da43ee743d06de51b7005214e279 | refs/heads/master | 2023-08-17T20:42:48.778862 | 2023-08-14T01:22:19 | 2023-08-14T01:22:19 | 100,509,679 | 37 | 15 | null | 2023-08-14T01:06:53 | 2017-08-16T16:23:28 | R | UTF-8 | R | false | false | 15,306 | r | ma_d_bb.R | #' @rdname ma_d
#' @export
#' @import dplyr
#' @aliases ma_d_barebones
ma_d_bb <- ma_d_barebones <- function(d, n1, n2 = rep(NA, length(d)), n_adj = NULL, sample_id = NULL, citekey = NULL,
wt_type = c("n_effective", "sample_size", "inv_var_mean", "inv_var_sample",
... |
a49562e91f1f4a6b55ac08a04d966951418d6210 | dc5db82837fc638aee83c3f9d28f9b10b696e977 | /ComplementaryScripts/AnalysisPipeline_mainScript.R | d7db2874821d0fc4d21e289eb7fca95bd7e98c89 | [
"MIT"
] | permissive | Philipgdv/OrthOmics | 043c9bfad7687a63efdb87d3ace63718339abf00 | 8d899531a6278dff53d82d5fe631e1e83cf3b2d2 | refs/heads/master | 2022-04-27T14:11:52.133257 | 2020-03-04T16:43:03 | 2020-03-04T16:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,670 | r | AnalysisPipeline_mainScript.R | #AnalysisPipeline_mainScript
#
#Function that performs differential expression analysis on proteomics absolute and relative) nd RNAseq datasets
#for the datasets in the CHASSY project (fermentations for S. cerevisiae, K. marxianus and Y. lipolytica exposed
#reference, high temperature, low pH and osmotic stress condit... |
5365290b1eb5d714b97c32606feed950c7b56ce7 | 2d32eae4ce79f0764e7ee7b00a011bf89e53c3fa | /vignettes/binary_models.R | 089213098fad9c3cbe4231a70bf955c3cb2aab25 | [] | no_license | Ax3man/phylopath | 3285615b8fa6ebaca9a1e688c901df43532864a5 | edec26041a3983915bb6d02b361f3fc147500745 | refs/heads/master | 2023-04-13T03:22:07.610911 | 2023-04-04T17:56:49 | 2023-04-04T17:56:49 | 65,209,538 | 12 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,216 | r | binary_models.R | ## ----define_models, fig.align='center', fig.width=10, fig.height=8, out.height="600px", fig.dpi = 600----
library(phylopath)
models <- define_model_set(
A = c(C~M+D),
B = c(C~D),
C = c(C~D, P~M),
D = c(C~D, M~P, G~P),
E = c(C~D, P~M, G~P),
F = c(C~D, P~M+G),
G = c(C~D, M~P, P~G),
H = c(C~D, M~P),
I... |
38a1d0f4c2df205eff471ba635383b28735c8237 | 52eb5c068b2f73adb9a2aedc619a7dac58279bcb | /cachematrix.R | fe4a18997dbb86464f7e5837cd6c2c0aa5c1f140 | [] | no_license | bdoherty1420/ProgrammingAssignment2 | ba445511676c69fa0f45e81e7b2fdfc159d51d71 | 0cf3fd2ebec4f1a51256518b45f308c093fe34ca | refs/heads/master | 2021-01-17T20:29:46.428795 | 2015-01-25T11:04:01 | 2015-01-25T11:04:01 | 29,810,490 | 0 | 0 | null | 2015-01-25T10:30:25 | 2015-01-25T10:30:25 | null | UTF-8 | R | false | false | 1,340 | r | cachematrix.R | ## These functions have the ability to cache the inversion of a matrix in order to
## save time running this computation for large matrices
## This function creates as special "matrix" that contains a function to:
## 1. set the value of the matrix 2. get the value of the matrix
## 3. set the value of the inverted matr... |
8971b776c0aa656280ac3b376fb797baef4ce35c | 20cb60e2bc3d8d8b39b179aecdb1f33797e797ee | /week4/classification.R | b43ba7ad78bf988c36c222a07b2aa644aa165606 | [] | no_license | esm2000/coursework | 2b5aebc55b1ace49fa541c5993ead9202871a648 | ee33e0ca1f1a5a2c80883f48846716204eca7ed3 | refs/heads/master | 2020-06-03T03:14:42.404691 | 2019-07-07T05:56:38 | 2019-07-07T05:56:38 | 191,412,586 | 0 | 0 | null | 2019-06-11T16:46:01 | 2019-06-11T16:46:00 | null | UTF-8 | R | false | false | 3,282 | r | classification.R | library(tidyverse)
library(scales)
library(ElemStatLearn) # spam dataset
library(e1071) # Naive Bayes implementation
library(ROCR) # evaluation metrics
theme_set(theme_bw())
str(spam)
summary(spam)
set.seed(42) # reproducible results
# Clever way to split the data into training and testing data
# Val... |
60f25aedf7b93a9873a429f924b288f5a3944b83 | 8c76eab8a05f535586d342c2d08ba9edd5261933 | /RyS_NBA.R | a8b22eeaa3c630065cbafd11b4686e51aaadbd38 | [] | no_license | martaruedas/practicas_prediccionMR | 295744b4a289a9071f694c50b809076268a467d1 | 208708fe21d28dbc451b77a5132e485150d0cd86 | refs/heads/main | 2023-01-14T17:32:25.302773 | 2020-11-23T21:54:11 | 2020-11-23T21:54:11 | 308,153,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,849 | r | RyS_NBA.R |
#---------------------------------------------------------------------------------------------------
#------------------------------------ REGRESIÓN Y SALARIOS NBA -------------------------------------
#------------------------------------- PREDICCIÓN (2020/2021) --------------------------------------
#---- 28/10/202... |
5a29db8026704f9a40835ac085f22198d9c82049 | 6f21d1b8365183e5708be7e71c003a0d2fc0d3b8 | /man/CueCountingExample.Rd | 1d5f801ee129289e4d18888d3f606300128e6019 | [] | no_license | cran/Distance | d2700127a013bf8bc5b0d362f6c2f04aacf22020 | 4755df1c9a2ae2e7225b140097449f2db5ccb554 | refs/heads/master | 2023-07-24T23:16:56.004912 | 2023-07-17T11:30:02 | 2023-07-17T12:56:55 | 17,678,843 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,951 | rd | CueCountingExample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dsdata.R
\docType{data}
\name{CueCountingExample}
\alias{CueCountingExample}
\alias{CueCountingExample_units}
\title{Cue counts of whale blows}
\format{
A \code{data.frame} with 109 rows and 15 variables.
\itemize{
\item `Region.Lab... |
42db6aea00c1623abc44bf3705fa734c178ea02b | 11d8fbce4f2c9a45a1fa68d0a00919d6a063cba7 | /Data-Science/3_Getting_and_Cleaning_Data/Lecture/Week_1/Examples/Reading Local Files.R | 48e5384baaf2bc9fc0ff1a4be464f75d39ada322 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | shanky0507/Coursera-John-Hopkins | e03c9c8234ff634a047aaf0aea9912c8b96358bd | 1b555bf9d3aaef3bfdd5d4bcd0e3b5c0e734cf66 | refs/heads/master | 2020-08-12T06:42:10.942297 | 2019-10-12T20:08:52 | 2019-10-12T20:08:52 | 214,708,337 | 0 | 0 | MIT | 2019-10-12T20:06:29 | 2019-10-12T20:06:28 | null | UTF-8 | R | false | false | 392 | r | Reading Local Files.R |
if (!file.exists("data")) {
dir.create("data")
}
fileUrl <- "https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD"
download.file(fileUrl, destfile = "cameras.csv")
dateDownloaded <- date()
dateDownloaded
cameraData <- read.table("./data/cameras.csv", sep = ",", header = TRUE)
head(came... |
e4f180a339ba5a346afbe6acef2574ad90822f7d | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.security.identity/man/iam_delete_server_certificate.Rd | 16da89c42b51b46ca57e1e75a3f433336664e933 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,884 | rd | iam_delete_server_certificate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iam_operations.R
\name{iam_delete_server_certificate}
\alias{iam_delete_server_certificate}
\title{Deletes the specified server certificate}
\usage{
iam_delete_server_certificate(ServerCertificateName)
}
\arguments{
\item{ServerCertificateNam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.