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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5de30ef9cc39833600c2f9114327f0d57b36b17a | abaa167322f05f70b5cde591c438ffdb8e679dba | /180425_B3_pop_analysis.R | 83a1edebfb3b671106a8a9e08f635a04955df637 | [] | no_license | KatrinaHarris23/PALTEanalysis | e305b981fb27b2b8dfdcfeba8990730400080823 | d14084d32be5afa622d9e2e5bc4d732b168d80ef | refs/heads/master | 2021-06-03T10:54:41.597406 | 2021-05-24T14:30:30 | 2021-05-24T14:30:30 | 141,172,636 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 26,550 | r | 180425_B3_pop_analysis.R | #this is the B3 population of the LTE that I am trying to automate the analysis of
#The input for this script is a csv file of a breseq output. Can use the breseq_cat script that nate/Chris Dietrick made to get an excel file. You do have to do a little bit of manipulation on this file in excel first, described in comm... |
c220db1d3a207355c2833e5b1c39e48b0db09fe0 | b7842eb8030790f4014f1980d1d924278567e721 | /modelo_cdmx_20200317_helpers.R | 12d20ff737436edf6734874e95698b0c7b230556 | [] | no_license | guillermodeandajauregui/ncov-wuhan-stochastic-model | 9fc676ca06b1c5867608e2dc87e55399fb4b1d90 | bcc0d279400b5c1653323ff752b5d00a94dce1a3 | refs/heads/master | 2021-03-31T06:02:15.110876 | 2020-03-18T02:33:21 | 2020-03-18T02:33:21 | 248,083,866 | 0 | 0 | null | 2020-03-17T22:16:38 | 2020-03-17T22:16:38 | null | UTF-8 | R | false | false | 2,094 | r | modelo_cdmx_20200317_helpers.R | xxx <- vroom::vroom("data/Tabla_casos_positivos_resultado_InDRE_2020.03.16-Table-1-2.csv")
xxx %>%
mutate(date = lubridate::dmy(`Fecha de Inicio de síntomas`)) %>%
group_by(date) %>%
tally(name = "cases") %>%
drop_na() %>%
vroom::vroom_write(path = "mx.datecases.2020.03.16.tsv")
xxx %>%
mutate(date ... |
d9126307bc5af8e6322dcbb1f560535841468cbc | cddbd03d7beaf8ccf20ee6554770679c2d8eaa34 | /R/Rene/test_new_code.R | e0a2ff60cd5f99018d553e449f574109ff32b80c | [] | no_license | RWardenaar/aneufinder | c920c72b6d4bedb16d7bbcc25fc8c627bc2c5182 | 9a23b77624be7eaec21398caf7d0a554958ba769 | refs/heads/master | 2020-04-11T08:35:16.049455 | 2019-03-07T16:42:03 | 2019-03-07T16:42:03 | 161,648,604 | 0 | 0 | null | 2018-12-13T14:12:19 | 2018-12-13T14:12:19 | null | UTF-8 | R | false | false | 32,304 | r | test_new_code.R |
# =====================================================================================================================
# test new code
# =====================================================================================================================
# Organizati... |
f372300ae06de1b9bf641eef881fb19b426d603b | 0a906cf8b1b7da2aea87de958e3662870df49727 | /borrowr/inst/testfiles/matchesToCor/libFuzzer_matchesToCor/matchesToCor_valgrind_files/1609957749-test.R | f0ab5e10a3c0d790d82806c7aa21116247dae74a | [] | 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 | 422 | r | 1609957749-test.R | testlist <- list(x = structure(c(4.55669484873935e-305, 6.41012488536059e-310, 7.21408662741556e-229, 5.9233691322999e-304, 3.5121263843364e-309, 4.77783808228084e-299, 4.51013743332069e-309, 7.29023199001299e-304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... |
3534fcd2325ba847db20ae61b75898656968bead | 0992959415ff5a276476910a8419040f655b9247 | /Sales.R | 3b929cbfcad8131396cdec542ed45f3e3dff3d0a | [] | no_license | matej-s/Sales | 339a254e27f16cd40de56ac57c8f2418df32eb9b | 839123640e4eeda1b27629ea78c4a23c42513b6e | refs/heads/main | 2023-02-11T21:24:52.634903 | 2020-12-18T08:25:21 | 2020-12-18T08:25:21 | 312,060,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 48,877 | r | Sales.R | #' ## 1 Introduction
#'
#' The aim of the project is to develop a system that predicts
#' the success of sales by using existing company sales data.
#'
#' ## 2 Method and Analysis
#' ### 2.1 Download Data and Generate Data Sets
# to find total processing time
startTime_ALL_2 <- Sys.time()
# Inst... |
940d22f65479ab5142b050d2f24a890f128c6c8e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LearnGeom/examples/Homothety.Rd.R | 0b64ee366a41953229b22ab863f0ba6760798ff0 | [] | 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 | 529 | r | Homothety.Rd.R | library(LearnGeom)
### Name: Homothety
### Title: Creates an homothety from a given polygon
### Aliases: Homothety
### ** Examples
x_min <- -2
x_max <- 6
y_min <- -3
y_max <- 5
CoordinatePlane(x_min, x_max, y_min, y_max)
P1 <- c(0,0)
P2 <- c(1,1)
P3 <- c(2,0)
Poly <- CreatePolygon(P1, P2, P3)
Draw(Poly, "blue")
C ... |
86846ba0159b0a43988798921fdeb71690ec70ab | ccd06ad4d52aec1366f03d2d73a95f4bfaed328e | /F0101-BvZINB4.test.R | eed1e8f7846aad7329bb6dd45580ae2425f2877d | [] | no_license | Hunyong/SCdep | 7e2fd15fec411108f811f6ef39cf9dd5678736d5 | fa1184fc9291aa0b5113122cb2d2760d9de28945 | refs/heads/master | 2021-01-23T00:48:40.483227 | 2019-01-04T02:33:34 | 2019-01-04T02:33:34 | 92,848,572 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,575 | r | F0101-BvZINB4.test.R | library(tidyverse)
#### basis functions ####
H0 <- function(k, m, a0, a1, a2, b1, b2, x, y) {
gamma(a1 + k) * gamma(k+1)^-1 * gamma(a1)^-1 * gamma(x + y + a0 -m -k) *
gamma(x - k +1)^-1 * gamma(a0 + y - m)^-1 *
b1^x * b2^y * (b1 + b2 + 1)^(k + m - x - y -a0) *
(b1 + 1)^-(k + a1) * (b2 + 1)^-(... |
035f135e5db35bb2acc5d4cc2dc0ceaba39f759c | 85b2acb2cfbd82733cdac4647a875e54b1f9a031 | /pollutantmean.r | a856070817cfec96c95fb4337e4c4a475887ca0b | [] | no_license | vacuoyoung/Data-Science-Learning | 77ba3b867260721b36d10175f072f6dba7ecf6dc | 21cb2242752dc95dea9d54d95efebf0d2761ee27 | refs/heads/master | 2020-05-31T22:39:15.351591 | 2019-08-04T10:20:30 | 2019-08-04T10:20:30 | 190,525,010 | 0 | 1 | null | 2019-06-23T16:44:41 | 2019-06-06T06:14:32 | null | UTF-8 | R | false | false | 764 | r | pollutantmean.r | #R Programming Week2-Assignment 1
#main function
pollutantmean<-function(directory,pollutant,id=1:332){
#now get the single point data
PMS<-function(directory,pollutant,id){
if(id<10){
FN<-paste("00",id,".csv",sep = "")
}
else if(id<100){
FN<-paste("0",i... |
76fa195e8667d0d62b72160acbf91272dcfddaa8 | d7fe441cd0c9732484f12ef307d3ea8a6f6c78f9 | /Fit_Vecchia_Model.R | 1a4f2fc6b44011d2333beb001fca3ce6c658d98f | [] | no_license | SebastienCoube/Palourdes | 7baf940aadac957dcac388d119b63ffcbe8e5df9 | 3873893eae5143de240287b905acc7eee5312183 | refs/heads/master | 2020-12-26T07:55:28.608120 | 2020-02-14T14:46:48 | 2020-02-14T14:46:48 | 237,439,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,618 | r | Fit_Vecchia_Model.R | ####################
# fit_vecchia_mcmc #
####################
### Desciption # ###
# Function that fits the Nearest Neighbor Gaussian Process using
# delayed acceptance
# chromatic sampling
# parallel chains in order to improve convergence diagnostic
# automatic kernel variance adjustment and log-parametrize... |
7a8316f1c4c26ad9e5beb3c7d8ebb8a329ed4316 | fd21442b4e2a67a6b621f4bf0f33591f0f546512 | /violations.R | 4d54a716ab234e7f29b527a889471ff6337770a8 | [] | no_license | bethsecor/code-for-america | b4f54acc735f0e8eda5361563a0ba9bbd54e2b7f | ea166a5ef53c0b15d265e0fb85aed05420fc524f | refs/heads/master | 2021-01-19T04:29:52.648365 | 2016-07-07T00:03:46 | 2016-07-07T00:03:46 | 62,761,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 940 | r | violations.R | violations.data <- read.csv("/Users/elizabethsecor/Documents/code-for-america/Violations-2012.csv", header=TRUE)
violations.data$violation_date <- as.Date(violations.data$violation_date)
results <- matrix(NA, 9, 4)
colnames(results) <- c("Category", "Number of Violations", "Earliest Violation Date", "Latest Violation ... |
bf4cf576c26a18eb2d16c543c92f9b858256eace | 92e597e4ffc9b52cfb6b512734fb10c255543d26 | /man/mainClass.Rd | d3afa41210badf370f2f2beb490d91973f6a5fcc | [
"MIT"
] | permissive | KWB-R/kwb.utils | 3b978dba2a86a01d3c11fee1fbcb965dd15a710d | 0930eaeb9303cd9359892c1403226a73060eed5b | refs/heads/master | 2023-05-12T15:26:14.529039 | 2023-04-21T04:28:29 | 2023-04-21T04:28:29 | 60,531,844 | 9 | 1 | MIT | 2023-04-21T04:28:30 | 2016-06-06T13:52:43 | R | UTF-8 | R | false | true | 442 | rd | mainClass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mainClass.R
\name{mainClass}
\alias{mainClass}
\title{Main Class of an Object}
\usage{
mainClass(x)
}
\arguments{
\item{x}{any R object}
}
\value{
name of main class of \code{x} (vector of character of length one)
}
\description{
Returns the ... |
95d5013a8a140536efd3238ecd37d66ddff81628 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkToggleButtonSetMode.Rd | 4762ac2574b1922ee8f481b4166cd499d7d5357f | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 899 | rd | gtkToggleButtonSetMode.Rd | \alias{gtkToggleButtonSetMode}
\name{gtkToggleButtonSetMode}
\title{gtkToggleButtonSetMode}
\description{Sets whether the button is displayed as a separate indicator and label.
You can call this function on a checkbutton or a radiobutton with
\code{draw.indicator} = \code{FALSE} to make the button look like a normal bu... |
037e928f01a930974140acc0c439a3c254262ab3 | 7c46e33aba1307a27da5fd1c37356d6849ed0357 | /read_data.R | 7c094db911667eb1e5d923d7093022c4f022def0 | [] | no_license | wmeler/ExData_Plotting1 | 6e53c177db9928d7921c61f35e239aa4f115c681 | e2560d2c02e7b779ad3f7c252313d436181afa0b | refs/heads/master | 2021-01-15T09:09:25.370644 | 2014-11-09T13:52:34 | 2014-11-09T13:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 295 | r | read_data.R | library(dplyr)
epc <- read.csv2("../household_power_consumption.txt", na.strings="?", stringsAsFactors=FALSE)
data <- tbl_df(epc) %>%
filter(Date=="1/2/2007" | Date=="2/2/2007") %>%
mutate(datetime = as.POSIXct(strptime(paste(Date, Time, sep=" "), format="%d/%m/%Y %H:%M:%S")))
rm("epc")
|
4e1bd2b055f61337c580061222a89fb45435eb49 | d063f29f26575dcbc658c79fc8d1fd264d81b2f4 | /clustering/test.R | 478a20d2d4e58b76891b36ed495ed6c864369add | [
"MIT"
] | permissive | jiahao95/hypertension_clustering | 81a2f479f0d71b99e85cfdec450b4462adc21ea6 | db26ebb5e763681dfad910b42a441bffd99868f7 | refs/heads/main | 2023-04-01T22:23:56.592164 | 2021-04-17T07:53:08 | 2021-04-17T07:53:08 | 352,771,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,401 | r | test.R | # setRepositories()
# check packages installed installed.packages()[1:8,]
# get library path .libPaths()
# append new libarry to the existing one .libPaths( c( .libPaths(), "/sc/arion/projects/rg_HPIMS/user/jiahao01/anaconda3/envs/r_env/lib/R/library") )
# Sys.getenv()[ grep("LIB|PATH", names(Sys.getenv())) ]
# R_LIBS... |
97749b65c8c884f3cff53fabe659bc0190e6b8d5 | 8be29ea4c080f939a73b868c80218e0792be4a65 | /man/mass_and_order.Rd | 3089e5682173e6021f8bfb659a751769b3c30d97 | [] | no_license | econtijoch/FaithLabTools | 5ebe7ea3dcadcdd6d4169a368e832e8f04d94c99 | e315a8f285b9ebaa2d338df04771b7b7d4dc9a35 | refs/heads/master | 2022-07-20T08:48:56.768749 | 2020-03-04T03:05:42 | 2020-03-04T03:05:42 | 126,224,736 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,141 | rd | mass_and_order.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mass_and_order.R
\name{mass_and_order}
\alias{mass_and_order}
\title{Generate sample mass and final order of tubes. Will attempt to identify BarcodeID (length 29 generated sample description) and TubeBarcodes (length 10 number found on the Ma... |
ad81694baf9311986d4532a6a10af144e6e3c909 | 65c5d93eec90e7e6d9b761347db40ba29cc0119d | /run_analysis.R | 3c0a1416d17e7dbd0e6875b53599ca150f282ac2 | [] | no_license | jorgeiglopez/tidyDataAssignment | 2a84e958032832edfb08a254c8e0c167d7a1884b | 4c932face8382d7681e69fba1729e2ed82571c17 | refs/heads/master | 2021-05-12T02:21:34.066526 | 2018-01-16T12:07:45 | 2018-01-16T12:07:45 | 117,586,321 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,815 | r | run_analysis.R | ## Configuration of working directory
## setwd("./coursera-wd") << put your own wd, where the files are.
## Importe the libraries that we're gonna use
library(dplyr)
library(reshape2)
## Check if we have all the files we need.
featuresExist <- file.exists("UCI HAR Dataset/features.txt")
activitiesExist <- file.exist... |
ac51eb2a4ecd9606b8ab20e960acc3a395deed1e | c32c54f47c35737ea4ba3a026c81b594fd02b1cf | /R/naToZeroFunction.R | 8fc4b608e06dc02d7143cafcc36a3f50b9e04fb8 | [] | no_license | quinnpertuit/rDailyFantasy | cd46596122d979b5c389d67b19bc354109fa0722 | fb00d802573c855f58d5b7b4d84f96d6724a66a6 | refs/heads/master | 2022-10-24T06:04:42.025973 | 2020-01-11T15:12:36 | 2020-01-11T15:12:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 194 | r | naToZeroFunction.R | #' NAs to 0 function
#'
#' @param x anything to replace NAs with
#'
#' @return no NA Dataframe x
#' @export
#'
#' @examples na.zero(x)
na.zero <- function (x) {
x[is.na(x)] <- 0
return(x)
}
|
6654747ae5131929f580332929d41eaa70cf298a | 7610db967cf364d632ed688930d3db13a1e779bd | /Big Mart/Mega Random Forest.R | 83aa9670683876836a26b55dcc845aae7fda71e5 | [] | no_license | Prbn/Big-mart-Sales-Practice-Problem | ab79f6edb05625ff5469716f013bb756c9c7a084 | 8851f5c9c3cb6620224bccc6b151d289f053b699 | refs/heads/master | 2021-05-14T16:18:32.728712 | 2018-01-02T13:20:02 | 2018-01-02T13:20:02 | 116,017,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,954 | r | Mega Random Forest.R |
# Mega RANDOM FOREST REGRESSION #
#===============================#
# Setting up training and test data
trainA <- Train.Results[c('Item_Outlet_Sales','Overall_Mean_Sales','Outlet_Mean_Sales','Item_Mean_Sales','Mlinearmodel','OptimalMlinearmodel','SVMRegression','DecisionRegression','RandomForestRegression2')]
testA... |
a511108cbad6e2566e20bfddd7b7d54831629304 | 2e19633c231d7be84c6ad0115ac166740749b2f2 | /run_analysis.R | 64f7527c2bd7c4b2199e9c958a80c44f74ca03f0 | [] | no_license | gmcgarvin/GettingCleaningFinal | 1f0c2297cd4c3e3e5f28eabb743c355cb2c2b53a | a183377771e6448122e1cb74bbfa444f455c99f5 | refs/heads/master | 2021-01-19T13:31:39.809869 | 2017-04-12T23:32:37 | 2017-04-12T23:32:37 | 88,097,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,491 | r | run_analysis.R | ## Gerald.McGarvin@hotmail.com
## Getting and Cleaning Data Course Project
## modify the setwd statement below as needed for your environment:
## copy this file to the setwd location.
## To run this scriptin RStudio: source("./final_assignment.R")
setwd("C:/Users/F/Documents/Personal/Interests/Training/JHU_Data_Scien... |
0c0b31d4a995060cd7a8dea159593cfdd9a5e1be | 79b5bb6f63870f25b36976565814ad39348b478a | /shooting.r | 5e28ea7bc4a78a19e23f6337976656756d55a2e4 | [] | no_license | akirilov/cse446 | b296bf8ab02d35595804013b125c1da9c1bd1e2c | af14cd7027461ba06da4ab04c626b02369d86f6b | refs/heads/master | 2020-03-30T01:19:03.647130 | 2013-06-10T13:18:26 | 2013-06-10T13:18:26 | 10,236,743 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,767 | r | shooting.r | # Define SOFT function
soft = function(a, d)
{
sign(a) * max((abs(a) - d), 0)
}
# Define LASSO function
shooting = function(lambda, X, Y)
{
# Threshold of convergence
epsilon = 1e-6
# Scale (working this part out)
Y.orig = Y
X.orig = X
X = scale(X, scale=FALSE)
Y = scale(Y, scale=FALSE)
# Initi... |
875eb829692105cbf91fb5efdb589b979510e5c8 | c51347680754745733293e00aacf7b633334c1fc | /R/plot.yplocation.R | 63867c6a29945634e03f969b169b6de475958cce | [] | no_license | cran/YplantQMC | 771c341d00e410a0e61dbdadc02af8866d5cd198 | dc62bfc247ba9d6dd92498e8afa00d511a36e00e | refs/heads/master | 2021-01-21T21:47:33.241377 | 2016-05-23T06:34:50 | 2016-05-23T06:34:50 | 17,694,152 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 239 | r | plot.yplocation.R | #'@method plot yplocation
#'@S3method plot yplocation
#'@importFrom maps map
plot.yplocation <- function(x, add=FALSE, col="black", ...){
if(!add)map('world', col=col, ...)
points(x$long, x$lat, pch=19, col="red", cex=1.1)
}
|
4ce9b2a6895d9e82a279f8eecb9cb1142894e844 | 0a0b89d070e515f6c4bd13a9d29f0e83197c6690 | /R/Lecture1MimicYourBrowser/Example1_MimicGetMethod.R | 594d5094d49d8e30313a3a09d90c24da976681e0 | [] | no_license | platoyowl/crawler101-yotta | 49d18123f88333786fcbaabdbddcff37ea4e1842 | e5b461fa69240bc930595f4dff40276c9cd9fd8a | refs/heads/master | 2020-06-18T12:57:50.626564 | 2018-04-27T13:23:59 | 2018-04-27T13:24:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 386 | r | Example1_MimicGetMethod.R | library(httr)
url = "http://ecshweb.pchome.com.tw/search/v3.3/all/results?q=sony&page=1&sort=rnk/dc"
res = GET(url)
res
content(res,as = "raw")
content(res,as = "text")
content(res)
library(magrittr)
res %>%
content %>%
.$prods %>%
do.call(rbind,.) %>%
as.data.frame()
df = res %>%
content %>%
.$... |
0851b054f60adafc5d99c5a7d533aed9d96a48be | f42171db8d60b05629790e47560a6f237d285a3b | /R/run-2Locus-determSims.R | fdd1f83934962b1eb891b4d228597da65ec256b6 | [
"MIT"
] | permissive | colin-olito/inversionSize-ProtoSexChrom | 9f0e3e8d3caf1824abce9811c81af7d9e787f1c4 | a28f3661eff1e4e621774e330dd057ea81f58755 | refs/heads/master | 2023-04-06T21:09:00.834863 | 2023-02-07T13:42:28 | 2023-02-07T13:42:28 | 251,228,015 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,683 | r | run-2Locus-determSims.R | ################################################################
# RUN Deterministic Simulations for FIG.2
#
# R code for deterministic forward simulations. Generates
# output data as .csv files saved to ./output/data/simResults/SA/
#
#
# Author: Colin Olito
#
# NOTES:
#
#####################
## Dependen... |
edd131201d034c3c91fe30e23c8f8760e8411bd1 | 7f2c9d01bfb23d4446a9241ac57613175015e471 | /Etapa_2/Lesson_3/Reto_1.R | 8a886a4eec6c83bf1acd118630232430efdfc844 | [] | no_license | AnaNava1996/BEDU-Banco-Santander-3-caminos-Data-Analytics | ce462e18fe254231b52c7a6bf631a07f74961b38 | cf7d3dc74376a433505e3986c9572250f4ab8812 | refs/heads/master | 2023-02-23T11:36:41.753840 | 2021-01-31T02:01:36 | 2021-01-31T02:01:36 | 308,101,201 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 772 | r | Reto_1.R | #Carga el data set BD_Altura_Alunos.csv
data_set <- read.csv("/home/ana/Desktop/BEDU/BEDU-Banco-Santander-3-caminos-Data-Analytics/Etapa_2/Lesson_3/Reto-01/BD_Altura_Alunos.csv", sep=";")
#Realiza el histograma con la función hist(), nativa de R
head(data_set)
#realizando el histograma con la función hist()
hist(dat... |
7d27775659a69503acc4232ea012384736f6d81f | a41bd0086c12624bff1fd6661d140075f87d5229 | /R/qq.R | 53c5b719eba5c64511457bc765f50a968308d1a6 | [] | no_license | cran/regclass | e0e019d36dbc15d05fda4965e0dc26ff5cf1ffc1 | 548f2ed1dc66fbf1a58b86f9ada26f9da05483c4 | refs/heads/master | 2021-01-11T23:18:12.857264 | 2020-02-21T17:00:07 | 2020-02-21T17:00:07 | 78,563,828 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 996 | r | qq.R | qq <-
function(x,ax=NA,leg=NA,cex.leg=0.8) {
if (! ( head(class(x),1) %in% c("integer","numeric") ) ) { stop(paste("Error: only allows numeric variables. You passed a",class(x))) }
if(is.na(ax)) { x.label <- deparse(substitute(x)) } else { x.label <- ax }
x <- sort(x)
n <- length(x)
P <- ppoints(n)
z <- ... |
07271e01d5f701a9c5101c5db91b04a9e19576ff | 5ab37442ba2d651fb08e9e04f0dbc89d82fb91a9 | /homework 1- Text Mining - Similarites/HW1_preprocess.r | 1e075c4165123df69f882da653d4c664b21fbd1b | [] | no_license | Weerdhawal/Spatial-and-Temporal-Data-Mining | 4a0d7034c545e33f9a0a6defde2ae60982971657 | 5f18d1b215dcb539e0fe4c662c027773f536ad9f | refs/heads/master | 2020-03-11T17:37:20.964190 | 2018-04-19T04:29:18 | 2018-04-19T04:29:18 | 130,152,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,439 | r | HW1_preprocess.r | #install read text adn quanteda
library(ggplot2)
library(reshape2)
require(tm)
require(SnowballC)
require(reshape2)
require(ggplot2)
library(tm)
library(gplots)
library(RColorBrewer)
library(wordcloud)
library(proxy)
#load the corpus
all <- Corpus(DirSource("I:\\Masters\\SPRING 18\\SPATIAL AND TEMPORAL\\spatial\\hom... |
42b27e97aba243a56f3f7d882541b94ca67e23c4 | 07da3b195428c02f30907665be497e05460c79fd | /libraryimporttest.R | deddf0cb93e675de492e43f32bf3224832b69b5b | [] | no_license | CyanHeTest/Insights0303 | 575412b16449c7f717393f5ceb70a1e2e8fa43ca | 5d74856d7108da9ed7ec20e6186078075626228d | refs/heads/master | 2023-03-14T11:16:39.535471 | 2021-03-03T06:51:11 | 2021-03-03T06:51:11 | 344,028,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 402 | r | libraryimporttest.R | library(DBI)
message(packageVersion("DBI"))
#library(Ggplot2)
#packageVersion("ggplot2")
#library(BioConductor)
#message(packageVersion("bioconductor"))
library(Shiny)
message(packageVersion("shiny"))
library(Lubridate)
message(packageVersion("lubridate"))
library(Knitr)
message(packageVersion("knitr"))
library(Mlr)
me... |
fc2eb2b422bc706fc1d5f04ed6df374e5450c8a7 | a780373151d932f841e17eed14614b949cc248b6 | /SEM_script_ArrowtoothFlounder.R | 59690a67a2e04abd13bf760383f60e02685db281 | [] | no_license | NCEAS/dmx-linkages | 56816c309aaa08277670faacec3ecabafcf08a52 | d79983fbfba8cb86280da0c93a64c2cccb1c866f | refs/heads/master | 2020-12-25T17:14:32.804002 | 2016-09-22T21:06:19 | 2016-09-22T21:06:19 | 39,415,949 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 31,902 | r | SEM_script_ArrowtoothFlounder.R | # Communities of Practice
# Structural Equation Modelling Script
# Arrowtooth Flounder case study
# Colette Ward 23 Jan 2016
################################################################
library(plyr)
library(dplyr)
library(lavaan)
library(AICcmodavg)
library(psych)
# call the data assembly script
#source("commP... |
9093c237faaa65d84b9f02ac879e3c562f5b81c6 | 37493450800f7ca3c3a9454fd546e0c62d1e2302 | /src/CleanPredict.R | 175d700aabcf265e746df072efaa691b1986e617 | [
"MIT"
] | permissive | FoolBridgeRectifier/Predict-Future-Sales | eafe0686df4d78e873ce9c42ea9a27fdb8c09f1c | baa39826fc1baab9946149ad4370fadef85a05f4 | refs/heads/master | 2021-02-25T19:25:23.966144 | 2020-03-06T16:01:38 | 2020-03-06T16:01:38 | 245,461,149 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,950 | r | CleanPredict.R | library(ggplot2)
library(dplyr)
# rm(list = ls())
shop = read.csv("shops.csv")
item = read.csv("items.csv")
sales = read.csv("sales_train_v2.csv")
cat = read.csv("item_categories.csv")
# Merging Datasets
out=merge(sales,item,by="item_id")
out=select(out,-c(item_name))
# Eliminating Missing Values
out=out[o... |
cd7077be2b075c4a78cf4edff30bfb45e8910302 | 6100369c1e847c6cc16875ab919e8e22868b1094 | /man/NumWordsRulesExtractor.Rd | 3cfbb9b439f9b1da1c1111a1a5733b4d02448eb4 | [
"Apache-2.0"
] | permissive | mannau/boilerpipeR | 47956f44d470c6dbb574530c4f0fe4d81daa8aea | 5cbc092cac7717a776bef1b54d3021959c4bcc7b | refs/heads/master | 2021-06-04T04:48:57.487486 | 2021-05-19T09:05:01 | 2021-05-19T09:05:01 | 15,524,787 | 22 | 2 | null | null | null | null | UTF-8 | R | false | true | 744 | rd | NumWordsRulesExtractor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Extractor.R
\name{NumWordsRulesExtractor}
\alias{NumWordsRulesExtractor}
\title{A quite generic full-text extractor solely based upon the number of words per block (the current, the previous and the next block).}
\usage{
NumWordsRulesExtracto... |
1f0beb5c51765097747c2e6c3108dd05910cfaa1 | 78e288ddbd2db83437def953c09765401751746e | /results_visualisation/rucs_align.R | 072cbb9d52af2f6c893093aab4bba1a3e400969c | [] | no_license | karelbilek/CzeRusT | d09ddb09ca550695e2276148bd6aee2af967398b | 9a62772802d183695e6b58cb4d2a01ed31beba90 | refs/heads/master | 2021-05-28T02:29:53.827487 | 2014-05-24T15:56:59 | 2014-05-24T15:56:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 283 | r | rucs_align.R | png("rucs_align.png")
BLEU<-c(12.23, 12.25, 12.34, 12.3, 12.64, 12.23)
OOV<-c(1.8, 1.4, 1.6, 1.7, 1.8, 1.9)
natpisi<-c("lemma", "stem3", "stem4", "stem5", "stem6", "stem7")
plot(BLEU,OOV, xlim=c(12,13), ylim=c(1,2), ylab="OOV (in percents)")
text(BLEU, OOV, natpisi, pos=4)
dev.off() |
f2f5c771222bba0fa936b50c43c3aafdb3cbf3f4 | f1190d86024c592454befe549429123891445749 | /Plants/Curves_Light_ACi_MesoExpt2013.R | 56312f9df2ed5396feace224a534d47b629d4386 | [] | no_license | reblake/MesoExpt2013 | 2a3f0b9782a7eb351edf939630dc4d03e2d32ddd | a3e03c27ae805b4e4a68ee884623e9c695bc371e | refs/heads/master | 2022-06-13T01:06:39.835122 | 2022-06-07T19:08:14 | 2022-06-07T19:08:14 | 43,384,020 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 960 | r | Curves_Light_ACi_MesoExpt2013.R | ######################################################
### Light and A-Ci Curves
### Meso Expt 2013
### Script by Rachael Blake, May 2016
######################################################
# Load libraries
library(plyr) ; library(ggplot2) ; library(dplyr) ; library(grid) ; library(scales)
library(car) ; library... |
ec84fde121bf0e7ccc587cd128a24686bf80eefe | 16efe6aebcbf49e0baccf17439f25a2236b3c397 | /temp/r-shiny-sports-analytics-app-master/server_fourfactors.R | 6da237516415ee196a7e635fd104b93c9f11f479 | [] | no_license | yourfriend-gaurav-gurjar/nba-datavis | 794fb64400c8b7d9fd71fa33979bde3c9fb6c10c | d120a7da08b4cf0b2ead677893f40b1ac484aa6a | refs/heads/main | 2023-01-22T07:13:11.729303 | 2020-12-05T05:12:07 | 2020-12-05T05:12:07 | 318,691,495 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,068 | r | server_fourfactors.R |
## ======================================================== ##
# Copyright (C) 2017 Nicholas Canova
#
# This launches the server side code for the
# player xy charts tool
## ======================================================== ##
# the logo
output$ff.logo <- renderImage({
# When input$n is 1, filename is ./im... |
2d3aac638e6b87fcf037ad8baeabf059339d49d9 | a95598a8ee7fd6159ac4fa926ee877ce31138793 | /r/V2_data_cleaning/00_run_all_data_cleaning.R | cbde29cd4d9536cbf22d11dd38d0bab2c20f3546 | [
"CC0-1.0"
] | permissive | amygimma/comix_shared_analyses | 4b2a72bac3a4531843a1c5ab7e9cfaec97d96579 | 9c1ba7d2d0e8a132d006f1d16d95051303b8099b | refs/heads/master | 2023-04-25T23:54:24.347367 | 2021-05-10T10:38:47 | 2021-05-10T10:38:47 | 287,931,327 | 0 | 2 | CC0-1.0 | 2021-05-10T10:35:10 | 2020-08-16T11:35:13 | R | UTF-8 | R | false | false | 2,437 | r | 00_run_all_data_cleaning.R | library(data.table)
if(file.exists("r/user_setup.R")) source("r/user_setup.R")
data_path <- "data"
if (!is.null(USER_DATA_PATH)) data_path <- USER_DATA_PATH
# =================
# =================
# CLEAN & SAVE
# =================
# =================
# OPTIONAL: SAVING TO FILR MAY THROW ERRORS IF CONNECTION IS SL... |
3a5e84b763edac62dd633af0ea6fc55be2801cbf | 1348830c4ac089d25b841bbb87283937d6362769 | /MDS 570 - 2019 Fall A/code snippets.R | 390ed4cb4e805375c025a4457fb9373e4a8fd5ba | [] | no_license | megancusey/DataScienceCoursework | 1a14938bc2070f21c64af44e92881e1ebe3e9c60 | 77b0799055e2d09f3fa98a318b52b96f27f5744c | refs/heads/master | 2020-08-26T22:43:12.674912 | 2020-06-15T02:49:39 | 2020-06-15T02:49:39 | 217,170,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 220 | r | code snippets.R | ## Received temp directory error below indicating the tmp directory was deleted
## fix: dir.create(tempdir())
## remove scientic notation
## options(scipen = 999)
## remove variables/clear workspace:
## rm(list = ls()) |
8ee2e8d43504fcdf2bb41d2dcfe659ea8d650e6b | 9c2296c877a283325c3998f4b4574cf7574c0512 | /test_multcomp.R | fa1f6ce598baf9cc50bc6db920aa085242f40831 | [] | no_license | gosianow/drimseq_package_devel_tests | e7bee32bc8111d295f4e3c8598aad98cf1a9a178 | c555beaf708f38f984e015e6bf53114ce129481f | refs/heads/master | 2021-01-18T15:08:32.488731 | 2017-07-18T13:04:03 | 2017-07-18T13:04:03 | 56,255,862 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 543 | r | test_multcomp.R | library(multcomp)
hsb2 <- read.csv("http://www.ats.ucla.edu/stat/data/hsb2.csv")
hsb2$ses <- factor(hsb2$ses)
hsb2$female <- factor(hsb2$female)
m1 <- lm(read ~ socst + ses * female, data = hsb2)
summary(m1)
model.matrix(read ~ socst + ses * female, data = hsb2)
# difference between ses = 2 and ses =3 when female... |
f7afff7d29604aba7fa245a29cc41d37b7ceba77 | ef6d2589cafddaad55752dbfd0b1a5d75f875b86 | /man/watersupply.Rd | 9a14812b7250978a6b1076fd946796accf91ebe8 | [] | no_license | lauraing/climatechangeimpacts | 33a47f4ea1e2efa01c937c7a988f4528b601ea2c | fd0cf528e27a48b87941974c066be2fa396dd217 | refs/heads/master | 2021-03-13T04:44:51.136307 | 2020-03-23T20:12:47 | 2020-03-23T20:12:47 | 246,639,665 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,088 | rd | watersupply.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/watersupply.R
\name{watersupply}
\alias{watersupply}
\title{watersupply}
\usage{
watersupply(
data = "",
years = 1952:2018,
area = 100,
total_depth = 200,
start_depth = 100
)
}
\arguments{
\item{data}{data frame with columns year, m... |
c6137167375f299a788f3ce85d02508a66bb9da0 | 438a5ea1725e733c9fedde81ad0c039eb82843e1 | /App.R | 496d45ec8245f70fb6dfcb5c4150f46c5fba73de | [] | no_license | mefacer/simba2 | 4f2e2d9c67ec8383ea32f35e60948e25662c2e68 | c97a719547a32d91fc169838242a08da82df7c5f | refs/heads/master | 2020-05-02T14:47:57.386290 | 2020-04-15T09:48:08 | 2020-04-15T09:48:08 | 178,021,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 255 | r | App.R | #Aixo es per treballar desde el Rstudio
source('global.R') # Script per obrir tots els paquets necesaris
source("ui.R") # User Interface
source("server.R") #Server
options(warn=-1)
shinyApp(ui = ui, server = server, options = c(launch.browser=T))
|
519be97bbae93836a927d89ce731a8af68e93e84 | 210882441930a37964e124a71f71ae4636cf2ad9 | /plot3.R | f74d42ea43577d0c0daf49a46405c0bf78e82e79 | [] | no_license | erwinetorres/Exploratory_data_analysis_Project-2 | c0c84267b9c3635544ad6d901f1763dca61aec15 | 9fededecbc0f4b423a5c39714121f4ac1f165131 | refs/heads/master | 2021-09-10T05:32:20.518217 | 2018-03-21T05:40:14 | 2018-03-21T05:40:14 | 126,127,671 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,505 | r | plot3.R | # PLOT 3. Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable, which of these four sources have seen decreases in emissions from 1999–2008 for Baltimore City? Which have seen increases in emissions from 1999–2008? Use the ggplot2 plotting system to make a plot answer this ques... |
22de074ba2ef28f2d083f20ea4cbb15e94cecae1 | 031954f00cb6a0c0761d3f3040711350524d8fbf | /man/getTargetAnnotationStats-methods.Rd | 1d587d7c7e1e718556c364f14eabc36c7318e836 | [] | no_license | katwre/genomation | 881c4f4fa716f0f9befc31181a69ddb831332d47 | d18cad2e4e45d097631ff843d4927bfaf99b6f64 | refs/heads/master | 2021-01-18T17:14:41.553781 | 2018-01-30T16:35:52 | 2018-01-30T16:35:52 | 33,183,415 | 2 | 0 | null | 2015-03-31T12:11:28 | 2015-03-31T12:11:27 | null | UTF-8 | R | false | true | 1,648 | rd | getTargetAnnotationStats-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readAnnotate.R
\docType{methods}
\name{getTargetAnnotationStats}
\alias{getTargetAnnotationStats}
\alias{getTargetAnnotationStats,AnnotationByFeature-method}
\title{Get the percentage of target features overlapping with annotation from Annota... |
f113081c8999cc3e59132b294a9450fce13cf521 | dde2b8dd95bb8fca23616ce7989926d9f0d2aef0 | /man/train_test_split.Rd | 3c9762eb5cb25faa4d2dc9535d77356865d4d2ae | [
"MIT"
] | permissive | bioinfo00/xnnet0 | 29ca5cd464840aaffa6f7691fe5d406eadb2ddc1 | d09d0de6fa3b1fc6361875265453bb8e2f2078c7 | refs/heads/master | 2022-12-12T02:59:56.067214 | 2020-09-11T17:04:07 | 2020-09-11T17:04:07 | 294,013,766 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 794 | rd | train_test_split.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xnnet_functions_v0.1.R
\name{train_test_split}
\alias{train_test_split}
\title{Splitting data in training and test set}
\usage{
train_test_split(X, y, training_fraction = 0.7, rnd_seed = 666)
}
\arguments{
\item{X}{matrix with samples as rows... |
18fa981b9ff6677ca32fbeba08e98c196c169de4 | 9bf5d376a037ea97e6e5bab796ef6bc5ec6afd86 | /R Tutorial - #12 - Repeated measures and mixed design ANOVA.R | 2c920c9507231bdd79a501eda26d43381e860cb0 | [] | no_license | Sergiommrr/R-Tutorial-All-Files | 828df4a50aefecbeb423de4d73d97fc219114707 | 7694598cc2f0442f15d88b7f07fea7065fdf71e8 | refs/heads/main | 2023-03-20T05:26:12.832613 | 2020-12-16T02:09:33 | 2020-12-16T02:09:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,453 | r | R Tutorial - #12 - Repeated measures and mixed design ANOVA.R | # R Tutorial - #12 - Repeated measures and mixed design ANOVA
# By: Aaron Prosser, MD MSc | Last edited: 14-Dec-2020
# The following code is open-source. Feel free to edit/share at your pleasure.
# All the data sets and R code for this tutorial series can be downloaded here:
https://github.com/Statistics4Doctor... |
d0ef4048f7d8524cb60e89093b3b8ec05274c34e | 175d4dd001f06ce44f615ae76c6b7ac35376dcf3 | /Behavioural and CORT data scripts/CORT/Analysis_with_CORT.R | ca21d081481252e437a4e0a71a20aad97352ac81 | [] | no_license | LenaGschossmann/RT-qPCR-quantification-project | cba1386fb4130de69c124d5ec9148defd1b92ac6 | 5a02974ac4e69cc712ea9c98bb222bde11504b5c | refs/heads/master | 2020-03-23T10:44:09.828322 | 2018-09-19T08:32:44 | 2018-09-19T08:32:44 | 141,459,495 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,639 | r | Analysis_with_CORT.R | ##### Include CORT
# source('C:/Users/Gschossmann/Dropbox/studies/Osnabrück/Universität/Bachelorarbeit_DroBo/experiments/Analysis Code/PCR/qPCR_GeneExpressionAssay/getCORT.R')
source('C:/Users/lena_/Dropbox/studies/Osnabrück/Universität/Bachelorarbeit_DroBo/experiments/Analysis Code/CORT/getCORT.R')
savepath = 'C:/Us... |
bee469cea818932b4aac6c62e78d5cb13b6e6030 | b9f566ec503bae8a4ff7de204bb51f7e10efad85 | /data/2021/2021-09-01/ejemplo.R | d3cd0d769b6715c1a6e0deed0ed52844d957d7a3 | [] | no_license | BESTDATASCIENCE/manos-a-la-data | 11b759e7f5b0c7fb160b68e071e65bf6b2f6c726 | 609c63f060ac917d827d1450ab3f2f5a5febb24b | refs/heads/master | 2021-09-11T14:59:03.524628 | 2021-09-04T06:50:21 | 2021-09-04T06:50:21 | 244,521,797 | 8 | 4 | null | null | null | null | UTF-8 | R | false | false | 332 | r | ejemplo.R | library(readxl)
library(dplyr)
library(tidyr)
library(readr)
library(dplyr)
library(vroom)
library(readstata13)
library(foreign)
library(here)
options(scipen=999)
library(XML)
library(RCurl)
library(rlist)
library(htmltab)
setwd(here::here("data/2021/2021-09-01/"))
bd <- readxl::read_xlsx("2-Registro de Proveedores ... |
f801b9b63753dc7c680ffb2782d2736b495b0ef5 | 80e10d3af490e953600abc36743dea3e034db595 | /scripts/variation_coefficient.R | 635b5dec56c3bb2c52b99b1f3922131c0ee39ca6 | [] | no_license | dmitrav/reGRiE | 486f46203a60e88990a28a440110559bce4647d3 | 9d1ce444ba04a6caba11bf7cd2f293bff06bd6c3 | refs/heads/master | 2021-01-21T11:15:10.744604 | 2018-02-21T10:39:01 | 2018-02-21T10:39:01 | 83,536,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,055 | r | variation_coefficient.R |
rep_data = read.csv("/Volumes/Seagate Expansion Drive/simulations/reGRiE2/Kr_60sec_repression_on/rep_variances_related_to_mean.txt", header = F, sep = " ")
norep_data = read.csv("/Volumes/Seagate Expansion Drive/simulations/reGRiE2/Kr_60sec_repression_off/variances_related_to_mean.txt", header = F, sep = " ")
rep_dat... |
4805fdd406240b443cd2072a3b71f18450c79398 | 83a90e05e4124f5cf85f7ba300b0f3180acfc9a3 | /man/nn_classification_cpp.Rd | 591f148b8fd20d7572baa15263ded63dc6fdf859 | [
"MIT"
] | permissive | kmacdon/kd-tree-rcpp | ca358845a4e120dc18d1616d321aba6e192b99fe | 11d12887f653652e064918c47ffce491a0d90bc6 | refs/heads/master | 2021-03-02T16:01:03.090755 | 2020-03-08T20:30:21 | 2020-03-08T20:30:21 | 245,882,055 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 540 | rd | nn_classification_cpp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{nn_classification_cpp}
\alias{nn_classification_cpp}
\title{Nearest Neighbor Classification}
\usage{
nn_classification_cpp(train, test, classes)
}
\arguments{
\item{train}{A numeric matrix of training points}
\item{test}{... |
879b44dedb40e2a0517a0325d131625073f646f8 | e33bcfe36f738c73163d3c197660f159eaf7e2e7 | /R Cheatsheet/package doc/mirt/Examples/Example_02.R | 073c72bb7de592b9434159c89426881536981431 | [] | no_license | kingmbc/TestGit | e6237f5f45c2109ebe83384890e49853c7bae82d | 7a1508aa945cf6433d70efc2d7c6e4cc505ef444 | refs/heads/master | 2020-12-02T21:24:40.732679 | 2017-07-05T11:38:47 | 2017-07-05T11:38:47 | 96,312,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,833 | r | Example_02.R | #----------------------------------------------------------------
# Example 2 - Multidimensional IRT, itemtypes, and fit statistics
#----------------------------------------------------------------
library(mirt)
#use SAT12 data, adopted from the TESTFACT software, which has not yet been scored.
# (treat the 8's, whi... |
1fd49432fb25e7760c1cb09be0d6446ffda4c951 | ecbdf787eba311c4629b2ce230818af98289dc46 | /cachematrix.R | 3f1de0373422209656d5a59e767c2b178086042b | [] | no_license | michelle-marie/ProgrammingAssignment2 | 0d3e2b93cded837c6a8a59a1d25ee438a28afa10 | 61af4a7d58e5dcda6e8ca01fe8c31cfb179977b3 | refs/heads/master | 2021-01-15T23:12:15.579833 | 2015-08-23T16:21:13 | 2015-08-23T16:21:13 | 41,165,093 | 0 | 0 | null | 2015-08-21T16:07:43 | 2015-08-21T16:07:43 | null | UTF-8 | R | false | false | 1,060 | r | cachematrix.R | ## the makeCacheMatrix function is used to create a matrix
## the cacheSolve function is used to return the inverse of that matrix
## the makeCacheMatrix function sets the value of the matrix, gets the value of the matrix, sets the value of the inverse, and gets the value of the inverse
makeCacheMatrix <- function(x = ... |
b9cdd97051593aa770e91ab8e484c290876407d9 | ddb0e8f036a03a58d5db82391ff438c9c944c92e | /man/get_heroes.Rd | d768431adb2b17e7b2eaf1e3e21a43d10bde709a | [] | no_license | rosdyana/ROpenDota | 7e38ec628acd77285da6c9dad80999a93c4514cf | 00c75deae31f9dbd1d9bfb5b7781b362326e6a18 | refs/heads/master | 2021-01-20T08:30:44.660653 | 2018-10-31T03:49:13 | 2018-10-31T03:49:13 | 90,157,568 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 303 | rd | get_heroes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_heroes.R
\name{get_heroes}
\alias{get_heroes}
\title{Get total status for specific player id}
\usage{
get_heroes()
}
\description{
Get total status for specific player id
}
\examples{
\dontrun{
heroes <- get_heroes()
}
}
|
d0186f282f8425a4b377c6d7cfaca8320e48ab5d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rcdd/examples/lpcdd.Rd.R | 9c268e727e145b6764b28e26511990d94a383490 | [] | 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 | 767 | r | lpcdd.Rd.R | library(rcdd)
### Name: lpcdd
### Title: linear programming with exact arithmetic
### Aliases: lpcdd
### Keywords: misc
### ** Examples
# first two rows are inequalities, second two equalities
hrep <- rbind(c("0", "0", "1", "1", "0", "0"),
c("0", "0", "0", "2", "0", "0"),
c("1", "3", "0"... |
b87723608a81d285904d97108b57b05ab183e7e4 | 4a84b2982614109deb230cfb6f9513a9dc2516f1 | /old:unusedRscripts/lecture10.R | 2aa2c21e5bcfbc188392bda54e65cda719ae82a3 | [] | no_license | M0nica/topic-detection | 42f29fde2804b821de71abcef58e904ee062bf11 | f0d5c8e6c8b307d58a460608b58f19d09ea5734d | refs/heads/master | 2021-01-21T01:46:58.701808 | 2016-06-09T14:28:43 | 2016-06-09T14:28:43 | 55,653,334 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 326 | r | lecture10.R | library(ggplot2)
df <- data.frame(x = c(1:100))
df$y <- 2 + 3 * df$x + rnorm(100, sd = 40)
#data has a x and y, aes define x and y variable - layers added to plot w/ pluses
#smoothing geometry -
p <- ggplot(data = df, aes(x = x, y = y)) + geom_smooth(method = "lm", se=TRUE, color="black", formula = y ~ x) + geom_poi... |
29a937efeb8b229e14c58f6eca8053c732170ded | 3486b7a9d9a2035f053c748f9d94aa6898e3e3dd | /PoinsonousMushrooms_RuleLearners.R | e0eee965d000580d1cd6618733b7496de123f691 | [] | no_license | mhlaghari/portfolio | 0a924f1beb71e006e8fc7118f47407b49b8da336 | a1d4338ecc20624c6bf09443dd4f1b319092336a | refs/heads/main | 2023-06-28T22:18:06.365827 | 2021-07-31T15:11:33 | 2021-07-31T15:11:33 | 376,900,793 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,567 | r | PoinsonousMushrooms_RuleLearners.R | #Identifying Poisonous Mushrooms with Rule Learners
# Each year, many people fall ill and sometimes even die
# from ingesting poisonous wild mushrooms.
# Since many mushrooms are very similar to each other
# in appearance, occasionally even experienced mushroom
# gatherers are poisoned.
# Unlike the identificati... |
5d96e573b4234917f6c7487b3a7a95b90a4212bd | be6e0a5b11fe08b1ff89468821cf121bfbe34877 | /run_analysis.R | a9a938fe1db5d7b5a9f7d117e20d806c4688857c | [] | no_license | jguerra000/Coursera-GCLD | b5e374106071feb6048572638bd882ee6c7ef388 | ff2154d0ae2de62465f0992b1c2259c22edc7cb5 | refs/heads/master | 2016-09-06T01:21:22.230891 | 2014-08-25T09:56:13 | 2014-08-25T09:56:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,982 | r | run_analysis.R | #Solution to the project of Getting and Cleaning data subject
start.time <- Sys.time()
#Train data
X_train_data <- read.table("./UCI HAR Dataset//train//X_train.txt")
Y_train_data <- read.table("./UCI HAR Dataset//train//y_train.txt")
Subject_train_data <- read.table("./UCI HAR Dataset/train/subject_train.txt")
Body_... |
3f836df2f98203c6fee019f7532307adb2af3ba3 | 6216f5a073bc205aa05206244bf4a5abcc0cdf20 | /man/matW.Rd | 113f088cffd82c4a9d87670762c37be254c40c13 | [] | no_license | cran/TAHMMAnnot | d94ee791c436d1cebb58c899566231407a4ab8ee | 0a528c554d48d6ad0564ba5c99187a0b829ef0b7 | refs/heads/master | 2021-01-22T06:53:50.323937 | 2013-01-07T00:00:00 | 2013-01-07T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 666 | rd | matW.Rd | \name{matW}
\alias{matW}
\title{Estimator of the dispersion matrix of a group k. }
\description{
Compute the product matrices for the estimator of the dispersion matrix of a group k.
}
\usage{
matW(x,k,mu)
}
\arguments{
\item{x }{The matrix (n*2) of the data. }
\item{k }{The number of the comp... |
ac8603d115d378358ad59776ce29aa78f128ce41 | 97f1e3e6e908a83489e4243268ba539316196176 | /data-raw/mutli_component_image.R | b974986d9754385aa993f129ccf772fdfcb37e76 | [
"Apache-2.0"
] | permissive | ANTsX/ANTsRCore | 1c3d1da3bea84859da7d18f54c34ae13d2af8619 | 8e234fd1363c0d618f9dc21c9566f3d5464655a2 | refs/heads/master | 2023-05-24T23:53:30.886217 | 2023-05-22T02:52:39 | 2023-05-22T02:52:39 | 83,897,912 | 8 | 22 | null | 2023-05-22T02:52:40 | 2017-03-04T14:09:48 | C++ | UTF-8 | R | false | false | 502 | r | mutli_component_image.R | library(ANTsRCore)
set.seed(1234)
dims = c(30, 30)
n = prod(dims)
r <- runif( n, min = 0, max = 255)
g = runif( n, min = 0, max = 255)
b = runif( n, min = 0, max = 255)
sums = (r + g + b)
r = floor(r/sums * 255)
g = floor(g/sums * 255)
b = floor(b/sums * 255)
dim(r) <- dims
dim(g) = dims
dim(b) = dims
r <- as.antsImage... |
d46106df06bca845f91d2cd2d1f456ab3fb4a5bd | c4fa15f5f9b5859efe33857e5cce3878b01220de | /Occupancy_Mod_28.05.R | 1656ca533bfb66e0d49e96b7e823453b4da8d0d8 | [
"MIT"
] | permissive | icorei/Occup-model | d27537671efaba841ec8c67f7f5cc88cc940f76a | 21841e2ea42a455c5ad2a0448e9e8b5b9655d3a8 | refs/heads/master | 2022-12-06T13:01:17.044665 | 2020-08-25T08:08:07 | 2020-08-25T08:08:07 | 290,153,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,367 | r | Occupancy_Mod_28.05.R | ####################### sp ###################################
setwd("D:/PHD_statistic/Occupancy")
data.dir <- "~D:/PHD_statistic/Occupancy"
EventosGranSabana_mam <- read.csv2("D:/PHD_statistic/EventosGranSabana/Eventos_GS_mambird4.csv")
camerasGS <- read.csv2("D:/PHD_statistic/TODO/Cameras_short_2019.csv"... |
6af42f51c4774ebd1bf7dbbe57d390d78bc296d5 | 9da7ff9073e6775a34e9432ae33f6dac36891a42 | /R/subway.R | a927ba1c815eb9d751c9679269cbffe27a005b80 | [] | no_license | eik4862/Subway | 9f2cb24e611769226275aa209589042c257c42c0 | 64c672132a8619afe30338942bca560d5646a6c7 | refs/heads/master | 2023-08-15T05:16:10.235607 | 2020-05-25T17:35:02 | 2020-05-25T17:35:02 | 266,563,864 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | subway.R | #' Passenger count data of Seoul subway
#'
#' A dataset containing the number of passengers who get on and off
#' from Seoul subway.
#' Data is collected automatically by credit card DB system at each station
#' and recorded daily from 1/1/2015 to 30/4/2020.
#'
#' @format A data frame with 1111007 rows and 6 variables:... |
d30fa5325b64b6578aa0320aaac0645658eb5e8d | 04db7b70be3aa96405647e51b0da7119d010ff8c | /packages/deloitteUtility/R/create_division.R | b9eef11385a43995871efe81fa5cffe4a8896fbd | [] | no_license | jeff1evesque/interview-deloitte | 529c88ee30b5b9bfebc12448cc4ff385aaaca9de | d3bc833e5033f78d758da5a8b7b8864903124d79 | refs/heads/master | 2020-03-19T04:21:20.150302 | 2018-06-07T22:43:02 | 2018-06-07T22:43:02 | 135,819,176 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 425 | r | create_division.R | ##
## strReverse.R, reverses a string.
##
## Note: https://stackoverflow.com/a/13613183
##
create_division <- function(vector) {
return(
lapply(
vector,
function (x) {
if (!as.numeric(trimws(x))) {
return(NA)
} else if (x < 14) {
return(1)
} else if (x >= 14... |
b82659b66631ff3d9c0039c66b052b5bb5554c30 | 8c1333fb9fbaac299285dfdad34236ffdac6f839 | /financial-analytics/ch1/solution-04.R | 9be7e4c6ee165935fd367e1721e06baa7adaa38f | [
"MIT"
] | permissive | cassiopagnoncelli/datacamp-courses | 86b4c2a6d19918fc7c6bbf12c51966ad6aa40b07 | d05b74a1e42b119efbbf74da3dfcf71569c8ec85 | refs/heads/master | 2021-07-15T03:24:50.629181 | 2020-06-07T04:44:58 | 2020-06-07T04:44:58 | 138,947,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | r | solution-04.R | # Calculate income statement
income_statement <- assumptions
income_statement$revenue <- income_statement$unit_sales * price_per_unit
income_statement$expenses <- income_statement$unit_sales * (cogs_per_unit + labor_per_unit)
income_statement$earnings <- income_statement$revenue - income_statement$expenses - income_sta... |
2dcacb968cd320bf4ef38f42c55beec68b9106b5 | 73df6be0fec5bac3ec5ca552438568a663e769e3 | /man/is.nan.data.frame.Rd | 4061834754d34941f85c0256e8c1dc6f4aaab6e3 | [] | no_license | kasaha1/kasaBasicFunctions | 1fecefd905520ce5e0ad7de07d8f8c66fda9e6d3 | d572d2953842cbc82d98ad2730a18dd90c7a1dd7 | refs/heads/master | 2022-07-13T09:37:40.737163 | 2022-06-27T05:18:33 | 2022-06-27T05:18:33 | 90,565,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 271 | rd | is.nan.data.frame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FunctionsForGenes.R
\name{is.nan.data.frame}
\alias{is.nan.data.frame}
\title{checkig NaN}
\usage{
\method{is.nan}{data.frame}(x)
}
\arguments{
\item{x}{datafram}
}
\description{
checkig NaN
}
|
cb19def928eb1486f873bc8620198935ed9a04af | 86ec024e1424b69cc1d7d4470c66e5d1e7c52fdc | /man/schart_dist.Rd | ac7da41ea67ceda38af31003e268115873a189b1 | [] | no_license | wanglaboratory/SChart | e8e8ed79bb66b3330e64b43c168667d9bad92ea8 | 7e0ebfe2f57616f810dd739fd0aed3ff641788e5 | refs/heads/main | 2023-07-02T19:11:21.296733 | 2021-08-10T02:42:47 | 2021-08-10T02:42:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,138 | rd | schart_dist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/schart.R
\name{schart_dist}
\alias{schart_dist}
\title{Title Calculate the distance between sc and st}
\usage{
schart_dist(
st_sc_int,
int_assay = "traint",
reduction = "pca",
intp = T,
intp_pnt = 10000,
intp_lin = F,
nPCs = 30,... |
367691d8fc1f22cad884d61b79f1da4eefa4d895 | dd0694436304f9c6d4ac43a3e668e46131dfa2a5 | /plot2.R | ea80f7c232207472cf6a54f3f2f01c9dc401ed15 | [] | no_license | mycheong/ExData_Plotting1 | 6d350ed9ce68fec536a750d1b2c889a233a083bc | 0cb86064214069d14b38598b80873c5c876eb3a3 | refs/heads/master | 2021-01-22T12:18:45.497855 | 2015-12-09T16:53:02 | 2015-12-09T16:53:02 | 47,702,370 | 0 | 0 | null | 2015-12-09T16:06:18 | 2015-12-09T16:06:15 | null | UTF-8 | R | false | false | 608 | r | plot2.R | header <- read.csv("household_power_consumption.txt", header=T, sep=";", nrow=1)
header <- names(header)
y <- read.table("household_power_consumption.txt", sep=";", skip=66000, nrows=4000, na.strings = "?")
colnames(y)<- header
y$Date <- as.Date(y$Date, format="%d/%m/%Y")
y <- subset(y, y$Date>"2007-01-31" & y$Date<"2... |
e83d92af104c01fd20780d5918b4d7a4cce0cc59 | fa331c18551d255f3be4ccfd253ad2febcae73ca | /pre-processing/step_xx_transform_by_GCP_vector.R | 2689258e294b7b5b8a5bd84b7e9a680c84106c36 | [] | no_license | nailayasmin/safe_pc_tchad | eec511e131e04a14909dd7b8ffedbe6309f58b15 | b02ba009236180074b8c58050bf9f53a4e0acb52 | refs/heads/master | 2020-03-23T05:00:32.603389 | 2017-09-22T09:57:51 | 2017-09-22T09:57:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,445 | r | step_xx_transform_by_GCP_vector.R | ####################################################################################
####### Object: Shift imagery by vectorial lines
####### Author: remi.dannunzio@fao.org
####### Update: 2017/09/04
##################################... |
3d227fd26890f8ecded6b9618140301699140267 | 4f28f7befb82c29503ba119205b6cae124ebb98b | /Shiny_Functions_v1.R | 84b48bc285334082f1a9949be68ef14acd1c9136 | [] | no_license | gmw12/shiny_PD | 45119d65c3c8d26d8c803b3da583e69b6c6c26bc | fd0cf94e65786e769a305657eb3623f7a0188bec | refs/heads/master | 2023-08-05T08:57:29.328670 | 2023-07-20T18:04:58 | 2023-07-20T18:04:58 | 241,447,255 | 2 | 2 | null | 2023-05-19T14:40:42 | 2020-02-18T19:21:03 | R | UTF-8 | R | false | false | 821 | r | Shiny_Functions_v1.R | cat(file=stderr(), "load Shiny functions", "\n")
source("Shiny_Startup_v1.R")
source("Shiny_UpdateWidgets_v1.R")
source("Shiny_Observers_v1.R")
source("Shiny_Setup_v1.R")
source("Shiny_Filter_v1.R")
source("Shiny_Transform_v1.R")
source("Shiny_Stats_v1.R")
source("Shiny_Norm_v1.R")
source("Shiny_Impute_v1.R")
source("S... |
04cbb2cf745b0160305f8b01e6b5b443aa760c6d | fff0cb76ba6061982d0bd1f44a3739512162ee7a | /man/COUSCOus-internal.Rd | c03b672584583e7a607b4fd6c2c02d49b3246435 | [] | no_license | cran/COUSCOus | 28378f906ddd936e2ec9ea4e7b85ead4737a03c5 | 78b56b63445cd54cf69a631401c41aeb53f694b0 | refs/heads/master | 2021-01-10T13:17:11.814006 | 2016-02-28T16:26:52 | 2016-02-28T16:26:52 | 52,727,907 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 345 | rd | COUSCOus-internal.Rd | \name{COUSCOus-internal}
\title{Internal COUSCOus functions}
\alias{generate.rho}
\alias{precision}
\alias{prediction}
\alias{preprocessing}
\alias{shrink.S}
\description{Internal COUSCOus functions}
\author{
Reda Rawi \cr
Maintainers: Reda Rawi <redarawi@gmx.de>
}
\details{These are not intended for usage. Please refe... |
5a770eb3c534bc39ce8251fb249d9761b8372ece | 35e702005356610d62e60fcf11efdaaca770398e | /checkWGS.R | 9a09cd23a4f2df77c45be4027e90090b3b5a6cc7 | [] | no_license | jingg46/Research-oral-cleft | 744d1a23ca59f4aec4acacd8eaf52961b49e8f83 | db42552e66cad11ec3cebb220858800a866507fb | refs/heads/master | 2020-03-11T03:38:46.903604 | 2018-07-21T18:29:59 | 2018-07-21T18:29:59 | 129,754,234 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,280 | r | checkWGS.R | ## check on HW-equilibrium in variants included in colTDT output from WGS
load("/dcl01/beaty/data/gmkf/euro/vcfs/filtered/chr8_geno_filt_12_06_2017.rda")
## which rows of the genotype matrix contain the parents?
parRows<-c(seq(1, nrow(chr8_geno_filt), by=3), seq(2, nrow(chr8_geno_filt), by=3))
## check mafs and frac... |
08f6a938b67e24dc09eb4e351cd1ceff48bea8b0 | 4dcd8b0721ac81767e7c57fa5530b4cc71592ac6 | /ex/week2/checkOutlet_sigma.R | 9dbbfb45a5d24275c4ae7f0e2616c8d59c017cd3 | [] | no_license | gdwangh/80240372XDataMining | 1ceffe6ad6898d5435084c82a652899971af415e | a5ef7c8e0c4808ed3ba7614c10785f693af41b34 | refs/heads/master | 2020-04-18T03:49:08.470187 | 2016-12-18T16:30:20 | 2016-12-18T16:30:20 | 67,460,595 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 767 | r | checkOutlet_sigma.R | # 3*sigma or 6*sigma法,判断极限值
# input
# data : 需要判断是否有极限值的数据
# k:正常范围的上下限为k个sigma
# type:
# ‘B' -- 返回true or false,是否是极限值
# ’M‘ --- 用最大最小值k*sigma or -k*sigma,替换极限值
# output:
# 对应data的每个值,返回
# True or False --- 是否是极限值
# or
# k*sigma or -k*sigma
checkOutlet_sigma<-function(... |
ca865e30fb6b60f44eaffe95570b5f44c2b18835 | b2f01680e78cf5b64c779425790e10b31ab82fc0 | /A_plot/heatmap_3.R | 8277b2566970b2dcdf38e4bf04c353040adffe01 | [] | no_license | stormlovetao/rnaSeq | fcdfca39434aaa26dc5ef17ed84ea99b8743f7ff | 61b5051024f701a983acb52278fef4a9a03af1dc | refs/heads/master | 2021-01-10T03:30:55.952913 | 2017-03-07T21:22:35 | 2017-03-07T21:22:35 | 47,236,130 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,323 | r | heatmap_3.R | # Based on heatmap_2.R
# columns are sorted by SMGEBTCH(Genotype or Expression Batch ID, Batch when DNA/RNA from a sample was analyzed)
# columns are annotated by SMGEBTCH
# replace SMGEBTCH to SMNABTCH,SMNABTCHD
library(pheatmap)
# Read the table into dataframe
table = read.csv(file = '/Users/Tao/BrainMicrobiome/Table... |
827cad634236c5c75759cbcea01963b50022a149 | 4a7989f482a9fe85370e9014b836e7c985b4ff66 | /R/gui.R | 9548c593e35bda1ad63ee00a107bf253fb25549e | [] | no_license | lucrainville/PhD | bb3e5afbbe57d58e558dee0c0519f5a20831f68d | 408174bd81e9676bc8d479fc5e6836727644358c | refs/heads/master | 2023-07-09T18:59:52.086535 | 2021-08-03T23:48:51 | 2021-08-03T23:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,034 | r | gui.R | source('functions.R')
library(gWidgets)
library(gWidgetsRGtk2)
require(RGtk2)
options("guiToolkit"="RGtk2")
myplot3d = function(...){
if (length(rgl.dev.list()))
rgl.set(rgl.dev.list())
par3d(windowRect=c(10,10,800,600))
plot3d(...,xlab='X',ylab='Y',zlab='Z')
rgl.pop("lights")
light3d(specular="white") ... |
6f8696d0ceec11316f4c0569c12318be0e0fd3ed | 836b133c87bce43ae20673cc1842ab20e9decc87 | /paper_code/Figure_codes/SFigures/FigureS6_validation/FigureS6A_6B_mean_fitness_across_each stability_bin.R | 6aaa20bde150795f79a4423139d8626473866f32 | [
"MIT"
] | permissive | sashaflevy/PPiSeq | b98836b99e1e78ccb54e02be46792c700cb7fa32 | 646dbe151e7b6044e762fff1cf36b185dffe3bdc | refs/heads/master | 2021-07-01T14:47:49.241826 | 2020-10-05T15:29:52 | 2020-10-05T15:29:52 | 177,872,906 | 0 | 4 | null | 2020-10-05T15:29:53 | 2019-03-26T21:41:35 | HTML | UTF-8 | R | false | false | 4,611 | r | FigureS6A_6B_mean_fitness_across_each stability_bin.R | ### Check the normalized fitness values for these PPIs
setwd("~/Desktop/PPiSeq_additional_data/")
source("function.R") # Load commonly used functions
#Commonly used colors
apple_colors = c("#5AC8FA", "#FFCC00", "#FF9500", "#FF2D55", "#007AFF", "#4CD964", "#FF3B30",
"#8E8E93", "#EFEFF4", "#CECED2", "#00... |
4a9244e0aa4dff5f5162f51f118b8fc3364e9eaf | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Concepts_Of_Modern_Physics_by_Arthur_Beiser/CH6/EX6.4/Ex6_4.R | 21f80782e7630bd23fe3a42e4cddb0a23c2b6e67 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 238 | r | Ex6_4.R | #(Pg no. 226)
B = 0.300
wl = 450
wl = wl * (10 ^ -9)
e = 1.6e-19
m = 9.1e-31
c = 3e+8
del_wl = (e * B * (wl ^ 2)) / (4 * pi * m * c)
del_wl = del_wl * (10 ^ 9)
del_wl = round(del_wl, 5)
cat("Delta_Lamda =", del_wl, "nm\n") |
babafdef7cb397654fdef2c7f8ce9843d5f5f214 | 92508c4c9a770f213dd9fabb925ef780e2588bf9 | /course2_Rprogramming/Assignment3/best.R | 837dff2297e3c6c5e260a1d6af15f28b966dd2a1 | [] | no_license | SaraRafi/John-Hopkins-Data-Science-Specialization | f212d1d5b5da6ba692b1983d68e5e22fe9d2d8ce | 59817619b18bcfae6becea86e60cb3ce148237cb | refs/heads/main | 2023-02-08T20:15:55.668232 | 2021-01-06T00:52:07 | 2021-01-06T00:52:07 | 325,727,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,023 | r | best.R | best <- function(state, outcome)
{
if (state == "NN")
stop("invliad state")
## Read outcome data
data<- read.csv("outcome-of-care-measures.csv")
## Check that state and outcome are valid
statedata<-subset(data,State == state)
## Return hospital name in that state with lowest 30-day death
## ... |
b688a2da6375d832ebfc448ea9afe4bed1e60777 | ca944551b97bd0b5470463c6b397b1977f158067 | /man/plrm.cv.Rd | 6283ac8f37c618cf298780331e638bb1469ad5b4 | [] | no_license | cran/PLRModels | e4a6aa634752b6d0f35eea736c11fdc00bf2190c | 0a13da2e2920bcf1385c192fc9005a762304ee0f | refs/heads/master | 2023-09-01T05:28:20.762717 | 2023-08-19T10:42:44 | 2023-08-19T11:30:35 | 17,681,394 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,261 | rd | plrm.cv.Rd | \name{plrm.cv}
\alias{plrm.cv}
\title{
Cross-validation bandwidth selection in PLR models
}
\description{
From a sample \eqn{{(Y_i, X_{i1}, ..., X_{ip}, t_i): i=1,...,n}}, this routine computes, for each \eqn{l_n} considered, an optimal pair of bandwidths for estimating the regression function of the model
\de... |
1833c9502e26a7aa24595440e3d7bfcd90349124 | 727a052968125e92a3a0ff11154a1dcc00974627 | /man/med.Rd | c33514e1639eea2c5e428e8d4a3c95993a04ddb7 | [
"MIT"
] | permissive | nbrosowsky/pwr2ppl | a358292901ec0939af53cbe9577d08570a8a44f2 | 197c89557655469dd46f9d1259dab978d18402f2 | refs/heads/master | 2020-05-04T22:55:47.099107 | 2019-04-02T19:37:37 | 2019-04-02T19:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,958 | rd | med.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/med.R
\name{med}
\alias{med}
\title{Compute Power for Mediated (Indirect) Effects
Requires correlations between all variables as sample size.}
\usage{
med(rxm1, rxm2 = 0, rxm3 = 0, rxm4 = 0, rxy, rym1, rym2 = 0,
rym3 = 0, rym4 = 0, ... |
dcc5e88b4274afed15fc52c3b98c40a4e3927d5d | 7180123ce9d90a5642d8595eff3bce61f3bdb3e5 | /common/Measurements.R | 243fed087f3248843c60c809c464a249f3d15403 | [] | no_license | isantabarbara/bcldndc | 33f00b4893b9eed4c8406fe10b404ee23b076811 | 1a1b0e7aee54f7d70a46d846f33d9926bf99bee6 | refs/heads/master | 2020-07-16T02:00:52.005235 | 2019-11-24T13:15:41 | 2019-11-24T13:15:41 | 205,696,419 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,948 | r | Measurements.R | #Responsability:
#Read the measurements
# Scheme of how are the measurements structuredin the values variable (a list with data.frames each one):
#
#
#
# siteValues (list)
# +------------+------------+
# | n_n2o | n_no |
# |------------|------------|
# |meas (d.f) |meas (d.f) |
# |+--+--+--+-+... |
a15ce22ceaf0c33a6e4379f5fee24bbc26d55559 | 0f77b988691f6de6d6d2b360bcda644302f5844f | /R/plotScatterAcd.R | ae3e1b2eb592de3fe0c74d5be54f910a8f76502a | [] | no_license | cran/ACDm | 665b66ec52358449c391574924dcf57978375644 | ffee40a02ba834b0ed201036a3aa7f2307221cbc | refs/heads/master | 2022-11-23T05:09:39.138507 | 2022-11-16T11:11:48 | 2022-11-16T11:11:48 | 39,196,192 | 6 | 1 | null | 2019-12-14T13:09:11 | 2015-07-16T12:43:39 | R | UTF-8 | R | false | false | 3,421 | r | plotScatterAcd.R | plotScatterAcd <- function(fitModel, x = "muHats", y = "residuals", xlag = 0, ylag = 0,
colour = NULL, xlim = NULL, ylim = NULL, alpha = 1/10,
smoothMethod = "auto"){
x <- match.arg(x, c("muHats", "residuals", "durations", "adjDur", "dayTime", "time", "in... |
e829c2b1a45e1f0afbd86babb005321ea460e3ce | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mvmeta/examples/mvmetaSim.Rd.R | ef7c3d16a68d4060ee2a05b5dde4ceccc000ba6a | [] | 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 | 710 | r | mvmetaSim.Rd.R | library(mvmeta)
### Name: mvmetaSim
### Title: Simulating Responses for mvmeta Models
### Aliases: mvmetaSim simulate.mvmeta
### Keywords: models regression multivariate methods
### ** Examples
# RUN A MODEL
model <- mvmeta(cbind(PD,AL)~pubyear,S=berkey98[5:7],data=berkey98)
# SIMULATE A NEW SET OF OUTCOMES
simula... |
7b06ac8436c597e026d6b7e5064af1d64c4ccc75 | 05de00b8c0512fe56bb0727b1210e4c6755f5fc4 | /tests/testthat/test-step_utils.R | e0a4d0a3ea09ac8ff3e0102b5ec309424025a59d | [
"Apache-2.0"
] | permissive | DyfanJones/aws-step-functions-data-science-sdk-r | 8b4a221d6b18d9015a002c50d3063f6e0e405e16 | ab2eb28780791f8e8bb50227b844fa240b1252da | refs/heads/main | 2023-04-28T21:24:34.920961 | 2021-05-30T21:58:04 | 2021-05-30T21:58:04 | 362,764,798 | 1 | 0 | NOASSERTION | 2021-05-30T21:58:05 | 2021-04-29T09:37:47 | R | UTF-8 | R | false | false | 1,231 | r | test-step_utils.R |
aws = c('af-south-1',
'ap-east-1',
'ap-northeast-1',
'ap-northeast-2',
'ap-northeast-3',
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
'ca-central-1',
'eu-central-1',
'eu-north-1',
'eu-south-1',
'eu-west-1',
'eu... |
13f64544db9357d10636edeca6cc6f0bacfca711 | 93f615199df1fc8b2817676c91c820704f8e7983 | /man/LownerJohnEllipse.Rd | 0d73486d828b9babf91dc4bb13efd5db61eccc42 | [] | no_license | cran/PlaneGeometry | d2f0242a3d655a7375a6fb8b33cee156d9a60ac1 | 91a2bba25a18b897bb069511bf2a3ab303355e71 | refs/heads/master | 2023-08-17T14:14:25.865334 | 2023-08-09T21:40:02 | 2023-08-10T01:45:56 | 239,984,510 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 747 | rd | LownerJohnEllipse.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Ellipse.R
\name{LownerJohnEllipse}
\alias{LownerJohnEllipse}
\title{Löwner-John ellipse (ellipse hull)}
\usage{
LownerJohnEllipse(pts)
}
\arguments{
\item{pts}{the points in a two-columns matrix (one point per row); at least
three d... |
909d48ed26fc45b313cd20a9be09d3206d8b5609 | 427951ea581f9b4d5df15edbc1cca2c0cb7122ee | /man/request_body.azureml_request_response.Rd | d874f02b12b43762daed6885eabb5be26e76aabd | [
"MIT"
] | permissive | ijlyttle/AzureMLPlus | cde1de18a65c544ddbfc3441754dfb64b6b04fac | cbe46f6339e3ac65425eca394ca6d49e438b5fa0 | refs/heads/master | 2021-01-13T15:05:27.681673 | 2016-12-18T23:28:57 | 2016-12-18T23:28:57 | 76,304,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 566 | rd | request_body.azureml_request_response.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/request_response_body.R
\name{request_body.azureml_request_response}
\alias{request_body.azureml_request_response}
\alias{response_body.azureml_request_response}
\title{Gets request/response body}
\usage{
\method{request_body}{azureml_request... |
9d9848d7d9429fc063ce2c64b8c2b02b5eea6aaa | a9c7f4bd51272fd6146e779d478e51633d40931a | /R/ondisc.R | 7d30f93cf896c33eab8481f877253cc19712f8bb | [
"MIT"
] | permissive | scarlettcanny0629/ondisc | 9d78a0a6551b2b54a6af22fc54d44ba2000c2fbc | 787dfaff245114f1f5fa9d1fb5595a61f492b199 | refs/heads/main | 2023-06-26T17:59:57.541622 | 2021-07-23T00:57:20 | 2021-07-23T00:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 680 | r | ondisc.R | utils::globalVariables(c("gene_idx", "expression", "."))
#' ondisc: A package for out-of-memory computing on single-cell data
#'
#' Single-cell datasets are large and are growing in size as sequencing costs drop. The ondisc package is designed to facilitate large-scale computing on single-cell expression data by provi... |
eee72fe3026aeb2f1e38df8ea28a91b614c7fdbd | fbdbfdc857cc2a59cb5066d3a0f0c3a2afe3c2f7 | /scripts/R/2021Spring/topic4_Theory_vs_Application.R | 39c2ab64974e6bb72f6f265d7533e3fc06151eac | [
"MIT"
] | permissive | RitvikaN25/Introduction-to-Machine-Learning-Big-Data-and-Application | 269848f367926b5f0a5fd6ec3af9d10859252664 | 5efa49cd71f8b80a552e15957af01ac6492925c3 | refs/heads/main | 2023-06-05T19:51:17.611492 | 2021-06-28T19:59:23 | 2021-06-28T19:59:23 | 381,170,121 | 0 | 0 | MIT | 2021-06-28T21:55:18 | 2021-06-28T21:55:17 | null | UTF-8 | R | false | false | 2,900 | r | topic4_Theory_vs_Application.R | # I. Application of Bernoulli Random Variable
# Library
library(quantmod)
getSymbols("AAPL")
getSymbols("FB")
head(AAPL); tail(AAPL)
head(FB); tail(FB)
returnAVec = quantmod::dailyReturn(AAPL$AAPL.Close)[1356:length(quantmod::dailyReturn(AAPL$AAPL.Close))]
returnA = mean(returnAVec)
sdA = sd(returnAVec)
returnBVec = qu... |
3279326e014b07d82552f86948ce38c9a9c0f43f | cd796aa36215cf47f0da2b89788ea50872c62c57 | /man/as.fumeric.Rd | 29232d7fcee5bf064e9a617dfc62d9584a435fbd | [] | no_license | CymGen30/rafalib | 0d000b70dd19124cabdc983874295f43979070f6 | 2580666c8e7f8baf1d721a43054b33392724703e | refs/heads/master | 2023-04-07T12:06:39.932162 | 2021-04-15T21:35:48 | 2021-04-15T21:35:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 534 | rd | as.fumeric.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as.fumeric.R
\name{as.fumeric}
\alias{as.fumeric}
\title{converts to factor and then numeric}
\usage{
as.fumeric(x, levels = unique(x))
}
\arguments{
\item{x}{a character vector}
\item{levels}{the leves to be used in the call to factor}
}
\d... |
440c6ebcf1f4360c0cde0cadf9d924f4e029d26c | e72b18b49000f170cc708dc4a0e59f3cd9769d84 | /Analysis and classification of London bike sharing/hclust.R | 18f3b868c6253d099b27ff41d69864192d3a05e2 | [] | no_license | Rungerlas/Data-Mining-Algorithm | fc136950c97d93be5791484972adcea63424c9ce | 52a8cccfb4b2e91d6aac03fdf9f5df4dca0daa0c | refs/heads/main | 2023-05-01T16:57:06.215565 | 2021-05-04T02:40:24 | 2021-05-04T02:40:24 | 364,118,111 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,309 | r | hclust.R | rm(list = ls())
library(factoextra)
library(NbClust)
library("class")
Data <- read.csv("Processed_Data_v2.csv", stringsAsFactors = TRUE)
Data <- Data[-1]
True_Class <- Data$cnt
Data <- Data[-1]
d <- dist(Data)
True_Class <- factor(x = True_Class, levels = c("low","normal","high"))
dir <- sort(sample(c(1... |
fab6b96480b446876eee2093b3cf3c9972c1b2e5 | af0b8239a7b4577829c38bd993ca5b0da79fe2a7 | /preprocessing.R | fd17a417ee70bcbc5713e53b090471ea9c89e229 | [] | no_license | TeresaWenhart/ambvoice_analysis | d0f7da1cda798867726d59c9352e91cf645614f2 | c4ae89598138ab54e3c858c1495ddfe178c0fd9a | refs/heads/main | 2022-12-27T19:40:38.441552 | 2020-10-14T11:12:38 | 2020-10-14T11:12:38 | 303,986,305 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,252 | r | preprocessing.R | #preprocessing behavioural data from ambiguous voices fMRI study
#library
library(dplyr)
library(tidyr)
library(stringr)
#directory
setwd("~/projects/ambiguous_voices/FMRI_study/data/behavioral")
path<-paste(getwd())
#read version A files
sub.folders <- list.files(path=getwd(), pattern="av[0-9]{2}[a-z]{1}",include... |
60633ff891b371e8e20e18272f8bbd4ef448dc8b | deed2e00447a8f039bfaa941b27fb3c2b446ddf3 | /man/conduct_ri.Rd | 3ae99324839124615e7d40d67018fcfc2636344a | [] | no_license | nfultz/ri2 | 4b450d9a71ad60777988494294d98b1a24610c65 | a7fa973b5f4ecc76ffb7770f20e89b6973e1ed74 | refs/heads/master | 2021-04-12T09:50:44.705998 | 2018-03-26T19:50:32 | 2018-03-28T20:17:38 | 126,432,485 | 3 | 0 | null | 2018-03-28T20:17:39 | 2018-03-23T04:19:14 | R | UTF-8 | R | false | true | 5,465 | rd | conduct_ri.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conduct_ri.R
\name{conduct_ri}
\alias{conduct_ri}
\title{Conduct Randomization Inference}
\usage{
conduct_ri(formula = NULL, model_1 = NULL, model_2 = NULL,
test_function = NULL, assignment = "Z", outcome = NULL,
declaration = NULL, sharp... |
79d00f3c3bd9b5ec4a7e3a28e08ad069ba8c2e3e | 41e48aee12f8aea01b8d9c15a43f3ec452077e16 | /man/get_post_pred.Rd | affee72841fbf92fa08889d00313f6c0e06e5b24 | [
"MIT"
] | permissive | anthopolos/EHRMiss | f7347a3bc403273bca45f5e67b3f88250491f6b9 | 72bf3593de43643631423f78ea54fd52ba5c1ddf | refs/heads/main | 2022-12-29T06:56:28.518818 | 2020-10-06T10:52:35 | 2020-10-06T11:11:24 | 301,695,997 | 0 | 1 | MIT | 2023-09-09T22:50:10 | 2020-10-06T10:54:11 | R | UTF-8 | R | false | true | 718 | rd | get_post_pred.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_post_pred.R
\name{get_post_pred}
\alias{get_post_pred}
\title{Get posterior predictive draws of the completed data at each iteration.}
\usage{
get_post_pred(J, priorPik, bSub, betaObs, Sigma, XRe, XObs, subjectIDY)
}
\value{
Draws from th... |
48488eae61d8862c919fe8a43134a8029c30b489 | b1c2a03915fb21e4bd3f3bf78c4035b07a9abe1d | /Transforming data.R | 765881eccc2d9df5edda88997f8ac6efa09e3f91 | [
"MIT"
] | permissive | musawenkosikhulu/Manually-create-a-data-frame | ff2630b9465b8a30292d86b2f1410962b5e44ce4 | b5800b98018ae3b661256aed4cc91b2ffbc14a16 | refs/heads/main | 2023-06-07T12:19:42.070549 | 2021-06-25T07:23:58 | 2021-06-25T07:23:58 | 380,158,547 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,195 | r | Transforming data.R | ## Below we are creating a data frame from stratch
id <- c(1:10)
name <- c("John Mendes", "Rob Stewart", "Rachel Abrahamson", "Christy Hickman", "Johnson Harper", "Candace Miller", "Carlson Landy", "Pansy Jordan", "Darius Berry", "Claudia Garcia")
job_title <- c("Professional", "Programmer", "Management", "Clerical"... |
56a66a61bcd4d04f75a842985195e2e32b5c7701 | d169d886be8108c4c034c8eff53d87f943594b9e | /man/betaFD.Rd | eefcdc6b24c146fc1a3f8393628a59ad8cda36fa | [] | no_license | ibartomeus/fundiv | 3bc70e767a100c3e7a8e4f388c78840e905a846c | 23335e30c771e0fc0b4d27e27a8be01ed2423146 | refs/heads/master | 2021-01-21T12:52:59.988727 | 2018-10-28T20:45:44 | 2018-10-28T20:45:44 | 13,769,749 | 13 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,336 | rd | betaFD.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/betaFD.R
\name{betaFD}
\alias{betaFD}
\title{Functional betadiversity}
\usage{
betaFD(c1, c2, S, Tree = NULL)
}
\arguments{
\item{c1}{vector containing the species names in the first community. NA not tolerated. In addition,
the speci... |
877b599908a94601fd377c23ddede5951cbc5428 | 69fbcf0e3a7c3293e077b654c0438fcaf5c34836 | /man/gs_data_dir_local.Rd | b88328f801e7bf4c2dbbd149e0c2d810c00cedd1 | [] | no_license | dfalbel/cloudml | 539c38d4149ac36e87a0071494d24971ef9e11b2 | 70b9449a87dc1ed62885e9eea487a1d8e941f16f | refs/heads/master | 2022-01-11T23:30:01.319252 | 2019-05-13T15:14:59 | 2019-05-13T15:14:59 | 118,812,235 | 1 | 0 | null | 2018-01-24T19:33:09 | 2018-01-24T19:33:08 | null | UTF-8 | R | false | true | 1,331 | rd | gs_data_dir_local.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gcloud-storage.R
\name{gs_data_dir_local}
\alias{gs_data_dir_local}
\title{Get a local path to the contents of Google Storage bucket}
\usage{
gs_data_dir_local(url, local_dir = "gs", echo = FALSE)
}
\arguments{
\item{url}{Google Storage bucke... |
e223b2ec40bba225427310d944965377d6363fa0 | 2855eef035919e3f2c7d28e1d6d330c49ca5547a | /tests/testthat/test_MODIStsp_01.R | 67a3e243c3f1772b33c9c4cfdbc890ad1695417c | [] | no_license | cran/MODIStsp | 57c72091c8b91d71d08de8186c3ddd0ae55b0cd4 | 2b12d6ee9c9b61f335d49c45bfaf515f2f7ff25d | refs/heads/master | 2023-06-22T23:23:42.374311 | 2023-06-12T08:20:05 | 2023-06-12T08:20:05 | 88,372,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,199 | r | test_MODIStsp_01.R | message("MODIStsp Test 1: Basic processing on bands and quality
indicators")
test_that(
"Tests on MODIStsp", {
# skip("Skip tests - since they rely on download they are only run locally")
skip_on_cran()
# skip_on_travis()
skip_if(!"HDF4" %in% sf::st_drivers("raster")$name)
... |
d9f73393168bcfbf81df726aa650f58e9cbdc28b | 9a7714ceea4c5cf1fa7e19023d3fcd8d02f9b6e1 | /R/yeast.r | b914b3db6b73b851db04888d532748a9c74982fe | [
"MIT"
] | permissive | Bohdan-Khomtchouk/gtf | d9d7b84f670701bf5a05afabb2c75b7628dd88e1 | b69254e12bafc3599d42fdeaf93b8f546e38908f | refs/heads/master | 2021-01-09T20:52:49.677153 | 2017-07-17T02:13:33 | 2017-07-17T02:13:33 | 58,662,564 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 400 | r | yeast.r | #' Saccharomyces cerevisiae (yeast) gene transfer format file data
#'
#' A dataset containing annotations of both coding and non-coding genes
#' of Saccharomyces_cerevisiae.R64-1-1.84.gtf
#'
#' @docType data
#'
#' @usage data(yeast)
#'
#' @format A data frame with 42071 rows and 9 variables:
#' \describe{
#' \url{http:... |
0a6480b1adff7970cf3b38aaf3fbc55dbc2d523d | 186a582414c0ba0119abd77f34fae8708e233d27 | /05_rshiny_footballkicks/server.R | a2ae43947cfe832911fbb2d76daa68820122f604 | [] | no_license | chencong853/programming_for_analytics_coursework | 5145b79a700b608e8e87d2e47b0b7bc0c97c5e45 | 2a6e584683790bb90ef32c0f97c362969863090c | refs/heads/master | 2020-04-23T14:42:22.692502 | 2019-12-05T00:06:48 | 2019-12-05T00:06:48 | 171,240,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,002 | r | server.R | # Assignment 04
# G43265951
# Cong Chen
library(shiny)
# Define server logic required to show the data table and draw a histogram
shinyServer(function(input, output) {
output$table <- renderTable({
infile <- input$file
# Make sure that no error happens when infile is empty
if (is.null(infile))
... |
21cc94d352a1913760dedbb193d21a36407b28ee | e4b60669e0d0b8e1e945dd53dce706e8657ed23c | /Miyao-2002_replication/Policy_Effect.R | f3734e11a0d76424742cf6c3e3775be9f35cee44 | [] | no_license | yoshiki146/Applied_TimeSeries_Analysis | ee0b69243f1832b699f2e78cd5e73783700004b4 | 0399cd3d0376c068463989c267de4c0a106cc9ac | refs/heads/master | 2021-04-30T14:26:35.502507 | 2018-09-14T07:42:32 | 2018-09-14T07:42:32 | 121,217,967 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,517 | r | Policy_Effect.R | # In this project I try to reproduce Miyao(2002, Journal of Money) and update it using recent data
rm(list = ls())
#### Import & preprocessing ####
library(tidyverse)
library(magrittr)
library(zoo)
call=read.csv('callrate.csv', fileEncoding = 'cp932',
skip=1, na.strings=c('NA ',''),
str... |
46165f360a5fbda77c0552ac1e07eb71599d44b2 | 7b82068433efacf8840c57e2c05b613dbe13d31c | /man/FactorizationMachinesPredictor.Rd | b3c07df9367a542124739b3bb6a246bbc37fb3fe | [
"Apache-2.0"
] | permissive | OwenGarrity/sagemaker-r-sdk | d25f0d264dcddcb6e0fa248af22d47fc22c159ce | 3598b789af41ed21bb0bf65bd1b4dfe1469673c9 | refs/heads/master | 2022-12-09T04:50:07.412057 | 2020-09-19T13:02:38 | 2020-09-19T13:02:38 | 285,834,692 | 0 | 0 | NOASSERTION | 2020-09-19T13:02:39 | 2020-08-07T13:23:16 | R | UTF-8 | R | false | true | 4,622 | rd | FactorizationMachinesPredictor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/amazon_factorization_machines.R
\name{FactorizationMachinesPredictor}
\alias{FactorizationMachinesPredictor}
\title{Performs binary-classification or regression prediction from input
vectors.}
\description{
The implementation of
... |
56f790e401087a9eabac8ae92c065beeeed22abc | ef0c2298da42c0c5dd684544cf9eb4ad392d57a5 | /workflow/scripts/arbigent_utils/mosaiclassifier_scripts/mosaiClassifier/haploAndGenoName.R | b37e20bbbda24b29fac41453473a0f21c9a798b2 | [
"MIT"
] | permissive | friendsofstrandseq/mosaicatcher-pipeline | 2b4a78cea345c67fbce4b4b5b4d52fe860fe1bab | 66cceada275347f2411dd1df039c91aad891f3f2 | refs/heads/master | 2023-08-31T00:22:05.838662 | 2023-08-22T14:17:41 | 2023-08-22T14:17:41 | 206,941,559 | 18 | 8 | MIT | 2023-09-13T21:26:15 | 2019-09-07T08:50:59 | Jupyter Notebook | UTF-8 | R | false | false | 2,600 | r | haploAndGenoName.R | #' returns the hapotyoe name
#'
#' @param hap.code The haplotype coding
#' @author Maryam Ghareghani
#' @export
#'
get_hap_name <- function(hap.code)
{
hap.codes <- c("1010", "0010", "1000", "0000", "0110", "1001", "0101", "2010", "1020", "2020", "1110", "1011")
hap.names <- c("ref_hom", "del_h1", "del_h2", "del... |
f622b0ffe9c55ff3d1b686ead740274ae75718c4 | a8227fe6164abf0bd786044f4206dd3e2b978af3 | /Retail Customer Association Analysis/Source Code/apriori.r | beb3c00bed8cc562d770173b6bf1fe651dcfa6d8 | [] | no_license | bhargavchintam/Data-Science-with-R | 6ba41bb228366b09ef5406aec954658d62565111 | 3621c2957f1702c61c4d5defd957e82787a3c9c4 | refs/heads/main | 2023-03-07T14:26:42.039489 | 2021-02-25T05:06:42 | 2021-02-25T05:06:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | apriori.r | library(arules)
data=read.transactions("D:/Projects/Completed/1.5.MBA/groceries.csv",sep=",")
summary(data)
inspect(data[1:2])
library(arules)
rules=apriori(data,
parameter = list(support=0.001,
confidence=0.8,
minlen=2))
rules
inspect(head(s... |
47eaa8c0fda2aded5cf989b79ba050849ecb6172 | 5919f7ceba992775d6c6df40521a453f978e0c1c | /R/acf_tidiers.R | 21dcb147ca7dee6344f13dcea7a1f31d562e6d44 | [] | no_license | jayhesselberth/broom | 2f9e61f356271c99e2acc2354ec862fc30d0cb2d | 5f43b99ef048a8ddd88054123767d0879c853709 | refs/heads/master | 2021-01-13T16:18:01.089515 | 2016-01-05T16:20:49 | 2016-01-05T16:20:49 | 47,700,987 | 0 | 0 | null | 2015-12-09T15:44:48 | 2015-12-09T15:44:47 | null | UTF-8 | R | false | false | 1,387 | r | acf_tidiers.R | #' Tidying method for the acf function
#'
#' Tidy the output of \code{acf} and related \code{pcf} and \code{ccf} functions.
#'
#' @name acf_tidiers
#'
#' @param x acf object
#' @param ... (not used)
#'
#' @return \code{data.frame} with columns
#' \item{lag}{lag values}
#' \item{acf}{calucated correlation}
#'
#'... |
52768979644f97ce93fb9cb3a6d595b56ab2975d | ea025083ec6cd77206b17e24a83a8374d19047d9 | /man/PlumberStatic.Rd | 1a6311ea834d927cd8298f5ecec9590b06a5dce4 | [] | no_license | cran/plumber | 0d5cad10b2901671fcb48b90c2872317d875fd15 | f610ca3332c4902e5402544d7702be58b7bb671e | refs/heads/master | 2022-09-14T21:44:41.054635 | 2022-09-06T18:10:02 | 2022-09-06T18:10:02 | 56,244,613 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 8,936 | rd | PlumberStatic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plumber-static.R
\name{PlumberStatic}
\alias{PlumberStatic}
\title{Static file router}
\description{
Static file router
Static file router
}
\details{
Creates a router that is backed by a directory of files on disk.
}
\section{Super classes}... |
b0fe0e44dbb321e934174cf12409aa596abe8f34 | c8483aa2b20715ede1ac67f978926a893364c1a4 | /MakeBarGraph.R | 2735456c8f3ffcd29037f6e6de2eb903f39c0ea6 | [] | no_license | rkchudha/BioHacks | 19e138700c6107ae1fc8321f31f93e10ca40a725 | 2ca5c87b81e3d406f51343ae46e767e27579fccc | refs/heads/master | 2021-09-09T17:37:10.078629 | 2018-03-18T16:03:13 | 2018-03-18T16:03:13 | 125,648,012 | 0 | 2 | null | 2018-03-17T23:37:11 | 2018-03-17T16:24:22 | null | UTF-8 | R | false | false | 466 | r | MakeBarGraph.R | # Creates a bar graph indicating the number of genes related to to a specific cancer and whether it's favourable
nums <- read.table("CancerCount.csv",sep = ",", header = TRUE)
mat <- matrix(c(nums$Unfavourable, nums$Favourable), ncol=2)
barplot(t(mat), horiz = TRUE, names.arg = nums$BodyPart, las=2, main ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.