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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8beb51b9268aa6db0527119a56c065f3fc9f7121 | b8d4abab24473a1f768de227532510f0052e4610 | /man/nearSep.Rd | 5653e9c6850e90010b3bb01a221c47e8d5972473 | [
"MIT"
] | permissive | momenulhaque/firthGP | bdfdee91d86761f8dd207b3b2b3544d201dc6733 | 29252b7cff04fab7b2d76f142d75697b106a89ee | refs/heads/main | 2023-04-16T12:22:37.878898 | 2022-12-31T20:34:12 | 2022-12-31T20:34:12 | 582,021,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 574 | rd | nearSep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nearSep.R
\docType{data}
\name{nearSep}
\alias{nearSep}
\title{A simulated count data that has near-to-quasi-separation problem}
\format{
\subsection{\code{nearSep}}{
A data frame with 100 rows and 3 columns:
\describe{
\item{y}{the response... |
5acc0e97731cedf2b171c735d5d7ca3ce1722159 | 4c0394633c8ceb95fc525a3594211636b1c1981b | /R/reexports.R | e1d98ca9e5c19ca74a6960b9b569ac409db0550c | [
"MIT"
] | permissive | markfairbanks/tidytable | 8401b92a412fdd8b37ff7d4fa54ee6e9b0939cdc | 205c8432bcb3e14e7ac7daba1f4916d95a4aba78 | refs/heads/main | 2023-09-02T10:46:35.003118 | 2023-08-31T19:16:36 | 2023-08-31T19:16:36 | 221,988,616 | 357 | 33 | NOASSERTION | 2023-09-12T20:07:14 | 2019-11-15T19:20:49 | R | UTF-8 | R | false | false | 988 | r | reexports.R | # tidyselect ------------------------
#' @export
tidyselect::starts_with
#' @export
tidyselect::contains
#' @export
tidyselect::ends_with
#' @export
tidyselect::everything
#' @export
tidyselect::any_of
#' @export
tidyselect::all_of
#' @export
tidyselect::matches
#' @export
tidyselect::num_range
#' @export
tidys... |
e68a420a0678713baf1700393998367d39933264 | e33c27c79295195487163817be57bff73c4a6526 | /R/tempr.R | faf050d188404fc718bdc4e600fad87d54959799 | [] | no_license | cran/tempR | 082e33c6ad7bfb2857f475f0eb1e7c3bc78a1a20 | d223bd869d90a0155c4e4a04b4b94ba02587ff40 | refs/heads/master | 2022-02-28T10:46:59.262280 | 2022-02-18T21:20:02 | 2022-02-18T21:20:02 | 62,116,242 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 287 | r | tempr.R | # tempR
#' @name tempR
#' @aliases tempR
#' @docType package
#' @title tempR
#' @description Analysis and visualization of data from temporal sensory methods, including for temporal check-all-that-apply (TCATA) and temporal dominance of sensations (TDS).
#' @encoding UTF-8
NULL
|
6a7701007c23e80284f022887c091df4880c5f7f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/clusternomics/vignettes/using-clusternomics.R | 0c7c1c0d54ba305f50427a9cc28bfaaa903a25bc | [] | 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 | 4,843 | r | using-clusternomics.R | ## ---- echo=FALSE, message=FALSE------------------------------------------
# Load dependencies
library(plyr)
library(magrittr)
library(ggplot2)
library(clusternomics)
## ------------------------------------------------------------------------
set.seed(1)
# Number of elements in each cluster, follows the table given ... |
cead57b7d664303751d2b67a84c90d5227c362fd | da69f2c9ba480b42458978b5d6261140041d948b | /30-day-heart-attack-mortality-histogram.R | bea09470e52374f5eb5a86cd38f5159aded7b777 | [] | no_license | talalf/ProgAssignment3 | c9932feeffeae69efd949abce5bf21bff6e8feed | d5c26bd0b16b9fbb91bbee69805e8d2084897c4b | refs/heads/master | 2022-11-21T10:37:23.790306 | 2020-07-17T17:09:59 | 2020-07-17T17:09:59 | 280,279,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 272 | r | 30-day-heart-attack-mortality-histogram.R | ##make histogram of 30-day death rates
outcome <- read.csv("data/outcome-of-care-measures.csv",
colClasses = "character")
outcome[ , 11] <- as.numeric(outcome[ , 11])
hist(outcome[ ,11], xlab = "30 Day Mortality", main = "30 Day Mortality Histogram") |
d4dc6660437585785403b8d80caaa01bed36c488 | 9e8936a8cc7beae524251c8660fa755609de9ce5 | /man/bart-internal.Rd | 2665bd38069e9b965add5903906ee4010429c23e | [
"MIT"
] | permissive | tidymodels/parsnip | bfca10e2b58485e5b21db64517dadd4d3c924648 | 907d2164a093f10cbbc1921e4b73264ca4053f6b | refs/heads/main | 2023-09-05T18:33:59.301116 | 2023-08-17T23:45:42 | 2023-08-17T23:45:42 | 113,789,613 | 451 | 93 | NOASSERTION | 2023-08-17T23:43:21 | 2017-12-10T22:48:42 | R | UTF-8 | R | false | true | 1,105 | rd | bart-internal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bart.R
\name{bart-internal}
\alias{bart-internal}
\alias{bartMachine_interval_calc}
\alias{dbart_predict_calc}
\title{Developer functions for predictions via BART models}
\usage{
bartMachine_interval_calc(new_data, obj, ci = TRUE, level = 0.9... |
82fe3643336d5a2035693add3cd340a10948a843 | 6795df050498702c6ea6440b3907c49e7f425fc4 | /R/addl_functions.R | c81e9e95f4492b1a8aeca02e713495c1bdbd13ab | [] | no_license | AFIT-R/OPER782 | a59b566f6309afa24026137df8d526e0273a2eda | ccdd58ee60d6b75eefeda0ba655eaa9bf2d9e9fa | refs/heads/master | 2021-10-24T11:30:39.199842 | 2019-03-25T16:45:01 | 2019-03-25T16:45:01 | 112,660,382 | 4 | 17 | null | 2018-02-26T05:46:27 | 2017-11-30T21:05:10 | HTML | UTF-8 | R | false | false | 369 | r | addl_functions.R | variance <- function(x) {
n <- length(x)
m <- mean(x)
(1/(n - 1)) * sum((x - m)^2)
}
std_dev <- function(x) {
sqrt(variance(x))
}
std_error <- function(x) {
n <- length(x)
sqrt(variance(x) / n)
}
skewness <- function(x) {
n <- length(x)
v <- variance(x)
m <- mean(x)
third.moment <- (1 / (n - 2))... |
adddcbfa902dcebf10841c9edea33d7a22611e8f | c6c975b706b0553ae887507f088ebe1271383bac | /Simulation_Bayesian_interim.R | b9268c7bf07255f771a932121b5332d1b9b3eb4d | [] | no_license | Jin93/PreliminaryPoC | 03e5e9aea5ab326fc76653224b723f40b0cccbd6 | 20791e7c3125dbe157f37e9c32b4759667afe4cb | refs/heads/master | 2020-03-31T00:44:54.792926 | 2018-10-17T21:14:59 | 2018-10-17T21:14:59 | 151,753,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,916 | r | Simulation_Bayesian_interim.R | ########### This code is for the implement of the propose Bayesian approach after adding an interim analysis for futility stop.
########### The approach was considered but not adopted in the end. The results were not shown in the manuscript.
load("simulationdata.RData")
K=3
q0=0.2 # historical benchmark response rate
... |
cac7fba884944434c25b2faf83ffcde8054fdc9a | a1f157aef70d937ad92285edbfd97ee20ed54bdd | /04_compare_candidates.R | 97137d084d42a9927ec2371aa6e9312d68898aa3 | [] | no_license | BrianWeinstein/presidential-debate-nlp | 582de261da3ec9966f2d348211a3ddfd39ee337d | 4ffb18b0e5656f7f5a597f95d1e4ca93ad14be8f | refs/heads/master | 2021-05-15T03:09:29.085303 | 2016-12-02T16:58:03 | 2016-12-02T16:58:03 | 69,831,469 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,459 | r | 04_compare_candidates.R |
# Initialize ############################################################################
# load packages
library(readr)
library(dplyr)
library(tidyr)
library(stringr)
library(broom)
library(forcats)
library(ggplot2); theme_set(theme_bw())
# formatting for scientific notation
options(scipen = 50, digits = 7)
# set ... |
6fd1792516e4efc38a88234e13674537e93e014e | d7e29a6a1cb9fbe7f4f2eeab61835843f3e6cfe5 | /bayesian_fm/integration/melting.R | 3d4eb4fbe582ec995b079222009bb35f259b33c1 | [] | no_license | MRCIEU/eczema_gwas_fu | a8b6dc9d213b13d89a5074d8470823181854a694 | 9c56ad47a827cd406002c1b00794e44a36442771 | refs/heads/master | 2022-04-26T18:17:41.315147 | 2020-04-29T13:29:30 | 2020-04-29T13:29:30 | 255,891,011 | 2 | 0 | null | 2020-04-15T11:07:07 | 2020-04-15T11:07:06 | null | UTF-8 | R | false | false | 374 | r | melting.R | library(tools)
args = commandArgs(trailingOnly=TRUE)
library(reshape2)
my_jam <- read.delim(args[1])
my_jam <- melt(my_jam,id.vars=c("X"))
colnames(my_jam) <- c("study_id", "rsid", "PP")
my_jam <- my_jam[!is.na(my_jam$PP),]
my_jam$PP <- as.numeric(my_jam$PP)
my_jam <- my_jam[my_jam$PP >= 0.05,]
write.table(my... |
c347cc46c94de62b38b71f8408dd1bd1116bb90d | 78e656557b5cc6b77f8a30a3792e41b6f79f2f69 | /aslib/man/plotAlgoCorMatrix.Rd | dae982fe337a79b5a12cf403ed84ddf97b730f76 | [] | no_license | coseal/aslib-r | f7833aa6d9750f00c6955bade2b8dba6b452c9e1 | 2363baf4607971cd2ed1d784d323ecef898b2ea3 | refs/heads/master | 2022-09-12T15:19:20.609668 | 2022-09-02T17:48:51 | 2022-09-02T17:48:51 | 27,724,280 | 6 | 7 | null | 2021-10-17T17:34:54 | 2014-12-08T16:38:21 | R | UTF-8 | R | false | true | 1,901 | rd | plotAlgoCorMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotAlgoCorMatrix.R
\name{plotAlgoCorMatrix}
\alias{plotAlgoCorMatrix}
\title{Plots the correlation matrix of the algorithms.}
\usage{
plotAlgoCorMatrix(
asscenario,
measure,
order.method = "hclust",
hclust.method = "ward.D2",
cor.m... |
fefe4b64123b2ad0c8b27a8411b682f0724890b5 | ded276ce3370b533a2863ab7a4f2298d303e9dd7 | /KPI_KNN_5_all_obs_DataPartition 75_25.R | 78e4bc98ebca161c000872a57ecd17787825dd81 | [] | no_license | NatasjaFortuin/Wifi-locationing | a7db46c1299746da31019a084ae72a2a14a9fd73 | 51286391c4ea977105f9828f2a1a0d57bfb2d7c3 | refs/heads/master | 2020-09-16T21:29:36.104767 | 2019-12-19T13:39:59 | 2019-12-19T13:39:59 | 223,891,945 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,743 | r | KPI_KNN_5_all_obs_DataPartition 75_25.R | library(readr)
library(caret)
library(lattice)
library(ggplot2)
library(tidyverse)
library(gmodels)
library(vcd)
library(grid)
#### KNN ####
## load saved KNN models----
KNNB0Lat <- read_rds("KNN_Fit_lat_B0.rds")
KNNB1Lat <- read_rds("KNN_Fit_lat_B1.rds")
KNNB2Lat <- read_rds("KNN_Fit_lat_B2.rds")
KNNB0Long <- read... |
43c84c76ebddd75ec3358806b68a9e9941b27892 | 890f5f1b70a8ec82548b5bdec8db74441b9644ab | /R/onload.R | d031959014bb4cdd372d7e0d85140247814e2e47 | [
"MIT"
] | permissive | adam-gruer/bortles | 1e144ca4fe1d4a110bdcc1aea6d2757607b0783e | 068a1b12bf3ba9aac9cef291e0c3f4e129eb95f1 | refs/heads/master | 2020-04-10T22:34:56.693908 | 2018-12-13T05:22:16 | 2018-12-13T05:22:16 | 161,327,365 | 22 | 1 | NOASSERTION | 2018-12-12T20:49:58 | 2018-12-11T12:00:23 | R | UTF-8 | R | false | false | 457 | r | onload.R | .onLoad <- function(...){
copy_gifs_to_temp()
}
pkg_gif_paths <- function(){
pkg_gif_dir <- system.file("gifs", package = "bortles")
gif_files <- list.files(pkg_gif_dir, pattern = ".+\\.gif$")
fs::path(pkg_gif_dir, gif_files)
}
copy_gifs_to_temp <- function(){
gif_temp <- fs::path(tempdir(), "bortles_gifs")... |
746e93a88dd914e2ef9846dffcc06de624f5efd1 | ed9cd5469879a3b9bc63279b28aaa2344fc0e535 | /Codes/remotely_sensed_data_extraction.R | 158ac23856fdc67f0b527ea392e96fb466551c8c | [] | no_license | jms5151/Coral_times_series_Gulf_of_Mannar | 4cd63ecaf5f44f01aa6de33709ab67dc48ab26d5 | ee62c2e993e7ed1f9b578fed7a6a693d81ac9993 | refs/heads/master | 2022-05-28T02:01:14.517060 | 2022-05-20T20:58:57 | 2022-05-20T20:58:57 | 253,721,938 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,686 | r | remotely_sensed_data_extraction.R | # Extract DHW and Chl-a data for bleaching years ----------------------
rm(list=ls()) #remove previous variable assignments
# load libraries
library(raster)
library(ncdf4)
library(tidyverse)
# load site data
gom_coords <- read.csv("Data/GoM_GPS_coordinates.csv", head=T, stringsAsFactors = F)
# degree heating week da... |
228792d64c68c1c68fad1a6dad1b73fbf134db33 | e4237bc0070f3f4b7928630a475ed8c2c3204d83 | /code/cellar/POAR_county_records.R | c2fdaa8839671b0381c7bba3b39692d46f2f3815 | [] | no_license | texmiller/POAR-range-limits | 5f85a880387f0c19c07c98e8ce5361e926f1e79e | 912b9b987abf97da3eceb6d8120effda0175e247 | refs/heads/master | 2022-01-30T14:18:22.070257 | 2022-01-19T15:27:06 | 2022-01-19T15:27:06 | 133,686,004 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,614 | r | POAR_county_records.R | ## I searched all POSR records on TORCH on 4/12/2020
## DOwnloaded these search results: http://portal.torcherbaria.org/portal/collections/listtabledisplay.php?db=all&taxa=Poa+arachnifera&usethes=1&taxontype=2
library(tidyverse)
torch <- read.csv("TORCH_POAR_records.csv")
levels(torch$stateProvince)
torch_counties <-... |
6e9c6f9b1420f7b34baebfc946de3fe8fdff3c1f | 3da549338dc72005d5b905ba5c1319d708b21f47 | /SerumSamples.R | bf586aab37201f13d51eb10fd93239290a5bdae6 | [] | no_license | smdecripan/RIpred | 84f0042f5730008090d9700082b0acdadb31b2dd | a86344a8fe1de2b26a151010cad7282e580a5cd8 | refs/heads/main | 2023-04-30T20:43:52.500705 | 2021-05-24T10:37:52 | 2021-05-24T10:37:52 | 370,274,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,531 | r | SerumSamples.R | library(erah)
load("id_eRah.rda")
load("gmdRi.rda")
db <- data.frame(matrix(vector(), nrow = length(gmdRi), ncol = 2,
dimnames = list(c(), c("Name", "RI.VAR5.ALK"))))
for (i in 1:length(gmdRi@database)) {
db[i,1] <- gmdRi@database[[i]]$Name
db[i,2] <- as.numeric(gmdRi@database[[i]]$RI.VAR5... |
ea9fc1e7a5fc79af4fd12e464cb0265dc6043adb | 3ed96bb9a7e7e0ed668b2fc05d29311ac4756a5d | /clases/M2_clase2_dplyr.R | f27d251328a10eb3c4292dd333e29cabc3305775 | [] | no_license | JulioCursos/analisis_reproducible_iibp | ccababc0e55f205d0bee2e37e107063f37e36c56 | 5fb83e1e6e7908fab7873288a483e007da4248d5 | refs/heads/main | 2023-05-03T06:49:14.143767 | 2021-05-26T17:59:58 | 2021-05-26T17:59:58 | 371,774,381 | 0 | 0 | null | 2021-05-28T17:31:01 | 2021-05-28T17:31:00 | null | UTF-8 | R | false | false | 8,239 | r | M2_clase2_dplyr.R | ############-----------MODULO 2: CLASE 2. Manipulacion de datos usando dplyr----------############
#CONTENIDO:
# 2.1. Gramatica de dplyr.
# 2.2. Estructura de las funciones de dplyr
# 2.3. Select
# 2.4. Filter
# 2.5. Operadores logicos y booleanos
# 2.6. arrange()
# 2.7. rename()
# 2.8. mutate()
# 2.9. Agrupar con su... |
9c68da78ac51c028fe5a3f3ac8c75de66cf2e0ec | 66f8711bc942a1bc635a6deea253e9a49c718094 | /R/uniqnameCheck.R | 1a0d0a615ff810dc85d22c60d6f3dfa22b996e35 | [
"MIT"
] | permissive | seanrsilver/novnet | bd179476c48a8dd809757c60488dde7193a4145b | 85107cfbbabc68c603134db5b5fc8bbf9219624b | refs/heads/master | 2020-06-05T18:20:58.057024 | 2019-06-18T14:29:45 | 2019-06-18T14:29:45 | 192,495,039 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,696 | r | uniqnameCheck.R | #' uniqnameCheck()
#'
#' Checks for duplicate rownames in Char.csv uniqname, and returns a matrix
#' Run if txtDisambig fails with "duplicate row names not allowed"
#'
#' @param filename File name as character string, i.e. "Crusoe".
#' @param local Default = TRUE. If FALSE, searches for file in google drive. If TRUE, s... |
478e8047c067d596919ac32938d0c17fe8a03a3f | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /R/xlabel_-.R | 8ddcba6b76195d2a87d3a41a1d544b0d4b770a67 | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | xlabel_-.R | `xlabel<-` <-
function (data.ld, value)
{
attr(data.ld, "xlabel") <- value
return(data.ld)
}
|
ac8a00571acaf1c5f3c020acb5db9bc813fa1ea1 | 287c1be93b3d5786f221973a0705ab66bfc4dd03 | /Projects/smd_2016/metrics/code/functions/fiber.R | 9825fff0e61ceece612b087d09007783d3014df6 | [] | no_license | mtejas88/esh | c6c6c8e6d7ee2b47891421f2736f7e97d43c4dc5 | e28651449ce5be492c8eea8a75e66ddafe2b87bc | refs/heads/master | 2021-07-11T02:32:51.307530 | 2017-10-10T16:46:57 | 2017-10-10T16:46:57 | 106,446,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,814 | r | fiber.R | ## =========================================================================
##
## REFRESH STATE METRICS:
## FIBER
##
## 2015 SAMPLE: exclude_from_analysis == FALSE
## 2016 SAMPLE: exclude_from_ia_analysis == FALSE
##
## hist: percent of schools on fiber
## targets: sourced, 2016
## ranking: unweighted/weighted, campus... |
8399ab01a53a84efb176927ba0fcbe8c5bd99ab1 | bc6bd59c8507bdd4ff4d45fd10185115f2a068c9 | /Live Scripts/Live Coding.R | 4fea8513947f6434f7d5c2b5d599ee7eb8f85cb1 | [] | no_license | Paulgbullard/NHSR-Forecasting-Webinars | a799d00c689878f815a6b3bf165996b4d0c04b94 | eb4113fa8e2742cdc801e213f813763daa284c98 | refs/heads/master | 2022-11-10T20:37:34.179646 | 2020-06-30T13:50:38 | 2020-06-30T13:50:50 | 273,520,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,088 | r | Live Coding.R | library(fpp3)
library(readr)
#------- Lab Session 1---------------
#1.1-Import data into R
ae_uk_original <- readr::read_csv("Data/ae_uk.csv",
col_types = cols(
arrival_time=col_datetime(format = "%d/%m/%Y %H:%M"),
... |
268eabb54528f47f240633bea961ae46907665fc | c1cf117422895fc60fa045805c14f3e46f0ccead | /script/C4_fit_remko.R | b7a6d56b175a189818318c00928911303c379cad | [] | no_license | bvsonawane/C4_modelling | 508602ae30fec79978fd9e26d8926ab8ca464905 | 1f1ca9746bde21f100a6947b411759a296cd88f2 | refs/heads/master | 2021-05-29T06:42:27.973593 | 2015-06-11T06:53:15 | 2015-06-11T06:53:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,895 | r | C4_fit_remko.R |
rm(list=ls())
require(plyr)
require(dplyr)
require(plantecophys)
require(minpack.lm)
#source("functions/bala_c4test.R") ## this file contain all the function created for C4 fitting
source("functions/functions.R")
# source("functions/load packages.R")
## read dataframe
df<- read.csv("rawdata/aci_expt2.csv")
df<- df[... |
6a85e62438913d3d3dff15a1b4629681c68a0e94 | 788e31a5c894ef28df014cebf88bd00546b32760 | /regressao_quasi_poisson.R | fa5f538b81b9d857c9e06e58fd84d7df3a64d781 | [] | no_license | lucianogaldino/Curso-Estatistica-Analises-de-Regressoes-com-Linguagem-R | d786b4a6eecd21e58f899b7844b5399198809cf7 | d9fece22230b7a0e90fefc5055e2ac733fd7a563 | refs/heads/main | 2023-04-21T21:37:36.765229 | 2021-05-12T02:08:48 | 2021-05-12T02:08:48 | 366,565,372 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,578 | r | regressao_quasi_poisson.R | ###################################
### REGRESSÃO QUASI POISSON ###
###################################
library(dplyr) # Manipulação de dados
# BUSCAR DIRETÓRIO (PASTA COM OS ARQUIVOS)
setwd("C:/Users/Luciano/Desktop/regressoes_R")
# Objetivo: Analisar reclamações em uma nova empresa de internet
... |
60cdc5a215404fa8c6608f869994cbb542a74d4b | 567bcd8300c7c7e2bafbf45b378797de111406fd | /man/psi.plot.stepfun.Rd | d0e41220dc4408bf7c67a6a0cb824eaf7ce69b60 | [] | no_license | GeoBosh/psistat | 996eb4fd5e551e8a8d7f1ab56f2ec801e52f3fd1 | 81306a78241c6a984e95a835975bc324f48ec3b3 | refs/heads/master | 2021-05-01T06:31:14.356997 | 2020-11-17T12:54:41 | 2020-11-17T12:54:41 | 121,145,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,986 | rd | psi.plot.stepfun.Rd | \name{psi.plot.stepfun}
\alias{psi.plot.stepfun}
\title{ Plot piecewise constant functions }
\description{
Plot a stepfun object. The function is a modification of
plot.stepfun from package stats but has an additional argument to
force the domain of x-values rigidly.
}
\usage{
psi.plot.stepfun(x, xval, xlim, yli... |
887636b7530cf55ef79f8a85dc8c9d401cecca76 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RSpincalc/examples/EVrandom.Rd.R | dc01950ca7463fa762502417210418cc6a20d541 | [] | 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 | 181 | r | EVrandom.Rd.R | library(RSpincalc)
### Name: EVrandom
### Title: Generate uniform random Euler Vectors
### Aliases: EVrandom
### Keywords: programming
### ** Examples
EVrandom()
EVrandom(5)
|
e1ec479146c7fb2c367ffc05475213394f75cf91 | 29e978889657cc65a089d418ed4c889fa6aa7257 | /dataPrep.R | b9b303f4f06e4d05b6f52a5fb50efa96caf86af5 | [] | no_license | klkinsch/ExData_Plotting1 | e83b3028e9c83834d4f078f086bbf07ee5e4df46 | 9730c1561f51dd1e54526087f1adcd804f4e1b6d | refs/heads/master | 2021-01-15T22:57:05.474628 | 2016-06-05T19:13:54 | 2016-06-05T19:13:54 | 60,428,300 | 0 | 0 | null | 2016-06-04T20:08:53 | 2016-06-04T20:08:52 | null | UTF-8 | R | false | false | 1,161 | r | dataPrep.R | ##dataPrep.R assumes the following
# 1. data file household_power_consumption.txt resides in the data folder in the
# same path that the r script is run
# 2. packages dplyr and data.table are installed
##
##dataPrep.R does the following
# 1. Loads packages dplyr and data.table
# 2. Loads Electric Power C... |
5af07e2391d9cc61ebec5204fc19105d8ea65b41 | 510d092d3344d53755946f110e92147fd00184c7 | /Code/Simulationen/Auswertung.R | ea1c200b58d5a31d36d09aabfe80d37052fb213e | [] | no_license | maamuse/MT-Maximization-Voter-Representation | 71cc6a355c90fc2db5af3ebf680ebc29242abf8f | fa5f587ec446cd8567c39e94a12b4f8d17c299ef | refs/heads/main | 2023-04-18T08:56:14.889256 | 2021-05-07T13:45:04 | 2021-05-07T13:45:04 | 363,432,310 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 6,796 | r | Auswertung.R | #############################################################################################################
# Voting behaviour Accuracy
#############################################################################################################
#setwd
setwd("C:\\Users\\Marco\\Desktop\\Master\\Master\\Master Thesis\... |
9c6419800aaab34c13145106bc2ec8474b5b1803 | d31979485b23b98a22d0402cf9c1cd54857538cd | /Functions.R | 377dbce896c0ab0a0502744f59b441cfe06fbfce | [] | no_license | p-schaefer/RWorkshop | 1a17b5f91f7afdeadd97890e1245658d1882183f | f637cfeffa431335fd6170110a4db30624833b46 | refs/heads/master | 2021-01-12T09:53:43.201702 | 2017-01-12T16:08:45 | 2017-01-12T16:08:45 | 76,288,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,414 | r | Functions.R | ###################################################################
#
#Functions for use in the OBBN R workshop - January 18 2017
#
#Created by: Patrick Schaefer (pschaefer@creditvalleyca.ca)
#
###################################################################
"Permission is hereby granted, free of charge, to any per... |
465543394d4b549740e8e32923d21c674a425a79 | 47967b9f3870fd0aa07115fa9f327a1a440bebab | /Reddit_Analysis/Network_Analysis/network_visulalisation_script.R | 8da30fb9f610909bfdfe8f53ec9986001cff6225 | [
"MIT"
] | permissive | zachHFT/Optimal-Cryptocurrency-Trading-Strategies-Step2 | ec290c99800daf777cfc008b44e240ad49318132 | 5880839d1b139b837d914279964a61ed53e4939d | refs/heads/main | 2023-09-05T13:58:35.855259 | 2021-11-22T12:18:10 | 2021-11-22T12:18:10 | 423,907,146 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,183 | r | network_visulalisation_script.R | library(igraph)
library(ggplot2)
library(dplyr)
library(influential)
library(ggraph)
library(graphlayouts)
library(visNetwork)
largest_connected_component_g_reduced <- read_graph("largest_connected_component_g_reduced",
format="gml")
ggraph(largest_connected_compone... |
599c92a89ccbc808111859f6a5e7f53bbbf090a7 | 40e318d095bb5eca2f763321acc121748b472749 | /man/single.mod.Rd | fe3047d7f210386afc9a4affe2f2adc93e13fdc6 | [] | no_license | tyut2018/FusedPCA | 17c5ffee51607471d9349fc30f039805f38565e2 | 4c0c3d220ed478f234108cf1e1e08e48937f5ee8 | refs/heads/master | 2020-04-05T17:38:53.528437 | 2013-11-10T00:00:00 | 2013-11-10T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,471 | rd | single.mod.Rd | \name{single.mod}
\alias{single.mod}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Modularity based on DCBM and SBM assumptions
}
\description{
Get the modularity values based on DCBM and SBM assumptions for a single community detection estimator.
}
\usage{
single.mod(A, clusters, K = 2)
}
%- m... |
d124870c51854b99bad8067c020b8b7f6808689a | 9159f5c0c900dcbf446c36d941a1ed455187d0d5 | /크롤링_워드클라우드.R | fe70f3b4b588ef40a3b13dc99fff5b8627f51faa | [] | no_license | joy3968/R_project | 658d134881ec836cfc3458f45ae53100750384db | c55e1d1ade8a1240d9cf8615051d89c18a055dc3 | refs/heads/main | 2022-12-20T01:07:21.151938 | 2020-10-13T07:47:50 | 2020-10-13T07:47:50 | 303,286,996 | 0 | 0 | null | null | null | null | UHC | R | false | false | 4,322 | r | 크롤링_워드클라우드.R | ## 크롤링 통해 데이터 가져오기
install.packages('rvest')
library(rvest)
html <- read_html("https://movie.naver.com/movie/point/af/list.nhn?st=mcode&sword=134963&target=after&page=1")
html
# html 체계 확인하기
guess_encoding(html)
comment <- html_nodes(html,'.title')%>%
html_text()
comment <- gsub('\n','',comment)
com... |
72a9eac8b2eb6f5ada00fb30e3ff48b0814211c5 | 64dc0c6f076051d1c9db94371492d04ecc686d4a | /Competition_dynamics.R | 8b39c8a455dce8d24a011b8e8738bb8ba96393d4 | [] | no_license | jdyeakel/DiffusingForager | 8c232054c4f59cf1a97d3eda2ee9b5387b0ad4f9 | 77b0e8709b00b1f85977a77306ad9c579d9a10d1 | refs/heads/master | 2020-04-06T05:24:25.900411 | 2017-12-13T17:40:53 | 2017-12-13T17:40:53 | 27,739,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,833 | r | Competition_dynamics.R | library(deSolve)
#library(rgl)
library(RColorBrewer)
library(wesanderson)
source("R/filled_contour.r")
source("R/smooth_pal.R")
#Starving forager ODE
source("R/comp_forage_ode.R")
state <- c(
R = 0.5,
X1 = 0.5,
Y1 = 0.5,
X2 = 0.5,
Y2 = 0.5)
parameters <- c(
alpha = 1,
eps... |
37a6646734a9d016aebf8326d038672d980bdeb6 | 585c347c8c2b307f658333b75daa64d9ef076ec4 | /data_mining/preprocessing.R | 46db86b75c8e8f9d47b4a03a8a4df554a10cb05f | [] | no_license | davidjudilla/csc177_data_mining_warehousing_student_performance | 1e329dba0af27f856fdf39d90e177ab291fcdef5 | eb461d353b287bbbb881e17121d5c6b09b29d45d | refs/heads/master | 2021-01-20T00:35:13.465346 | 2017-05-15T21:21:17 | 2017-05-15T21:21:17 | 89,156,731 | 2 | 2 | null | 2017-05-15T21:21:18 | 2017-04-23T16:40:05 | Python | UTF-8 | R | false | false | 1,938 | r | preprocessing.R | mathStud=read.table("student/student-mat.csv",sep=";",header=TRUE)
portStud=read.table("student/student-por.csv",sep=";",header=TRUE)
# Change labels of columns such as ("yes", "no") -> (1, 0)
#factor(select(mathStud, schoolsup:romantic), levels = c("yes", "no"), labels = c(1,0))
mathStud$schoolsup = factor(mathStud$s... |
c926fc8574ba487356563b1b93f995b8bcd7b301 | 6d8ba0201575eb0ae25aa6b7f94ff516a88f6295 | /man/insertPseudocounts.Rd | 3cac5e452966579f380a8a13778ee94899f64487 | [] | no_license | vreuter/SwissR | bdd2f9070309995943f45ac252f37724c390804b | eba4932eea7514a80daf82fe720646c711ba0528 | refs/heads/master | 2021-03-27T18:52:53.391769 | 2018-02-13T21:44:13 | 2018-02-13T21:44:13 | 94,234,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 599 | rd | insertPseudocounts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats-utils.R
\name{insertPseudocounts}
\alias{insertPseudocounts}
\title{Assurance that each value of a vector is nonempty.}
\usage{
insertPseudocounts(observations, pseudocount = 1)
}
\arguments{
\item{observations}{Vector of values to ensu... |
01667d199d7fcbed18cc268fe15bc7407c7fa359 | a6f2c3deb38a1e9ae51866e2e06a3f51d8a936fa | /R/map_elements.R | 6e21ded880df6b3f0d8fb67953d0ad77bb870da1 | [] | no_license | mpio-be/bib2 | d39ede015568ceb18aada2993a1aa4cad127b202 | cf06cc7baab1e8610cfbdab271d6ea5927dc347a | refs/heads/master | 2021-12-15T02:31:29.472265 | 2021-12-02T08:07:20 | 2021-12-02T08:07:20 | 76,011,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,069 | r | map_elements.R | #' @name maps
#' @title maps
NULL
#' @export
#' @rdname maps
theme_bib2 <- function() {
theme(
axis.line = element_blank(),
axis.text = element_blank(),
axis.ticks = element_blank(),
axis.title = element_blank(),
panel.background = element_blank(... |
87a95cbc459b6ff9b5801b19294bf450f39fdd1e | 918e48a1d361f5f10be6ba157a0b80f889a8726e | /man/plot_bidev.Rd | 457355e50f4adc45d2991bc46b97d9cd3584644b | [] | no_license | riatelab/MTA | b1dd731c0856b6266bbe1445ec531265611c3a5a | eb198c04fd32c45257945fa2185f1f8bf79fc5f3 | refs/heads/master | 2022-06-17T05:14:00.022031 | 2022-06-03T08:43:07 | 2022-06-03T08:43:07 | 83,419,887 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,200 | rd | plot_bidev.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_bidev.R
\name{plot_bidev}
\alias{plot_bidev}
\title{Plot Multiscalar Typology (2 deviations)}
\usage{
plot_bidev(
x,
dev1,
dev2,
breaks = c(25, 50, 100),
dev1.lab = NULL,
dev2.lab = NULL,
lib.var = NULL,
lib.val = NULL,
... |
b341f52efc2b3dca52db1d23cb28e68fcdda4a5f | 968681bc2010c74b83235daa83d4b8f344bbd73f | /R/BODCbiometrics.R | 36be0beaa78cc549701ab643f131ccb27981a45d | [] | no_license | EMODnet/EMODnetBiocheck | bdae6c6e40c78bf8300c8667dbf3b7640a8cfbfc | 2b6e5380c6826e4c42431d0ab270dc6c0081314e | refs/heads/master | 2023-08-31T10:26:35.348008 | 2023-08-28T09:38:09 | 2023-08-28T09:38:09 | 151,568,194 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 273 | r | BODCbiometrics.R | #' BODC vocabulary terms related to Biometric or other Biotic data.
#'
#' A character vector containing URIs of BODC vocabulary terms related to Biometric or other Biotic data.
#' These will be added to th duplicates check if they exist in the dataset.
#'
"BODCbiometrics" |
dda4b5a8f1eea61bce96df20a5315b5540ad643f | 0a94bc20c15cb0c310e8f4df140af91968faabb4 | /diningdata.R | e3b2997ef8be4f7ce5657f63bfb572d1685fb36a | [] | no_license | kkorn99/sys2202 | e5a931805b629d79263d76395988eb84ce0db62d | 4e52e40c628583efe38586e1182091e0f768f1d4 | refs/heads/master | 2022-05-10T06:09:47.212334 | 2020-04-27T00:19:33 | 2020-04-27T00:19:33 | 259,130,770 | 0 | 0 | null | 2020-04-26T20:52:14 | 2020-04-26T20:52:14 | null | UTF-8 | R | false | false | 1,296 | r | diningdata.R | # Script created by Matt Thompson (mlt2we)
library(gcookbook)
library(tidyverse)
library(farver)
library(dplyr, quietly = T)
library(anytime)
d = read.table(file = 'dining/txt/u01.txt', header = FALSE, col.names = c('datetime','diningHall','meal'), sep = ',')
?read.table
view(d)
write_csv(d, 'diningcsv/u01.csv')
prin... |
15913e517563265714822835168d12362c3d68a4 | 13db7f8bc01c0d2a51bf1bca03a007caf49e9b8e | /R/xy2SpatialPolygon.r | 550065df0135eecae07b04dd1ca369440c3fb600 | [
"MIT"
] | permissive | PEDsnowcrab/aegis | e8fbe3b81b8b072371749c1a7497a9fb5818ef40 | 92d4b045c17773c184df4ff3ed47c226ba4eddbf | refs/heads/master | 2022-06-08T06:53:15.019770 | 2019-12-18T16:37:25 | 2019-12-18T16:37:25 | 257,596,288 | 0 | 0 | MIT | 2020-04-21T12:58:58 | 2020-04-21T12:58:57 | null | UTF-8 | R | false | false | 228 | r | xy2SpatialPolygon.r | xy.to.SpatialPolygon = function( xy, id=1, crs=NA ) {
#\\Convert xy matrix of coordinates (lon,lat) to a spatialpolygon
SpatialPolygons( list(
Polygons( list( Polygon( coords=xy)), id ) ), proj4string=sp::CRS(crs) )
}
|
4affb4ebbafec7d69bc0ee0d2439b5b397904107 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/synlik/R/I_extractHessian.R | 3de5538bbb21e952496168898b628632c2d7ed13 | [] | 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 | 730 | r | I_extractHessian.R |
.extractHessian <- cmpfun(function(secondDeriv, nPar)
{
hessian <- matrix(NA, nPar, nPar)
# Calculate indexes to store coefficients in the Hessian
if(nPar == 1){
indexes <- matrix(1, 1, 1)
}else{
# Create matrix of indexes to manage the second derivarives stored in beta
indexes <-... |
41da21e442eced7bbc697ca9659c1c169171d483 | bbd73e22684497a51ec61013277dcce89d417485 | /src/basis.R | 76b6a39c94b64cf45f027f1a328787313fb5160c | [] | no_license | tlaepple/paleolibrary | a432c6405388474ca3295fdc2aadd65f9f6edbac | daed039f08854dcbb99b8194fd99ce7fec662842 | refs/heads/master | 2021-01-23T08:34:51.242448 | 2011-10-31T18:27:44 | 2011-10-31T18:27:44 | 2,659,270 | 1 | 1 | null | null | null | null | ISO-8859-1 | R | false | false | 6,591 | r | basis.R | #Testplan:
#sorting in das Laden der Dateien einbauen !
#+ - scale, detrend [], Bereich und Punktwahl, plot, summary, cor
#Allgemeines NA Handling 30% Schwelle (später da für Poster nicht nötig)
addhistory<-function(x,newhist)
{
newhist<-paste(date(),newhist)
attr(x,"history")<-c(attr(x,"history"),newhist)... |
0460a4476f3f3380b9c8abc2c08ccf56d916f183 | 1d2806b6d2a7a889ff23a7c474c7c81acec4b375 | /sess-4.R | 16210e8946850da5f937b394483fd838df5aeecc | [] | no_license | aljrico/math-for-bd | 4169f81d6c22f8a7a7ff0548f0629c4368ac1d5d | 96984f358828fcf389744e7c12b3a266d5aeb985 | refs/heads/master | 2020-03-13T14:22:38.367588 | 2018-07-05T11:35:43 | 2018-07-05T11:35:43 | 131,157,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 37 | r | sess-4.R | # SESSION 4: PERFORMANCE ASSESSMENT
|
71d400d893dd4fd2ca7400a5794a00daa948b599 | 0678bb13d5cf2f3c3c53ddf506771a8fd4ecedc5 | /tests/testthat/test_convert.R | 751f2fc2d2f2fffb7d2dd60823ec8f0180ffd6a1 | [] | no_license | Swarchal/fridayDemo | edfbbfa24855d8bd1808adb19d896f5ff764e10a | 50dc0672a59b9b9691f20e56d64710849b9f30d1 | refs/heads/master | 2021-01-10T15:06:45.366684 | 2016-01-22T17:17:34 | 2016-01-22T17:17:34 | 50,136,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 300 | r | test_convert.R | context("sqrt_minus_one and square_plus_one convert from one to the other")
# this should fail!
test_that("convert vector from one to the other",{
original_vals <- seq(1, 10)
sq_p_1 <- square_plus_one(original_vals)
rev_vals <- sqrt_minus_one(sq_p_1)
test_equals(original_vals, rev_vals)
})
|
646058ee86683d4461dd7d37c9be1647d1b2790b | 7d46827baf192311807e0a44820bb7acdd637429 | /man/myColorRamp.Rd | 4efc01fcd9c82f5104b3dcab95215fa95d53c119 | [] | no_license | castudil/RegressionLibs | 2822c1ffe1771ad34881af64f7ea68aabf8e83c0 | d57f0218eaa29c6e3a10fe4e43b734ab0f99dedf | refs/heads/master | 2021-01-24T16:01:59.843257 | 2015-11-09T03:55:16 | 2015-11-09T03:55:16 | 45,933,955 | 0 | 0 | null | 2015-11-10T19:06:39 | 2015-11-10T19:06:39 | null | UTF-8 | R | false | false | 704 | rd | myColorRamp.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/RegressionLibs.R
\name{myColorRamp}
\alias{myColorRamp}
\title{Color Ramp}
\source{
http://stackoverflow.com/questions/10413678/how-to-assign-color-scale-to-a-variable-in-a-3d-scatter-plot
}
\usage{
myColorRamp(colors, values)
}
\argu... |
2cfca4e465e1a7067e81b7ca2dc56808ee597f7c | eaef4dd2d510ff30ac2ee45460687224583ce028 | /code/plotting/remove_tmp_obj.R | cd0661f2603c7e7648a3e27d526ec1a942bd4170 | [] | no_license | guizar/carbon-stocks | d6f1dc6e39dd39e6c4c5110b92fedbfac78fbb6c | b075f9dcc9aabf05372aa2e461278dbbc22907bd | refs/heads/master | 2020-06-03T15:15:18.034093 | 2017-10-26T15:32:16 | 2017-10-26T15:32:16 | 30,377,221 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 643 | r | remove_tmp_obj.R | ## Remove tmp objects
rm(rec_lab)
rm(shot_lab)
rm(gaussAxis)
rm(i)
rm(heightAxis)
rm(d_gpCntRngOff_m)
rm(matchedTable_rown)
rm(positive)
rm(negative)
rm(zero)
rm(m)
rm(r_rng_wf_m)
rm(d_Gamp_m)
rm(df)
rm(rec)
rm(shot)
rm(waveform)
rm(vertical_maxGauss)
rm(vertical_waveform)
rm(d_SigBegOff_m)
rm(d_SigEndOff_m)
rm(maxGau... |
d354603ef5763545cb6953c543024fc4c2128431 | a339a2618e68c666bccd7cbdea5882ed96994115 | /keras.r | c6e94186b8a9b7972e0fc2abfa2eed07366ef12e | [] | no_license | daanvandermaas/raspberry | e3c0f8e6960e0b453ad120cf8f18fdd1badd2e63 | 35687e6e16ca39f63dd15a41b8ea42fdc19727ca | refs/heads/master | 2020-03-16T15:41:28.966757 | 2018-09-06T07:59:58 | 2018-09-06T07:59:58 | 132,754,738 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,444 | r | keras.r |
library(keras)
library(jpeg)
library(abind)
######Parameters
epochs = 280
batch_size = 2L
h = as.integer(512) #heigth image dim image = 2448
w = as.integer(1024) #width image
channels = 3L
class = 2L
drop = 0.5
#####
source('model.r')
opt<-optimizer_adam( lr= 0.0001 , decay = 0, clipnorm = 1 )
compile(model, loss=... |
371358a76ec54c629d24ee11a80b4a8c008dce82 | 56fb62e298e2a112d5acc6a07c50e060f868ed49 | /GenerateDictionaries.R | a088b8a2034135ff8b001bc06497b517b61fe165 | [] | no_license | Stella1017/CourseraCapstone | e9e39beee066e49adf5cdbf3244338d99879ffb6 | fd4927c52c265d53e671c08e614bd81fae910ef7 | refs/heads/master | 2021-08-14T12:46:00.714938 | 2017-11-15T19:13:58 | 2017-11-15T19:13:58 | 110,382,941 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,430 | r | GenerateDictionaries.R | setwd("~/Google Drive/Coursera-DataScience/Capstone Project/final/en_US/")
con.twt <- file("en_US.twitter.txt", "r"); twt <- readLines(con.twt); close(con.twt)
con.news <- file("en_US.news.txt","r"); news <- readLines(con.news); close(con.news)
con.blogs <- file("en_US.blogs.txt", "r"); blogs <- readLines(con.blogs); c... |
dbe10dbb43af87a30b62ff67f2a9050205339097 | c0bce42fcea5993c3d9976248c157f4a4433db0b | /figure_paired_cd34_pbmc/code/09_viz_anecdotes.R | b3b5d0aa00d33e715f8c8a78707a80ba0f8b366f | [] | no_license | ChenPeizhan/mtscATACpaper_reproducibility | a01b22f43c6222a56e04e731d68de7440c3cfc76 | e543610bf29dbac1094994c54d3e7edd41609d5a | refs/heads/master | 2022-12-11T11:31:24.877462 | 2020-08-29T18:40:36 | 2020-08-29T18:40:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,530 | r | 09_viz_anecdotes.R | library(BuenColors)
library(dplyr)
library(ggrastr)
# Import processed data
cd34_clone_df <- readRDS("../output/CD34_clone_DF.rds")
pbmc_clone_df <- readRDS("../output/PBMC_clone_DF.rds")
cd34_mut_se <- readRDS("../output/filteredCD34_mgatk_calls.rds")
pbmc_mut_se <- readRDS("../output/filteredpbmcs_mgatk_calls.rds")
... |
0b2c6bc2aa8b3cd7eef60d83c4a6383f13a30c6a | 078bf836f420c94805ea22214f952752dca611c1 | /xship/server/tab-enginemonitoring.R | a00297d19083e479c42ae1e532f627751015b6fe | [] | no_license | nikhadharman/shiny | 20e8cdc3e4e6b6d7b463c7cd494a5f301e945906 | e461d48b7d5f3a1e350298468b103067947ddc70 | refs/heads/master | 2021-09-09T23:59:30.755964 | 2018-03-20T09:26:29 | 2018-03-20T09:26:29 | 111,196,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 88,300 | r | tab-enginemonitoring.R | #ENGINE ANALYSIS ...................................
#enginedata =readWorksheetFromFile( "data/ENGINE ANALYSIS.xlsx", sheet = 1, header = FALSE )
enginedata =readWorksheetFromFile( "data/Engine Analysis_test.xlsx", sheet = 1, header = TRUE )
shoptrial = readWorksheetFromFile( "data/SHOPTRIAL DATA.xlsx", sheet = ... |
a36f7547b572365f8332bd94a07e4a4689f1eb51 | 8100a4e0a8a8bf539b87a28bc3c978cfc9fa0016 | /man/send_push_notification.Rd | 100d65d6290a6d0cee81264d2ce2cf7dd62cf863 | [] | no_license | epijim/notifyme | d7ce38f7a21bf0ecf165b1720b97d6434d70db9f | 5247f87242a1beda9fbdab5d457aa6f70459b2d7 | refs/heads/master | 2020-08-03T09:21:54.876117 | 2016-11-26T17:00:14 | 2016-11-26T17:00:14 | 73,549,456 | 1 | 0 | null | 2016-11-12T11:54:12 | 2016-11-12T11:44:42 | R | UTF-8 | R | false | true | 1,330 | rd | send_push_notification.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/send_push_notification.R
\name{send_push_notification}
\alias{send_push_notification}
\title{Send push notification to devices}
\usage{
send_push_notification(title = "Your R session says:",
message = paste0("Message sent: ", Sys.time()), a... |
fc4842e2aefdef6a6ed4eb8968d830a8c3725da3 | a1c90df487eecd4ce56fdd2bc092e3a23f260b97 | /plots.R | 7688fe8fde9072aec06717d1bab52d3a69b30c26 | [] | no_license | mawassw/selection_analysis | 89b76886ba5b6d3fb2a5e406c74293e4ac449e3e | 530f91be77eea621aab6c51585d73e3e7a68110e | refs/heads/main | 2023-04-28T17:38:50.104881 | 2021-05-05T19:44:05 | 2021-05-05T19:44:05 | 364,682,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,257 | r | plots.R | #plot n of individuals per year
library(ggplot2)
#charlevoix
nind_char <- data.frame(table(ped_charlevoix$yob,useNA = "no"))
colnames(nind_char) <- c("yob", "N")
nind_char$yob <-as.numeric(as.character(nind_char$yob))
tiff("nind_char.tiff", units="in", width = 5, height = 5, res=300)
ggplot(nind_char, aes(x=y... |
f0e0c6d948e0477b42f69808e9e17bbc86adeab3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/etm/examples/etmprep.Rd.R | b9a336239cb5e1834b56f7979eb531c1ece78fe4 | [] | 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 | 868 | r | etmprep.Rd.R | library(etm)
### Name: etmprep
### Title: Data transformation function for using etm
### Aliases: etmprep
### Keywords: datagen manip
### ** Examples
### creation of fake data in the wild format, following an illness-death model
## transition times
tdisease <- c(3, 4, 3, 6, 8, 9)
tdeath <- c(6, 9, 8, 6, 8, 9)
## t... |
aee31ba3c8925c5b32820c4a92141aaacfeefa92 | d24d004fb078dabde79de5277c7e34a70841765a | /man/computeLandmarks.Rd | d04cdaadfd2c3f6834d09d7862c39d7b6b972f16 | [] | no_license | dbrg77/scABC | 0269a75d288032d1472db4c0f2ea94487c527949 | d419e17293b0aa7974e17503d7eb1354127bf18a | refs/heads/master | 2020-03-21T04:56:20.418533 | 2018-04-17T21:51:42 | 2018-04-17T21:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 568 | rd | computeLandmarks.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cluster.R
\name{computeLandmarks}
\alias{computeLandmarks}
\title{compute landmarks}
\usage{
computeLandmarks(ForeGround, BackGround, nCluster = 2, lambda = 0.1,
nTop = 2000)
}
\arguments{
\item{ForeGround}{matrix or data frame of Foregroun... |
b6999260615cbdcc2501c1989251c5df1a6b71fd | 069e8335129d029970406740b440c70cc355f619 | /Case_Study_12/Case_Study/combined-data.R | 58e5604c5a2018ac0b2440e5e3cfdf4eb5c1efc7 | [] | no_license | jborjon/M335_Borjon_Joseph | fc692cebd4cbe583b1286427e7ae273c5f473018 | f414cc72ecfb600a78917f00cbede297f19ce424 | refs/heads/master | 2023-01-19T11:15:59.694455 | 2023-01-04T20:23:29 | 2023-01-04T20:23:29 | 196,254,658 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,719 | r | combined-data.R | ## @knitr combine_data
library(tidyverse)
# Get the 2-digit state FIPS code as text
get_state_fips <- function(state_fips) {
if (state_fips < 10) {
state_fips <- paste("0", state_fips, sep = "")
} else {
as.character(state_fips)
}
}
# Get the 3-digit county FIPS code as text
get_county_fips <- functio... |
892667c4dd289934deea26f93187c9aca11b7584 | 29ea4d870adef9fbae1bc542d3e23d51165241aa | /plot4.R | e694482adbd5868f90d12d8b3ecc70db5dcd4c6d | [] | no_license | PeterVarga73/ExData_Plotting1 | 84e95059ed342ed49aa96c019e41aea275542978 | 183c0052c5f8d798a04c910434bea78a2ec180d6 | refs/heads/master | 2020-04-07T12:49:40.173933 | 2018-11-20T16:52:49 | 2018-11-20T16:52:49 | 158,382,747 | 0 | 0 | null | 2018-11-20T11:59:55 | 2018-11-20T11:59:54 | null | UTF-8 | R | false | false | 1,088 | r | plot4.R | library(readr)
library(lubridate)
library(dplyr)
file <- "household_power_consumption.txt"
power <- read_csv2( file = file )
power$Date <- dmy(power$Date)
power <- power %>% filter( Date >= as.Date("2007-02-01") & Date <= as.Date("2007-02-02"))
Sys.setlocale("LC_TIME", "English")
datetime<-strptime(paste(pow... |
a321284ffff188c8319bca8dee5f520ae7a8e8d4 | 6eb6be10dfb00975aa041b19b47ef2511808096d | /Practical Machine Learning Course Project_Activities of Fitbits/Practical Machine Learning Course Project_Activities of Fitbits.R | 45200e06e65b9138811b6b1c5ff54745668aec61 | [] | no_license | yashika-sindhu/datasciencecoursera | 5e72af030f83d7ba90433da32af1bc2940b50b54 | 971ceb4526935374250fa646d8722b7e94bb0ed6 | refs/heads/master | 2022-01-22T04:59:26.645366 | 2019-07-22T09:35:49 | 2019-07-22T09:35:49 | 116,703,715 | 0 | 1 | null | 2018-01-09T05:04:23 | 2018-01-08T16:57:01 | null | UTF-8 | R | false | false | 2,320 | r | Practical Machine Learning Course Project_Activities of Fitbits.R | download.file(url="https://d396qusza40orc.cloudfront.net/predmachlearn/pml-training.csv",destfile = "Desktop/pml-training.csv")
download.file(url="https://d396qusza40orc.cloudfront.net/predmachlearn/pml-testing.csv",destfile = "Desktop/pml-testing.csv")
training<-read.csv("Desktop/pml-training.csv")
testing<-read.csv(... |
1151a3761a55e2b9713886f6ba51ac27d88fbcf8 | a37a3e54565806ee4c9d1f925ce87cd06de5f254 | /analysis/descriptive/diagnoses.R | 098881e8a92b4ba43c6aaea4e959029ce2ca2332 | [
"MIT"
] | permissive | opensafely/comparative-ve-research | cdec66752a31294016a9d9b857bea359fbc8abfd | cf3118545d18a5777dc43d153a6261bd68de56bd | refs/heads/main | 2023-08-23T10:47:30.506829 | 2022-05-06T11:36:00 | 2022-05-06T11:36:00 | 367,404,609 | 1 | 1 | MIT | 2022-05-06T11:36:01 | 2021-05-14T15:27:50 | HTML | UTF-8 | R | false | false | 11,698 | r | diagnoses.R | # # # # # # # # # # # # # # # # # # # # #
# This script looks at emergency attendnace diagnoses
# An ad-hoc script which is NOT part of the main analysis
# # # # # # # # # # # # # # # # # # # # #
# Preliminaries ----
## Import libraries ----
library('tidyverse')
library('here')
library('glue')
library('survival')
##... |
95c6b6d7a3c6d9cf626022981fd3d18f4726e328 | 91216dfb0263e2d1e5e9cf585b2e27a720cce932 | /data_wrangling.R | 03da04efcb2f62e595aff5d86e60ad8b1f2b4982 | [] | no_license | kylechanpols/euro2020 | a71d1c97e21e6d228a4008bf513d206adba40f3a | 6f3d5509a3eb4518a24eedf66737e816809edf41 | refs/heads/main | 2023-05-31T07:58:28.803249 | 2021-06-12T01:07:39 | 2021-06-12T01:07:39 | 376,157,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,141 | r | data_wrangling.R | source("flattenmatrix.R")
group_A <- flatten(read_excel("base_data.xlsx",sheet = "Group A Matrix"))
group_B <- flatten(read_excel("base_data.xlsx",sheet = "Group B Matrix"))
group_C <- flatten(read_excel("base_data.xlsx",sheet = "Group C Matrix"))
group_D <- flatten(read_excel("base_data.xlsx",sheet = "Group D Matrix"... |
902d1cf4323484864cda7801dae00c960ba013c0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/murphydiagram/examples/datasets.Rd.R | fd64804b4ed0894c49aab3392d56207e0e2e7448 | [] | 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 | 682 | r | datasets.Rd.R | library(murphydiagram)
### Name: Data sets
### Title: Data sets with forecasts and realizations
### Aliases: inflation_mean recession_probability
### Keywords: datasets
### ** Examples
## Not run:
##D
##D # Load inflation forecasts
##D data(inflation_mean)
##D
##D # Make numeric time axis
##D tm <- as.numeric(s... |
b7411933c7edab5339f14c05b0f844a468c76663 | c8f22bfb6a8c79c7c50cf968f48087485f311f8a | /man/Affy2_Distance_Final.Rd | 2684185b71d93b84eff05727d7cc393eea5e456e | [] | no_license | VilainLab/IntramiRExploreR | 04d0578c966a8d61f1b89b28fa26e56f4d17d3dc | f1da54cd6ff87934ad02175abc5199e89a44b7a6 | refs/heads/master | 2021-10-26T22:00:16.154053 | 2021-10-11T18:05:47 | 2021-10-11T18:05:47 | 154,200,941 | 0 | 0 | null | 2018-10-22T19:10:54 | 2018-10-22T19:10:54 | null | UTF-8 | R | false | true | 902 | rd | Affy2_Distance_Final.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.r
\docType{data}
\name{Affy2_Distance_Final}
\alias{Affy2_Distance_Final}
\title{Targets for the microRNA analyzed from Affy2 plaform using Distance.}
\format{
A data frame with 73374 rows and 8 variables:
\describe{
\item{miRNA}{miRNA... |
0468da88e122327e94f2f5dd4237e9d98d6c996f | 59f0d2448d94f32c13b8aa72e81ccb1aa8b48fd9 | /man/theta2theta.Rd | 02b2e922114ea57132ddd8d64c8e88474d0b6f7d | [] | no_license | cran/rtmpt | d1c90567519639ff96add93284062e1c6ba2483c | 99c3a35b42077a6aae0ccbce1b6d0448bfc503c1 | refs/heads/master | 2022-04-27T06:46:33.199440 | 2022-04-10T08:40:02 | 2022-04-10T08:40:02 | 213,435,147 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,949 | rd | theta2theta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/set_params.R
\name{theta2theta}
\alias{theta2theta}
\alias{set_thetas_equal}
\title{Set process probabilities equal}
\usage{
theta2theta(model, names, keep_consts = FALSE)
set_thetas_equal(model, names, keep_consts = FALSE)
}
\arguments{
\it... |
0988838e3cc728b93fe268b50bdf9e92becd6d28 | f421c6f0472a53fadb9435741dfe2bcfce740ec4 | /man/SKAT.Rd | da91e9fd34b1d96f15c218a6a5fc500dcf64b6c6 | [] | no_license | EpiSlim/kernelPSI | 7e9cf5a412213b69c02a0105a13f08ccc84f6809 | 3ecd7dd295d1de7d95fdb3089741608ebbc3991d | refs/heads/master | 2023-08-25T15:01:26.877765 | 2020-02-03T15:12:48 | 2020-02-03T15:12:48 | 187,524,830 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,572 | rd | SKAT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/skat.R
\name{SKAT}
\alias{SKAT}
\title{implements the sequence kernel association test for GWAS data}
\usage{
SKAT(Y, K, sigma = 1)
}
\arguments{
\item{Y}{response vector}
\item{K}{list of kernel similarity matrices. The sum kernel is used i... |
84b08c2a393e803e264ddcefe8fc93b898d8c7d7 | 31f68385a76fdfbe5407bf060fdc329deef5eb77 | /R/execby_utils.R | 862f160afa41509d016289682bdcd9406ebfa25a | [] | no_license | akzaidi/dplyrXdf | 8ec3a4cbe363041cea742ea71f8d8840b90cc013 | 2bcc34285939426ba13f816763a7ed268bd99ca3 | refs/heads/master | 2021-01-18T19:57:31.623037 | 2017-08-15T07:02:31 | 2017-08-15T07:02:31 | 100,542,426 | 0 | 0 | null | 2017-08-16T23:52:23 | 2017-08-16T23:52:23 | null | UTF-8 | R | false | false | 679 | r | execby_utils.R | execByCheck <- function(execLst)
{
ok <- sapply(execLst, function(x) x$status[[1]] == "OK")
if(!all(ok))
{
errs <- sapply(execLst[!ok], function(x) x$status[[2]])
stop("bad result from rxExecBy: ", errs[1])
}
}
execByResult <- function(.data, ...)
{
cc <- rxGetComputeContext()
... |
45ed2cf7965918a5005b1fcf813f0eded8ff07f0 | c482564f06ddb420ab70a0c004ad4e42c8142376 | /merge_training_batches.R | 606816178a1f6ed31fcc4b42b875e2d485d6328b | [] | no_license | BadSeby/RNASeqDrug | 3c3f1ecccdafb3f651a534cc48d569711161fd1c | f86cfd7c7fc7f9c5ea28010c0cb11405d14d1b44 | refs/heads/master | 2020-04-16T03:22:27.575519 | 2018-05-04T20:05:06 | 2018-05-04T20:05:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,667 | r | merge_training_batches.R | args <- commandArgs(trailingOnly=TRUE)
##for test
#args <- c("../results/training_results", ../data/training_ccle_gdsc.RData", "../data/auc_recomputed_drug_association.RData")
if(!require("PharmacoGx")){biocLite("PharmacoGx");library(PharmacoGx)}
if(!require("Biobase")){biocLite("Biobase");library(Biobase)}
stat <- "r... |
39a5c9e103b474233812604ed4425c2d4557e4fc | 90fa2c6fb2fd30abe674893845eddaadb15bb90a | /1essay.R | 346ba605bff7660dade5933a6a483c1e9b3d7e1a | [] | no_license | EstherPeev/Git-P1 | 473596c5ce2fbc591d2d3bf5fbd700cada31e4fd | 3a58782a19c4ce5c375f8e810b4ef1f7d0606fe2 | refs/heads/master | 2023-01-20T01:50:49.691045 | 2020-11-21T14:41:03 | 2020-11-21T14:41:03 | 314,832,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 67 | r | 1essay.R | plot(cars)
cars %>%
ggplot(aes(x=speed, y=dist)) +
geom_point()
|
e5d752b3e8732c0777dee3181bb6462ab0e62ae7 | dcfb9c659d06de87b66bc3f39dda1ae70b6489e1 | /cachematrix.R | 9e34a1e5fb4b4d2778482f8da04d5eff8e561b86 | [] | no_license | vijayathota/ProgrammingAssignment2 | 357d001c88613f3fea32f636239b6c3c90c2912f | b0c2170cbd067966fc81e7ef2f988e42a2b70001 | refs/heads/master | 2021-01-13T07:24:41.515479 | 2016-10-20T07:23:47 | 2016-10-20T07:23:47 | 71,323,102 | 0 | 0 | null | 2016-10-19T05:46:05 | 2016-10-19T05:46:04 | null | UTF-8 | R | false | false | 1,463 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## makeCacheMatrix fuction take matrix as an input and it caches value in variables.
## Here "inversemat" variable holds inverse matrix and it is considered as cache.
## this function has 4 sub functions
### set() it sets the matrix which needs to be ... |
05c15eca4f95e49295f20d3cc1187f3a97a4ae92 | 485dfaceb316da13355a69717a7d4a443db1b44c | /cachematrix.R | c830392b327c8e949b4c2149e857ea845864e635 | [] | no_license | hanutm/ProgrammingAssignment2 | 9135cc0153ba3766127c1e7c5eb8fdbe72e04ddc | 4d818b3395e933c4afd501b2823b1ce458016266 | refs/heads/master | 2021-01-18T20:26:12.753754 | 2019-08-22T12:51:57 | 2019-08-22T12:51:57 | 86,968,329 | 0 | 0 | null | 2017-04-02T08:29:59 | 2017-04-02T06:37:53 | R | UTF-8 | R | false | false | 1,397 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()){
i <<- NULL # i carries the cached inverse of the matrix
set <- function(b) { # setter f... |
fc20d00c571f42eb0ab97d3062cd5be86d40405e | 6ae140d984207c5601ae807886c1ba514f4c663e | /Plot3.R | 502cd6bd31585e4aaf48439f3c83d51b765d4121 | [] | no_license | dsuwal/ExData_Plotting1 | 01daba8a5ef1b9598aba882de9710d746873210c | 7de3cf4d746405a7aa3de5e5a2332d17c9ec10ec | refs/heads/master | 2020-04-04T13:07:37.166564 | 2016-05-07T20:57:38 | 2016-05-07T20:57:38 | 58,283,534 | 0 | 0 | null | 2016-05-07T20:38:13 | 2016-05-07T20:38:12 | null | UTF-8 | R | false | false | 1,101 | r | Plot3.R | #Set working directory
setwd("C:/WorkSpace/DataScience/4.ExploratoryDataAnalysis/Project/Assignment1")
#Reading and subsetting data
PCDataFile <- "../Data/household_power_consumption.txt"
PowerConsumData <- read.table(PCDataFile, header = TRUE, sep = ";", stringsAsFactors = FALSE, dec = ".")
SubsetPowerConsumData <- P... |
8e84642fb6322d79e0dd9889d100421501e2ec88 | c42e4faa9a5a546fc8fbe7cc367383a14c2a7d8a | /part3/R 러닝/ggplot.R | 1dafb9626a4d3f201cef395ccef2447a41091161 | [] | no_license | wisdom009/R | 4be82b65a9d1b79085cf40ced11173421f405548 | 202dce45c6faac6bd4563f96a40a09b09ae416ed | refs/heads/master | 2020-06-03T19:03:28.896231 | 2019-06-17T08:30:42 | 2019-06-17T08:30:42 | 189,162,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,609 | r | ggplot.R | #ggplot
install.packages("ggplot2")
library(ggplot2)
setwd("d:/workspace/R_date/part3/date")
kor = read.table("학생별국어성적_new.txt",header=T,sep=",")
kor
ggplot(kor,aes(x=이름,y=점수)) + geom_point()
ggplot(mapping = aes(x=이름, y=점수),data=kor) + geom_point() #aes 값을 뭘로주느냐가 ggplot의 핵심
ggplot(kor,aes(x=이름,y=점수)) + geom_bar(sta... |
4e874d631b9cfc41ca618f46af3eef0c6e2a5b9f | c118908b1c8bad0914e38e43f1148b58364accc2 | /man/BchronCalibrate.Rd | 70e9975e64c950709addc914f128359bee12db3d | [] | no_license | andrewcparnell/Bchron | baf98d6642a328ba3c83e8fcf2e04b6c0af86974 | faa14f54444e7ec417e0e389596014a1c7645349 | refs/heads/master | 2023-06-27T02:01:46.417288 | 2023-06-08T11:17:34 | 2023-06-08T11:17:34 | 40,361,984 | 30 | 12 | null | 2022-04-05T20:46:28 | 2015-08-07T13:33:16 | R | UTF-8 | R | false | true | 4,319 | rd | BchronCalibrate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BchronCalibrate.R
\name{BchronCalibrate}
\alias{BchronCalibrate}
\title{Fast radiocarbon calibration}
\usage{
BchronCalibrate(
ages,
ageSds,
calCurves = rep("intcal20", length(ages)),
ids = NULL,
positions = NULL,
pathToCalCurves ... |
aa033cb3621ebc47d3d29fabb99c98f153548d71 | 15aeb42c2d5db72049ca805ecb9568fb09a94788 | /demonPhylo.R | 7b0c9822fc676ae7dbd1a7d8998f8f45ca9f4d06 | [] | no_license | jesusNPL/ManageTRY | 05a817f7a54f156ede259eb5b3f1d882eae2a4ba | 57beb73a94dcfa28d9c92184e7b792c84bf6811c | refs/heads/master | 2021-05-05T06:24:34.644334 | 2020-12-17T22:22:15 | 2020-12-17T22:22:15 | 118,797,877 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,393 | r | demonPhylo.R | ### Arguments
# Spp = verctor of species names e.g., c(Elymus nutans, Festuca sinensis, Kobresia setschwanensis)
# scenarios = "S2" or "S3". Scenario S3 is recommended by Jian and Qian.
# If S2 is selected a sample of trees will be returned, so you first need to inform the number of replicares, e.g., r = 100
# saveTax... |
a08c3b71fac67a7cf04bce2cdeb7824855e18a07 | 06cedafb169a5abbabd90c25e1cd265066dab6d4 | /scripts/variant_sets/encode_overlap_scripts/sumOverlapPerTF.R | d25327a8deee86d94b55f42166f23dfcdc46086a | [] | no_license | LappalainenLab/TF-eQTL_preprint | 0027a5d03accf1e3ec84cd4539429bf5035f338f | 5c9e30ab7c628e098a72d19f8e66066464390aa1 | refs/heads/master | 2023-06-20T01:07:50.398202 | 2021-07-16T16:56:59 | 2021-07-16T16:56:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,296 | r | sumOverlapPerTF.R | #!/usr/bin/Rscript
##
## calcPeakPerTF.R
##
## Given a Peak overlap file, sum the number of
## overlaps per TF and DNase
##
setwd("~/data/gtex/v8/encode_overlap")
#args = commandArgs(trailingOnly=TRUE)
in_file = "ENCODE_TF_overlap.GTEx_Analysis_2017-06-05_v8_WholeGenomeSeq_838Indiv_Analysis_Freeze_MAF001_GTonl... |
9089c4cebd121e1060cf09d33a14eb75554ceca5 | ec9096db7e6f33846d86b1af9a5d833a1cfa482d | /man/get_credentials.Rd | 2aa2ecf55abfaa614402f95e39ff5bd57426e908 | [] | no_license | mjdhasan/alpacaR | 7107a0b5b6954842bc2a1cbef7aea04f7a391648 | 938b5313b5ee17b47ea0bf1b126b8b13de281ad2 | refs/heads/master | 2022-04-08T08:54:54.352304 | 2020-03-10T14:38:59 | 2020-03-10T14:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 227 | rd | get_credentials.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{get_credentials}
\alias{get_credentials}
\title{get Alpaca API tokens}
\usage{
get_credentials()
}
\description{
get Alpaca API tokens
}
|
8a02b2fd6885745d86f37b72c6ac3d75d9ac31f8 | 128e6f4584bc00fe6ec2cf0bee1c6f92ad03b427 | /2_R_Programming/Week1_R_Programming/course 2 week 1.R | 20e7fcf6793647655971073ed0425cc742dfafad | [] | no_license | JoeWadford/Data-Science-Coursera | 75ddf7e52ecab4266a9a040cd24cd8e7a9f16ac3 | 370f8b6c1d758c3e51c172f9efdfe22292b58bf4 | refs/heads/master | 2020-05-05T05:59:57.593496 | 2019-04-14T00:43:51 | 2019-04-14T00:43:51 | 179,771,638 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,564 | r | course 2 week 1.R | ### Coursera Data Science, Course 2 week 1
### R Programming
## EXPLICIT COERCISION
x <- 0:6
class(x)
# integer
as.numeric(x)
# [1] 0 1 2 3 4 5 6
as.logical(x)
# [1] FALSE TRUE TRUE TRUE TRUE TRUE TRUE
as.character(x)
# [1] "0" "1" "2" "3" "4" "5" "6"
## LISTS
x <- list(1, "a", TRUE, 1 + 4i)
x
## MATRICES
m <-... |
6cd7e61abbe2fe213f15de6bb424b731f4d393f4 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.networking/man/apigateway_get_rest_api.Rd | 50b7e84efbbb6c73498a5b41dba817be01ed7c6c | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,129 | rd | apigateway_get_rest_api.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apigateway_operations.R
\name{apigateway_get_rest_api}
\alias{apigateway_get_rest_api}
\title{Lists the RestApi resource in the collection}
\usage{
apigateway_get_rest_api(restApiId)
}
\arguments{
\item{restApiId}{[required] [Required] The st... |
9f22b105d9f2b7df4303c0853ec8308615909f9a | ac655728cfed40aacb3686b9a3fd2c26f8facdc0 | /scripts/alternative_first_exons/differential_sitecount_analysis.tars.R | 16b489194daddc51bdd0dc33ca4cfd6c87dbf32f | [] | no_license | jakeyeung/Yeung_et_al_2018_TissueSpecificity | 8ba092245e934eff8c5dd6eab3d265a35ccfca06 | f1a6550aa3d703b4bb494066be1b647dfedcb51c | refs/heads/master | 2020-09-20T12:29:01.164008 | 2020-08-07T07:49:46 | 2020-08-07T07:49:46 | 224,476,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,127 | r | differential_sitecount_analysis.tars.R | # 2015-07-06
# Some bug with DHS peaks (need to filter low values)
# for now, let's focus on Tars
setwd("~/projects/tissue-specificity/")
library(dplyr)
library(ggplot2)
library(reshape2)
library(PMA)
source("scripts/functions/LoadSitecounts.R")
source("scripts/functions/LoadArrayRnaSeq.R")
source("scripts/function... |
688c0ba10ab87b30f169b9f98b976160d3d2da6e | f4fffe026383f8f681c8b2ef2e7b2ec0f8143688 | /man/ggUnivServer.Rd | 8e8d1adadc5525c60b2afae6226ba1c73a2d93a3 | [] | no_license | DavisVaughan/romic | 436da67b077937d1c13af9701d39a00f083e6694 | f3470f5cd42b6ee8322db3f10a1c254766a5dc3e | refs/heads/master | 2023-05-08T05:44:49.460728 | 2021-05-18T13:10:03 | 2021-05-18T13:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 679 | rd | ggUnivServer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/module_gguniv.R
\name{ggUnivServer}
\alias{ggUnivServer}
\title{ggUnivariate Server}
\usage{
ggUnivServer(id, tomic, plot_table, return_brushed_points = FALSE)
}
\arguments{
\item{id}{An ID string that corresponds with the ID used to call the... |
78758c03994de7f0f0a225876af044a401aeed1f | 5ed28449dc1bbb70cb2892d01bfe15bdc0cd2292 | /tests/testthat/test_S3.R | 184ab90c4038f4c92f51f31ad8d342b361135a6b | [] | no_license | MatthewHeun/matsbyname | 2693334d7c02f425dc50b695d40e08353d41d34a | fa060dbfab43d5e0dc65f793a5ef654f72781805 | refs/heads/master | 2023-08-03T10:09:57.674953 | 2023-05-23T18:10:03 | 2023-05-23T18:10:03 | 80,359,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,123 | r | test_S3.R |
###########################################################
# context("Creating a mat_byname")
###########################################################
# test_that("mat_byname works as expected", {
# expect_error(mat_byname(NULL), "'data' must be of a vector type, was 'NULL'")
# expect_true(is.na(mat_byname(NA... |
c2a6df9fbb45843944868575e248b29e9de96650 | 2e6247ef617fd7af386729e4fcbe542b6cd492db | /FinalTrees.R | 5aed5a9cf4c132dcdd4007dc210bce645cf845fc | [] | no_license | eswar3/Decision_Trees | d07ef404c4159af53fe35e7e0c31560772a67832 | b355881548e1f7a2b2593c24f4f690deacfabdba | refs/heads/master | 2020-03-16T06:52:38.426822 | 2018-05-08T06:29:53 | 2018-05-08T06:29:53 | 132,564,442 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,654 | r | FinalTrees.R | rm(list=ls(all=TRUE))
par(mfrow=c(1,1))
setwd("F:/AA_Clases/DecisionTrees/CSE 7405c (2)/CSE 7405c/CSE 7405c (2)/CSE 7405c/Day_03_DT_20150612")
source("05largeData.R")
write.csv(train, "train.csv")
library(C50)
dtC50= C5.0(loan ~ .,
data = train[],
rules=TRUE)
summary(dtC50)
C5imp(dtC50, pct=... |
bb17f6d7559e6ceb12e2b15dcacdcb5945a7eecf | 7560aee57c74473d020cccb48175ba8009135e06 | /R/HImeanind.R | eac979f6d6f5b7155c656f820990147eca788f18 | [] | no_license | cran/Laterality | fae0a5a1f161eb17c7a69418c7579bca0d6554b1 | 735a0df83f44ba3fecedff41328037324bfa5e8c | refs/heads/master | 2022-06-22T13:11:32.480000 | 2022-06-07T03:00:02 | 2022-06-07T03:00:02 | 17,680,309 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,370 | r | HImeanind.R | HImeanind <- function (data, catch="Food", hand="Hand", indiv = "Indiv", RightHand = "R", LeftHand = "L"
, col = 2:((length(levels(data[[indiv]])))+1), ylab = "Mean handedness index"
, main="Hand preference regarding to the individuals", legend.text = FALSE, beside = TRUE
... |
6820dd74aff256be569d393c466e2cb7b4bc894b | 095a3c16a98071e940cca4eea0960e4719302407 | /R/cBernEx.R | 4782df7dd90426b25715a11c5ff096700e8ad678 | [] | no_license | cran/CorBin | ac101e7a5f1738777ff55034b6eac9825a28c042 | 1cf63d450f12cff000e49474c825d227e00fab70 | refs/heads/master | 2021-07-09T14:58:50.554737 | 2020-11-14T08:20:02 | 2020-11-14T08:20:02 | 216,161,275 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,482 | r | cBernEx.R | #' @title Generate binary data with exchangeable correlated structure
#' @description
#' Equivalent to cBern(n, p, rho, type="exchange")
#'
#' @param n number of observations
#' @param p the vector of marginal probabilities with dimension m
#' @param rho a non-negative value indecating the shared correlation co... |
c5fb013c53e8c18f0cdacd71e6c0b6bf3d708145 | f0c85baaaf0b9d2d2c725327c759fdb9ff58aad1 | /05b_Host_State_Variables_-_Economic_conditions.R | 84a3c9cef7659723d250540dd44983c3d0b8c587 | [] | no_license | hrdii/post_conflict_refugee_returns | 4ead6d7ea2997cd8b88230fec76b8e4e9c3e0a9d | 757cbde10d49890901fad28db4f590dc6ae9635d | refs/heads/main | 2023-09-05T23:32:58.289994 | 2021-11-04T07:56:18 | 2021-11-04T07:56:18 | 424,493,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,158 | r | 05b_Host_State_Variables_-_Economic_conditions.R | ##########----------##########----------##########----------##########----------
##########---------- HEADER
##### meta-information
## Author: Hardika Dayalani(dayalani@rand.org)
## Creation: 2020-02-09 for Post-Conflict Refugee Returns Project
## Description: Adds Host state variables to conflict cases
##... |
887b3efd945a8bcac5cf2f4100e9bcb2f97f0870 | 46805a3bbf291e220caa99ec7ce274321b08f736 | /cachematrix.R | fa92145d62a8c427a994b06281b4f41420cc8f63 | [] | no_license | Carmena1/ProgrammingAssignment2 | 2fb921e85f5f58082f447435e9f144c6ac3b075c | 99fb5957eab5644c7fcfebdd1f9ef964379ddd66 | refs/heads/master | 2022-04-18T02:49:17.390724 | 2020-04-19T12:10:18 | 2020-04-19T12:10:18 | 256,985,644 | 0 | 0 | null | 2020-04-19T11:48:16 | 2020-04-19T11:48:15 | null | UTF-8 | R | false | false | 858 | r | cachematrix.R | ## We need to write two functions that will cache the inverse of a matrix x
## we will use the example that it was provided
## makeCacheMatrix - creates a matrix obj where the cache is the inverse of the input
makeCacheMatrix <- function(x = matrix()) {
inv<-NULL
set<-function(y){
x<<-y
inv<<-NULL}
get<-functi... |
693c8844feece62c908ea87a5d82e11e055136a3 | f11c255013ef0b6c0d6b2a5256409df78c63a8d5 | /Tutorial2.R | c8d71f94b6773680d5119f276b08b18c28b1d318 | [] | no_license | JennyBloom/Titanic---Machine-Learning-from-Disaster | 2893fa7cd7f64164a7aedfea112b8fa59c4248fa | 41e412ce63c4d2ba709aa86e371dcb2913f5d6aa | refs/heads/master | 2020-03-25T22:35:09.323700 | 2018-08-10T03:16:56 | 2018-08-10T03:16:56 | 144,230,748 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,106 | r | Tutorial2.R | # Jenny Bloom 12/27/2017
# Tutorial 2: From http://trevorstephens.com/kaggle-titanic-tutorial/r-part-2-the-gender-class-model/
# Gender-Class Model: Women and Children First
#Set Working Directory, Import and View Datasets
setwd("~/Desktop/Titanic") #Set Working Directory
train <- read.csv("~/Desktop/Titanic/train.cs... |
c7b5ddb0f5d4d9c2b3b840e795adbae0fa35c5aa | 51cb0c55f7eaeee3023aa8b39b8ce68f5c0a97f7 | /man/MaxProRunOrder.Rd | 233558555cbf64a44f7ff71bb5d7edc9b27f338a | [] | no_license | cran/MaxPro | b87b72a213959a310bab8d4f8eecfeb516564010 | f45921ddf771ad2987f11e69a271c728829511c3 | refs/heads/master | 2021-06-04T05:24:35.390672 | 2018-09-28T03:40:03 | 2018-09-28T03:40:03 | 29,903,205 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,090 | rd | MaxProRunOrder.Rd | \name{MaxProRunOrder}
\alias{MaxProRunOrder}
\title{
Find the Optimal Sequential Order to Run a Given Experimental Design
}
\description{
Given a computer experimental design matrix, this function searches for an optimal run (row) order based on the maximum projection (MaxPro) criterion. This optimal order enab... |
a74ae28ded39678af71e349d602022f243c5de8e | 3e5c7e1e5f36cf6a4004e9e38ecf64e676ae36d5 | /nla2012aggregate.R | 44bbe0de44321a9e1a9a5ace6450f3365c2b9cd6 | [] | no_license | MFEh2o/TPchloro | 3e63144bb32ffb28b2bb5a1cb9d4698aeeff14c8 | 1abf0618f932543aac56c318208a93394c7ec74b | refs/heads/main | 2023-04-10T22:38:57.159479 | 2022-03-31T01:46:12 | 2022-03-31T01:46:12 | 413,883,323 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,453 | r | nla2012aggregate.R | setwd("~/Downloads/")
## csv's downloaded from https://www.epa.gov/national-aquatic-resource-surveys/data-national-aquatic-resource-surveys
## 2022-03-29
wc=read.csv("nla2012_waterchem_wide.csv",header=TRUE)
si=read.csv("nla2012_wide_siteinfo_08232016.csv",header=TRUE)
kv=read.csv("nla12_keyvariables_data.csv",heade... |
74930f9cc133665b42cff1f09e0c96e1682531f6 | d5a34c7f1e6cedbd3287d287f5cd0041c0dad26a | /man/make_recacher.Rd | 043535cbeddf522477d886bd930ba656721257a8 | [] | no_license | arendsee/rmonad | 9da470e324a2e9923f4d6874f76b55c9b067b7ae | 58370cf26dc9ec18a9d34c0cc2a8facc43f77a88 | refs/heads/master | 2021-06-01T18:26:45.713627 | 2020-12-14T21:41:46 | 2020-12-14T21:41:46 | 95,687,512 | 76 | 4 | null | 2018-01-01T23:06:45 | 2017-06-28T16:01:55 | R | UTF-8 | R | false | true | 1,199 | rd | make_recacher.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cache.R
\name{make_recacher}
\alias{make_recacher}
\title{Make a function that takes an Rmonad and recaches it}
\usage{
make_recacher(cacher, preserve = TRUE)
}
\arguments{
\item{cacher}{A function of a data value}
\item{preserve}{logical Sh... |
23ed07ddcb05bd65b2243551951a9f64ff805a8e | e4c30ee61142928b4b5c703d77731f9c432ef7cb | /R/binomial.R | 88c1c6e9ab82564fbccb436e5275305ee1f3cc13 | [] | no_license | spockoyno/assurance | 13847056cb503363069b5b2f10e17cf69d0f9c5e | 912d7c0ad311eecae134b85db8927f5915c01cf0 | refs/heads/master | 2020-06-21T07:25:18.669805 | 2015-03-31T09:56:03 | 2015-03-31T09:56:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,410 | r | binomial.R | #' @include assurance.R
NULL
setClass("binomialInitialData",
representation(grp1.count="numeric",
grp2.count="numeric",
size="twoWayStudySize"),
validity=function(object) {
grp1.count <- object@grp1.count
grp2.count <- object@grp2.... |
450a0b42e604086adc05bf6fc9c8cdf1fbbe50cf | d1f2fb9dd640805b7fd0a087ff627e393a359012 | /Code/Figure5_cQ_Slope.R | c0a5b9ff06b9bdd7c571e831ac6e552aee4e6e76 | [] | no_license | LinneaRock/MendotaWatershed_SalinityRegimes | 0e9db184dfa2ac191f998b326c1398fea982dc61 | 34194da7b3245657ccb4717645c3a39f4abb8fbb | refs/heads/main | 2023-04-10T00:45:52.947143 | 2023-03-17T21:04:44 | 2023-03-17T21:04:44 | 378,938,614 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,529 | r | Figure5_cQ_Slope.R | #script to create figures with relevant cQ slope information
################################################
######## ######## PLOT ######## ######## #####
all_individual_events$season = factor(all_individual_events$season,
levels = c("Jan-Mar", "Apr-Jun", "Jul-Sep", "Oct-Dec"))
... |
91109e451af828791c025a33937cef6b083a3495 | 9ac197fd83e1dee2ac8d5fc209d8df701866241a | /man/daqFinish.Rd | ac01bcf4b0f89a27d42b0fb2731bbe4498c1c590 | [
"MIT"
] | permissive | tunelipt/daq | 745503f8bc8666480538c872aaeed70d0aa9d017 | e4e509a4eb47f1357b86a98711fe3ac1fa9cc769 | refs/heads/master | 2020-07-25T14:05:08.127153 | 2020-06-11T13:03:12 | 2020-06-11T13:03:12 | 208,316,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 257 | rd | daqFinish.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/daq.R
\name{daqFinish}
\alias{daqFinish}
\title{Finish data acquisition.}
\usage{
daqFinish(dev, ...)
}
\arguments{
\item{dev}{Device.}
}
\description{
Finish data acquisition.
}
|
ce81f6457f589e86a38a2618e55b88f90cacc240 | 67a6256dc7f82be3b8e688daf202dc5045c18011 | /man/bbox_to_sf.Rd | 4bb7cd1a2f02b119e3e8cd359e82141aa8eb35e3 | [
"MIT"
] | permissive | jhollist/elevatr | 4f987460fb0bcc91c8dcd71e3bcdf172ef45fa5e | 284966714a96100b42b09b94027e32c27c9b19f5 | refs/heads/main | 2023-08-31T23:58:54.739878 | 2023-08-17T19:01:03 | 2023-08-17T19:01:03 | 65,325,400 | 178 | 22 | NOASSERTION | 2023-09-07T18:19:46 | 2016-08-09T20:19:18 | R | UTF-8 | R | false | true | 381 | rd | bbox_to_sf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.R
\name{bbox_to_sf}
\alias{bbox_to_sf}
\title{Assumes geographic projection
sf bbox to poly}
\usage{
bbox_to_sf(bbox, prj = 4326)
}
\arguments{
\item{prj}{defaults to "EPSG:4326"}
\item{bbx}{an sf bbox object}
}
\description{
Assume... |
2e139675f277e45055f59331a89c76ff02c5c04f | 29585dff702209dd446c0ab52ceea046c58e384e | /dlmap/R/dltest.R | 8544968b6567d0665ef5685178eb74264dcfd484 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,537 | r | dltest.R | `dltest` <-
function(input, algorithm, chrSet, prevLoc=NULL, ...)
{
dfMerged <- input$dfMerged
n.chrSet <- length(chrSet)
null.ll <- vector(length=n.chrSet)
null.forma <- list()
random.forma <- list()
results <- list()
results$converge <- TRUE
formula <- list()
if (algorithm=="asreml") ... |
43f2a323627f1caae039513388361fe9fad65463 | 612559e34b7a0495eaa7bca2ac1624d641bf782d | /spearmans_rho/snp_env_association_spearmans3_parallelise.R | c6ee4bd1e446f6ef24764a1d07ffa98391d996c1 | [] | no_license | CoAdapTree/GEA | 749e76dda60f27451121e7873e6a5e9f6a12315f | 1118b2b590fa24d2c9878dd9d87c71151e2c3373 | refs/heads/master | 2020-09-06T04:50:35.218076 | 2020-05-29T19:32:41 | 2020-05-29T19:32:41 | 220,328,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,660 | r | snp_env_association_spearmans3_parallelise.R | ### PSingh MARCH 2020 ####
### pooja.singh09@gmail.com ###
### CoAdapTree #####
### this script takes the unstitched scaffold and position ###
###### SNP ENV Association without correcting for population structure ####
###### : This script can be parallelised, so please set numCores!!!
#needed libraries
library(dply... |
956ca6bb141f0c04d53fd03f7e3147a7f439fc06 | 9cf933abd57da6dd2ed5d293644a5fa9683d0923 | /DGE/DGE_Analysis.R | f7a9732b2d7a207b3d96b773f620e62ae50b3b8b | [] | no_license | konopkalab/Mef2c_Het | 49a33f1851fd67416dfb14fcf00bf21264d89306 | c6da4ad65371dce6e29f75ec42184600f09781a7 | refs/heads/master | 2020-08-09T05:01:04.287240 | 2020-04-30T13:12:31 | 2020-04-30T13:12:31 | 214,003,792 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,924 | r | DGE_Analysis.R | # Load libraries
suppressPackageStartupMessages(library(pheatmap))
suppressPackageStartupMessages(library(DESeq2))
suppressPackageStartupMessages(library(sva))
suppressPackageStartupMessages(library(biomaRt))
suppressPackageStartupMessages(library(ggplot2))
suppressPackageStartupMessages(library(ggjoy))
suppressPackage... |
0dd130fe68c0c2be435dee2fa77231f0d35dafe5 | 6951cfcfbcad0034696c6abe9a4ecf51aa0f3a4b | /man/reorder_columns.Rd | 00769affad81801e4950a2be4692ea0be9bc9f2c | [] | no_license | renozao/pkgmaker | df3d4acac47ffbd4798e1d97a31e311bf35693c8 | 2934a52d383adba1d1c00553b9319b865f49d15b | refs/heads/master | 2023-05-10T16:40:30.977394 | 2023-05-03T07:02:51 | 2023-05-03T07:17:17 | 12,726,403 | 8 | 3 | null | 2023-02-14T10:26:07 | 2013-09-10T10:07:35 | R | UTF-8 | R | false | true | 1,101 | rd | reorder_columns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{reorder_columns}
\alias{reorder_columns}
\title{Reordering Columns}
\usage{
reorder_columns(x, target, decreasing = FALSE)
}
\arguments{
\item{x}{an object with columns, such as a \code{matrix} or a \code{data.frame},
or from a ... |
a4d3c1a278aa8e77b2e4be62474c885ff1721fcb | b503054596cc98acdc6239ecf1ebf8f2986b4336 | /additional files/LR.R | 521e9a9ee3fc33f815c4dd8c7a0d124be84df15a | [] | no_license | ajayso/Regression | 224883020b0869c7ac93d4e164d242fd9a21e0ac | c38b85e7f85403d3eea96ed6f4a4d8529a3c0922 | refs/heads/master | 2020-03-18T04:06:22.065524 | 2018-05-21T12:58:17 | 2018-05-21T12:58:17 | 134,269,514 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 165 | r | LR.R |
library(forecast)
mydata = read.csv("c:/start/ML-Regression-Analysis/gd2.csv", stringsAsFactors = FALSE, header=TRUE,sep=",");
fit = lm(USD~.,mydata)
plot(fit)
|
3b190103704efdc38340eaf486545e2b1f196ea3 | dbd3045fabdcc6305658802a59eb0455dc418cd5 | /R/update_timediaps.R | bc1c60dcbac85dfb23006ec21b27efbd1f680f00 | [
"MIT"
] | permissive | aljrico/hs_balancedata | 5d239fe7ee63c1e8beb7a471655b4b0f10318527 | 02aea4ba6bdcc81f0d0b17518e2206f1719158d0 | refs/heads/master | 2020-07-21T09:02:11.433048 | 2019-12-03T16:07:57 | 2019-12-03T16:07:57 | 206,807,289 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 391 | r | update_timediaps.R | #' @export
update_timediaps <- function(spreadsheet_name = '(HS) timediaps', game_folder = 'homestreet'){
hs.balancedata::gs_credentials()
spreadsheet_name %>%
googlesheets::gs_title() %>%
googlesheets::gs_read(ws = 'timediaps_prod') %>%
data.table::data.table() %>%
data.table::fwrite(paste0(... |
6ade8735f16402a16fa6c0169cd2fe18e4bd5681 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rfast/R/logical.R | 268010a2f62d90d86da92f641ed42ba5b064bdec | [] | 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 | 528 | r | logical.R | #[export]
rowTrueFalse <- function(x) {
x <- .Call(Rfast_row_true_false,x)
rownames(x) <- c("FALSE","TRUE")
x
}
#[export]
colTrueFalse <- function(x) {
x <- .Call(Rfast_col_true_false,x)
rownames(x) <- c("FALSE","TRUE")
x
}
#[export]
colTrue <- function(x) {
.Call(Rfast_col_true,x)
}
... |
e3323ad6f126248aa1cec592eddd3e58a140170e | b4dad97c1fc3a9a1b51c806f99e6b8ce1105ae32 | /Code/kmeans_econ.R | 2c2c36bf5bd9b8529f1d4f716376f91218c717bc | [] | no_license | ndifilippo/mgsc410 | 46d331d9d4acf9743e69fafcd2e5d163e7b5a067 | 93756607aefd77a64db571a67016ea303dab16c5 | refs/heads/master | 2020-05-15T10:24:55.240849 | 2019-05-05T22:38:13 | 2019-05-05T22:38:13 | 182,191,699 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,493 | r | kmeans_econ.R | library(tidyverse)
library(factoextra)
library(cluster)
library(VIM)
# install.packages("devtools")
library(devtools)
# install dev version of ggmap
# devtools::install_github("dkahle/ggmap")
library(ggmap)
library(knitr)
library(kableExtra)
tinytex::install_tinytex()
#> Loading required package: ggplot2
#> Google Ma... |
125994fd0024acd79dfe1e29face62ae4d593d54 | ef572bd2b0515892d1f59a073b8bf99f81d6a734 | /data-raw/COP23/COP23OPU_Data_Pack_generation_script.R | efe943a1bfaea05b5e475dc3cf992442b0b0bc41 | [
"CC0-1.0"
] | permissive | pepfar-datim/datapackr | 5bc604caa1ae001b6c04e1d934c0c613c59df1e6 | 9275632673e45948db6846513a53c1436cfc0e47 | refs/heads/master | 2023-08-30T23:26:48.454382 | 2023-08-11T13:01:57 | 2023-08-11T13:01:57 | 170,350,211 | 9 | 7 | CC0-1.0 | 2023-09-11T21:53:24 | 2019-02-12T16:19:47 | R | UTF-8 | R | false | false | 2,123 | r | COP23OPU_Data_Pack_generation_script.R | #
# This script is to be used when producing COP23 OPU Tools — i.e., PSNUxIM tools
# — in cases where an OPU requires ONLY a target shift IM. Unlike the regular
# Data Pack generation process where a country generates a PSNUxIM tool via the
# Self-Service App based on data from an existing Data Pack, this code generate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.