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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0686f76674c70be6b4bce2dd50f74325b309700d | 9cc7423f4a94698df5173188b63c313a7df99b0e | /R/find_season.R | 429e879b2e91e02fcc3b44a8c790e9d2c948c589 | [
"MIT"
] | permissive | HugoNjb/psycho.R | 71a16406654b11007f0d2f84b8d36587c5c8caec | 601eef008ec463040c68bf72ac1ed8d4a8f7751f | refs/heads/master | 2020-03-27T01:24:23.389884 | 2018-07-19T13:08:53 | 2018-07-19T13:08:53 | 145,707,311 | 1 | 0 | null | 2018-08-22T12:39:27 | 2018-08-22T12:39:27 | null | UTF-8 | R | false | false | 569 | r | find_season.R | #' Find season of dates.
#'
#' Returns the season of an array of dates.
#'
#' @param date Array of dates. Must cover the 4 seasons.
#'
#' @return season
#'
#' @examples
#' library(psycho)
#'
#' dates <- c("2017-02-15", "2017-05-15", "2017-08-15", "2017-11-15")
#' find_season(dates)
#'
#' @author \href{https://dominique... |
317b229f3da1c6cc0bf532d403a1a21c945c7728 | a0ac7178b6ca4b13cc78102468ee2e0272358c9e | /man/createPostgreSQLTable.Rd | 890dc05d1af47f804501b2c2eb2909c56b416725 | [] | no_license | FranciscoChen/TCGAParser | 0a34187b1d9fb55679393a474edf2724a658f594 | f3751019122f38c4e442a7d47dd27056f6ef5c8b | refs/heads/master | 2021-01-10T19:04:57.819619 | 2014-09-09T09:04:59 | 2014-09-09T09:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 532 | rd | createPostgreSQLTable.Rd | \name{createPostgreSQLTable}
\alias{createPostgreSQLTable}
\title{Create PostgreSQL table}
\usage{
createPostgreSQLTable(cancer, array, drv, ...)
}
\description{
Create the table in the PostgreSQL database (needs the
sampleinfo file from filterBarcodes).
}
\details{
Requires RPostgreSQL package and a connection... |
34b42e96cf18e8dd2ce32fc01e05bae16c64be3a | 5a5f43179fe5675d91ef0dd31b662fedf7eb9b11 | /tests/testthat/test-rpptx.R | a5a226e00d2010d3be07e26487e1ac44682dd3e5 | [
"MIT"
] | permissive | davidgohel/officedown | 4e63a99cae4d6cb9f254d31ca6d5cf9d278f453c | a831d923b577bbf376070e155097d5f9dec2e9a0 | refs/heads/master | 2023-07-10T11:41:08.442432 | 2023-01-06T12:18:33 | 2023-01-06T12:18:33 | 126,241,290 | 333 | 36 | NOASSERTION | 2022-02-19T15:36:51 | 2018-03-21T21:12:48 | R | UTF-8 | R | false | false | 504 | r | test-rpptx.R | library(xml2)
library(officer)
library(rmarkdown)
skip_if_not(rmarkdown::pandoc_available())
skip_if_not(pandoc_version() >= numeric_version("2"))
source("utils.R")
test_that("visual testing tables", {
testthat::skip_if_not_installed("doconv")
testthat::skip_if_not(doconv::msoffice_available())
library(doconv... |
a7c1424c72a97ed1aa3d6e53486235fd40002a60 | b502e4acb77f172777b08b7978b7509ba4e774b5 | /scripts/2_process/merge_data.R | 7e86158ce6de93eef2a40764fb777732e9822e6a | [] | no_license | limnoliver/GLRIeof | 565513fe9132dceef6177c9fba9d14fcf8e533b6 | ecabc93b124dfb349c00cac061312e5eda4215e4 | refs/heads/master | 2020-06-24T06:12:59.255261 | 2018-05-21T14:50:22 | 2018-05-21T14:50:22 | 96,921,879 | 1 | 1 | null | 2017-07-19T19:16:57 | 2017-07-11T17:59:55 | R | UTF-8 | R | false | false | 1,167 | r | merge_data.R | # script to merge wq, rain, and discharge data
library(dplyr)
site <- 'sw3'
temp_file <- paste0('data_cached/', site)
wq <- read.csv(paste0(temp_file, '_prepped_WQbystorm.csv'))
rain <- read.csv(paste0(temp_file, '_rain_variables.csv'))
discharge <- read.csv(paste0(temp_file, '_discharge_variables.csv'))
weather <- re... |
775599aaa7b3748b944690fa31999d3d23d7be7a | 5de5417c72915decfc509e4510de7a08c22e5bc3 | /R/summarise-cox-data.R | 37faa4646e19f58068d3b69aa5c54c338c7cc9b1 | [] | no_license | kholsteen/n1coxeval | 20a60f4340d568315963e87e1fd38b2ca6de96af | 93613addc177a4953bb561fff4a139980b548854 | refs/heads/master | 2021-07-15T01:05:42.517982 | 2021-02-24T23:04:01 | 2021-02-24T23:04:01 | 234,411,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 988 | r | summarise-cox-data.R | #' Summarise Cox data for n-of-1 power analysis
#' @keywords internal
summarise_cox_data <- function(data,
x_vars = NULL,
sim = TRUE) {
stopifnot(sim == TRUE | !is.null(x_vars))
## general results
## Note for the real data, n_days is missing all the ... |
61adfef31420d8a683ebf6d49529ee3fabd039bb | b27add4ba86007bed7d4c22124eae8578f1104c8 | /tech/bitmap_to_netlogo.R | 6f8e40a00c0b1221d8d78a745afd1725584d558e | [] | no_license | lauterbur/logo_models | e56b6fb80dd4db6145214d84673356dbcc53c8ee | dd0e074de626c68203ee4c8a9221545259d42b47 | refs/heads/main | 2023-07-09T17:10:16.821183 | 2021-08-11T02:13:23 | 2021-08-11T02:13:23 | 343,675,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,785 | r | bitmap_to_netlogo.R | library(tidyverse)
library(bmp)
library(pixmap)
b <- read.bmp("/home/lauterbur/Desktop/AAUW_project/tech/TownTechMap_Base.bmp")
b
m<-as.raster(b,max=255L)
m
plot(1, type = "n", axes = FALSE, xlab = "", ylab = "")
usr <- par("usr")
rasterImage(m, usr[1], usr[3], usr[2], usr[4])
dict<-setNames(c(7,9.9,115,66,15,95,87,... |
4235c1bbd98e2cedd482fa9df9bf285b9bb5f93d | 2975fba6bf359214c55e7d936f896a5a4be3d8f5 | /man/riskRegression.Rd | 3812e62ae0d8b0f81201502fba26b6a905e7aac5 | [] | no_license | tagteam/riskRegression | 6bf6166f098bbdc25135f77de60122e75e54e103 | fde7de8ca8d4224d3a92dffeccf590a786b16941 | refs/heads/master | 2023-08-08T03:11:29.465567 | 2023-07-26T12:58:04 | 2023-07-26T12:58:04 | 36,596,081 | 38 | 14 | null | 2023-05-17T13:36:27 | 2015-05-31T09:22:16 | R | UTF-8 | R | false | true | 6,112 | rd | riskRegression.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/riskRegression-package.R, R/riskRegression.R
\docType{package}
\name{riskRegression}
\alias{riskRegression}
\alias{ARR}
\alias{LRR}
\title{Risk Regression
Fits a regression model for the risk of an event -- allowing for competing
risks.}
\usa... |
a7b28b0e96329f7a96f456f4ad766fd3ca80e305 | 1e3f537764f4ad82ecef32b59115877aba4d79dc | /analysis/debugging_codes/make_fake_vaccine_codes.R | 2b40ae9e2916f0a7db2c00dbf5a878b5977a5e51 | [
"MIT"
] | permissive | opensafely/openprompt-vaccine-long-covid | 8201b51617192d142733a7cbaf35237fe97d27d9 | 70d4815d221b8cf9242d050310e1c8f2dccd96ea | refs/heads/main | 2023-08-23T10:39:27.462357 | 2023-08-21T16:00:50 | 2023-08-21T16:00:50 | 561,415,672 | 1 | 0 | MIT | 2023-07-31T12:15:58 | 2022-11-03T16:33:24 | R | UTF-8 | R | false | false | 3,900 | r | make_fake_vaccine_codes.R | library(tidyverse)
library(lubridate)
vacc_names <-
c(
"Comirnaty COVID-19 mRNA Vacc ready to use 0.3ml in md vials",
"Comirnaty Original/Omicron BA.1 COVID-19 Vacc md vials",
"COVID-19 mRNA Vaccine Comirnaty 30micrograms/0.3ml dose conc for susp for inj MDV (Pfizer)",
"COVID-19 mRNA Vaccine Comirnat... |
8ed5cf7ebe01f50e9a1cefee0e7af12d86662996 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610054742-test.R | 391386584be84d4c4b8ca369e6a2049ddf585815 | [] | 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 | 244 | r | 1610054742-test.R | testlist <- list(a = -724249388L, b = -724249388L, x = c(-1111638595L, -1111638595L, NA, -1111638595L, -1120859393L, -4342339L, -1111621699L, -1109533185L, -14083301L, 1362168575L))
result <- do.call(grattan:::anyOutside,testlist)
str(result) |
855aa1d1cc8dc1086f920b1754980fdac396f7dd | c4a3a7701643529faca199777c55466462ff565d | /tests/testthat/test_GeoShiny.R | 93e81414fc4780e3af56537fe52ddc3de31d09a7 | [] | no_license | mariatreesa/Shiny-App | e00da85428f1e3b96ddab494ab35fc0cdf13f61f | f9bd19e19f605ffcc206ec89a14ec4ad44bd84cf | refs/heads/master | 2022-11-15T22:41:11.251663 | 2020-07-07T12:58:57 | 2020-07-07T12:58:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | test_GeoShiny.R | # Test suits for package GeoShiny
# Function to be tested
context("geocode_response")
# Test that function takes a valid address (No nulls or multiples)
test_that("geocode_response takes one address at a time", {
expect_error(geocode_response(address = c("Kerala", "Nairobi")))
expect_error(geocode_response(address... |
2b73fa51e095c2b72346bdf0a933f8bd062510e9 | afcd366c47419daf0687137c06e94c9b32117bdb | /man/peg_referencia.Rd | 8cb7c9a43ef3734ee6052b4f011fdb04e0240788 | [] | no_license | luizmartins1980/apida | 1963bcfff0be75805f057efb60d2af0b3be21a80 | 98677327fafaf5bc648f55b25bd179a3cae766fb | refs/heads/master | 2021-04-25T06:40:43.017069 | 2017-07-22T03:52:37 | 2017-07-22T03:52:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 469 | rd | peg_referencia.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/peg.R
\name{peg_referencia}
\alias{peg_referencia}
\title{Pegar tabela de referência de alguma categoria}
\usage{
peg_referencia(tipo_referencia)
}
\arguments{
\item{tipo_referencia}{Tipo da referência (situacoesDeputado,
situacoesEvento, sit... |
6ab84cb84dd176946b6b59c1764652a3517bea3c | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/factorstochvol/inst/doc/paper.R | 53e2075917c4cdc91d74c11280ff1245b3204225 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,376 | r | paper.R | ## ----setup, include=FALSE, cache=FALSE----------------------------------------
knitr::render_sweave()
knitr::opts_chunk$set(prompt = TRUE,
fig.show = "hide",
warning = FALSE,
error = FALSE,
message = FALSE,
e... |
2fb9bf908a1e490e9b4d2aae5b6307173e6954b7 | 1a4c6cdabc81e7f06353cfeec61160e5e4a8b5dd | /Project 1/histo.R | 100f3c88f83021701ccef3dc99a8292cdba0e3a9 | [] | no_license | dhananjaymuddappa/rainman_assignments | d8a62ffe93f145939591b395547d319136e4b4c6 | 53c8d5d54b1230530099dbbc3c3515a21981ede4 | refs/heads/master | 2021-01-10T12:01:54.831940 | 2016-03-22T20:21:34 | 2016-03-22T20:21:34 | 54,506,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 283 | r | histo.R | histo <- function(fileName, param)
{
data <- read.csv(fileName)
title <- paste("Histogram for",param) #to print title using given parameter
#draw histogram of given parameter with red bars and black border
hist(data[,param], main=title,xlab="Subject",border="black",col="red")
} |
0ef236bd4b9f28b1e3e3bd8b3c2e0ef4927dcb02 | 1170116acf04e3e7d5baf8563fd36ee313917573 | /man/workout.Rd | 57f7080288d91f9d01fcb9659d66e28785e16724 | [
"MIT"
] | permissive | r-lib/bench | 9cbd5403ea2ac07c38066fd922edd0af756f064c | 8d4ab5ea8219f00cc476a4702df91d2b18f47b12 | refs/heads/main | 2023-05-11T03:42:08.981583 | 2023-05-04T17:09:03 | 2023-05-04T17:09:03 | 128,975,118 | 218 | 33 | NOASSERTION | 2023-05-04T17:07:41 | 2018-04-10T18:01:13 | R | UTF-8 | R | false | true | 1,203 | rd | workout.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/workout.R
\name{workout}
\alias{workout}
\alias{workout_expressions}
\title{Workout a group of expressions individually}
\usage{
workout(expr, description = NULL)
workout_expressions(exprs, env = parent.frame(), description = NULL)
}
\argume... |
c7c1b68515db85d4ca90efff042199f1edbd692a | 39b49fcf536a01a19471e999e25eebba96fe4ef8 | /基于词典的情感分析-吴.R | 23f34926b17ed1c2482956501ee980a75f76996a | [] | no_license | ZuoRX/textming | fad537d062e1b734cafb1d395ea3764b43fcdb4e | 3d4595d441cc6c7cd0ef122115c1d8c4c73cc363 | refs/heads/master | 2020-05-09T13:40:33.843434 | 2019-04-13T11:48:30 | 2019-04-13T11:48:30 | 181,162,111 | 2 | 0 | null | null | null | null | GB18030 | R | false | false | 3,012 | r | 基于词典的情感分析-吴.R | #导入需要的包
library(readxl)
library(jiebaR)
library(plyr)
library(wordcloud2)
# 读入评论数据
evaluation <-read.csv("C:/Users/lenovo/Desktop/评论.csv",quote = "",sep = "\"", header = T, stringsAsFactors = F)
###也可以这样导入
#evaluation <- read_excel(file.choose())
head(evaluation)
str(evaluation)
##导入正/负面词典以及停用词
pos <- r... |
59f8a3271fa9979e113f0f942fab9d6bea009ffd | 5f35705a49444701a9a95b4d5f110f8d3243c718 | /psopso.R | b547a205ba9db65e5198f2f9dc4ef98548f15425 | [] | no_license | bdkv5/Project_2_EXP_DATA | 8c904498de49a21dbc04b8b5b09bb3b16538458f | b63bac34912dc82afd7b5f7e29243831a4f55119 | refs/heads/master | 2020-12-24T18:23:08.707837 | 2016-05-10T01:08:40 | 2016-05-10T01:08:40 | 57,287,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,605 | r | psopso.R | km_data<- iris[,1:4]
km_data_1<- as.matrix(km_data)
library(clv)
km <- kmeans(km_data_1,6)
km_scatter <- cls.scatt.data(km_data_1,km$cluster)
km_intra <- mean(km_scatter$intracls.average)
km_inter<- (sum(km_scatter$intercls.centroid))/(length(km_scatter$intercls.centroid) -sqrt(length(km_scatter$intercls.centroid)))
f... |
6e280545a7823ef2ac66e60b274fa0795a418249 | 86e964e857881f13fb7c93bfe42c53d9d9829ab6 | /elevation_analysis.R | 5f9d4e85a2f7de05f22c98ff78dd3e4f8ce63345 | [] | no_license | tsze/elevation_analysis | 4fe6a354dfd4af3f1ad0846e5cc74bc7b700d181 | 9b2938710ddb8f4c5d0b2356b9e112e00bfcc125 | refs/heads/master | 2021-01-13T01:27:30.547901 | 2015-07-02T21:54:38 | 2015-07-02T21:54:38 | 38,458,142 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,597 | r | elevation_analysis.R | ###############################################################
# Strava elevation analysis
#
# 1. Load a gpx file of a workout
# 2. The file will be displayed on a map
# 3. For the coordinates in the gpx file, google maps elevation is queried
# 4. The plot and analysis will compare the elevation of the gpx records
#
#... |
5cab151d225deafebbfa3e09bb436ffb80af4871 | 208786be9a52ff77f0b96ba6fa0b66767b9bde53 | /R_script/K means/k_means_occu_2_5.R | c7a400fb21f3fdaa42a9ca77bcacf526106d4f19 | [] | no_license | federico1ciceri/AR1DP | cde17efdf02c216e5e1c6f7f1536c96e81e953ea | 22cb172345af68ee77928ce32142317da860f4bd | refs/heads/main | 2023-03-03T12:31:30.234623 | 2021-02-17T09:31:32 | 2021-02-17T09:31:32 | 330,157,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,974 | r | k_means_occu_2_5.R | #######################################################
#### Gender bias occupations (jitter) --> k-means #####
#######################################################
# import some libraries
library(clusterCrit)
library(cluster)
library(factoextra)
library(openxlsx)
library(tidyverse)
rm(list = ls())
#... |
5851b5fe7425ce641a8159d313cf7c8406cf2f54 | ed129e26a61f1b241a5cf89c825f75134243f331 | /missingVars.r | eccfe61819c6aac5dd82b92de9f8f538e4f3721a | [] | no_license | orduek/analysisR_va | 53d29c8dce0f6115222d181de26cfbbd2ebebdb2 | 3baeba96900065ab963483799bf6c6a8a43daf42 | refs/heads/master | 2021-07-04T08:18:33.729832 | 2020-09-29T09:33:02 | 2020-09-29T09:33:02 | 177,653,903 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 735 | r | missingVars.r | library(mice)
library(missForest)
data <- iris
summary(iris)
iris.mis <- prodNA(iris, noNA = 0.1)
summary(iris.mis)
md.pattern(antiDP_dat)
# lets create a data frame just for PCL scores
# then we can merge it back to the original data frame
#
justPCl <- select(antiDP_dat, PTSDIND, contains("PCL"))
md.pattern(justP... |
bfc44da78189dfa25053ea6261ba48300d042785 | 37e0c547fc64f1d18e698d041e2f37e6bd240018 | /coryGenomeScaleModel.R | c28fba43457391b90af58e9347f65d366b80c110 | [] | no_license | metabdel/genomescale_scripts | bbd947e876f0267299fd93ef53ab51974bf94b5d | cd2e6ce87020dffeee74580620566c884fe70b1b | refs/heads/master | 2022-12-01T01:47:54.717618 | 2020-08-20T23:14:57 | 2020-08-20T23:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,074 | r | coryGenomeScaleModel.R | library(trena)
library(BiocParallel)
library(RPostgreSQL)
library(dplyr)
#----------------------------------------------------------------------------------------------------
# Bring in the TF-motif mapping
motifsgenes <- readRDS("/ssd/cory/github/genomescale_scripts/2017_10_26_Motif_TF_Map.RDS")
#---------------------... |
6e51a8d01798b3f7b9464cffb61a79a28f70a19a | 130c45c5c2983020b27665af9b008b0171ef0662 | /martymeninopayroll1.R | ac558e106d34d7356b16e12179916a8bc88ad937 | [] | no_license | andrewbtran/scripts | f0032cee6a66b68d71840d7ad8a9b65ca34f3bd8 | 042e78c82b3bb88d1df606fab5a70e99978763bd | refs/heads/master | 2021-03-12T22:12:59.425729 | 2014-08-06T21:29:36 | 2014-08-06T21:29:36 | 20,237,435 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,065 | r | martymeninopayroll1.R | setwd("C:/Users/andrew.tran/Downloads")
payroll = read.csv("newpayroll.csv")
payroll$Service.Dt = as.Date(payroll$Service.Dt)
marty = subset(payroll, Service.Dt >= "2014-01-06")
menino = subset(payroll, Service.Dt < "2014-01-06")
menino = subset(menino, Service.Dt >= "1993-07-12")
#martyA = subset(marty, Department.Na... |
7e7b3e2cd00f9203bfc3a9c06af4bded350f8057 | cfe1a4bb705d1ced1cab374d8fecde20bf4f8f8b | /R projects/Exploratory Data Analysis on Official Flu Data (CDS) using R/Part 3/sagnikghLab1Part3shiny.R | 0f8e516955344bff1059323a918b4ed653534b64 | [] | no_license | githubsagnik/UB-Projects | 73cb81fb5ea65aa3f9744f1e1e192283ed37ade1 | f90cfd6ccaef0fb4ffeb0ecfb56cd7a82259f5a7 | refs/heads/master | 2020-07-30T03:24:26.977195 | 2019-09-22T06:23:32 | 2019-09-22T06:23:32 | 210,069,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,397 | r | sagnikghLab1Part3shiny.R | #install.packages("shinyWidgets")
#install.packages("shinythemes")
library(shiny)
library(shinyWidgets)
library(datasets)
library(shinythemes)
# App URL: https://sagnikgh-dic-lab1.shinyapps.io/FluHeatmap/
ui <- fluidPage(theme = shinytheme("superhero"),
titlePanel("Data Intensive Computing: Lab 1: P... |
45fbaf0c1973911f51cc820724393e2036fe6b36 | 101c721fddf7b7235e233e58c514f769ce1d0897 | /pkg/OPI/man/MOCS.Rd | e0fd7b226302609a8514359b2290e09f8f034f3e | [
"Apache-2.0"
] | permissive | turpinandrew/OPI | b426334e847db985c0f608adaadec25ed04b8545 | b201374e0032cf7c7f231cce9b2ba8e30913700b | refs/heads/master | 2023-08-31T03:19:04.586421 | 2023-08-21T09:41:03 | 2023-08-21T09:41:03 | 11,876,860 | 9 | 5 | null | 2017-08-09T17:26:04 | 2013-08-04T10:01:17 | R | UTF-8 | R | false | true | 8,996 | rd | MOCS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mocs.r
\name{MOCS}
\alias{MOCS}
\title{Method of Constant Stimuli (MOCS)}
\usage{
MOCS(
params = NA,
order = "random",
responseWindowMeth = "constant",
responseFloor = 1500,
responseHistory = 5,
keyHandler = function(correct, ret)... |
25631d0ec0a62db2b0057d0e5c722107d88bf468 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/synthACS/examples/all_geog_optimize_microdata.Rd.R | b5efd628fc3e396de729c32223c789369f96ef2e | [] | 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 | 552 | r | all_geog_optimize_microdata.Rd.R | library(synthACS)
### Name: all_geog_optimize_microdata
### Title: Optimize the selection of a micro data population for a set of
### geographies.
### Aliases: all_geog_optimize_microdata
### ** Examples
## Not run:
##D # assumes that micro_synthetic and cll already exist in your environment
##D # see: example... |
8885f9ea317570847a98e86500a44057bbb1b4a8 | 7f28759b8f7d4e2e4f0d00db8a051aecb5aa1357 | /R/manuscript_code/age_trends.R | 2c9cd3fb0bfd0e3a34d76bbcc3ab67cd872fc297 | [] | no_license | DataFusion18/TreeRings | 02b077d7ed2a5980ae35be7c04a60c28f0ba3928 | e57f6ee4d774d2bda943f009b148e6e054e6c1d1 | refs/heads/master | 2023-03-29T02:44:34.186155 | 2021-03-31T00:01:13 | 2021-03-31T00:01:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 229,767 | r | age_trends.R | library(dplR)
library(ggplot2)
library(plyr)
library(raster)
library(data.table)
library(rgdal)
library(mgcv)
library(tidyr)
library(SPEI)
library(boot)
library(dplyr)
# lets look atrelationship to climate with age:
setwd("/Users/kah/Documents/TreeRings")
#####################################
#read in rwl & add site +... |
2ac511e3cda945f3148ad7496a73ae820e20a859 | 19504db9337ab899a58b0203e5ca73ffd9fc5e36 | /run_analysis.R | ca641899dbf7e1c119a1871e8a9650dbc6ccdef3 | [] | no_license | jtarrou/Getting-and-Cleaning-Data-Final-Project | 574c007b1314c82af28bf942979040a608569fb5 | 3c987aa6b2603aedb87bdb0de0e693885aebe6b9 | refs/heads/master | 2021-01-01T17:47:55.983691 | 2014-10-26T20:35:22 | 2014-10-26T20:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,376 | r | run_analysis.R | # This is the final project for the Getting and Cleaning Data course
# load library data.table
library(data.table)
# I stored the files in a sub-directory names humanActivityRecog
# so I set working directory
setwd("./humanActivityRecog")
# after calling dir() I begin reading in and looking at the data. I'll skip th... |
5e80fc6d28d1404abee823758a953c2a8f339890 | 9027136fa37e33a2ac08eb64809fe2e27986f7aa | /Meetup4-TallerShiny-master/Ejemplo2/server.R | 8d73e76ad7cec78b7426b825a17faa790409edc0 | [] | no_license | mecomontes/R-Programming-for-Data-Science | 65f0397109d030a8960299efb998ef2de2b02e47 | 1914a0bef880bd347a1bd6f772ec66e413bb587a | refs/heads/main | 2023-06-13T05:40:10.032174 | 2021-07-11T22:32:19 | 2021-07-11T22:32:19 | 385,065,149 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 896 | r | server.R | server = function(input, output) {
output$thisPlot <- renderPlot({
years <- gapminder[gapminder$year == input$var_year, ]
idcountry <- which(years$country == input$var_country)
rangepop <- range(gapminder$pop)
p <- ggplot(years, aes(gdpPercap, lifeExp, size = pop)) +
geom_point(alpha =... |
445914208598b2b5fd2adcb4ca38a5264600a6ee | 372e4db4c34fea50cf5997344940186ed8a7f603 | /posgrado/clase-1/caret.R | 052fb80d5fa53af13c7b8509eb5aba15407a2c82 | [] | no_license | martinezmelisapamela/r-learning | 1bba6b01c97580fd67a08772313b640cb5fefe45 | 7cd55227e9287431f5c7ef92f818daf28441eedf | refs/heads/master | 2020-08-28T06:13:50.337086 | 2019-10-27T04:09:20 | 2019-10-27T04:09:20 | 217,618,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33 | r | caret.R | library(caret)
#installar ggplot2 |
d87777fd23a987387301c1c139750964467079a9 | 774183c253e6eac37e7d98fabe5dd4786bbc0c37 | /inst/doc/h_tabular.R | 9eaaab1119ccb0495c57a5ea9781d3441a5d42eb | [] | no_license | cran/heemod | fd6b6497b12c7dffcf11ba89a92f7d23c37f7be1 | 6dd0264b6656353c19c345a8be83718321c34023 | refs/heads/master | 2023-07-19T20:16:54.993409 | 2023-07-18T21:50:11 | 2023-07-18T22:30:57 | 48,670,398 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,616 | r | h_tabular.R | ## ---- echo=FALSE, include=FALSE-----------------------------------------------
library(heemod)
library(dplyr)
format_na <- function(x, char = " ") {
x[is.na(x)] <- char
x
}
## ----echo = FALSE-------------------------------------------------------------
heemod:::read_file(system.file("tabular/thr/REFERENCE.csv",... |
85dee07e2b0f7570a84d3249f093f667ecbe0c1f | 5af4d49d7dd61a0977257b1aa832cdd569ea67f8 | /man/ci.ICC3r.nointer.Rd | 482deaa346ee07a5df885abb517d0494219fa8ee | [] | no_license | cran/irrICC | 19618b0f29d7f292c2f6878f5242e9cbc12f61ee | 2da1f07f4ca40f7bd802adf52c786d7d3b46cc81 | refs/heads/master | 2020-07-30T23:40:19.174599 | 2019-09-23T14:00:02 | 2019-09-23T14:00:02 | 210,402,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,599 | rd | ci.ICC3r.nointer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/icc2x3.r
\name{ci.ICC3r.nointer}
\alias{ci.ICC3r.nointer}
\title{Confidence Interval of the ICC(3,1) under Model 3 without subject-rater interaction}
\usage{
ci.ICC3r.nointer(dfra, conflev = 0.95)
}
\arguments{
\item{dfra}{This is a ... |
b3e062ac067a9315726d20d4d08897d927f79068 | c6c90e3231c3c1cf15f87dbd28cf65eb97b0399a | /tests/testthat/test-get_elev_point.R | b53ca10ac72eaf0a45457262ad7d25452b5d8764 | [] | no_license | kristineccles/elevatr | 84ae2fea0173852bfe5c50ca6dfdbcfe657fc585 | 87ff7f4e31e2b011105950af8509a9f35e841782 | refs/heads/main | 2023-03-22T01:40:08.393353 | 2021-03-05T00:59:02 | 2021-03-05T00:59:02 | 348,811,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,005 | r | test-get_elev_point.R | context("get_elev_point")
library(sp)
library(sf)
library(elevatr)
data("pt_df")
data("sp_big")
skip_on_os(os = "solaris")
if(R.version$major == "3" & R.version$minor == "6.2"){
skip("Skipping on R Version 3.6.2")
}
ll_prj <- st_crs(4326)
aea_prj <- st_crs(5072)
sp_sm <- SpatialPoints(coordinates(pt_df),CRS(SRS_st... |
fe3008eb128708f673c1367f35741ed69e4284dd | e21cd094b8a840cec8e6d3e024c24e49201b794a | /DAOY_cell_line.R | bc69bcec383613caabed38f7355a88e90bc9c2bb | [] | no_license | SiyiWanggou/CLIC1_in_Medulloblastoma | 810185e9f3409f23f9f636a2aeb489b7fecc2c66 | f3e91d52f0648beac3267af1f271c6340c7aa753 | refs/heads/master | 2021-06-19T12:11:16.975034 | 2021-04-14T11:05:03 | 2021-04-14T11:05:03 | 167,466,632 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,178 | r | DAOY_cell_line.R | #-----shCLIC1_vs_shScr------
#Analysis at gene level
setwd("O:/Michelle_CLIC1/DAOY/CLIC1_RNAseq/Ballgawn")
library(ballgown)
pheno_data<-read.csv("shCLIC1_vs_shScr_phenotype.csv")
bg<-ballgown(dataDir="shCLIC1_vs_shScr",samplePattern="CHE8695_",pData=pheno_data)
names<-data.frame(geneNames=ballgown::geneNames(bg)... |
2539226f819de6f2ce6de822a6f9805c4dc7966e | 7b22ee9d8575613eb3e2c6b1c9800a59f2453df5 | /R/many_pal.R | bc3e13ffee0f676ccc3af24788bfbdc7005b9335 | [
"Apache-2.0"
] | permissive | witch-team/witchtools | b362c5faad85c46cc4dfd75e229e7327d1ac15b6 | 7731eb5220d64816d89dea5723b38671e50a8746 | refs/heads/master | 2023-08-03T11:00:41.120440 | 2023-07-28T16:24:48 | 2023-07-28T16:24:48 | 212,095,276 | 5 | 3 | NOASSERTION | 2023-09-13T21:37:07 | 2019-10-01T12:52:28 | Assembly | UTF-8 | R | false | false | 4,099 | r | many_pal.R | #' Many color palettes
#'
#' Creates thematic palettes for WITCH results and other
#'
#' @param component palette's component (`fuel`, `region`).
#' @param theme A palette theme (`witch-plot` (default)).
#' @param restrict_names only return the corresponding named values.
#' @export
#'
many_pals <- function(component =... |
3d153cc5227cda4013be47518a03f722de0adfc8 | 21e4367e753a15daf36970717d296c5a3b0714ed | /man/install.CMake.Rd | 00158f7ee6abe9b50d5fa27d28ef61743a63c68a | [] | no_license | dnlbrky/installr | 4ae890d017b8239b5c47f0e9885e95c50cf14eed | a288151f099937051a72c6e064a05ad6333f863c | refs/heads/master | 2021-01-14T13:08:27.876299 | 2014-11-27T05:41:07 | 2014-11-27T05:41:07 | 27,207,639 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,058 | rd | install.CMake.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{install.CMake}
\alias{install.CMake}
\alias{install.cmake}
\title{Downloads and installs CMake for windows}
\usage{
install.CMake(URL = "http://www.cmake.org/cmake/resources/software.html", ...)
}
\arguments{
\item{URL}{the URL of the CMake download page.}
... |
3474f64fc647107a1e33f25df84b977b1a0b54c6 | aded9f46e200628422c9d145cf3edd9546ff87a9 | /MEPDataExplorer/ui.R | 26c38f801ab3fe05611abd4415276f0594c11402 | [
"MIT"
] | permissive | MEP-LINCS/MEPDataExplorer | 58a0aa7e262b5fbc0c3158f2f931b8312d3ed385 | 0bcc51fa3a7dd76dac8c9f74651547ed30767269 | refs/heads/master | 2020-04-06T07:05:51.059510 | 2019-10-29T00:04:35 | 2019-10-29T00:04:35 | 62,261,464 | 0 | 0 | MIT | 2019-10-29T00:04:36 | 2016-06-29T22:15:40 | R | UTF-8 | R | false | false | 1,197 | r | ui.R | library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
tags$head(
singleton(
includeScript("www/readCookie.js")
)
),
# Application title
titlePanel("MEP-LINCS Data Explorer"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPa... |
ba330d46ebdf3e9f4b1fd82bf9c3c6067cf1a471 | e305f58e445fb6e24aaebd5312ba713e84b0e597 | /workshop1.R | a346215bbc38e40d3bfc91014be7b5962126d061 | [] | no_license | JoannaKvB/workshop1 | 04534e8a552347dcf7d9ae3b97ce352e4a16ee87 | d888cdf65cae52c064d48eab7e644a69b1030daa | refs/heads/master | 2021-07-16T21:07:21.631184 | 2017-10-24T18:42:25 | 2017-10-24T18:42:25 | 108,168,608 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,533 | r | workshop1.R | install.packages("ape", dependencies=TRUE)
install.packages("binom", dependencies=TRUE)
install.packages("car", dependencies=TRUE)
install.packages("leaps", dependencies=TRUE)
install.packages("meta", dependencies=TRUE)
install.packages("pwr", dependencies=TRUE)
install.packages("visreg", dependencies=TRUE)
inst... |
6b460a015b6434ab6ed7ccd1520172c5565dd8d3 | 8d00160bd339b95b5fe31156964e3de4ff5a8440 | /dplyr Tutorial/tutorial.R | acaec0ffd7d7ddc7db991345e478ef40f2004ab7 | [] | no_license | akl21/dataplus | 497464f3321e0ea8cc8b827157c02455165188fd | 53977b7a169cb62f7e8fa370fc7fd3f792de1c44 | refs/heads/master | 2021-01-21T18:38:22.900827 | 2017-05-26T19:16:57 | 2017-05-26T19:16:57 | 92,063,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,423 | r | tutorial.R | install.packages("dplyr")
install.packages("hflights")
suppressMessages(library(dplyr))
library(hflights)
data(hflights)
head(hflights)
flights <- tbl_df(hflights)
jan1 <- flights[flights$Month == 1 & flights$DayofMonth == 1, ]
djan1 <- filter(flights, Month == 1, DayofMonth == 1)
filter(flights, UniqueCarrier == "AA"|... |
ddc35a283231b1cf2fa4a4ed830c33aadf6a6a75 | c5f9eadcd6d4845cb0080e3f7bac23d0e29aeb9a | /plot4.R | a6639658fb711892a53bed9f6ea0010f5117c804 | [] | no_license | MikeRadford/datasciencecoursera | 638a5b8e10c127821a80f73504c2df3fe5baceae | f2f885caa89d43563a8b154955cd2f367da58d53 | refs/heads/master | 2020-05-17T10:22:24.094292 | 2014-12-03T10:40:07 | 2014-12-03T10:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,283 | r | plot4.R | #plot 4 for assignment 1, load data, subset, resolve datetime then plot
setClass("myDate")
setAs("character", "myDate", function(from) as.Date(from, format="%d/%m/%Y") )
power <- read.table("household_power_consumption.txt", sep=";", header=TRUE, colClasses = c("myDate","character","numeric","numeric","numeric","numeri... |
f98d8fa05d17798aa4cb5acd633b0c722e104a54 | 521c53413b61538670b6c0766596ddf3418d528c | /EPAemssions.R | e668c5696baacf1435fcb3350fde91c246e7ca1d | [] | no_license | amanguptag/DataScience | 50eb6f35fce8f47501ab86cbf422a0a7e750d4c7 | d68f215f27fb5007e11bc47350a8534d01d0429d | refs/heads/master | 2021-12-05T10:32:49.618911 | 2015-06-27T00:05:01 | 2015-06-27T00:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,278 | r | EPAemssions.R |
#The overall goal of this assignment is to explore the National Emissions Inventory database and
#see what it say about fine particulate matter pollution in the United states over the 10-year period 1999–2008.
# zip file of data:https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip
#Note that when I unzip... |
5c9bb246e422410c708882872fd7d5d76645fe3a | b88beec8fd1154c55ccf80f86d9e2bd78c19ed2b | /newstock.R | b69b2849072ab4ca65829dd040c44faf746867a7 | [] | no_license | smartgamer/newstock | e177f2ecd54b49bc87a32533dd535678ecbb8428 | e66a4c367e9d4a3167ec3e48302acf190581146b | refs/heads/master | 2020-04-14T04:00:13.083749 | 2018-12-31T00:34:18 | 2018-12-31T00:34:18 | 163,623,108 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 277 | r | newstock.R |
news = read.csv("data/news_sample.csv", stringsAsFactors = F)
market = read.csv("data/marketdata_sample.csv")
str(news)
head(news)
install.packages("rio")
library(rio)
news=import("data/news_sample.csv")
market=import("data/marketdata_sample.csv")
str(news)
head(news)
|
8ce9a30234dbbe199f6842f1f5ab350e346e09da | 17c4ce937227a1361a7bb9772c7549e6a4764f2e | /R/03_Analysis.R | dd18abae0baaf2995d2037c0e8996c577eb6f6c0 | [
"LicenseRef-scancode-public-domain"
] | permissive | pjbouchet/orcaella_eoo | ed48f834f5abf6dfed1d3867433a456a16de8363 | ce6f200efcf51f4e037e3c66a80e210149272bca | refs/heads/master | 2021-06-22T03:36:23.129408 | 2020-12-30T13:29:17 | 2020-12-30T13:29:17 | 167,148,229 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,081 | r | 03_Analysis.R | #' ------------------------------------------------------------------------
#' ------------------------------------------------------------------------
#'
#' Preliminary assessment of the regional conservation status of snubfin
#' dolphins (Orcaella heinsohni) in Western Australia
#'
#' Bouch... |
b1f7bf81966c39a14fec623ac3a523ac264ca1d2 | ca96ff81d10521464c60be347b4132f3e2edc40f | /man/IDRlsi.Rd | 60c76398117ed83f4b2c282b955e3390e51350b1 | [] | no_license | tmrealphd/PF | 751fbd86e41e081d4e41f9a8a08f4730a7544dc1 | b1cef82f1f951dd5cc90c1c56d68aef43c4dfba0 | refs/heads/master | 2021-01-21T20:01:20.078591 | 2015-03-31T20:37:39 | 2015-03-31T20:37:39 | 37,874,379 | 0 | 0 | null | 2015-06-22T18:52:55 | 2015-06-22T18:52:55 | null | UTF-8 | R | false | false | 2,569 | rd | IDRlsi.Rd | \name{IDRlsi}
\alias{IDRlsi}
\title{IDR likelihood support interval.}
\usage{
IDRlsi(y, alpha = 0.05, k = 8, use.alpha = FALSE,
pf = TRUE, converge = 1e-08, rnd = 3, start = NULL,
trace.it = FALSE, iter.max = 24)
}
\arguments{
\item{y}{Data vector c(y1, n1, y2, n2) where y are the
positives, n are the tot... |
abd686dc8d38e2a7749def84d55f28c4ef62dc3e | d5fe74be8e38f09c63f3e9cef3093b4e673596da | /AstMex_Hypo/scripts/AstMex_Hypo_figure_Microglia_figure_script_V2.R | 2b7488d9cab3b47a5dd0d1edfb76436162eaa606 | [] | no_license | wangchengww/Cavefish_Paper | 38d5abd692c03920e4716f5507bcbc6fb071a0ea | 2782e95e3e7da83c2fdd323af4f560439ac18310 | refs/heads/master | 2023-05-12T13:18:47.005476 | 2020-12-09T14:12:45 | 2020-12-09T14:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,384 | r | AstMex_Hypo_figure_Microglia_figure_script_V2.R | library(Seurat)
library(stringr)
library(dplyr)
library(data.table)
library(purrr)
library(patchwork)
library(viridis)
# Load subsets
setwd("/Volumes/BZ/Home/gizevo30/R_Projects/Cavefish_Paper/AstMex_Hypo")
hypo.ast <- readRDS("AstMex_63k.rds")
# Subset out the blood lineage cells
Idents(hypo.ast) <- "Subtype"
immune... |
ecfc355a49e26ff557c8c2cfe71c1975919bc4cb | b149df305dea721e1a1a55e6c3d4d700b7de36c2 | /tests/testthat/test-images.R | 922ac3d9e17b26cba474ae5dd52dfb4bf3be81c5 | [
"Apache-2.0"
] | permissive | pachadotdev/analogsea | f5302d21e4fa11680a12bb16bee3133ec78b064a | 947d17175a0ac219a1ef7dae885688320aef59b3 | refs/heads/main | 2023-07-07T14:39:55.017718 | 2023-07-01T14:52:27 | 2023-07-01T14:52:27 | 20,135,875 | 21 | 3 | Apache-2.0 | 2023-04-18T17:35:58 | 2014-05-24T17:54:43 | R | UTF-8 | R | false | false | 1,272 | r | test-images.R | # tests for images
context("images")
test_that("returns expected output for public images", {
skip_on_cran()
imgs <- images()
expect_is(imgs, "list")
expect_is(imgs[[1]], "image")
expect_is(imgs[[1]]$id, "integer")
expect_is(imgs[[1]]$name, "character")
expect_true(imgs[[1]]$public)
})
test_that("fail... |
75e182376c75218fc6aa696fc839fa020ae87e97 | 2bd112c1f31fe903a310b716354314488f3b4e54 | /bay_model_survive2.R | d0a32efb71d531906df56bccb86527c466867ff2 | [] | no_license | BlaineLandsborough/QMEE | 6195a6becd7b131d1365a6db624129cfdfb129aa | 2eeced9a6e0a63ddc1127ff756d37fc188878ebc | refs/heads/master | 2020-04-15T19:17:18.041162 | 2019-05-02T16:09:08 | 2019-05-02T16:09:08 | 164,900,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,278 | r | bay_model_survive2.R | ## Attempt at logistic regression using Bayesian modelling, with survival as a
## binary response variable,to investigate difference in nestling survival at 60 days
##between treatment types. Survival variable (first_sur) coded as 1 for survived and 0
##for did not survive. Models did not converge when tested.
l... |
617ee4f437bdbd6c9beea47f3ed4495a4ae66d2b | 43b17584478c0360d0fdced151db43c35728837a | /R/gitlab_api.R | c57348ae33fe757cbbc6cf404005c1c966c6e2d7 | [] | no_license | cran/gitlabr | 51357cc4c136b4d5125a1d39aec63ea62ef509d1 | b8d64273024933804044ca8eeab18930a4611c55 | refs/heads/master | 2022-10-03T07:18:40.338952 | 2022-09-13T10:00:02 | 2022-09-13T10:00:02 | 48,080,948 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,487 | r | gitlab_api.R | #' Request GitLab API
#'
#' This is {gitlabr}'s core function to talk to GitLab's server API via HTTP(S). Usually you will not
#' use this function directly too often, but either use {gitlabr}'s convenience wrappers or write your
#' own. See the {gitlabr} vignette for more information on this.
#'
#' @param req vector... |
8312e59b54b044919ac5c29d7bb9a822dd6105d9 | d493e240277aef7dac95ece4c699a2921218bf8c | /R/penepma_geo_hdr_cmt.R | dc5d2a13c4221a4b1da00a3882e0e019a55d6111 | [
"MIT"
] | permissive | jrminter/rpemepma | d4471fd39c7107a0555ac8e8bf7aead383ffde64 | eb9db97bd436855f62f37bea59f4b1a7667cabac | refs/heads/master | 2020-03-23T15:18:09.928804 | 2018-09-21T17:59:45 | 2018-09-21T17:59:45 | 141,736,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | r | penepma_geo_hdr_cmt.R | #' Create a header line with a comment
#'
#' A helper function to create .geo files
#'
#' @param str_cmt string. Example: "Cylindrical layers - distances all in cm"
#'
#' @return none. Exports by cat to console or file as set previously
#'
#' @export
penepma_geo_hdr_cmt <- function(str_cmt){
line <- sprintf("C... |
a780a176435cc8a5880486759fbdec0feea84f5a | 0c49c585d7429e964c5ed0b70075a07909d29ebe | /LWeinman data club script 03092020.R | 94491fdfa6c8dc0db261268b65edfc1b7959ad72 | [] | no_license | migou0426/workshop-march-09 | 1831826db4eb5364e24fa9a6b1cf053b0c846548 | 9aa5d9c6e781726a5244767f90fbc272ce6ef6ff | refs/heads/master | 2021-03-05T05:44:56.188110 | 2020-03-09T01:25:01 | 2020-03-09T01:25:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,523 | r | LWeinman data club script 03092020.R | library(tidyverse)
###1. Get our data.
####dataset one. Need to do some data cleaning/filtering before we can use it.
nsf<-read.csv("nsf0607_spec.csv")
nsfnet<-filter(nsf, method=="net")
table(nsfnet$site)
nsfnet2<-unite(nsfnet, genus.species, genus, species)
nsfnet.no2007<-droplevels(filter(nsfnet2, year!=2007 & sit... |
c921e554391d0d288474f5c064de67692b63139a | 5ae342134b85d1b7a0059ce8695a6836d17f5a12 | /deconv2two/scr/discreteANM_1.1.R | e92156d9e93cc533fb9b928794ec87d8701d1b8f | [] | no_license | wenrurumon/non_negative_attribution_model | 15d5e5b6b54b64cce0942e58c73fc653a37dd607 | 37780b43187697d0ec2f572796c8b91ebcef77f2 | refs/heads/master | 2020-06-17T14:10:17.332642 | 2019-10-28T10:10:35 | 2019-10-28T10:10:35 | 74,996,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,801 | r | discreteANM_1.1.R | # conduct permutation test to determine direction
permdANM<-function(X,Y,number_of_permutations=5000,level=0.05,cycX=1,cycY=1){
output=fit_both_dir_discrete(X,cycX=cycX,Y,cycY=cycY,level=level)
P_X2Y=output$p_val_fw
P_Y2X=output$p_val_bw
diff_estimated=P_Y2X-P_X2Y
abs_diff=abs(diff_estimated)
# P value o... |
890f95dc25fe2472522ce4ee17d5f6f4e8ad2dbb | 517733befd7596013a64255d8d597259e39603e8 | /sejmRP/man/votes_match_deputies_ids.Rd | 6531cd15d1c05efe04cc727c266eedc6b22fdd4f | [] | no_license | mi2-warsaw/sejmRP | 5740a66d39da6fcb7ebf6fcb1171d53cdb44d5cc | 4c7a629d375be9c22add22d3b65a1f425746a3a9 | refs/heads/master | 2020-05-21T04:29:07.272159 | 2017-09-06T21:31:06 | 2017-09-06T21:31:06 | 40,239,403 | 20 | 4 | null | 2017-09-07T17:32:18 | 2015-08-05T10:29:34 | HTML | UTF-8 | R | false | true | 1,739 | rd | votes_match_deputies_ids.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/votes_match_deputies_ids.R
\name{votes_match_deputies_ids}
\alias{votes_match_deputies_ids}
\title{Matching deputies to theirs' ids}
\usage{
votes_match_deputies_ids(dbname, user, password, host, page,
nr_term_of_office = 8, windows = .Pl... |
4057b80386670de783bd501e633db2832e66ac44 | 5fcc3f8421fa41dbb443204d206961ab18b1d45e | /man/savePNG.Rd | 6505929259a44c7c9c8c3a70e014e9c40f6a9e02 | [
"MIT"
] | permissive | fengweijp/RCyjs | 192f369e1024661686bc10b19578587824660f1c | 0f22b40382b63f4882d7204b54b650bbfbb59333 | refs/heads/master | 2021-10-26T16:10:46.523267 | 2019-04-13T18:38:52 | 2019-04-13T18:38:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 797 | rd | savePNG.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RCyjs-class.R
\docType{methods}
\name{savePNG,RCyjs-method}
\alias{savePNG,RCyjs-method}
\alias{savePNG}
\title{savePNG}
\usage{
\S4method{savePNG}{RCyjs}(obj, filename)
}
\arguments{
\item{obj}{an RCyjs instance}
\item{filename}{a character... |
93bd2731465dc4a594200a78ee85a2f2bd5a8e8f | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rfast/man/matrnorm.Rd | f7783abca9571a532fe8a50f26a6afe551e2f222 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,391 | rd | matrnorm.Rd | \name{Generates random values from a normal and puts them in a matrix}
\alias{matrnorm}
\title{
Generates random values from a normal and puts them in a matrix
}
\description{
Generates random values from a normal and puts them in a matrix.
}
\usage{
matrnorm(n, p)
}
\arguments{
\item{n}{
The sample ... |
60c8cd1eca9405037836eec549c2122f48e176f7 | 9a56f5d195315a0b297e99c89da8470913052e53 | /fin_opt.R | d6613c98265956f1bf246974acafb06433c70027 | [] | no_license | mollyrubin/spring1orange6 | f546f1bb333507682c6982149fb05a1c8a1ccb1b | 573e3fbef5a97fd2b65d1192ef077796d2cc4534 | refs/heads/master | 2020-04-15T15:09:28.682701 | 2019-02-25T01:42:56 | 2019-02-25T01:42:56 | 164,782,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,649 | r | fin_opt.R | #----------------------------------#
# Financial and Opt HW #
#----------------------------------#
if(!require('graphics'))install.packages('graphics')
if(!require('quantmod'))install.packages('quantmod')
if(!require('TTR'))install.packages('TTR')
if(!require('ks'))install.packages('ks')
if(!requir... |
895a64fc18c3a74984579678ff87281d82c033e4 | d85a556a2693c0ac9c4dcc3a908c3c921e95835d | /rcode/ivano_src_avtime.R | 23186beb124e3466957bad9767b9569b9f435c09 | [] | no_license | ndvietleti/ieee_052017 | 8e2c7275ff839e25c6c9914abfeb7fee9e0438fb | 6c78fcc86659352d0a61697a668707b5bf6d193e | refs/heads/master | 2021-01-20T16:38:51.695044 | 2017-05-10T09:38:35 | 2017-05-10T09:38:35 | 90,846,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,689 | r | ivano_src_avtime.R | library(data.table)
library(doParallel)
library(minpack.lm)
library(ggplot2)
library(scales)
library(pracma)
require(mixtools)
fdate <- c(20170131, 20170201, 20170202, 20170203, 20170204,
20170205, 20170206, 20170207, 20170208, 20170209,
20170210, 20170211, 20170212, 20170213, 20170214)
n = 15
f... |
f6985783ab6e4e4960e59056aa42edad1690cfe0 | 4b9d5f14103211ebea69ce5e2cb866d97ec39f0c | /data/plot-entregas.R | e768212a76b14ba72d1b01d90291b4ac8a792eb3 | [] | no_license | JJ/IV | 737a7c8813cd50ab695df27a566cc4be42cbf32c | fdd7c655a8ae001c47357b90c69070a6a321ff34 | refs/heads/master | 2023-08-16T12:42:11.904810 | 2023-08-12T10:13:40 | 2023-08-12T10:13:40 | 12,357,637 | 61 | 99 | null | 2023-02-03T18:34:42 | 2013-08-25T10:50:04 | Perl | UTF-8 | R | false | false | 479 | r | plot-entregas.R | library(ggplot2)
library(dplyr)
library(ggthemes)
data <- read.csv("notas-suspensos-entregas-2015-2020.csv")
data$Curso <- as.factor(data$Curso)
data[is.na(data)] <- 0
data$Aprobados <- data$Cuantos - data$Suspensos
data <- data %>% group_by(Curso) %>% mutate(Porcentaje = Aprobados/max(Cuantos))
ggplot( data,aes(x=Hi... |
401cdf97b563e80513d195d4ce8f42fce7530134 | e9625dba422720f326d8ae5cee767a6ec36dc0dd | /cv-02-01.R | 6430aa91c983e49af0df3256aff4ce87800023a0 | [] | no_license | spetrovi/MV011 | 8e1fd39714475f63e51368a81da89e1fef2d5335 | 61722580c7c6e9277fb3c17295e230e7e8776bc6 | refs/heads/master | 2020-03-17T04:01:52.575528 | 2018-05-14T07:31:18 | 2018-05-14T07:31:18 | 133,259,832 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,037 | r | cv-02-01.R | # nacteme knihovnu "prob"
library (prob)
# Priklad 1
# s ciselnymi hodnotami
n <- 4
mince <- tosscoin (n)
# vytvoril se tzv. data.frame = datova tabulka (matice) s pojmenovanymi sloupci
mince
# rozmery
dim (mince)
nrow (mince)
ncol (mince)
# nazvy sloupcu (promennych)
names (mince)
# nazvy lze meni... |
040e6476afb726d4618ae48b9599a95247ac7f4d | 7b072a9b73414dbaeb09e0ff6fefac717c7b9eb5 | /scripts/SelectTranscriptsForPCR.R | 87ce555a63a284c213648c0bb155e1144f4e1286 | [] | no_license | EugeniaRadulescu/Isoform_BrainSpan | b8be74d791bd1644f38aa5a4c1ded472944d4abc | c77bb9205f0a60182c5b7e96dea529e40c717e9a | refs/heads/master | 2023-06-17T08:05:10.093729 | 2021-07-11T22:22:29 | 2021-07-11T22:22:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,730 | r | SelectTranscriptsForPCR.R | library(tidyverse)
iso_tpm <- readRDS("data/iso_tpm_filter.rds")
metadata <- read_tsv("data/metadata.tsv")
annotations <- read_csv("data/source/annotation.transcript.ensg75.txt")[, -1]
female_22pcw_frontal_lobe <- metadata %>%
filter(Regioncode %in% c("OFC", "DFC", "VFC", "MFC", "M1C")) %>%
filter(Period == 6... |
c99f6427c5760f9e4a4e1e3b74ed84449bece480 | d3d27b9b50aeb63ff885709817fb4ebf68eb5bc7 | /man/spider.Rd | 927c680a289829c003d0b87f4b3197ef32f9bae6 | [] | no_license | roliveros-ramos/colorful | 64e1c3cb1b95fa0645fd37491597ac9723cbeab8 | 999e7bd880dba3556a341639773e25a9ff071112 | refs/heads/master | 2020-03-22T08:00:01.856282 | 2019-11-20T22:24:56 | 2019-11-20T22:24:56 | 139,738,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 453 | rd | spider.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colorful-main.R
\name{spider}
\alias{spider}
\title{Add a spider web to a spider plot.}
\usage{
spider(x, ylim, type = "b", col = 1, fill = FALSE, border = NULL,
theta = 0, pch = 19, lwd = 1, lty = 1, cex = NULL,
density = NULL, angle = 4... |
eb0fd7183c6518df41b4960bf853954e877ed96d | c1dbb14d5536e88ca7ea1bd8001d883f3ed8020b | /devel/lotvol_popmodel.R | 7ecc78ecbfe8bc2d22b827c785c491f16c23f62d | [] | no_license | atredennick/community_synchrony | 493ad3d5dc97c4160994469fcf36678870de24e4 | d01b584bc504583435db678a8c8b22cfa5ff6285 | refs/heads/master | 2020-05-21T19:03:40.687803 | 2017-03-10T14:30:26 | 2017-03-10T14:30:26 | 34,754,749 | 1 | 1 | null | 2016-11-22T13:52:18 | 2015-04-28T20:40:03 | R | UTF-8 | R | false | false | 2,515 | r | lotvol_popmodel.R | ## lotvol_popmodel.R: script to simulate population dynamics using
## Lotka-Volterra model with environmental variability. Uses simulated
## time series to calculate the coefficient of variation of total community
## biomass with and without asynchronous environmental responses. Model assumes
## interspecific comp... |
8715bd5e0b85b779a143aeb322fe5d2031a8d050 | 0d2e5781e412519e2f31fdc7c084c2c3f66e2494 | /ASSIGNMENT/Part one/Clean Air Temp.R | b8db93477ea5d73565e3e49051c9ef2f9e1b66bf | [] | no_license | guanxuyi/R | 1ff27493d612d8bf9a79ec90532c4ddc495a83b4 | 9f0a32619c6d25007905c08efc598f562ecdc679 | refs/heads/master | 2021-04-09T10:26:01.930621 | 2018-03-15T18:44:24 | 2018-03-15T18:44:24 | 125,398,955 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 237 | r | Clean Air Temp.R | library(tidyverse)
Air.temp <- read.csv("E:/AIR.TEMPERATURES.csv", header = TRUE)
unique(Air.temp[,"DURATION"])
unique(Air.temp[,"MIN"]) %>% print(n>30, na.print = "")
unique(Air.temp[,"TIME"])
unique(Air.temp[,"MAX"])
|
b374cd2b8ed99d706072b6737cfec86bc9bc4328 | 8df9f89767dd7ac4a0c4319e72c852fb5edb88af | /Chapter_09/figures/figures9.R | febecae4e3d606d700f1ae4de165bb06d6354552 | [] | no_license | jsgro/MDAuR | 74709084ffcb46903a994b0b2360683641cda195 | 1462f8c18730beb3c49f7e8f620610986d8f4829 | refs/heads/master | 2023-05-08T06:39:15.250038 | 2021-05-27T09:42:17 | 2021-05-27T09:42:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,405 | r | figures9.R | ###################################################################
# Co-expression networks
## figure 9.1
library(qpgraph)
furin.data<-read.csv("furin_significant_genes.csv",row.names=1)
pcc <- qpPCC(furin.data)
pcc$Rsign<-pcc$R
pcc$Rsign[pcc$P>0.05]<-NA
nrr.q1 <- qpNrr(as.matrix(furin.data),q=1)
nrr.q3 <- qpNrr(a... |
6aae04d6e1d9847dbf69cb0a6a4106b26af977aa | d2ac85674d6812fe3f606094bae82ea089659609 | /NCANDA/Scripts/01_EWComposites.R | 3fce8fd023ed0dcebd61d8eebe7196fb8d14366e | [] | no_license | LabNeuroCogDevel/R03Behavioral | 2a98e71917b1f35a4affe08298e32f9100df3b93 | f743b316ac00aa3381eb72ae08c47b3c87891ebf | refs/heads/master | 2020-09-23T07:19:38.313210 | 2019-12-05T22:19:06 | 2019-12-05T22:19:06 | 225,437,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,119 | r | 01_EWComposites.R | library(dplyr)
library(tidyr)
library(lubridate)
library(ggplot2)
library(lsmeans)
library(mgcv)
library(itsadug)
library(lme4)
library(lsmeans)
library(stats)
library(psych)
library(LNCDR)
library(FactoMineR)
library(corrplot)
library(mgcv)
############
compositecols<-function(cols,data){
#return composite score (z ... |
5301f82b302b92e559948fabcf745803051df25a | c43c705a3eabcd6706d40290015d087613a1e3e0 | /New.R | 1955f44df0b796b0d6690b3d9f4da548c7e8a945 | [] | no_license | Shubham619/Twitter-analysis | eb73fb6bb1ace347a239d7173dd0bb9e1f5aa130 | f69f696b172be7395d3c30baabcdcc32f7934597 | refs/heads/master | 2020-05-22T05:54:07.198435 | 2019-07-07T16:23:50 | 2019-07-07T16:23:50 | 186,243,013 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,258 | r | New.R | packs<-c("slam","topicmodels","tm","wordcloud","twitteR","RYandexTranslate","textcat","syuzhet")
instd_packs<-packs %in% installed.packages()
for(i in 1:length(instd_packs)){
if(instd_packs[i]==FALSE){
install.packages(packs[i])
}
}
for(i in packs){
library(i,character.only = TRUE)
}
... |
02fdbfed8b0b939cf3274aa1805f02a699be6ec6 | 30f442869626f8130e5e0a32a9de668861173399 | /R/variable_importance.R | 3fa055c9627a51b13b806c1c0f508eac7d9db499 | [
"MIT"
] | permissive | ehsanx/rcf | 20a6546df6f9c5f3e149507ecd9f1fb2c7dd21a0 | cc704a0259ce69d1e0ebec8bd2b7243478d4f00c | refs/heads/master | 2023-05-10T07:14:19.557476 | 2021-05-28T14:14:13 | 2021-05-28T14:14:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,667 | r | variable_importance.R | #' Computes variable importance measures for a causal forest
#'
#' @param cf output of the rcf causal_forest function
#' @param covariates names of predictors used in training the causal forest as character vector
#' @param n maximum tree depth of splits to be considered for variable importance computation
#' @param d ... |
fb0f6d6e45d06661d68672eeb91d5b91b97dd661 | 69ed15a883dfbc2d67023d436dbb4cb9742b3970 | /man/rollingCorMatrix.Rd | 71e901a15df2b722a55736d23ed29575b7f92172 | [] | no_license | joh4n/JGTools | 57f163463b107028509243260e80f7f05f847dd5 | 7418f924665c03791e758da7bc3112cd6b2022d9 | refs/heads/master | 2021-06-20T08:26:36.857149 | 2017-06-17T13:35:56 | 2017-06-17T13:35:56 | 77,140,153 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 744 | rd | rollingCorMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rollingCorrMatrix.R
\name{rollingCorMatrix}
\alias{rollingCorMatrix}
\title{Calculates the roolingCorrelation matrix and returns the uniqe correlations ranked}
\usage{
rollingCorMatrix(df, removeConstantColumns = T, tolerance = 0.6,
window ... |
d14693c576041ffbf1b9074ae4daa9eb8795e03c | 6ff4577459aec8c589bab40625301f7eefc82e73 | /R/ebayes-helpers.R | 347647aa1ca0931a0d608d5f06b5cefdffdc4da1 | [] | no_license | lagzxadr/MAST | f1cb34efdb42d2c4eb2b6383eff02193a8e69409 | a079646898349315a676b56b6a77ca7dd17ec449 | refs/heads/master | 2021-04-27T16:27:16.229846 | 2017-12-22T16:19:32 | 2017-12-22T16:19:32 | 122,302,743 | 1 | 0 | null | 2018-02-21T06:59:29 | 2018-02-21T06:59:29 | null | UTF-8 | R | false | false | 4,718 | r | ebayes-helpers.R | ## Likelihood functions and other helpers for shrunken dispersion estimates for zlm
## rNg: residual Ng: Ng -p, where p is the dimension of the model
## SSg: residual sum of squares
getMarginalHyperLikelihood <- function(rNg, SSg, deriv=FALSE){
if(!deriv){
fun <- function(theta){
stopifnot(name... |
3c4ac9970ff0b33e1a30ce9b0cecf318d0171a4a | 51d06a904af41f52ca8afa780fa53f16e1625364 | /R/knitr.R | 4fbea88aada76d41e1cdbe498482bd5a067e9e5f | [
"MIT"
] | permissive | thomasp85/cpp11 | 055f279b25fc2112be90e0e6d0e04af5d134ab6c | d8edde92819a650e65bdc70ca48ebebacc631c0d | refs/heads/master | 2022-10-22T02:32:27.617484 | 2020-06-14T01:30:39 | 2020-06-14T03:21:01 | 272,389,144 | 2 | 0 | NOASSERTION | 2020-06-15T08:55:24 | 2020-06-15T08:55:23 | null | UTF-8 | R | false | false | 374 | r | knitr.R | eng_cpp11 = function(options) {
if (options$eval) {
source_cpp(code = options$code, env = knitr::knit_global(), clean = TRUE, quiet = FALSE)
}
options$engine <- "cpp"
knitr::engine_output(options, options$code, '')
}
.onLoad <- function(libname, pkgname) {
if (requireNamespace("knitr", quietly = TRUE)) {... |
7f428e6c28071a3d4a60bd434e6c9ad1df58bf75 | 01e37cc7e663340b47bda5d0094ccfe94f49ef4b | /cachematrix.R | f057c2976b6eeda69c8c2e079a081892354e2206 | [] | no_license | NamLQ/ProgrammingAssignment2 | 9c683463072c1817f86590896fc03abcf85eca3b | 98949a3b64508f2dff1199349a1b3403c00b0a16 | refs/heads/master | 2020-02-26T16:02:09.240287 | 2014-11-25T10:40:15 | 2014-11-25T10:40:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,519 | r | cachematrix.R | ## Caching the Inverse of a Matrix
# comments are based on Bill Hilton at
# https://class.coursera.org/rprog-009/forum/thread?thread_id=457
## This function creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) { # input x will be a matrix
m <- NULL # m will be ou... |
36e9b379353a88d001a8a12d5c07105c3804e19a | aa2a544ee1dbdc89b96ea937b3370884e604f7bd | /man/eval.results.partitions.Rd | 456104f02edcb7764075f5050a777a67cac26ea4 | [] | no_license | jamiemkass/ENMeval | dae21510cf7978ff7a6c446b98db310a86afa2a8 | 199bf0181716b25ea5033be16ed8c6efadcfbd95 | refs/heads/master | 2023-08-15T03:42:15.250740 | 2023-01-09T10:47:05 | 2023-01-09T10:47:05 | 29,864,043 | 16 | 13 | null | 2023-06-21T14:31:07 | 2015-01-26T14:18:11 | R | UTF-8 | R | false | true | 478 | rd | eval.results.partitions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{eval.results.partitions}
\alias{eval.results.partitions}
\alias{eval.results.partitions,ENMevaluation-method}
\title{eval.results.partitions generic for ENMevaluation object}
\usage{
eval.results.partitions(x)
\S4method{eval.... |
0acacde2686e00e487eba684904590da62368cfb | 4a54731f78aa6f4e15e7935cbe3302c252cf2b18 | /man/dirmult.summary.Rd | 1e8bc36724d7c7a007eaa45b09d55953e335ee11 | [] | no_license | cran/dirmult | fa12784039f207e5b196f97ab7d54b17f49a7e8a | d2074d38fbcd58bbdef041b015f2aa92a8fcb689 | refs/heads/master | 2022-06-09T21:32:28.537908 | 2022-03-21T09:30:02 | 2022-03-21T09:30:02 | 17,695,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,255 | rd | dirmult.summary.Rd | \name{dirmult.summary}
\alias{dirmult.summary}
\concept{Genetics}
\concept{Overdispersion}
\concept{Dirichlet-multinomial}
\title{Summary table of parameter estimates from dirmult}
\description{
Produces a summary table based on the estimated parameters from
\code{\link{dirmult}}. The table contains MLE estimates a... |
b82806e482df716b77b2ec1bd3523bf487980afc | 2078076176e1da24fa13f2f9ee9cec25697a23da | /scripts/Federicos script.r | 42ff710c77a1be8e342978a643fe3bb1e70b814e | [] | no_license | julianadf/Paper-3-Corridor-or-barrier | 84db00f5c74df9ee834037b45e73037017c296d7 | f13f2d4abc3bee633e2ab2676bef1896269952d0 | refs/heads/main | 2023-02-09T20:28:57.733625 | 2021-01-11T08:32:33 | 2021-01-11T08:32:33 | 312,519,562 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,611 | r | Federicos script.r | ##### Riva, Acorn and Nielsen 2018 - Narrow anthropogenic corridors direct the movement of a generalist boreal butterfly
##### coded with R version 3.3.3, using Rstudio 1.0.136
##### 0) Install required packages
if(!require(readr)){install.packages("readr")}
if(!require(lme4)){install.packages("lme4")}
if(!require(sj... |
759adea69c2bb2a67aa8a8ce1d485a558e749dea | 71abde1c9025f7ab6d13f074192101dbab41c32d | /R Codes/r-tutorial-src/rtutor-pt3-c26.R | 31b9134a0fb1bf1f8492369b32609623a1c9e3f5 | [
"MIT"
] | permissive | hejibo/Psychological-Statistics | 844ce22f8b70a860ba033b279b2f8f1823459062 | 2e245228f0e9d599ffaa50d01f41e3cdfbd3b17a | refs/heads/master | 2021-05-09T10:14:53.475249 | 2018-05-01T01:27:00 | 2018-05-01T01:27:00 | 118,957,025 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,591 | r | rtutor-pt3-c26.R | ###########################################################
#
# Copyright (C) 2012 by Chi Yau
# All rights reserved
#
# http://www.r-tutor.com
#
################################
# c26-s01
model <- function() {
# Priors
alpha ~ dnorm(0, 0.001)
beta ~ dnorm(0, 0.001)
tau ~ dgamma(0.001, 0... |
0ebb390036345ec3caf8563d5cd5d2d1c7cac853 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /immer/R/immer_score_person_adjusted.R | 74b1002983ddb990b8551e7b4bacde6d5ec6793e | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 335 | r | immer_score_person_adjusted.R | ## File Name: immer_score_person_adjusted.R
## File Version: 0.04
immer_score_person_adjusted <- function( sum_score, max_pers, eps)
{
score_pers <- sum_score
score_pers <- ifelse( sum_score==0, eps, score_pers )
score_pers <- ifelse( sum_score==max_pers, max_pers - eps, score_pers )
return(s... |
9c36c261711af0fa48f791ba1d329ec3ce43be64 | 1aa29b4acc9c39bb9fa0cc0567e4447918e126a4 | /ui.R | ed2b093c80f3105a47a3c8e73c3a563c2b1a20c6 | [
"MIT"
] | permissive | nkousiadis/student_performance_app | 1818d2fc1b0f58345917461646d66311ed86b2a9 | a477b0714166db964a7beeb10b6056090ae55dcc | refs/heads/master | 2020-03-28T07:37:17.908071 | 2018-11-16T15:11:34 | 2018-11-16T15:11:34 | 147,913,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,941 | r | ui.R |
library(shiny)
shinyUI(fluidPage(
# Title
titlePanel(h3("Student performance monitoring")),
sidebarLayout(
sidebarPanel(
tags$style(".well {background-color:#bfdcf2;}"),
radioButtons(inputId = "data_type",
label = "Upload files or use toy data?",
choices ... |
487f69144519f9ef1ea437ff85e6cc30a9944c61 | fde6257c1dd48fb58f74cdf84b91d656f00bf7f1 | /man/npn_download_magnitude_phenometrics.Rd | 1b739df894005866d734330dfffa2ff1dada1191 | [
"MIT"
] | permissive | tufangxu/rnpn | c366fe385d738e5de0b48bc287198e5a7b168922 | b8c0271e9a55c865135fcea8a633b877afb8575f | refs/heads/master | 2020-03-29T04:10:13.770308 | 2018-05-14T17:49:36 | 2018-05-14T17:49:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,616 | rd | npn_download_magnitude_phenometrics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/npn_data_download.R
\name{npn_download_magnitude_phenometrics}
\alias{npn_download_magnitude_phenometrics}
\title{Download Magnitude Phenometrics}
\usage{
npn_download_magnitude_phenometrics(request_source, years,
period_frequency = 30, coo... |
4c6efabfdbe3ef4168630cef164a616e31c6da2f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/conjoint/examples/caBTL.Rd.R | 930f33005e1affaf92495cfb1e560a583926ef4b | [] | 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 | 670 | r | caBTL.Rd.R | library(conjoint)
### Name: caBTL
### Title: Function caBTL estimates participation (market share) of
### simulation profiles
### Aliases: caBTL
### Keywords: multivariate
### ** Examples
#Example 1
library(conjoint)
data(tea)
simutil<-caBTL(tsimp,tpref,tprof)
print("Percentage participation of profiles: ", quote... |
b0c3c861b2c7a338b1ba5a5768d3c171607f197e | 607d3cbb96e05c489cd5e9e939488d0f9de59e82 | /man/convertListTocompData.Rd | be064fa05ade0f33f042a409c1c10ccaf1d0a280 | [] | no_license | csoneson/compcodeR | 95fa5f8867af7fc8c034dacffa91642a5a4506d0 | e7b809e889789bf5e9b627f8a136cb4089fc5f78 | refs/heads/devel | 2023-07-06T13:36:51.779149 | 2023-07-03T14:21:36 | 2023-07-03T14:21:36 | 18,625,797 | 9 | 3 | null | 2023-07-03T14:14:37 | 2014-04-10T06:03:04 | HTML | UTF-8 | R | false | true | 844 | rd | convertListTocompData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllClasses.R
\name{convertListTocompData}
\alias{convertListTocompData}
\title{Convert a list with data and results to a \code{compData} object}
\usage{
convertListTocompData(inp.list)
}
\arguments{
\item{inp.list}{A list with data and result... |
0a52943ce0dba1b44b3152d3b3a625a01c65c765 | ecb0587cffdc6eaf4854722495a143f6258b417e | /Final.R | 1556ba376c014ce858d76b8c9bfb2d063b52d97a | [] | no_license | benjdreier/Math-23c-Final | abbc0d3fe323aaa849150e4257bd462487edbce2 | 412cf04f0e9783930814ef907166095e0812117f | refs/heads/master | 2020-05-04T23:55:04.437812 | 2019-05-14T20:00:23 | 2019-05-14T20:00:23 | 179,559,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,349 | r | Final.R | #Title: Math 23c Final Project
#Written by: Ben Dreier and Michael Cheng
#Date: May 14, 2019
#Sources: Scripts from Paul Bamberg, data from Cori Tucker-Price
#PLEASE DO NOT DISTRIBUTE THIS DATASET—MY PROCTOR PLANS TO PUBLISH THIS IN A BOOK AND DOES NOT WANT THIS DATA RELEASED PUBLICLY
#Have a great summer! =)
#Master ... |
f2a9102eca6fcaa6c34a0cca5380487b42209e36 | 092bb1455f7f78c48c5f1083f570f710f4e23f23 | /cachematrix.R | 6002b514df0f2935ea17733d59789ab1e2cfc86a | [] | no_license | petersharp21/ProgrammingAssignment2 | f25470b1dfac5e9b89c2d9aa80330510098590b4 | 851c24e66d1cf6a4b41a10e83b4bed7a9a12335e | refs/heads/master | 2021-01-15T09:43:41.489301 | 2015-10-25T01:03:39 | 2015-10-25T01:03:39 | 44,890,286 | 0 | 0 | null | 2015-10-25T00:20:56 | 2015-10-25T00:20:53 | null | UTF-8 | R | false | false | 1,872 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
##==============================================================================
## The purpose of this script is to calculate the inverse of a given matrix
## utilizing R's powerful concept of storing an object in a different environm... |
1bad79c4ed728de9bad04cde4923cd7037c8c2f5 | 1110482aa19ebe4daf081847f509d4ca49c3293e | /enemy_scraping.R | 1e93c833e9ce1f217f4db57f7050151421f2f9aa | [] | no_license | rpodcast/megatable | 67862dad4a26908a95afe1fafc1f69d54661c2d4 | da908053a8e26b6d7a51b7319bb445c734cb5d15 | refs/heads/main | 2023-09-03T13:04:30.850855 | 2021-11-14T04:18:09 | 2021-11-14T04:18:09 | 427,549,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,455 | r | enemy_scraping.R | library(tidyverse)
library(janitor)
library(webshot)
library(robotstxt)
library(rvest)
# create utility functions for processing enemy / boss data fields
parse_attack_damage <- function(x) {
# split by ; into a list
x1 <- purrr::map(stringr::str_split(x, ";"), ~stringr::str_trim(.x))
x2 >- purrr::map(x1, ~{
... |
15b0852bd35bc8439f77f37dbf9acb637ec51eb0 | 13e35292b29a1b7ab97d29709a71310f3d711429 | /Code.R | acfa41c94c946d7d5c41c4090605c90b734e62b1 | [] | no_license | kshitijsankesara/Cleaning-and-Transforming-Data-using-R | a00baf0bd209b5824e7606c7fa9ddb6c145ff06d | c8278416dc60e39f5da010221ed83b8e1614f16b | refs/heads/master | 2022-10-06T01:36:05.570890 | 2020-06-08T17:59:07 | 2020-06-08T17:59:07 | 266,429,976 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,390 | r | Code.R | permit <- read.csv("C:/Users/sofia/OneDrive/Desktop/iConsult/Permit Data/Permit Data.csv")
View(permit)
#Deleting serial number column
permit <- permit[,-1]
#Removing timestamp from application date
permit$application_date <- sub(' .*', '', permit$application_date)
#Removing timestamp from issue date
... |
e8f9451faa99c52667309c61ad2dde125e383755 | 29d87698c80e23cad4d31dafad48fee6a4e899fb | /R/makeRaster_AhdiAK_noQ3_hyb09c_sigma.R | 867ac5dd62a6feff036c74d4eb526305dd7fb77a | [] | no_license | fostergeotech/Vs30_NZ | 56459df71b8d0148bf89cfe548a78b5f707c69bf | 2760af63199f48ed326e370ccfd9ec8a78891aa2 | refs/heads/master | 2020-04-10T15:42:52.496050 | 2020-01-16T22:39:57 | 2020-01-16T22:39:57 | 161,119,831 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 621 | r | makeRaster_AhdiAK_noQ3_hyb09c_sigma.R | # makeRaster_AhdiAK_noQ3_hyb09c_sigma.R
#
# Creates a sigma raster
rm(list=ls())
library(raster)
source("R/MODEL_AhdiAK_noQ3_hyb09c.R")
Ahdi <- raster("~/big_noDB/models/AhdiGeoCats.tif")
# 00_ICE and 00_WATER are not included in AhdiAK_noQ3_hyb09c_lookup(),
# so I add them manually - thus the first two NA entri... |
bbfa03dbb26aed3a1a0d5b1787a916dbb86443ab | b3357449a175852145c9099327649df50046d0c4 | /src/recommender/R/recommender-package.R | 177f055df35a4fc3ac45c04d55f9475df81fdee7 | [] | no_license | savchukndr/temat14 | acb2e5c28beee21c67c7deca942b4edca34ca6b5 | 3fb63c9c2128de0784047be72d9daf2090bf098c | refs/heads/master | 2021-05-14T17:21:29.412546 | 2018-01-15T20:55:35 | 2018-01-15T20:55:35 | 116,044,592 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 364 | r | recommender-package.R | #' Simple recommendation library
#'
#'@description
#'Library implementing collaborative filtering methods to make recommendations.
#'
#'@details
#'Contains two functions: \code{\link{ub_collaborative_filtering}} for user-based collaborative filtering
#'and \code{\link{ib_collaborative_filtering}} for item-based collabo... |
0e32f44b5911070b4382b03df3f9204487d4049e | a01984c90baa149120fe852ea44888a23d9f6007 | /man/buildStrataDFSpatial.Rd | 6e76966f46804a308b46015ee9cfa2037b595635 | [] | no_license | cran/SamplingStrata | b724c3b41d35582f96d9b67afbd907211ce973ea | 9b1b6084fd9c9f55313ccfbf558e6e834579c80d | refs/heads/master | 2022-11-24T04:14:05.098505 | 2022-11-15T20:50:06 | 2022-11-15T20:50:06 | 17,693,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,154 | rd | buildStrataDFSpatial.Rd | \name{buildStrataDFSpatial}
\Rdversion{1.3}
\alias{buildStrataDFSpatial}
\title{
Builds the "strata" dataframe containing information on target variables Y's
distributions in the different strata, starting from sample data or from a frame
}
\description{
This function allows to build the information regarding s... |
4ac063c3b78310e252a1afc874eeb03bb851d991 | 0e6d3ed19aa2ef50bf4e4bd164cb3383c106a84f | /GWAS/misc_gwas_traits/aterido_psa_process_data_and_project.R | b1810a99addfea99e5b6ed8c4afab870b84cd9df | [
"MIT"
] | permissive | ollyburren/basis_paper | 4cdefd86a8811efb0bbeeae6975b804f6f7639a6 | 7393390c1b1f5b673049202d293994704cebeafb | refs/heads/master | 2020-03-29T22:06:03.889635 | 2019-10-23T17:06:15 | 2019-10-23T17:06:15 | 150,402,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,895 | r | aterido_psa_process_data_and_project.R | ## bipolar prognosis GWAS
library(annotSnpStats)
library(rtracklayer)
SNP_MANIFEST <-'/home/ob219/share/as_basis/GWAS/snp_manifest/gwas_june_19_w_vitiligo.tab'
SHRINKAGE_FILE <- '/home/ob219/share/as_basis/GWAS/support/ss_shrinkage_gwas_0619.RDS'
BASIS_FILE <- '/home/ob219/share/as_basis/GWAS/support/ss_basis_gwas_061... |
4a61384f784b1cda3d66929a00851047677419ed | ea1191378907a7857c86b8628a5720074ae8bd7e | /UVAapp_v0.2/server/landmarks/server_landmarks_table.R | 2ea101edd353ed8455f97ec840f74a94b6cd1044 | [] | no_license | simongonzalez/uva | cc10e0badaa97f6bf75aabd9045d8ea16ecbeb11 | 5458c0935ce0ed5830a7e6305735a4d85ff95e76 | refs/heads/master | 2022-12-03T04:10:16.986146 | 2022-11-23T00:44:20 | 2022-11-23T00:44:20 | 211,875,233 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,626 | r | server_landmarks_table.R | #creates the reactive value to create the landmark table
prep_landmark_table <- reactive({
#if plot data is null
if(is.null(all_plot_data$d))
return()
#creates a vector with the names of the columns to be dropped
drops <- c('point', 'coord', 'pixel', 'mm')
#imports the plot data
#subsets data to t... |
d275fd0be4f91bdb16fae4f6abc215477e27b7be | f7b05054901f8506886fd2fac0a30c5cdb9a8752 | /Football/2014Football.R | 3161e548c25b64333fa698d800de8b55e9f30629 | [] | no_license | tmulc18/MulcSeniorThesis | a92da8eb3a5991a3f4be250978f90cfb367178d8 | ab2e0b7ae654f92468eae9b902945e5711ac2e44 | refs/heads/master | 2021-01-21T13:04:48.994813 | 2016-05-08T02:27:37 | 2016-05-08T02:27:37 | 44,121,851 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 556 | r | 2014Football.R | setwd('/home/mulctv/Rose_Classes/MathThesis/')
library(igraph)
dat<-read.csv('clean.csv',header=TRUE)
colnames(dat)<-NULL
el=as.matrix(dat)
el[,1]=as.character(el[,1])
el[,2]=as.character(el[,2])
g=graph.edgelist(el,directed=FALSE)
g = simplify(g, remove.multiple = TRUE, remove.loops = FALSE)
plot(g)
#OR
g2=graph.dat... |
96922107cbc2b5ab424f623fe054cd1c6f371fe8 | 594b92e3d4a43afb8de69164926f62defe853b8c | /script1.R | 7f51ad2ba496572ea4d039ed1ac8e1df5d6fd541 | [] | no_license | vulkin/cleaningdata | 4b797739f1f34150f738cc4e8c5ceaeb1ec47d69 | 63ffa99fa79b72e19e1093cbd2ccf9e0dc1a48b0 | refs/heads/master | 2020-05-19T19:53:08.132797 | 2015-07-06T10:07:47 | 2015-07-06T10:07:47 | 35,217,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,201 | r | script1.R | ##reading subject ids for test data
subject_test<-read.table("./data/test/subject_test.txt")
##reading test data
testset<-read.table("./data/test/x_test.txt")
##reading acitivty ids for test data
activity<-read.table("./data/test/y_test.txt")
##reading feature names
features<-read.table("./data/features.txt",colClas... |
e8670b4b660b0b6e41d6cf1bf5b487f288dfb54b | f63a9c1887ec71cae6d65f88c33ddc99f3fded4a | /R/mongo_index.R | 7ea2bf2f0869129c2c47ba2bb1ef357dbde702ea | [] | no_license | agnaldodasilva/rmongodb | 41b337c42b4b6e1fb41b9ad2949fab1e6a850fb0 | 8eb2bca2d9c88f542832d1bcb6ccd209fdfc676c | refs/heads/master | 2020-08-07T15:39:41.703738 | 2016-03-21T10:36:28 | 2016-03-21T10:36:28 | 213,510,405 | 1 | 0 | null | 2019-10-08T00:10:59 | 2019-10-08T00:10:59 | null | UTF-8 | R | false | false | 6,451 | r | mongo_index.R | #' mongo.index.create flag constant - unique keys
#'
#' \code{\link{mongo.index.create}()} flag constant - unique keys (no
#' duplicates).
#'
#'
#' @return 1L
#' @export mongo.index.unique
mongo.index.unique <- 1L
#' mongo.index.create flag constant - drop duplicate keys
#'
#' \code{\link{mongo.index.create}()} f... |
bddcb5ce21d0dc9e15b5f71690b565162cdeacfe | f56054d4a2426922877d8fed45f56d36137f623d | /extras/CodeToRunLocal.R | e1b03b0d6d6228427e260ee45266a6180402215c | [
"Apache-2.0"
] | permissive | ohdsi-studies/Covid19EstimationHydroxychloroquine2 | 2bfc4e3c36acc69bf77c9410772fd33f8a802048 | 9d5ef0eef55802a9c1832538981c48d656ea27c6 | refs/heads/master | 2022-12-12T12:11:44.632990 | 2020-07-24T15:18:27 | 2020-07-24T15:18:27 | 268,395,526 | 1 | 1 | null | 2020-08-29T21:02:19 | 2020-06-01T01:17:40 | R | UTF-8 | R | false | false | 8,549 | r | CodeToRunLocal.R | library(Covid19EstimationHydroxychloroquine2)
options(fftempdir = "S:/FFTemp")
maxCores <- parallel::detectCores()
studyFolder <- "G:/StudyResults/Covid19EstimationHcqPsychInfluenza"
source("S:/MiscCode/SetEnvironmentVariables.R")
connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "pdw",
... |
3cc46a18b25685c69b2575fb7f7c7fd98c9af3ba | 7a666f42ac91b2542aac48a6975fc04d936e8bcc | /week4-quiz.R | 84d2be347226da00ef9a86671c3a0c906b9c71d5 | [] | no_license | FernandoRoque/coursera-datascience-capstone | 7f6f7db9344f5f928b6efb460340e0fb3c03239f | 6ac06a40a79980ca2684449ebf447be11f208aaf | refs/heads/master | 2021-05-31T11:20:13.222092 | 2016-04-24T08:57:41 | 2016-04-24T08:57:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,113 | r | week4-quiz.R | source("./week4-MarkovChain.R")
week4 <- function() {
questions <- c(
"When you breathe, I want to be the air for you. I'll be there for you, I'd live and I'd",
"Guy at my table's wife got up to go to the bathroom and I asked about dessert and he started telling me about his",
"I'd give anything to see a... |
7a924d9f0fe890c16439640822012bb3d1b953d2 | 474c7d9d9aa0731a69460f8d7db866e5f8641f5a | /R/rows.R | 38101b7171a1d5a646065a614c9f92b0feb4f230 | [] | no_license | jengelaere/shinydreal | c75b6745eb9e25640b3300e69974d0ac3c6e5015 | 7a8f4d962690c2e8283ab97d91a1c4f7b9249e0d | refs/heads/master | 2023-04-03T13:25:28.604936 | 2019-12-10T10:46:59 | 2019-12-10T10:46:59 | 360,187,324 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,449 | r | rows.R | #' Élément de corps de page
#'
#' `dr_panel` est un panel pour les navbarPage et le sidebarPage.
#' `dr_row` crée une nouvelle ligne dans l'UI, `dr_col(width = X)` crée
#' une colonne de largeur X. `dr_col_*` 12, 6, 4 et 3 crééent des éléments
#' de largeur 12, 6, 4 et 3 respectivement.
#'
#' @param id ID, pour le `... |
5517e7c98c64b4ff3a89938dc33dd513f5a788cf | 177821a1018c289ee071d8d84a3884d7523755dc | /man/bfmPlot.Rd | 4aa9aeace8d7f01e65cf2a7239f7c37048b802e4 | [] | no_license | bendv/bfastPlot | 4ce50d03cdffd0e05c4fc401f9c7390af6861b4d | d2668f76e553d770a968c9e7043b5e583ec1f60f | refs/heads/master | 2021-01-02T09:20:47.639752 | 2016-01-06T18:17:24 | 2016-01-06T18:17:24 | 25,979,600 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,143 | rd | bfmPlot.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{bfmPlot}
\alias{bfmPlot}
\title{ggplot bfastmonitor}
\usage{
bfmPlot(bfm, plotlabs = NULL, ncols = 1, rescale = 1, ylab = "response",
displayMagn = FALSE, magn_ypos = 0.3, magn_xoffset = -0.45,
magn_digits = 3, displayTrend = TRUE, displayResiduals = c("non... |
bf5a894cfe0026d77d07bee1cb6ec3c9ec3d4041 | 68743ad37cb9ef70b5b18b3420d14b43dbe8dd11 | /tests/testthat/test_tpca.R | a2d34795263cdc789882f397fa203094a6aeb164 | [] | no_license | Tveten/tpca | b1f153373a5bb5121055299b3982e38552062f7a | ed6a46e41863846f420adedaa163ccf82feac9b1 | refs/heads/master | 2021-06-16T11:46:34.812149 | 2021-06-09T12:38:30 | 2021-06-09T12:38:30 | 157,405,783 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,609 | r | test_tpca.R | context('tpca and tpca_helpers')
test_that('tpca returns sensible output', {
N <- 10
n_sim <- 10^2
cor_mat <- rcov_mat(N, N/2)
cutoffs <- c(0, 0.5, 0.8, 0.9, 0.99, 1)
for (j in seq_along(cutoffs)) {
tpca_obj <- tpca(cor_mat, cutoff = cutoffs[j], n_sim = n_sim)
if (j == 1) expect_equal(length(tpca_obj... |
93fc7158541c26d1a85aacd26d382404685d5dfa | 6b79bcbef25d7755f0abbbbcac7548f5566ab1e8 | /script/chap13_1_DecisionTree.R | 9f018871a24b832cf07a306c30592168584fa10f | [] | no_license | Joo-seoyeong/R | 5abb83c999a06893f38f0b0d93bb8f48a4e5a7f9 | 74aae57f8156cc0e5e70a4f28525dc05a911d37b | refs/heads/master | 2020-12-10T08:43:29.480617 | 2020-01-13T08:38:12 | 2020-01-13T08:38:12 | 233,547,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,082 | r | chap13_1_DecisionTree.R | # chap13_1_DecisionTree
# 관련 패키지 설치치
install.packages("rpart")
library(rpart)
# tree 시각화 패키지
install.packages("rpart.plot")
library(rpart.plot)
# 1. dataset(train/test) : iris
idx <- sample(nrow(iris),nrow(iris)*0.7)
train <- iris[idx,]
test <- iris[-idx,]
names(iris)
# 2. 분류모델
model <- rpart(Species... |
853361e2a5090f61ba651354907e3e0803427e4a | 26f56f97516a683cac7243d36773e3f02d41f169 | /work/cecere/R/lineas/KernelGadget.R | 4e97bb4857d3aa0439ff91d7e9b85b2b2b77eb33 | [] | no_license | marialda27/mhd-disks | 5855b85bee1a6e0342efe5302cff0d123e492b69 | ba94e66221ab079140435524c071bd25b6fb5824 | refs/heads/master | 2020-03-09T13:12:15.394725 | 2018-04-12T22:45:35 | 2018-04-12T22:45:35 | 128,804,649 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 418 | r | KernelGadget.R | KernelGadget <- function(dist,hsml)
{
COEF_1 = 2.54647908947
COEF_2 = 15.278874536822
COEF_5 = 5.092958178941
NORM = 8.0/3.1415
if(dist>hsml)
{
fac=0.0
}
else
{
hinv=1./hsml
hinv3=(1./hsml)**3.
u=dist*hinv
if(u<0.5)
{
fac=hinv3*(1.0 + 6.0 * ( u - 1.0)*u*u)*NORM
... |
4ce43e48d172aa37923ec8f0008c84426ccb22e0 | 62e1665efcbd67bc0de0d9be749d5d2b222c80ce | /man/placesvg.Rd | 02ecceeb7e8a72eedf91fe8051da4379fc8bc859 | [] | no_license | sewouter/StratigrapheR | 25e669143eeb73051e79e0b4cb490e6060ed0d4b | 2d19b6cc5dbbb4bade454ad83b61842d2f8871e1 | refs/heads/main | 2021-09-28T00:26:51.110494 | 2021-09-24T12:23:45 | 2021-09-24T12:23:45 | 341,558,856 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,936 | rd | placesvg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/placesvg.R
\name{placesvg}
\alias{placesvg}
\title{Draws a pointsvg object}
\usage{
placesvg(
object,
forget = NULL,
front = NULL,
back = NULL,
standard = FALSE,
keep.ratio = FALSE,
col = NA,
border = "black",
density = NULL... |
5ea4c79731bccdccb7105a3bb3ce0c7f6fe22f58 | 578866d0d9cbc74c557a18795d3ae0d602658119 | /data_preparation/normalizeData.R | 7d44f4f9dcb06681bf9903e4599ea80bc1c8e0d8 | [] | no_license | PerryXDeng/wheatyeeters | 0cd31c3b38605509616eb6ba7499fc972971aeb4 | 08ea065f67f4b4354711386d47455f0e3f7d7d12 | refs/heads/master | 2020-05-03T05:23:56.310882 | 2019-05-05T00:29:50 | 2019-05-05T00:29:50 | 178,446,733 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,646 | r | normalizeData.R | source("readData.R")
library(tidyverse)
library(bestNormalize)
# File to normalize the user inputted data in
# the wellness
wellnessData <- readWellnessData()
playerIds <-unique(wellnessData$PlayerID)
cat("Number of Players: ", length(playerIds), sep="")
normPlayerIDs <- c()
normDate <- c()
normFatigue <- c... |
1c33756c90d3529e0354c799353f89a1f95b6d92 | 271484f5245719ccdabd34f3779d128a6042b3b2 | /plot1.R | bef31c7467d4bfc56e34c2b21184f61250f10ac0 | [] | no_license | BogdanTarus/ExData_Plotting1 | 6c48b9e2b8506abc90239fe95fc265688ec27683 | 2a72f797f1d4b13745946553f1b4e3d5f276358d | refs/heads/master | 2021-05-30T09:09:57.905941 | 2015-12-13T14:53:07 | 2015-12-13T14:53:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 550 | r | plot1.R | # read data file
dataInput <- "../01_inputData/household_power_consumption.txt"
data <- read.table(dataInput, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
# select data from 1/2/2007 to 2/2/2007
dataTwoDays <- data[data$Date %in% c("1/2/2007", "2/2/2007") ,]
# prepare the data to be ploted
dataGlobalActiveP... |
cc09a106308d9a1d9fa3208429d0e98d330daa02 | e459bd9f284d18273e577385b9b255260681efa5 | /6_kmeans(6th(.R | 86df72dc6620f6a61c95c51376108efb338fa8f9 | [
"MIT"
] | permissive | tenzink692/DSR-1BM16CS143 | 41106a5841ddc218b747c08d75a8c1a810f3766d | 5631a8cbad564d3bf171b607d2e0fb9a1eae6472 | refs/heads/master | 2020-08-22T14:49:27.996053 | 2019-11-12T16:50:48 | 2019-11-12T16:50:48 | 216,364,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,173 | r | 6_kmeans(6th(.R | path="/Users/tenzinkunsang/Documents/tenkun"
setwd(path)
library(cluster)
library(ggplot2)
#library(plyr)
#library(lattice)
#library(graphics)
x<-c(185,170,168,179,182,188)
y<-c(72,56,60,68,72,77)
#below code is for iris dataset read from iris.csv
k <- read.csv("iris.csv")
k
k1 <- k[,1:2]
k1
clsample<-data.frame(x... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.