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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb73f09b03e0766987e8927884dbfd9acff7b507 | f86f962e1d3d404be5e24afecdb96f929749b0f3 | /winescript.R | 74828eb2abbb45506c05ae3a744b98a36f49328c | [] | no_license | PedroCadilha/Red-Wine | a897f2227196aa29059edaca7de12473766c97fd | 97b661e42d673d3debc4b8af935956428c029439 | refs/heads/main | 2023-02-11T12:09:07.456089 | 2021-01-08T00:47:33 | 2021-01-08T00:47:33 | 327,744,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,116 | r | winescript.R | #Installing the libraries needed to run the code if not already installed
if(!require(tidyverse)) install.packages("tidyverse", repos = "http://cran.us.r-project.org")
if(!require(caret)) install.packages("caret", repos = "http://cran.us.r-project.org")
if(!require(ROSE)) install.packages("ROSE", repos = "http://c... |
286e7bf71ab257e37c6da10d87d2c342c2bde710 | 1e18cb41f905669f96a2be3c47144a167ad2aed1 | /mummerplot.R | 9916c16726ca468081fb5c7e38136ba0ed165b37 | [] | no_license | georgek/potato-figures | dcca54436acad22ea0ec9fbe2ef039948280b201 | 54cd16794f95de89c68b66b4d3ec9ac8244ef0cc | refs/heads/master | 2021-03-12T20:23:47.277964 | 2017-05-16T12:49:51 | 2017-05-16T12:49:51 | 91,456,931 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,442 | r | mummerplot.R | #!/usr/bin/env Rscript
library("ggplot2")
args <- commandArgs(TRUE)
if (length(args) < 3) {
print("usage: prog output coords xticks yticks")
quit()
}
output <- args[1]
coords <- args[2]
xticks <- args[3]
yticks <- args[4]
t <- read.table(coords,
col.names=c("x1", "y1", "x2", "y2", "pid", "d... |
edd2c0c1c10df31a5d300ca20a237d79488581ae | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/DstarM/R/getTer.R | f3811d6ef62b5acebc3665d5243d65cf41471af6 | [] | 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 | 2,396 | r | getTer.R | #' Calculate Mean of the nondecision distribution.
#'
#' @param res An object of class D*M.
#' @param data The data object used to create \code{res}.
#' @param formula Optional formula argument, for when columns names in the data are different from those used to obtain the results.
#'
#' @return A vector containing est... |
52e0c88957668c5f3a2e57d01f97dbc286bd7d48 | 011bcf96297cdee5d2f259b75c7dd0141853a68e | /analysis/Funn.R | 851ea0d8ca1bbb765e155e1d85742d5d0a26f874 | [] | no_license | resendislab/scPipeline | db3fadb4e4b609fb020a238985e570cab4fada21 | 6bf72619e043354be57fbd486417d1de3045a46a | refs/heads/master | 2022-12-26T13:01:07.954641 | 2020-10-09T06:00:53 | 2020-10-09T06:00:53 | 239,567,962 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,524 | r | Funn.R |
linePlot <- function(...){ ### x, y, tit, xlab, ylab, ng
x <- list(...)
png(file=paste('./results/plots/',x[3],'.png',sep = ""))
par(cex.axis=1.8)
print(x[2])
plot(x[1],x[2])
plot(x[1],x[2], xlab=x[4],ylab=x[5],
cex.lab=1.8,ylim=c(0,100), lty=1, lwd=1)
if (length(x)==6){
abline(v=... |
5e40c2945e62ba1b3a89b0be3619c030dbbf8d9c | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googledataflowv1b3.auto/man/StreamingConfigTask.userStepToStateFamilyNameMap.Rd | aaaf49fb09e59898989f44adbcf11954fe437f46 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 680 | rd | StreamingConfigTask.userStepToStateFamilyNameMap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataflow_objects.R
\name{StreamingConfigTask.userStepToStateFamilyNameMap}
\alias{StreamingConfigTask.userStepToStateFamilyNameMap}
\title{StreamingConfigTask.userStepToStateFamilyNameMap Object}
\usage{
StreamingConfigTask.userStepToStateFam... |
0e59a977f86a7e3316f350f1e49bb0d17494047c | a11b09d66d079c143ff6085dd51cee36788e072c | /R/loadICOproduction.R | b174c617a68fd74d52cb92c0635e2f60fbe331b3 | [] | no_license | tomcopple/coffeestats | c9e38d113049b208e562b75d692f98ace62c6a0b | 1c7ff262448391f77eaf000ae76de8604a7ff765 | refs/heads/master | 2020-06-23T05:27:42.204104 | 2018-03-03T14:08:23 | 2018-03-03T14:08:23 | 70,635,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 903 | r | loadICOproduction.R | #' Loads ICO production/consumption
#'
#' Just loads data from a local file, which should be in the coffeestats data folder, and have the form "2017-01-01-icoFlow.csv".
#'
#'
#' @return Dataframe called icoFlow to the global environment
#'
loadICOproduction <- function(env = .GlobalEnv) {
library(tidyverse)
... |
775e1d6240e9b68039533d6290536d5bf14eccff | 6ba493ca9129518a3a9d52826beb6d3404b140da | /R/CAAPlanetPerihelionAphelion_MercuryAphelion.R | 6a3b5400d1affcb471857dff0ca14da925466b9f | [] | no_license | helixcn/skycalc | a298e7e87a46a19ba2ef6826d611bd9db18e8ee2 | 2d338b461e44f872ceee13525ba19e17926b2a82 | refs/heads/master | 2021-06-16T08:54:46.457982 | 2021-03-25T02:15:38 | 2021-03-25T02:15:38 | 35,885,876 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 122 | r | CAAPlanetPerihelionAphelion_MercuryAphelion.R | CAAPlanetPerihelionAphelion_MercuryAphelion <-
function(k){
.Call("CAAPlanetPerihelionAphelion_MercuryAphelion", k)
}
|
6239aa9515c6ae8a62c9b1080c8e9514c8e0f0d4 | f3edf454f134bcefb824654e1d2b0efca1ef82c8 | /R/fl_function.R | 79fe93106a80a4c975359b56d2dda9c5d007e42a | [] | no_license | jonathanbart/baxtr | 295eb84bb00dd4af7b1e1d491edfbe652051a2ca | 40699b25bd61431a0e1626f7a6505e660f87a297 | refs/heads/master | 2020-03-13T17:34:59.160558 | 2018-04-29T07:03:33 | 2018-04-29T07:03:33 | 131,216,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,572 | r | fl_function.R | #' Calculate the Flourishing Scale
#'
#' This function renames columns; converts all columns to numerics; tests if the scores are outside of the scale limits;
#' and calculates an overall flourishing score.
#' @param start_col The column number where the scale begins, reference by number only.
#' @param end_col The col... |
18853f85edf82995329cb4fbc1f8e1aa0f23ec68 | c0bf3af652d76aa3463b2787076ddde64fe370fe | /R/reg_plots.R | 28e1688d6dbf082b89cb1d46d2f1630d82a2178d | [] | no_license | atredennick/modselr | 6658ca26be9e97a71261ae6fddc68e0b7eac2845 | c34d8bd154d5c967e47a7d5fd5b8a280996dd20b | refs/heads/master | 2021-06-24T03:37:04.420208 | 2020-12-08T13:08:42 | 2020-12-08T13:08:42 | 130,245,752 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,308 | r | reg_plots.R | #' Generate coefficient path plot.
#'
#' @param coef_df A data frame with 3 columns: \code{covariate}, \code{lambda},
#' \code{value}.
#' @param best_lambda A scalar for the lambda value at which the cv score is
#' lowest. For plotting a vertical line for the selected coefficient values.
#' @param style A character... |
01a84a4372897a6fbab1cb845ee0153beceb4d96 | dd1640ee2a8244d6b4626b045b041cbbc9877eb8 | /R/summary.VegX.R | 6d913fa335022e35fb1827e21d17c9f81e6499ed | [] | no_license | Heterocephalus/VegX | 959b8eb846ec4a6d9cfff758bfe17673eac5d86a | 9a1302031de5933eb09bb15eea56f0417db8c7b6 | refs/heads/master | 2022-05-01T16:38:23.488190 | 2022-04-05T18:42:51 | 2022-04-05T18:42:51 | 118,386,196 | 0 | 0 | null | 2018-09-19T22:12:04 | 2018-01-22T00:22:12 | R | UTF-8 | R | false | false | 3,564 | r | summary.VegX.R | #' @describeIn VegX
#'
#' Generates a summary of the Veg-X object (i.e., the number of elements of each type).
#' @param object Veg-X object to be summarized
#' @param ... Additional parameters (for compatibility)
#'
setMethod("summary", signature=c("VegX"), definition = function(object, ...) {
cat(paste0("==========... |
022dc0e31a08294cd58436824511594f2d6aee3f | 1ca8f38d411de1f22ca8640d37ab7071c7f34b07 | /man/makeCanonicalCorrelationAnalysis.Rd | f847c72d1313611d02cc19bad21fd2b7c6e8b29a | [] | no_license | koralgooll/OmicsON | ba2a8164429a41e9edf33fc998d6c41bdfb0b61b | 092e39cbcb306e909c54d022e645b12a9e3acd70 | refs/heads/master | 2021-08-17T03:09:52.084848 | 2020-05-04T12:53:00 | 2020-05-04T12:53:00 | 131,963,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,074 | rd | makeCanonicalCorrelationAnalysis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MapReactome.R
\name{makeCanonicalCorrelationAnalysis}
\alias{makeCanonicalCorrelationAnalysis}
\title{Calculate CCA on data returned from decoration methods.}
\usage{
makeCanonicalCorrelationAnalysis(xNamesVector, yNamesVector, XDataFrame,
... |
ac9360e8cf1fbc9a7cf7f2218c07b529cdfe0eb3 | eb6ce5fd7603a6621b014b798c4d659307e29c5c | /R_SHINY_PLSQL_APPS/COVID/server.R | 959ed84d744d7fab8ef5bf1373536e929d47ac21 | [] | no_license | wojteksilesia/SCRIPTS | eda64b4bfd968af2fda47a20c52b652f68f064be | ce0e47a1d8e6aa2586e268dda1ae9ce69b58a2b8 | refs/heads/master | 2021-08-07T15:32:02.099997 | 2021-01-03T19:52:24 | 2021-01-03T19:52:24 | 236,285,624 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,930 | r | server.R | library(shiny)
library(shinyjs)
library(httr)
library(ggplot2)
library(dplyr)
shinyServer(
function(input,output,session){
#########################
##### LOAD DATA
#create the URL where the dataset is stored with automatic updates every day
#url <- paste("https://www.ecdc.europa.eu/sites/default/f... |
a3092ac53001880066fa40c1dbb722bb8f55f764 | 5f060fccbaa784350f417d769349189c63fdfbad | /man/afex_options.Rd | b5038ef9148b28fd7f6ddc556600caee597b4936 | [] | no_license | singmann/afex | 6da8bd47b15ebf65dc09f8c252fd3e9c2d99dd1f | b6d844d20a0b2807b5363ee35f4c0c2ac18d63b9 | refs/heads/master | 2023-05-24T19:46:00.855292 | 2023-05-23T08:23:51 | 2023-05-23T08:23:51 | 38,268,278 | 114 | 43 | null | 2023-05-17T19:37:47 | 2015-06-29T20:00:57 | R | UTF-8 | R | false | true | 3,666 | rd | afex_options.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{afex_options}
\alias{afex_options}
\title{Set/get global afex options}
\usage{
afex_options(...)
}
\arguments{
\item{...}{One of four: (1) nothing, then returns all options as a list; (2)
a name of an option element, then retu... |
c3db416745b3e9f6be7865cc41c24c00f669dea5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/abjutils/examples/sample_cnj.Rd.R | b0f5beee23d2ef4c7aa6ef41ffff08fe592eb99d | [] | 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 | 646 | r | sample_cnj.Rd.R | library(abjutils)
### Name: sample_cnj
### Title: Generate sample Brazilian lawsuit identification numbers
### Aliases: sample_cnj
### ** Examples
{
#sampling the parameters
sample_cnj(3, foros = "0000",
anos = "2015", orgao = 8, tr = 26,
first_dig = "0",sample_pars = TRUE, return_df = FALSE)
sample_cnj(10, foros ... |
32520e2871baa0eabeacc9bfec223cf0326576bb | 5d3d1b0916535dad8a83a9dad9e23ed77b982d8e | /R/var.variance.R | 7646c3be8642a3f4f3487aee464ee127f577aedd | [] | no_license | cran/agrmt | 3d280f0d45e7dcc141556269548296131f2c43cc | 849caf12caabffb97aba71b2b2a54d2d36d2ec4a | refs/heads/master | 2021-11-25T02:48:56.040559 | 2021-11-17T21:20:02 | 2021-11-17T21:20:02 | 17,694,324 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 406 | r | var.variance.R | var.variance = function(V) {
# Calculate the approximate variance of the categorical variance estimator
# V should be a frequency vector
# Based off of Blair and Lacy 2000: 274
k = length(V)
N = sum (V)
p = V / N
mu = mean(expand(V))
const = -sum(2*p*((1:k)-mu))
a = (N / (N - 1)) * ((1:k) * const +... |
7be7afe0f698e05292850eae828130103d4bfd48 | cb4b8d511a14f1655120bb8737266296c5e46059 | /R/veg/Litter.R | b940775522330fe7094a84b13158cebff0852c1d | [] | no_license | Josh-Lee1/JL_honours | 40361e2f8b78fac9676ff32a8e0ce7a0603f6152 | db6792a039d824fdb518f9e06c3cc27ecca6da8a | refs/heads/master | 2023-03-29T22:28:19.500012 | 2021-04-15T04:40:20 | 2021-04-15T04:40:20 | 295,877,409 | 0 | 0 | null | 2021-03-16T06:17:06 | 2020-09-16T00:02:18 | HTML | UTF-8 | R | false | false | 1,513 | r | Litter.R | library(tidyverse)
#veg <- read.csv("Data/Raw/veg.csv")%>%
# filter(Point == 10 | Point == 20 | Point == 30 | Point == 40 | Point == 50)
veg<- read.csv("Data/Processed/vegfull.csv")
veg$Treatment <- as.factor(veg$Treatment)
#Depth
## perform ANOVA
Ldepth.aov <- aov(Litter.Depth ~ Treatment, data = veg)
summary(Lde... |
7cf5d7c8c2808f5ffa0dc57cffd3208e5b2b7a04 | 7cee004e610147f721dac99e8272652acd4d0fb3 | /plot1.R | 8112acb9842e399965815bb681507001044413fb | [] | no_license | alroru95/ExData_Plotting1 | 2213263895b1504f94e863d8e99715b07b1bd3e3 | 1d6bc83ae0da41e4092b91f1ed9ef7cc61ac127a | refs/heads/master | 2022-11-16T19:19:52.633635 | 2020-07-19T20:13:54 | 2020-07-19T20:13:54 | 280,826,743 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 861 | r | plot1.R | ## Download the file and put it in the data folder:
if (!file.exists("./data")) {dir.create("./data")}
URLzip <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(URLzip, "./data/Electric.zip", method = "curl")
##Unzip files in the created directory:
unzip("./data/El... |
87d5d37e8d94bcccc2310218a6b47c7d5f3e5d6c | 9d1a7ed561ec9ad5f87ae7b8c52c73c53737e4d8 | /Examenes_R.r | c2b3cba628bb12f9d01243e091a20ba93a14fd5e | [] | no_license | Jasielprogramador/examen_R | f5fea0761ab266daf55eabd475205d7520034716 | deced53ea8aa540241687b54a86a336b062b98e5 | refs/heads/master | 2023-01-18T21:02:09.572521 | 2020-12-01T13:33:55 | 2020-12-01T13:33:55 | 317,506,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 396 | r | Examenes_R.r | #Azterketako ariketak R
#2.praktikakoak
#7.ariketa
mean()
median()
variantza<-var(arrailak)-n-1/n
sqrt(variantza)
#8.ariketa
kotxeak<-read.table("kotxeak.txt",header=T)
kotxeak
gasolina<-kotxeak$Gasolina.kotxeak
gasolina
gasoil<-kotxeak$Gas.oil.kotxeak
gasoil
#Merge 2 arrays into 1
a<-cbind(gasolina,gasoil)
a
mean... |
2f4c60b8b9b27e1fd6cef20a2cb0f3ac7fc56441 | 5bc38b34ca80d6e0264a950958fa1910d51cb40b | /scripts/ERSST-grid/ERSST-grid.R | 93a6de4e376071cd880c1fc929fbe97fc0185afc | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | BigelowLab/oharvester | a024e49cac462af99d3889f5bcbfc00bafa5325a | 5329ef581a1f5f6b7ea9ea65d59f7ca3cf802bad | refs/heads/master | 2022-06-30T08:51:26.992187 | 2022-05-27T16:32:44 | 2022-05-27T16:32:44 | 228,415,019 | 2 | 2 | null | 2020-12-16T14:53:25 | 2019-12-16T15:16:51 | Python | UTF-8 | R | false | false | 6,701 | r | ERSST-grid.R | library(ncdf4)
library(raster)
#' Convert bounding box [0,360] longitudes to [-180, 180]
#'
#' Bounding boxes are 4 element vectors of [left, right, bottom, top]
#'
#' @export
#' @param x numeric bounding box vector, no check is done for being withing 0,360 range
#' @return numeric bounding box vector
to180BB <- funct... |
2da383e97e57f43e952d63ee2f8b244b6998f9f7 | b90eeee641deefe6b3fbb981151006e8a7982129 | /Sphaerulina_analysis.R | d8030666352ba9e47d06c21a299c74663b2064b6 | [] | no_license | FionaPaul/Sphaerulina | db62b11ec2ef7c85a056ab22f80eec77fb97c44e | 532a809fe7aeccb8b0203da2cdefd2423462bb6d | refs/heads/master | 2021-01-22T21:58:19.346903 | 2017-07-13T08:33:09 | 2017-07-13T08:33:09 | 92,749,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,387 | r | Sphaerulina_analysis.R | ###### Pathogen without borders: Sphaerulina populicola is genetically diverse
# and spreads freely through the host tree’s range
### Fiona Paul, Imke Schmitt, Sunil Mundra, Miklós Bálint
#####################################################
# Contents
# 1. Import dataset and data cleaning
# 2. Calculate and investi... |
2d70aa844bb5406fda8790b1b946c760c97f670b | f439a076bc3fcac2c8d7eb72e69dc8d24a00b263 | /Unit 3 Logistic Regression/HealthCare.R | 9a200cff6a37d9a4f2379798c8f150de09d2ebe9 | [] | no_license | jakehawk34/MIT-Analytics | 73f9afb0cbfbbd8202e415f0c50c8e638aa76db1 | daa2ca2eca44ba6c74ba5773d992f68e8c775b90 | refs/heads/main | 2023-05-07T13:54:40.796512 | 2021-05-21T00:31:11 | 2021-05-21T00:31:11 | 344,290,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,725 | r | HealthCare.R | # Unit 3: Logistic Regression
# Modeling the Expert: An Introduction to Logistic Regression
quality = read.csv("quality.csv", stringsAsFactors = TRUE)
str(quality)
table(quality$PoorCare)
# 98 patients received good care, 33 patients received poor care
# Our baseline model has an accuracy of about 75%
98/ 131
insta... |
3e295df37b068646ee26b1eedaf911e5badc03d5 | 0e263b651da80bdf942d45fe037fc7b68be51a39 | /plot1.R | fa295ce99144628f41c4cea9363bcda38fd13d2e | [] | no_license | WaleedJaved/ExData_Plotting1 | 1a36035c230241eb1fc224284024b97788fff137 | 04421cccf8ba743e20f9fb1e082504fb089994bd | refs/heads/master | 2021-01-15T14:02:51.285214 | 2015-01-07T02:36:38 | 2015-01-07T02:36:38 | 28,894,495 | 0 | 0 | null | 2015-01-07T02:33:51 | 2015-01-07T02:33:51 | null | UTF-8 | R | false | false | 354 | r | plot1.R | library(sqldf)
path = "data.1.txt"
data <- read.csv.sql(path, sep=";",sql = 'select * from file where Date = "1/2/2007" or Date = "2/2/2007"')
data$Date <- strptime(paste(data$Date,data$Time), "%d/%m/%Y %H:%M:%S")
png("plot1.png",width=480,height=480)
hist(data[,3],col="red",main="Global Active Power",xlab="Global Acti... |
dcb6704275c8e9adb666ff1c194694506d62ae04 | 68b027be0bdae0975b7a93656ba4712a6288b78b | /man/acquire.Rd | f336869b111263753d2216066a49dda83cdf3e00 | [] | no_license | sidjai/bbscrapeR | 80cb037001c615e448456f68c1584b8d43529139 | e2f78eec69253e8188cefe929633bfbd0593fb11 | refs/heads/master | 2021-01-17T21:33:42.201309 | 2015-08-28T17:32:21 | 2015-08-28T17:32:21 | 40,446,465 | 0 | 0 | null | 2015-08-09T18:39:13 | 2015-08-09T18:39:11 | null | UTF-8 | R | false | false | 2,899 | rd | acquire.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/acquire.R
\name{acquire}
\alias{acquire}
\title{Acquire player tracking data from http://stats.nba.com/}
\usage{
acquire(type = "shot", PlayerID = "2544", DateFrom = "", DateTo = "",
GameSegment = "", LastNGames = "0", LeagueID = "0... |
1605c12d8cf6e13c40cbcba1490665273976fe1e | 79b935ef556d5b9748b69690275d929503a90cf6 | /man/zgibbsmodel.Rd | 541f1a0a126f9809e967886c2e11c06d0166f173 | [] | no_license | spatstat/spatstat.core | d0b94ed4f86a10fb0c9893b2d6d497183ece5708 | 6c80ceb9572d03f9046bc95c02d0ad53b6ff7f70 | refs/heads/master | 2022-06-26T21:58:46.194519 | 2022-05-24T05:37:16 | 2022-05-24T05:37:16 | 77,811,657 | 6 | 10 | null | 2022-03-09T02:53:21 | 2017-01-02T04:54:22 | R | UTF-8 | R | false | false | 960 | rd | zgibbsmodel.Rd | \name{zgibbsmodel}
\alias{zgibbsmodel}
\title{
Gibbs Model
}
\description{
Experimental code. Creates an object representing a Gibbs point
process model. Typically used for theoretical calculations about
such a model.
}
\usage{
zgibbsmodel(beta = 1, interaction = NULL, icoef = NULL)
}
\arguments{
\item{beta}... |
7645acf34929a012f6ae09fbead7891bcf031105 | d7e5433372547d45adcae2abad40b68c6d5cf938 | /cdm_ppt_only.r | 7d4f14e8e0c3d873d00e895fcbc7a0c6f0222563 | [] | no_license | salvelinusbob/cumulative_deviation_precip | 635aacc98c553faf0f3855142ab53ecbb7789e7f | 41891014751c9b27b8bef034cf3182ddb37cfec5 | refs/heads/master | 2021-07-10T09:25:13.688620 | 2021-06-25T20:07:26 | 2021-06-25T20:07:26 | 191,414,549 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,168 | r | cdm_ppt_only.r |
require(tidyverse)
require(lubridate)
require(geoknife)
require(stringr)
require(zoo)
site_lat_dd <- 45.627547
site_lon_dd <- -89.437777
############################################
#This section returns the monthly PRISM PPT data for the site_no lat/long
#using the geoknife package and then combines it with the... |
58aa453748780fe6bf68da501e6fb1178ac9073e | 02ac90fd3cb6dd42aa1728ba02aafcaddf59b861 | /Estimation_GVP_20Sept2016_Brooke.R | 92b04227b2b424f9b282b900ff076ff6949c1191 | [] | no_license | brooke-watson/eidr | dfe8d024a3f92a63df88784f88fe4274409425be | c7cee9c55cfee16af121da80ae8be354e8cda145 | refs/heads/master | 2021-01-22T13:03:39.792163 | 2016-11-18T15:57:36 | 2016-11-18T15:57:36 | 68,722,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,203 | r | Estimation_GVP_20Sept2016_Brooke.R | rm(list = ls())
library(tidyr)
library(ggplot2)
library(dplyr)
library(viridis)
library(deSolve)
library(knitcitations)
library(purrr)
library(animation)
library(ReporteRsjars)
library(ReporteRs)
library(poweRlaw)
library(grid)
# Set working directory - change
setwd("~/Documents/EIDR")
# Read data from csv files ... |
bf62efd32b50d474ce1e91f0a8f3887291645b7d | 42c460c1bad109f85222a704265ef54a28192f85 | /man/getCyanoAbund.Rd | 67c07781d798a5603fe21fd1473e5fc943528dc7 | [] | no_license | BKreakie/LakeTrophicModelling | bcc601df843a3db37a4b6f1837f622e439673212 | 5d4ab5fef6487e6aa68bb0c00949cd7dcd94b342 | refs/heads/master | 2021-01-17T14:12:19.493706 | 2015-06-10T15:50:46 | 2015-06-10T15:50:46 | 34,123,223 | 1 | 0 | null | 2015-04-17T15:07:52 | 2015-04-17T15:07:52 | null | UTF-8 | R | false | false | 750 | rd | getCyanoAbund.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/getCyanoAbund.R
\name{getCyanoAbund}
\alias{getCyanoAbund}
\title{Pulls down cyano abundance from NLA website}
\usage{
getCyanoAbund()
}
\value{
a data.frame with four fields: SITE_ID=the NLA site id for the lake,
cyanoCellsP... |
679387e62cb44e28e28fe6747f630aab431ea85c | 40e70931d7ea0efc47c7076034eb32c0fa0c7557 | /server.R | 3831638599c40f33c1184d650078345bb5ede633 | [] | no_license | btingski/HW-9 | 76045ab2466ea9ed42f47e3cdb42ff3686e331d0 | ada6fddec9109236ae123390f3b1ddc4f7f5137a | refs/heads/master | 2020-05-07T16:41:51.009594 | 2019-04-17T22:12:45 | 2019-04-17T22:12:45 | 180,693,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,034 | r | server.R | library(tidyverse)
library(shiny)
library(xgboost)
server <- function(input, output) {
newPredict <- reactive({
data.frame(
Sepal.Length=input$sep.length,
Sepal.Width=input$sep.width,
Petal.Length=input$p.length,
Petal.Width=input$p.width)
})
output$predictions <- DT::renderDataTabl... |
b72af89fcb3cb220fe3c2bf556dafd4e985d2531 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mix/examples/da.mix.Rd.R | ecf0637efd7d4ca2dc29f43f213e2c796569b2f8 | [] | 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 | 457 | r | da.mix.Rd.R | library(mix)
### Name: da.mix
### Title: Data Augmentation for Unrestricted General Location Model
### Aliases: da.mix
### Keywords: models
### ** Examples
data(stlouis)
s <- prelim.mix(stlouis,3) # preliminary manipulations
thetahat <- em.mix(s) # find ML estimate
rngseed(1234567) # set random number generator ... |
f0b643a794ef863b91b8bbb273292cd6e1dbb47f | 4c63d31a4bd06b085ba805b31cb3484c72f9ef13 | /R/tab_all.R | 56d3f551d4194bb66d0cafca0b694c323046cfa2 | [] | no_license | squiebble/EpiFunc | fd7b5693fda0531dc86280b4f0f5f8d280741ff0 | 04a31e98643f921bc7fc208a6989be825a2896e3 | refs/heads/master | 2022-02-06T06:03:57.006183 | 2019-07-23T09:45:39 | 2019-07-23T09:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,867 | r | tab_all.R | #' Tabulate all variables
#'
#' @import tidyverse
#' @author Daniel Gardiner (daniel.gardiner@phe.gov.uk)
#'
#' @param data a data.frame
#' @param var a character specifying the variable to tabulate, if set to NULL the first variable will be used
#' @param by a character specifying the variable to stratify by, if set t... |
55a08bc42d25f139fcdbfd6e00cb1eefee9ab731 | d2b6515695aa04df268a313ef8cbacf62d9ddec4 | /Size_Of_Adaptation_Space/DistinctFeasibilityDomains/PlotFunction.R | a035715d91e4ac845b306a6baf80958db9170e2f | [] | no_license | MITEcology/J-Th.Bio-Cenci-et-al-2017 | fa237f0e8f31385f35972ba90b89aba0c6578334 | 70a1288653d8496b2f6c5593bee6c691df8a1ab3 | refs/heads/master | 2021-07-23T17:23:35.524823 | 2017-11-02T11:31:20 | 2017-11-02T11:31:20 | 108,122,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 827 | r | PlotFunction.R | Tr = as.matrix(read.table('Transition.txt'))
Tr = Tr[-1,]
StrCtr = Tr[, 1]
Fraction_Distinct = Tr[, 2]
realisation = 15 ### Number of realisations for each data point
max_number_Configurations = Tr[,3]
StrCtr = split(StrCtr, ceiling(seq_along(StrCtr)/realisation))
Fraction_Distinct = split(Fraction_Distinct, ceiling(se... |
e554065f685b25681171a08e6e72301d8dfff019 | 0878528229e41d3e6f8bacf179fe94572fa2b2f4 | /R/errors.R | 4a75782e421de031d9fbc9051e8679b51c51aca6 | [] | no_license | cran/jsontools | 6e2bc7dc3dc50b762fdae91f06fef1a6bea145e9 | a08f6832bd0103cdce6d9cbf4a370daf4029a2cb | refs/heads/master | 2023-03-15T04:43:32.763878 | 2021-03-22T08:40:09 | 2021-03-22T08:40:09 | 350,398,862 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,024 | r | errors.R | stop_jsontools <- function(message, ..., error_type = NULL) {
class <- "jsontools_error"
if (!is.null(error_type)) {
class <- c(paste0("jsontools_error_", error_type), class)
}
abort(
message = message,
class = class,
...
)
}
#' @export
conditionMessage.jsontools_error_invalid_json <- functi... |
bf0e211b906dfdbf358be360111cab8f71d2bc3a | c37e17c403b5da91754459221ad9793b9f049386 | /03 Visualizations/innerJoin.R | c60fdacc140409dc1a0c27592dd1c061e72488e9 | [] | no_license | AnnaPeng/DV_RProject3 | 3528d331366ae0a3bf182877c2202479ef3e9063 | 143a97d55320fa343301d46437202ed4d0f3254d | refs/heads/master | 2016-09-01T12:01:36.007158 | 2015-10-17T05:06:22 | 2015-10-17T05:06:22 | 44,152,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 360 | r | innerJoin.R | df <- data.frame(dplyr::inner_join(baltimore, florida, by="CURRENT_ANNUAL_SALARY"))
df %>% select(POSITION_TITLE.y, CURRENT_ANNUAL_SALARY, GENDER) %>% ggplot(aes(x = POSITION_TITLE.y, y = CURRENT_ANNUAL_SALARY, color = GENDER)) + theme(axis.text.x = element_text(angle = 90, hjust = 1)) + geom_point() + ggtitle("Annual ... |
55779cff169fbc3633f67d91b63332af2d4517cb | cf4759b3b1c2f328081796f962612e2409511a31 | /man/mega_model.Rd | 20efb8a008d63dc29b887bb0ef2f1606ffea76ea | [
"MIT"
] | permissive | tsoleary/proteomixr | c9af171e90abb37411fdfeffe16adb0d540206b7 | 5351c9894c5af6a8fca54b23f23c1ea420c78429 | refs/heads/master | 2020-04-19T20:28:43.148698 | 2019-07-18T14:12:52 | 2019-07-18T14:12:52 | 168,416,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,192 | rd | mega_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mega_model.R
\name{mega_model}
\alias{mega_model}
\title{MEGA MODEL}
\usage{
mega_model(peptide, deg_old, deg_new, syn, t0_abun, per_lab, time)
}
\arguments{
\item{peptide}{peptide containing Leucine}
\item{deg_old}{degradation rate constant... |
44964855b5b52cce3e79fc1b49e9241f76b68805 | fdfcd4b5d5175b7de9add1eee1cdf3335c52126c | /source/usecase2.R | 4b03b259afafeecde48714d7ad838caee609d8ed | [] | no_license | geng-lee/cell_types_signatures | 42b5626c6369d6822139ababcbb8e7f8aeb84d06 | efe497383a9ba7d5f1d0d3710f635b4f23d0dc02 | refs/heads/master | 2023-03-15T20:08:25.483935 | 2017-12-11T15:29:12 | 2017-12-11T15:29:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,547 | r | usecase2.R | #hypomethylated regions
compute_cell_type_scores <- function(mean_score_matrix, sd_score_matrix, invert = FALSE){
if(invert){
sign_for_score <- -1
direction <- "higher"
sign_for_label <- "+"
}
else{
sign_for_score <- 1
direction <- "lower"
sign_for_label <- "-"
}
#the three met... |
4d68c22d87f3d7a2b3cf3f53d3b08506c05cf391 | 6ca25d99a3212631a8f8558ce601a519d1f9417d | /databricks-connect/R/poc.R | 3680a44c4a862208229c8f4b2f3d76816370100e | [] | no_license | blairj09/databricks-exp | 561f161a23290b0fbcdbdb6ce504dfd1e6978002 | a204bf03a793e33b9e476b25fa027a32bf15ce72 | refs/heads/master | 2022-11-03T01:30:08.297479 | 2022-10-25T17:13:32 | 2022-10-25T17:13:32 | 244,766,431 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 265 | r | poc.R | library(sparklyr)
spark_home <- system("databricks-connect get-spark-home", intern = TRUE)
sc <- spark_connect(method = "databricks",
spark_home = spark_home)
cars_tbl <- copy_to(sc, mtcars, overwrite = TRUE)
cars_tbl
spark_disconnect(sc)
|
fdbb98cb77c5915439d5296c752c2ec30760913d | a10e0c583478ff199d4c9f2db8fb3df5d99a2076 | /data/create_alc.R | 78fa3dad65d23243afc621a7bec3a781d9ce3de9 | [] | no_license | bramberntzen/IODS-project | 34fce96fce2655800d9c57386cf1caa319d2e8ec | 997faea1b065060414f4360ad1fd5fca777669a4 | refs/heads/master | 2020-04-02T12:56:08.029137 | 2018-12-09T14:49:43 | 2018-12-09T14:49:43 | 154,459,049 | 0 | 0 | null | 2018-10-24T07:39:30 | 2018-10-24T07:39:30 | null | UTF-8 | R | false | false | 3,471 | r | create_alc.R | #Bram Berntzen, 7.11.2018, student performance data. data wrangling week 3.
#Read student_mat.csv and student_por.csv into R
student_mat <- read.csv(file = "student-mat.csv")
student_por <- read.csv(file = "student-por.csv")
#data structure
str(student_mat)
str(student_por)
#data dimensions
dim(student_mat)
dim(stu... |
97d047987f7c7044fb651cbae9b339c48e4d0727 | 1fb788e32550fe3f4add9b3df28ae69404943e8a | /man/outersect.Rd | 630d61bc8a8aecad1201a77f89e05ca352a9ac77 | [] | no_license | chrk623/usefulFunc | 985ffbef746fb3c36d7cd79c4deb934897553e46 | df486a36def86bd78fc3fc43d22bc8b380888d30 | refs/heads/master | 2020-03-19T20:23:00.118265 | 2019-08-14T23:17:56 | 2019-08-14T23:17:56 | 136,899,077 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 278 | rd | outersect.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/outersect.R
\name{outersect}
\alias{outersect}
\title{outersect}
\usage{
outersect(x, y)
}
\arguments{
\item{x}{x}
\item{y}{y}
}
\description{
Opposite of intersect.
}
\examples{
outersect(1:3, 3)
}
|
a3b3a6a4f35dedacf14dc40acf85ed3d0b62e63b | d2a3b0d54bd54e488bf0a8a98af7b205e1d912c0 | /man/rename_excel2R.Rd | 5f32648192d1f64ae4d2e13d61e5b19ce9105a47 | [] | no_license | Ajfrick/ajfhelpR | 05feaa2e7625540455af4447271d5b77ddfd32bd | 64d8e60c64d47a9b8bef2ef5f0ecb653ac99d976 | refs/heads/master | 2023-06-24T23:24:15.562243 | 2023-06-15T15:36:12 | 2023-06-15T15:36:12 | 161,224,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 972 | rd | rename_excel2R.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rename_excel2R.R
\name{rename_excel2R}
\alias{rename_excel2R}
\title{Pipeable column header rename function}
\usage{
rename_excel2R(dat)
}
\arguments{
\item{dat}{Dataset to rename}
}
\value{
dataframe or tibble containing the updated names
}
... |
e4a4ea72ca629768830117496f41df87ba3c0a09 | cae6bb069c740e1d68716562f286dcaaa5d52942 | /R/zzz.R | 5dd2719cd53bb8cfbfdf0d7bb8ba2031468aeb51 | [] | no_license | briandconnelly/bdcR | 274a5a256798687e62526af2925e4b9be1d9b3ee | b1d7989aaa36f6ae487bd3c70b3ed86d2c51cc36 | refs/heads/master | 2020-06-03T15:05:45.678834 | 2017-07-26T22:26:41 | 2017-07-26T22:26:41 | 24,081,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 283 | r | zzz.R |
.onLoad <- function(libname, pkgname)
{
# Make sure the non-CRAN packages are installed
if (!requireNamespace('ggplot2bdc', quietly=TRUE))
{
message('ggplot2bdc not present. Installing...')
devtools::install_github('briandconnelly/ggplot2bdc')
}
}
|
d07fed1f78a5d1c81d204ba216acc3abaea3be72 | cbadd8a51c648af6a3857fb51501f5231b85bddc | /604/Mod 2/Mod 2 (3) continuous distributions.R | 888dcd2b79955ae06c6a13521b18673337503448 | [] | no_license | lukehenslee/Coursework | 90b757805c7f6816361fe8dc0566d98ae374f19b | 6e7e8cf42691a06cca5db68e86dd5a8e1e7e99fa | refs/heads/master | 2023-08-14T10:26:15.992183 | 2021-09-24T20:33:32 | 2021-09-24T20:33:32 | 354,631,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,929 | r | Mod 2 (3) continuous distributions.R | #####################################################
#
# FISH 604
# Module 2 (part 3): Continuous distributions
# Franz Mueter
# Last modified: August 3, 2021
#####################################################
# Probability distributions - Continuous distributions
##################### Normal distribution:
## ... |
0e9e905f766d89702e8326182d0f08f2625c14a0 | 94aed35f1f7cca636419b88a53799f34e5c5dfee | /R/sizeFactors-methods.R | 8ac651b27bb6b014e0b5aba641ddcad0fa2f58db | [
"MIT"
] | permissive | trichelab/basejump | a4a3b9e58016449faeb9b3d77cf1c09d4eafe4c7 | 6724b10dbf42dd075c7db5854a13d9509fe9fb72 | refs/heads/master | 2020-12-12T11:54:17.660956 | 2020-01-08T13:24:07 | 2020-01-08T13:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,088 | r | sizeFactors-methods.R | #' Size factors
#'
#' @name sizeFactors
#' @note Updated 2019-08-19.
#'
#' @importMethodsFrom SingleCellExperiment sizeFactors sizeFactors<-
#'
#' @inheritParams acidroxygen::params
#' @inheritParams SingleCellExperiment::sizeFactors
#' @param ... Additional arguments.
#'
#' @return `numeric`.
#' Names correspond to ... |
ba2232988cf1e560fcc6b7bce2a03bf3f6c0a1fa | b7817c19197fc6020e9468bad14246b9cd7401b4 | /R/options.R | 814ea10bafc1fb274a31d6bd6c853a7f7981d812 | [] | no_license | cloudyr/gcloudR | bf929ee4988464a8b099a66127eb0fe92a1da964 | aa7a76c934f5fd95ca5bca52be4b58258e5abdaf | refs/heads/master | 2021-05-10T18:31:07.805485 | 2018-04-30T08:05:39 | 2018-04-30T08:05:39 | 118,128,129 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 502 | r | options.R | to_load <- c("bigQueryR",
# "googleAnalyticsR",
"googleAuthR",
"googleCloudStorageR",
"googleComputeEngineR",
"googleKubernetesR",
"googleLanguageR"
# "searchConsoleR"
)
.onAttach <- function(...) {
needed <- to_l... |
852735543931015502e1e912cd07724122d685cb | d11dba6dafe5f5204743e03662d8d6d216672393 | /man/validate_range.Rd | 805bf39312640991ef5891c0ca84d5fa0093157a | [] | no_license | ktargows/iptools | d7b6e260296750198444b0edde26a09df4ad3630 | d3d85680cd85d276672a42f4bbdeb8fac3d8758e | refs/heads/master | 2021-01-11T01:55:03.682784 | 2016-10-06T01:54:41 | 2016-10-06T01:54:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 825 | rd | validate_range.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{validate_range}
\alias{validate_range}
\title{check whether IPv4 ranges are valid}
\usage{
validate_range(ranges)
}
\arguments{
\item{ranges}{a vector of IPv4 ranges}
}
\value{
a logical vector, where TRUE indicates that t... |
fe2455ed4ef300614922d08cb2b268838cadcfa0 | f77235eab62c884fd19a97c15edd495cfd94dd06 | /MediCo.R | 3e18ea31296b1dabc28194f06e951c701ab031fe | [] | no_license | corentincamous/medical_multivariate | 750eae406c3fa9e629c3c3fb4400f43016ac2303 | 51f9a1dde284e110dc5d29e88c7374762e35816f | refs/heads/master | 2020-08-06T15:41:21.709148 | 2020-08-04T10:52:46 | 2020-08-04T10:52:46 | 213,060,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,588 | r | MediCo.R | ### Loading libraries ----
library(dplyr)
library(ggcorrplot)
library(magrittr)
library(arsenal)
library(MASS)
#' Summarize a data frame.
#'
#' @param df_var data frame to be processed.
#' @param nums_var columns to select for the data frame (default is all).
#' @param by_var indicates variable on which the analys... |
a227743f15005efb031315172dd3de8eb062dbfb | 29585dff702209dd446c0ab52ceea046c58e384e | /FitAR/R/DetAR.R | 8629d623242f6a36e082b55468c57f28a655627c | [] | 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 | 84 | r | DetAR.R | `DetAR` <-
function(phi){
z<-ARToPacf(phi)
1/prod((1-z^2)^(1:length(phi)))
}
|
96eb22b8474032ec486b441cd6c05b09ab324087 | 6410990169c60f2379927dae2eb4a0eea417023d | /NeuralNet.R | b76123c5ded4c0e95ba1e4f70d8303c5a34a86e6 | [] | no_license | vkrit/chula_datamining | 67bafc0d02eeb0515222ede47f0d439ea90ffa9d | 09c3ec45292ee3b6dfe95c5a019ff900efbee8ae | refs/heads/master | 2021-01-18T22:47:34.363881 | 2018-04-18T09:39:06 | 2018-04-18T09:39:06 | 30,960,597 | 9 | 11 | null | null | null | null | UTF-8 | R | false | false | 2,405 | r | NeuralNet.R | <<<<<<< HEAD
#install.packages('neuralnet')
library(neuralnet)
?neuralnet
iris <- read.csv("iris.data.csv", header=TRUE)
# Prepare iris
set.seed(567)
ind <- sample(2, nrow(iris), replace=TRUE, prob=c(0.7, 0.3))
trainData <- iris[ind==1,]
testData <- iris[ind==2,]
nnet_iristrain
nnet_iristrain <- trainData
#Bina... |
24e1e0098acff61c2a07b41c23a2c22719ec7fdb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/depth/examples/sdepth.Rd.R | 4dcceae8ac192d3cc34501be2366538f663bdb55 | [] | 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 | 566 | r | sdepth.Rd.R | library(depth)
### Name: sdepth
### Title: Calculation of spherical depth
### Aliases: sdepth
### Keywords: multivariate nonparametric robust directional
### ** Examples
## Tukey spherical depth for a dataset on the circle
set.seed(2011)
sdepth(pi,runif(50,min=0,max=2*pi))
## Tukey spherical depth for data in spher... |
f43aaa767572d0f0655b3788042aa65b689f4ecc | 133459423391690024e97d4ec3c652742edca9e7 | /R/configure_logging.R | 87df63a521887d20314126ce77ae55cd6e54f0c6 | [] | no_license | mjlassila/logtime | 7fa2f1357c9e9635f61dcfe46a30dbaa5aa9e1a0 | 4515434d5a0bd5aa2d73a29d9eaf9e579d8cc956 | refs/heads/master | 2021-05-07T05:23:44.005628 | 2017-02-05T11:04:55 | 2017-02-05T11:04:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,569 | r | configure_logging.R | #' Configure logging options
#'
#' @param threshold_level Defines threshold level for printing logs.
#' Should be one of 'DEBUG', 'INFO', 'WARNING' or 'ERROR'. Default to 'DEBUG'.
#' It defines which logs should be printed. It prints logs which have level higher or equal to threshold_level.
#' The hierarchy is 'DEBUG' ... |
515f8faa81f40d7f7c669076eea6191b51faca98 | 41c5ead4d095362fc41a7f4cfb3570dd40076084 | /man/PairWiseOverlappingIdents.Rd | 515dacb92dba21177f0966081210edfdc0acb0c7 | [
"MIT"
] | permissive | crazyhottommy/scclusteval | b5532a561cc49d5fe75013e3cf6cd007a76c26b1 | b1b22c794c6603aaa4469d94fb6ee4d81f445d4d | refs/heads/master | 2021-08-03T04:34:47.308572 | 2021-07-28T01:25:46 | 2021-07-28T01:25:46 | 159,884,093 | 73 | 11 | NOASSERTION | 2021-04-26T03:10:38 | 2018-11-30T22:10:26 | R | UTF-8 | R | false | true | 822 | rd | PairWiseOverlappingIdents.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scclusterboot.R
\name{PairWiseOverlappingIdents}
\alias{PairWiseOverlappingIdents}
\title{Calculate pair-wise overlapping cluster identities for @ident slots from two Seurat objects}
\usage{
PairWiseOverlappingIdents(ident1, ident2)
}
\argume... |
51fc78a4c355f6f2548df585bef5e212e0fa367a | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/RJafroc/man/datasetBinned124.Rd | 9939004a921c37acf6527952f4920f0b7f00fe6f | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,421 | rd | datasetBinned124.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{datasetBinned124}
\alias{datasetBinned124}
\title{Binned dataset suitable for checking \code{\link{FitCorCbmRoc}}; seed = 124}
\format{A list with 8 elements:
\itemize{
\item{\code{NL}}{ Ratings array [1, 1:2, ... |
520ede41d4c2f9fb836fa6b2b588621f6c70a656 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/deTS/examples/correction_factor.Rd.R | 681352c2c69a18ebc7f216f4c7c046d309f76449 | [] | 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 | 226 | r | correction_factor.Rd.R | library(deTS)
### Name: correction_factor
### Title: Gene average expression level and standard deviation in GTEx
### data
### Aliases: correction_factor
### Keywords: datasets
### ** Examples
data(correction_factor)
|
6428835fa7936117dcb310489c612c2111923180 | 9b9cfe21efe8d9b29f7dbd38da3849ec329ce30e | /ui.r | 234d23c5f7c9bb9f87b80c43bffacb5edae7d0b2 | [] | no_license | Naams/HealthyTweet | b0d5562db3efc0619020ab2863b4ca7b8ca72bc9 | 72516dfecd8a49bc93e9ddfd816f527632eeb063 | refs/heads/master | 2021-01-15T18:58:56.998337 | 2014-11-25T11:37:36 | 2014-11-25T11:37:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,722 | r | ui.r | library(markdown)
shinyUI(navbarPage("Health Tweet!",
tabPanel("Graph Output",
sidebarLayout(
sidebarPanel(
selectInput("selection", "Choose a dataset:" ,choices = datas),
#action... |
b6d70f7c86c428a7502c0dae532a781f354d432c | 27673f3fde5cad0cc54f989615ae00d18e90c900 | /WCAS Econometrics/hw3 code.R | 4092c1c636c428d1612f07e5eab05187eee2b5a5 | [] | no_license | jw388743/WCAS | a3ea287e64447914ba772ef6909b6fd27ab32661 | 10eeafeb80e1b0266049d1e42be643ddd211c1be | refs/heads/master | 2023-08-25T16:57:01.584229 | 2021-11-11T19:07:31 | 2021-11-11T19:07:31 | 205,045,411 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,925 | r | hw3 code.R | wine=read.csv("desktop/WCAS.ECONOMETRICS/wine.training.data.csv", na.strings=c(""," ","NA", "n.a.", "-", "--"))
head(wine)
wine.test=read.csv("desktop/WCAS.ECONOMETRICS/wine.test.data.csv", na.strings=c(""," ","NA", "n.a.", "-", "--"))
na.cols <- which(colSums(is.na(wine)) > 0)
sort(colSums(sapply(wine[na.cols], is.na)... |
4d71e4bcc697cb420ae3a0e74aa9e73440aadeea | 4cac01fec2de5704e3c18eb5aa194e4edc0a6ebe | /qdm/footballScrape.R | e83691b60a714eb66ecb5a46dbc185e2f0f23056 | [] | no_license | wilsone21/courses | 45b97e691cef7f058cf19ecf5bc81f77af81fcff | 8630a2378fb9bd430df2f236c1af045148c2b425 | refs/heads/master | 2023-03-30T20:30:43.517674 | 2021-04-01T15:43:12 | 2021-04-01T15:43:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,708 | r | footballScrape.R | library(dplyr)
library(rvest)
scores = read_html("https://www.sports-reference.com/cfb/years/2018-schedule.html") %>%
html_table(., header = FALSE) %>%
`[[`(1)
scoresGood = scores %>%
select(X6, X7, X8, X9, X10) %>%
filter(X6 != "Winner") %>%
mutate(X6 = sub("\\([0-9]+\\)", "", X6),
X6 = str... |
1a89e74062642336aae7f185afbddec8a0bf5a45 | d4918568929a592a40ee705dc91614be17603c2c | /man/dict2xcat.Rd | 8ea6db2a98130914e33ae533f6b9ce14f97189e7 | [] | no_license | kevin05jan/iop | d722f6c8520cd457872f9a4f2d83294e1a3dc675 | 8a8b391976982985f1cfe66535d58a1606d4099b | refs/heads/master | 2020-08-02T14:25:27.256169 | 2019-10-19T09:43:06 | 2019-10-19T09:43:06 | 211,387,761 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 365 | rd | dict2xcat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tmp.R
\name{dict2xcat}
\alias{dict2xcat}
\title{Extract categorical x variables}
\usage{
dict2xcat(model, newx, ...)
}
\arguments{
\item{model}{: data2dict object}
\item{newx}{: data.frame}
}
\value{
character vector
}
\descr... |
443dff575c34947ca902fef1e658c21a0ac2c53c | 912b41188b1cc689fd3d0dc868303bafd8d16144 | /man/get_evidence_1.Rd | b75703a8d203a71bfd74d8f85badc2b6791d1cb3 | [] | no_license | liesb/BIITE | 05bb0ae4960e7c93d657782f43e0f96cc72a4c3a | 068c9b3a261ebf5afa91c13e90c567e5007d5243 | refs/heads/master | 2021-01-17T09:49:12.360545 | 2016-06-03T11:15:03 | 2016-06-03T11:15:03 | 41,549,687 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 609 | rd | get_evidence_1.Rd | % Generated by roxygen2 (4.1.1.9000): do not edit by hand
% Please edit documentation in R/immunogen_evidence.r
\name{get_evidence_1}
\alias{get_evidence_1}
\title{Evidence function}
\usage{
get_evidence_1(eli.dat, H, mol.names, pep)
}
\arguments{
\item{eli.dat}{the dataframe containing the outcome of the ELISpot exper... |
d68b70b28ac82859ee9807d5e031ee00702c600f | 9fe6d9a146dec62cda87efda4510b8b7563a0ed3 | /Mode/roadster/spaces/_DEV SANDBOX/Activity By Hour.abe869456dbb/notebook/cell-number-6.fe0ba3f83d2e.r | 844f1bd4d5a0e2c8f20a62119c15e266bfe8e2f8 | [] | no_license | DMilmont/mode | 666087e1d7d93b907a4d510712cfc71d66fb99e1 | f69a425900719c9854281565135f2a9ec8fa9999 | refs/heads/master | 2020-09-13T13:47:59.863926 | 2019-11-18T21:45:38 | 2019-11-18T21:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 960 | r | cell-number-6.fe0ba3f83d2e.r | options(repr.plot.width=13, repr.plot.height=5.5)
data_graph <- data %>%
mutate(open_char = ifelse(open == 1, 'Open', 'Closed')) %>%
group_by(open_char, day_week) %>%
summarize(total_events_by_open_close = sum(exist)) %>%
ungroup()
data_graph <- data_graph %>%
left_join(totals)
data_graph <- data... |
302febc498a0f7d5d7b9257e60c0619270e6fd59 | ae92050ef3669b8a0727bd229be894181a822416 | /Lab05 - descriptive statistics and data preprocessing/lab5.R | 767bb4a1aa3d69a7cc9cf3c439660e2e2177b4aa | [] | no_license | Lauralicja/Advanced-Statistics-Laboratories | 8c6a98fe2189d1821fe8b718deaad2681db03671 | 1f0d70840d03aa7bf822adefccc2ef873108dff6 | refs/heads/master | 2021-05-21T03:28:31.376258 | 2020-09-07T11:08:30 | 2020-09-07T11:08:30 | 252,522,968 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 909 | r | lab5.R | # Exercise 1. and 2.
fill_data_diferent_methods <- function(df){
A <- impute(df, fun="random")
B <- impute(df, fun=mean)
C <- impute(df, fun=median)
print("Random method")
print(A[1])
print("By mean")
print(B[1])
print("By median")
print(C[1])
}
# Exercise 3. (FALSE = 0, TRUE = 1)
data_... |
99bbe00c4a3a1178b8426f2efc43999809e97e3c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/photobiology/examples/waveband.Rd.R | 59af94a57eb6bfdd6710ae174e3ecfa8542c766e | [] | 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 | 183 | r | waveband.Rd.R | library(photobiology)
### Name: waveband
### Title: Waveband constructor method
### Aliases: waveband new_waveband
### ** Examples
waveband(c(400,700))
new_waveband(400,700)
|
be81c59ca9d5d1868d638b012e34dbb8003fceac | 7559eb0cfcac2d4977a9ed34972fb5a1166d532d | /2.1_Reformat_TranscriptCounts.R | a74c596df91550bd302cfff7d13d4995de727ff1 | [] | no_license | ACharbonneau/zealous-octo-tanuki | 30d4c4810ab746c08b36d446f6c019f36883b1d9 | 212e1cc0b0de075dac7ede5c743a22f924575fd7 | refs/heads/master | 2021-04-22T06:38:04.884903 | 2020-07-06T14:08:36 | 2020-07-06T14:08:36 | 42,743,649 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 792 | r | 2.1_Reformat_TranscriptCounts.R | # Convert EST counts from Samtools to same format as HTseq count files and naming scheme
rm(list = ls())
# Install function for packages
packages<-function(x){
x<-as.character(match.call()[[2]])
if (!require(x,character.only=TRUE)){
install.packages(pkgs=x,repos="http://cran.r-project.org")
require(x,chara... |
d67e475979df896ea0cf64aac68f659ef34b07fb | 737137f04de987936bb1fef7d5f25e1b77fd58e0 | /code/G_create_gifs/organize-images.R | ceca27b6620bacdf3e57db00343be64e3467ae79 | [] | no_license | ben-tanen/most-font | 271c2ae34d70c48c230a780b3e1c3ea4a8e28166 | 302cf628adeb4c52bf03243bc95921697fb97ca8 | refs/heads/master | 2021-06-17T23:21:36.036000 | 2021-02-20T17:35:53 | 2021-02-20T17:35:53 | 178,571,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 760 | r | organize-images.R | library(data.table)
setwd("~/Desktop/Projects/most-font/data")
dt <- data.table(read.csv('letter_font_scores.csv'))
dt[, r := rank(.SD$scale_y_letter, ties.method = 'last'), by = list(letter, score)][order(letter, score, r)]
dt <- dt[r <= 3][order(letter, score, r)]
# organize images for overlap-outline gifs
setwd("~... |
558711d99da8600b2a08dd6e0a7bbebfd0d46676 | 8a20f077120fcc5e4d5828bbd6eb3c59d98deaaf | /man/get_statevars_ts.Rd | c0ffd0338fd3ec34ba9a4010a2f6dd51ad5be875 | [
"MIT"
] | permissive | diazrenata/cats | 98a6ce9c8918e55d33a46abb76e3abd7ed2865c0 | 545ef1a6d12476242093c8cfba86cf71f2a2fe0d | refs/heads/master | 2020-09-10T15:47:08.180197 | 2019-11-19T17:25:44 | 2019-11-19T17:25:44 | 221,743,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 362 | rd | get_statevars_ts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_handling.R
\name{get_statevars_ts}
\alias{get_statevars_ts}
\title{Get statevars on a TS}
\usage{
get_statevars_ts(spab)
}
\arguments{
\item{spab}{from make_spab}
}
\value{
dataframe with cols site singletons dat source sim timestep s0 n... |
f3689ab88c5a68e680a42aac120904168a99f60a | 398a62a62591c973eedbf85975468e4976de40ed | /R/hello.R | 65495d5ec31b5d27731a2d109849d58d8518e1a9 | [] | no_license | uvarc/scratchr | 7a9deb4c68da94d0470d6df9d58b6c5fb303219b | 3fda6880b9a25260a9c9690d0f5f786a709d3275 | refs/heads/master | 2021-09-10T21:29:11.419881 | 2018-03-30T18:53:33 | 2018-03-30T18:53:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 680 | r | hello.R | #' Say hello
#'
#' @param name specify what you would like the program to call you; defaults to user
#' @param animal this argument allows you to choose an animal to accompany your message; for more information on animals to choose from see \code{\link[cowsay]{animals}}
#'
#' @export
#'
#' @examples
#' hello()
#' hello... |
67ab14e1fdbe9948041d04afea30e7f030bda796 | 7f81568d24ab2a116437947f95f69b1376e023b0 | /seqcovid_sequenceFiltered_for_clinicalData.R | d57062ae61fbfb34f2aae62310f62451c8705618 | [] | no_license | eugeUlVe/Nucleotide_Rcode | f6cb1ddabf3e703411e75492a0d028b304306a37 | 233ff85979f9ec17855df2c61c87e7db1066bb22 | refs/heads/main | 2023-09-05T22:29:26.917642 | 2021-11-23T15:24:56 | 2021-11-23T15:24:56 | 431,150,792 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,287 | r | seqcovid_sequenceFiltered_for_clinicalData.R | # **************************************************************************
# *
# * Authors:
# *
# * Center for Biological Research Margarita Salas (CIB), CSIC
# * Biocomputing Unit (BCU) of the National Center for Biotechnology (CNB), CSIC
# * Eugenia Ulzurrun (mariaeugenia.ulzurrun@cib.csic.es)
# *
# Short des... |
696af900f7ccea7a779c5ecbf232bed83c088825 | 41d342303cf04be627a3e71e8d76cbcef0085a41 | /man/artifactRejection.Rd | aff278c165c8cdf1ff12ebb66e56ebf688e6e046 | [] | no_license | tdeenes/eegR | 03fe37ba0cb1678be0795d5dcaffe277489ec9be | 8796d980aac9400ad6e9eee269021ecfb502d86e | refs/heads/master | 2021-07-16T14:24:26.920801 | 2021-04-18T16:03:05 | 2021-04-18T16:03:05 | 23,415,305 | 13 | 5 | null | null | null | null | UTF-8 | R | false | true | 1,406 | rd | artifactRejection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/erp_preprocess.R
\name{artifactRejection}
\alias{artifactRejection}
\title{Artifact rejection}
\usage{
artifactRejection(
dat,
markers = NULL,
artrej_options = artrejOptions(),
return_data = TRUE,
return_details = TRUE,
print_resu... |
1b98e53fb08148c0a2b5af62fe21da6936901a1e | 977e25b030bc27e923f52b08305a6dec2cfd02fd | /finance_basics_with_r/intro_r_finance/1_basics/basic_datatypes.R | 3b3226d0d25d96c1decc3c338da45f9d693215c5 | [] | no_license | printfCRLF/rr | d4cd813fafef7d64da2722ade9e14220c12e17ff | 4116f726f5ad7a8cadbe6841d13abbdb998ee294 | refs/heads/master | 2021-04-15T15:08:37.032087 | 2019-07-12T08:29:26 | 2019-07-12T08:29:26 | 126,468,211 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 217 | r | basic_datatypes.R |
data_type_exploration <- function() {
apple_stock <- 150.45 # numeric data
credit_rating <- "AAA" # string
my_answer <- TRUE # boolean
class(my_answer)
print(my_answer)
}
data_type_exploration() |
50101cf6e3bb419fa426a89d8e84ee4a7c7cb04e | 8d34a5846b55474e1db54cc3595ac725b1a96404 | /R/recode.R | d26d2caa3cdb7b93f6d556f6901dbd8b8f0e476f | [] | permissive | federman/poorman | 6f1f76ea1c262a430dbd80b840897d4f1b603b76 | 3cc0a9920b1eb559dd166f548561244189586b3a | refs/heads/master | 2023-05-14T12:33:25.016104 | 2022-12-29T18:35:59 | 2022-12-29T18:35:59 | 243,791,745 | 0 | 0 | MIT | 2020-02-28T15:19:14 | 2020-02-28T15:19:13 | null | UTF-8 | R | false | false | 9,130 | r | recode.R | #' Recode values
#'
#' @description
#' This is a vectorised version of [switch()]: you can replace `numeric` values based on their position or their name,
#' and `character` or `factor` values only by their name. This is an S3 generic: `{poorman}` provides methods for
#' `numeric`, `character`, and `factor`s. For `log... |
89411f43a105601fc50b71579a22a18cb35a0490 | 82d13bf9a710db201208b614f0fef141e4cadda3 | /man/I2C2.mcCI.Rd | 382a1d943316af8cb3cc53ace5a3db733a80cd67 | [] | no_license | muschellij2/I2C2 | 64316bbcf30a40e6bf0d0a57c5b66b65c33bfe20 | 3cb224d6c20d3dce240552f0f857623351d7c042 | refs/heads/master | 2021-01-23T12:34:55.622900 | 2019-08-15T19:02:28 | 2019-08-15T19:02:28 | 93,177,059 | 2 | 4 | null | 2019-06-20T19:19:53 | 2017-06-02T15:04:41 | R | UTF-8 | R | false | true | 617 | rd | I2C2.mcCI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/I2C2.mcCI.R
\name{I2C2.mcCI}
\alias{I2C2.mcCI}
\title{Compute the Confidence Interval}
\usage{
I2C2.mcCI(..., rseed = 1234, R = 100, mc.cores = 1, ci = 0.95)
}
\arguments{
\item{...}{arguments passed to \code{\link{I2C2.rsample}}}
\item{rsee... |
abe9e915e28a96a89407be998b1aab17bcb63c17 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Fragman/examples/reals.Rd.R | 35127c08210f3017969c29d6b6d8c6e16a6903bb | [] | 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 | 330 | r | reals.Rd.R | library(Fragman)
### Name: reals
### Title: Finding the real peaks
### Aliases: reals
### ** Examples
data(my.plants)
x <- big.peaks.col(my.plants[[1]][,1],100)#for any color
#reals(x, panel=c(260,280), shi=1, ploidy=2)
#still needs weight information in order to find the reals,
#works internally of score.easy fu... |
b2668d74c2517270d5644ff6ae0a399e72132246 | ae6b48296c0fd2a3b37d6258897a60023145c588 | /src/STATS_GBM.R | 3408ab5410c572cc00992cda12264717af4da4b8 | [
"Apache-2.0",
"GPL-3.0-only"
] | permissive | IBMPredictiveAnalytics/STATS_GBM | 0df356d1b19e5d74a2b372a59817b2c5c8a20d65 | ac6a4eccec8d882103e192a7ecd0f48e8b3c9933 | refs/heads/master | 2022-10-26T02:10:51.075447 | 2022-10-21T01:35:58 | 2022-10-21T01:35:58 | 38,214,177 | 2 | 1 | Apache-2.0 | 2022-04-27T14:14:19 | 2015-06-28T21:04:56 | R | UTF-8 | R | false | false | 19,964 | r | STATS_GBM.R | # STATS GBM extension command
#Licensed Materials - Property of IBM
#IBM SPSS Products: Statistics General
#(c) Copyright IBM Corp. 2014
#US Government Users Restricted Rights - Use, duplication or disclosure
#restricted by GSA ADP Schedule Contract with IBM Corp.
# author= 'jkp, IBM'
# version= '1.0.3'
... |
3004bb840c037b5255aa661c0d69c3a100240ddb | 476171664236ce5a9173ec11dd06a66187d22ee0 | /man/isolate_sphingoids.Rd | 3d9094fd72f6017b63b59e520506b6b87ead5361 | [] | no_license | michaelwitting/lipidomicsUtils | d03ad4a12f58b7a3728baa4d13e3a25422690dd8 | b818a01bc7ecfc9901cb8ebec381c3c3da444835 | refs/heads/master | 2021-06-13T06:17:53.352351 | 2019-11-06T15:26:43 | 2019-11-06T15:26:43 | 187,207,427 | 2 | 1 | null | 2019-11-06T15:26:44 | 2019-05-17T11:49:28 | R | UTF-8 | R | false | true | 1,074 | rd | isolate_sphingoids.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Parser_sphingoid_base.R
\name{isolate_sphingoids}
\alias{isolate_sphingoids}
\title{Get all sphingoid bases
This functions isolates all sphingoid bases from a given lipid shorthand notation and returns them as vector. upported modifications ... |
3f4a08d856dacc5d858351c8bf3d693471ce9954 | b39d03b53c47f9e5b7c6e9b251e9996d4ca48450 | /src/jag/generate_single_qq.R | e785da9729f0556f5c6d948b2577419e032d09d4 | [] | no_license | dposthuma/jag | 147e9751868cf22a16975c762f00def5486be873 | 2159719b1a528c94d992b02ce61d7835a2be8d8b | refs/heads/master | 2021-01-18T13:59:42.191489 | 2012-07-17T15:29:55 | 2012-07-17T15:29:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | generate_single_qq.R |
generate_qq <- function(pvalues, group, filename, adjusted)
{
pdf.title <- paste(filename)
pdf(file=pdf.title)
plot_qq(pvalues,group)
dev.off()
}
#read all arguments given by python
#DO NOT REMOVE!
args=(commandArgs(TRUE))
if(length(args)==0){
print("No arguments supplied.")
}else{
for(i in 1:length(arg... |
037b8ecb9b314bc39da12945d103604f34c39483 | d87946647dbd59cd48674cc31d9f835162fb053e | /machine_learning_algorithm/em_document_clustering.r | 6edcf85c94a54be81e797caa2819cba93b575aab | [] | no_license | TomSteve1102/HelloWorld | 77ec9478ff5253c28338cc32968f5b367de1cde7 | f03c551d5478fdc99a9e94b3d0eb7302be98f8e3 | refs/heads/master | 2023-09-03T11:26:10.171969 | 2021-10-28T21:31:05 | 2021-10-28T21:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,010 | r | em_document_clustering.r | library(dplyr)
library(tm)
eps=1e-10
# reading the data
read.data <- function(file.name, sample.size=1000, seed=100, pre.proc=TRUE, spr.ratio= 0.90) {
# Read the data
text <- readLines(file.name)
# select a subset of data if sample.size > 0
if (sample.size>0){
set.seed(seed)
text <- text[sample(l... |
79201ca422ab6381707a79cf42b2f51e710c668e | 1df696ce96d96c3207b6e455449934efaeffb695 | /cachematrix.R | 84504cb42e0886eae8c8c2f5315d56ccb14a9e85 | [] | no_license | willstanleyus/datasciencecoursera | c30086c42c8f21b63f56aa843d5f26342f83df27 | c45a667e8fd8da4883f7822196903682b2cc5e6f | refs/heads/master | 2022-08-05T02:37:19.141247 | 2020-05-26T12:45:55 | 2020-05-26T12:45:55 | 260,250,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 839 | r | cachematrix.R | #The first function, makeCacheMatrix creates a special "matrix"
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
# set the value of the matrix
set <- function(y) {
x <<- y
m <<- NULL
}
# get the value of the matrix
get <- function() x
# set the value of the inverse
setInverse <- function... |
f6087c5e2c44da6468b957698600dda270414bfb | a055c25d1865cd24f45819d53e6315d03ac24a4a | /Poly Regression - 1.R | 43b80a4818e2323040ce9dd213bb06dc2535e309 | [] | no_license | naazsheena/Machine-Learning-Rep | ad3fb31d7bcfa7f014cc0c04c973b51281b09064 | 42e227454fceb715489f0d3c25ce5505d2c9a1e9 | refs/heads/master | 2020-04-08T10:11:06.422277 | 2018-11-27T01:37:24 | 2018-11-27T01:37:24 | 159,257,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,152 | r | Poly Regression - 1.R | #This code is for polynomial regression
Input = ("
Length Clutch
284 3
290 2
290 7
290 7
298 11
299 12
302 10
306 8
306 8
309 9
310 10
311 13
317 7
317 9
320 6
323 13
334 2
334 8
")
Data = re... |
a2d907235a57e4adc4a759f4f4e1478f76cab3ab | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RSDA/examples/sym.mds.Rd.R | a301fc9d556662d3483941d23d3a692e68991ed0 | [] | 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 | 399 | r | sym.mds.Rd.R | library(RSDA)
### Name: sym.mds
### Title: Symbolic Multidemensional Scaling
### Aliases: sym.mds
### Keywords: MDS Symbolic
### ** Examples
## Not run:
##D data(oils)
##D res<-sym.mds(oils)
##D plot(res,pch = 23, bg = 'red', xlab = 'Score 1', ylab = 'Score 2')
##D res<-sym.mds(oils,distance='centers')
##D plot(re... |
2fd07239b8e37ac2f97a01dd2ead39d3a547701e | ff420b886e7d2883fe882b866b3bfe802babccea | /1 - Data Preprocessing/data_precess.R | f397932224f88aa35eaeb670c8e72d0370d01185 | [] | no_license | vlad-danaila/machine-learning-workout | 391e5dd98c61f26c3618b01c01577ddceace9bfb | aeda66b71af6bd3a9b8c5a23de641e5fc3b57141 | refs/heads/master | 2020-07-04T14:26:50.239956 | 2019-11-03T00:15:48 | 2019-11-03T00:15:48 | 202,311,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 928 | r | data_precess.R | dataset = read.csv("C:\\DOC\\Workspace\\Machine Learning A-Z Template Folder\\Part 1 - Data Preprocessing\\Data.csv")
# Missing data
fill_missing_data = function(features) {
mean = mean(features, na.rm = TRUE)
ifelse(is.na(features), mean, features)
}
dataset$Age = fill_missing_data(dataset$Age)
dataset$Salary = f... |
0e78006c56ac9870815665484612e42736c9da4e | 652ba47ad0144ab51db6a99f1c8ee1852a4fe341 | /tests/testthat.R | cf7619dbfb0563540c1a13c02cb7c5692cf09896 | [] | no_license | PhoenixTreeember/diffeRenTES | 7d140d6020b9c458cfad0e6d211f7a56c0e9d3db | daada1fce6ad98329ed78efffb5aaeb827f24b2f | refs/heads/master | 2022-01-14T03:34:51.397747 | 2019-06-11T13:49:48 | 2019-06-11T13:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 43 | r | testthat.R | library(testthat)
test_check("diffeRenTES") |
cbb12cae0731c831821348955c6018c3ea8de776 | edce54a4b71011fa65bd50143f03c95c04acb071 | /r/r-social_media_analytic/src/009_wordcloud_text-network.R | a1ec6234efd095c7d30f97ed528493ad1f1651cb | [] | no_license | andrybrew/all-files | 783dcf62386847ddeb94349cc6c3df67750384ab | 44b402f538a0716492faec11f88c89d785a0b5c0 | refs/heads/master | 2020-12-27T11:05:05.131460 | 2020-04-05T03:23:45 | 2020-04-05T03:23:45 | 237,879,830 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,321 | r | 009_wordcloud_text-network.R | # Import Library
library(readr)
library(e1071)
library(tm)
library(wordcloud)
library(RColorBrewer)
library(igraph)
# Import Data
df <- read_csv("data/processed/berita-batubara.csv")
# Create a Wordcloud Function
wc <- function(df) {
corpus <- Corpus(VectorSource(df$text))
corpus <- tm_map(corpus, r... |
cb2e11d6cee962e50092d1bbbada9b5dab1dadd0 | 5949335f6c11c836a343139d79847d1e1fdbd3f9 | /R/plots_qrun.R | 3115c59fd2f1ea505b526c2ec4ea24997818fe71 | [] | no_license | alexgenin/econetmodel | 2402a61a7e0bdecdbc584bb718c0f37ce6a9b466 | e715174971c78fc72d8f7bd88f5098394025fa15 | refs/heads/master | 2021-03-27T16:43:39.454549 | 2019-04-08T23:28:18 | 2019-04-08T23:28:18 | 30,194,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,438 | r | plots_qrun.R | #
# Quicly run/format/plot results of a system preset
#
qplotsys <- function(dat) {
plot.obj <- ggplot(dat) +
geom_line(aes(time, ab, color=sp, group=id))
return(plot.obj)
}
# Select relevant time ranges
qselect <- function(dat) {
in_range1 <- with(dat, time >= 0 & time <= 300)
... |
ac5cacd5e5e18eea7da0cb7b4da26972f322ac33 | 933c674278e2b3b8ebc0a90a70ac4fd629ac72e9 | /man/subsets.Rd | c8c3961d3c34c0a3c74854c3280d4b0d6dbbf1c0 | [] | no_license | dkahle/algstat | bc63249b8adca4005016939a6e7db11f5253ee01 | a705514d3a3c592361cd7ee222d1c743ed8808c9 | refs/heads/master | 2023-05-27T22:17:47.006699 | 2023-05-17T17:18:06 | 2023-05-17T17:18:06 | 27,615,285 | 14 | 11 | null | 2022-08-18T13:44:36 | 2014-12-05T23:50:12 | R | UTF-8 | R | false | true | 807 | rd | subsets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subsets.R
\name{subsets}
\alias{subsets}
\title{Compute Subsets}
\usage{
subsets(set, sizes = 1:length(set), include_null = FALSE)
}
\arguments{
\item{set}{the original set}
\item{sizes}{desired size(s) of subsets}
\item{include_null}{shoul... |
a8cd2cafd2ae760222500fdb4f577b39e4bd85a7 | 017e1d3c8002e6b0835a97985168d6fb2bb652f0 | /R/gadgets.R | 8a71e52d9d6c5143add49225535c13819f124bcf | [] | no_license | wnk4242/Rcheatsheet | e38baa4b09713c931caaef64eee5505b2b3a17b8 | 70054150c84b00affe6f525ce0f900755dd3e919 | refs/heads/master | 2021-07-26T19:55:23.175155 | 2020-07-03T14:19:32 | 2020-07-03T14:19:32 | 196,735,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,084 | r | gadgets.R | ######gadgets##########
#' clear page and start a new prompt
#' @export
exit <- function() {
cat("\014")
cat('See ya!')
}
#' ask if go to the main menu
#' @export
ask <- function(){ #this one is used to ask if the user need more help
cat(bold$cyan('Need more help?'))
switch(menu(c("Sure! ... |
16b204a3b463b632be5b533f6010b43308d30abd | 321efc730be43541fc612b7a1fb70ac6085d81c8 | /R Nuts and Bolts/SW Midterm.R | fe6965826e71f7d0fc5788804c2f2d6bf0c06d4c | [] | no_license | Markli25/Midterm_repo | 277c1d7d9cae4c1df63c9fe42cb0c2eb80b4110f | 2c7234faeb5360e5b19b81e9156d4f535d2d5d6f | refs/heads/master | 2020-03-22T05:08:31.904402 | 2018-09-18T12:03:42 | 2018-09-18T12:03:42 | 139,544,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 877 | r | SW Midterm.R | dataset<- read.csv("midetrmseatwork_data.csv")
subset_data <- function(dataset,min=25,max=70){
sub <- ifelse(dataset$Ozone>min & dataset$Temp>max,dataset$Wind,NA)
mean(sub,na.rm = TRUE)
}
subset_data(dataset)
MeanFunction <- function(dataset,Month=9,Day=8){
col_num<-ncol(dataset)
for (elem... |
408ebc86a1cb7e3efaf39db3fcc16d67037f482e | 17599442579623cb1ef00358322170787a8ecc41 | /man/frame_dots.Rd | 2f693849d3f66e13907c52c2eed588da8ce0c63b | [] | no_license | rlugojr/rlang | 792c40f51bfe527810e7e2acfd83193cd14cc669 | 73164435cc3b46069c8f451e78edb28cda1d0c83 | refs/heads/master | 2021-01-13T01:07:59.722058 | 2017-02-22T14:44:45 | 2017-02-22T14:44:45 | 81,410,996 | 0 | 0 | null | 2017-02-09T05:01:54 | 2017-02-09T05:01:54 | null | UTF-8 | R | false | true | 1,047 | rd | frame_dots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dots.R
\name{frame_dots}
\alias{frame_dots}
\alias{frame_dots_lsp}
\alias{dots}
\alias{dots_lsp}
\title{Extract dots}
\usage{
frame_dots(frame = NULL)
frame_dots_lsp(frame = NULL)
dots(...)
dots_lsp(...)
}
\arguments{
\item{frame}{The envi... |
f460f7c1f0de786087f59afdfd3a9a738fcec065 | f61064bb7d0013f111123206b230482514141d9e | /man/compute_tv_poisbinom_translatedpois.Rd | 5ba8b4ffff61c548204cc1071f6483b930e78bc7 | [] | no_license | nianqiaoju/agents | 6e6cd331d36f0603b9442994e08797effae43fcc | bcdab14b85122a7a0d63838bf38f77666ce882d1 | refs/heads/main | 2023-08-17T05:10:49.800553 | 2021-02-18T23:01:47 | 2021-02-18T23:01:47 | 332,890,396 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 611 | rd | compute_tv_poisbinom_translatedpois.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_tv_poisbinom_translatedpois.R
\name{compute_tv_poisbinom_translatedpois}
\alias{compute_tv_poisbinom_translatedpois}
\title{Compute the TV distance between Poisson-Binomial distribution and its translated Poisson approximation}
\usage... |
74b602203e537c570d0e54ca05cd7c995619e317 | 6a8fb893e295d2ab65f7d3cbdb7d7790208742e7 | /scripts/04_Bayesian.r | 07775d171080bc494ee848c23467162329dfc6e5 | [
"MIT"
] | permissive | BiodiversityModelling2021/Francis | c38f52db798709ee44dbe1ce814e12ca2015de3b | c42b58ab78cb88f770d5cb9d75f5a3c12bd2faf2 | refs/heads/main | 2023-07-14T20:49:21.842877 | 2021-08-27T19:11:03 | 2021-08-27T19:11:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,946 | r | 04_Bayesian.r | #### Biodiversity modeling course 2021
## Day 7 - Bayesian approaches
## Grid search
# Generate data
set.seed(1859)
x_obs <- rbinom(10, 6, 0.6)
x_obs
# Make a vector of probabilities for p
p <- seq(from = 0.1, to = 0.99, length.out = 99)
# Think about the priors for alpha and phi
mu <- 0.5 # average probability
ph... |
6213f4f0d07809654a41652d7aee3bd4259d3285 | 3e1d64105a88959f5ae96f0dc75af781d775bc1e | /man/Dhat.Rd | e25af588e705357e318a9386c721960dc99894ef | [] | no_license | EricMarcon/dbmss | ce396dd12f72f41d8691d32116c10eb068dee9f8 | a814b98c7d7d708f43894045a45d9ae32f2dd684 | refs/heads/master | 2023-08-07T14:45:18.530925 | 2023-07-21T08:53:33 | 2023-07-21T08:53:33 | 95,145,114 | 6 | 6 | null | 2022-01-25T15:25:17 | 2017-06-22T18:30:25 | R | UTF-8 | R | false | false | 2,387 | rd | Dhat.Rd | \name{Dhat}
\alias{Dhat}
\title{
Estimation of the D function
}
\description{
Estimates the \emph{D} function}
\usage{
Dhat(X, r = NULL, Cases, Controls = NULL, Intertype = FALSE, CheckArguments = TRUE)
}
\arguments{
\item{X}{
A weighted, marked, planar point pattern (\code{\link{wmppp.object}}).
... |
9fc9087e2c42d4f13d4a1a0b39259fb5660514ac | 2a88035a5a2f4bb1df75c4526c50d8a4bf905c0e | /Part1_Simple and Multivariate Regression/Rproject/gradienteDescendente.R | b6333ada0afc14edf433ac37a0a579d3b5b98ebc | [] | no_license | yaniela/Stanford-Machine-Learning-Course | fc2255beea0989aee1bab4ad15c1a6a3000f05f7 | cbf2dd5cc283cc50b6b23d258f3cf3587864bdf1 | refs/heads/main | 2023-07-10T14:10:46.625237 | 2021-08-16T23:00:08 | 2021-08-16T23:00:08 | 371,366,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 846 | r | gradienteDescendente.R | gradienteDescendente<-function (X, y, theta, alpha, iters){
m = length(y); # number of training examples
J_history = c(computeCost(X, y, theta))
cat( "Compute cost:", computeCost(X, y, theta))
for (iter in 1:iters){
temp0 = 0;
temp1 = 0;
for (i in 1:m){
temp0 = temp0 +((X[i,... |
3291105566980d51943c154b49229e81712f932f | eabcf2a843656149d303b096a6dbe18ee386d3b3 | /src/TesT데이터만들기/산술통계_TEST데이터_만들기.R | 17e4fcd0d38b8426ebb7e4574d00e15f4d7db0e9 | [] | no_license | TaegyuHan/Unstructured_data_analysis_finalTest_SCH | b8b4b305bf337e7d44695c11834ae1a2ab49434e | a5d1eeb3ea4de28cbbae9709a2142968b1319523 | refs/heads/main | 2023-06-02T08:16:30.672120 | 2021-06-23T06:56:01 | 2021-06-23T06:56:01 | 377,427,906 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,466 | r | 산술통계_TEST데이터_만들기.R |
# --------------------------------------------------------------------------- #
# 사용함수
predShowConfusionMatrix <- function(TargetData, predData)
{
# ------------------------------------------------ #
# confusionMatrix 시각화를 만드는 함수 입니다.
# ------------------------------------------------ #
confusionMatrixDat... |
043caa9aa31d04b6a1bf586eb0c5e7b39963c104 | ebab9db9bb33c548b003d421380b9aa804117e57 | /tests/testthat/test_featureImportance.R | 2249dda28a6916cdaed95e34f6ae815588d3b93e | [] | no_license | xiaoxiaozhangx/featureImportance | 9d6227ba16e8c6e40860bae500b1f5223d0d0118 | cf064ddc757f73db1efbc7e9722869fbfff8e6ba | refs/heads/master | 2023-05-09T08:50:15.609474 | 2021-05-30T08:17:52 | 2021-05-30T08:17:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,022 | r | test_featureImportance.R | context("featureImportance with WrappedModel works")
test_that("featureImportance with WrappedModel works", {
feat = list(features[1], features[2:3])
local = c(FALSE, TRUE)
method = c("permute", "replace.id")
for (m in method) {
for (loc in local) {
set.seed(1)
if (m == "permute") {
imp... |
d20dc6f9de3de7abe2c0fd597083b992364d89bf | 17c22edbc09a276d0af436912d9bc5de803aa0fc | /ImagePlot.r | e901cbf3a99d206c6a08a8c47cd0ed704fd7f904 | [] | no_license | johngfc/ClimatePrimers | 00cef54a891416247ccf3db6ebc252ee746732b2 | b889d703307a93cbfb06d251e906cd0378401f17 | refs/heads/master | 2021-01-22T12:35:15.667420 | 2014-02-20T19:08:03 | 2014-02-20T19:08:03 | 17,331,118 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | ImagePlot.r |
ImagePlot<-function(InputDat,Ylab="",Xlab="",Plot=TRUE,Months,Colors,Baseline=c(1890,1980),Main,ColVar="TempChng",cexMult,
DisplayOutput=DisplayOutput,OutputGraphics=OutputGraphics){
Call<-match.call()
#this doesn't look great for my current dataset but maybe eventually
if(!DisplayOutput){ png(file.pa... |
cfb57a4a2c4fd7e00e0c8eb6820b9a49aae1b713 | 769898772e7225264fd942b2e5a666af3105d3a1 | /R/fuzzySum.R | 1122df9ea51e5ab598e6b4bc4df3dfb48096297a | [] | no_license | cran/spatialEco | 3fa4393496453b091c547cc7601a984e54bf2be6 | 22944d790b25451c848d420b61d386471073b1ee | refs/heads/master | 2023-07-08T05:04:12.117110 | 2023-06-30T07:40:02 | 2023-06-30T07:40:02 | 30,218,937 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 611 | r | fuzzySum.R | #' @title Fuzzy Sum
#' @description Calculates the fuzzy sum of a vector
#'
#' @param x Vector of values to apply fuzzy sum
#'
#' @return Value of fuzzy sum
#'
#' @note
#' The fuzzy sum is an increasing linear combination of values.
#' This can be used to sum probabilities or results of multiple
#' den... |
4df2b744137981779b1c3edfce24d71978243467 | 9719c43e784f48e79c81c7151ada584c105bbe11 | /man/fDgeSeaAnalysis.Rd | e53ab9c92aa9a7b0e6a5a14d4eb79db5608cb47e | [
"Apache-2.0"
] | permissive | edavidaja/FacileAnalysis | ade3de9b07fb4d614a04dce7783843dfc57d5ce4 | 8f96cdf41904d606f81294f4ff169c658113dd86 | refs/heads/main | 2023-09-04T21:15:56.014307 | 2021-11-17T20:35:35 | 2021-11-17T20:35:35 | 430,765,832 | 0 | 0 | NOASSERTION | 2021-11-22T15:38:31 | 2021-11-22T15:38:30 | null | UTF-8 | R | false | true | 1,478 | rd | fDgeSeaAnalysis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fdge-ffsea-analysis-module.R
\name{fDgeSeaAnalysis}
\alias{fDgeSeaAnalysis}
\title{An analysis module that combines differential expression with GESA.}
\usage{
fDgeSeaAnalysis(input, output, session, rfds, gdb = NULL, ..., debug = FALSE)
}
\d... |
a934c906d0c569e3d6fa13cc304daa40be95d712 | a8bb8fb4c24d7284297cb25827f779453b78cbc7 | /man/oldest_player.Rd | a62dae024ec276411d9dce9f1c5579c3423be2bc | [] | no_license | falhashe/nba.hw5 | 8f091eb3feebf148a9c7a93fe554abe0f5a002cb | 2b8c45b5116a5d1af8dd90d4213ecd211fe09831 | refs/heads/master | 2020-04-28T13:13:48.455970 | 2019-03-12T21:49:16 | 2019-03-12T21:49:16 | 175,294,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 445 | rd | oldest_player.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/oldest_player.R
\name{oldest_player}
\alias{oldest_player}
\title{Oldest Player Function}
\usage{
oldest_player(x)
}
\arguments{
\item{years}{extend from 1950 to 2017}
}
\description{
This function allows you to find the oldest pl... |
021f286fc2564259577098889ad987f8ca03193f | dca44395dbf60e1743c65bced7b26838bd676781 | /KCDC/GWAS/01.KCHIP_open/KKY_7th/02-1.check.plat.PACplot.R | 5bf37ca9fce4fbe21b2bdfb96aec59b72f0a0993 | [] | no_license | ksmpooh/SungminCode | 1b550c375125ea7869917de337aa093160aa03eb | 33b266b80389664282a2d4d6eb9c2db593442a5f | refs/heads/master | 2023-08-03T16:22:35.085299 | 2023-07-31T16:12:33 | 2023-07-31T16:12:33 | 106,177,934 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,027 | r | 02-1.check.plat.PACplot.R | setwd("~/Desktop/KCDC/KKY/00.sampleInfo/")
library(stringr)
cel <- read.table("cel_files.txt",header = T)
#pca <- read.table("PCA.txt",header = T)
pca <- read.table("PCA.2nd.txt",header = T)
# 043140 : DANlink
# 5507... : Teragen
DNAlink <- read.table("DANlink.2020.cel.list.txt")
tera <- read.table("2020.7th.tera.cel... |
e23085dcfc2389de5a66eae7b2e7ebc64962efd4 | b19024ee9cb6192a960488819176ad08aa5bf38d | /2차 팀프로젝트R/rdata 1차 분석/code.R | 25c1d59dddaf5fb6492c2acdbf9651854cf88b45 | [] | no_license | jihyeyun00/workR2 | 43e7387640e2fe34b35bbff2b364a16f9d06da67 | 1c9600c81718cbc499df7bdc904378910f64dafb | refs/heads/master | 2020-09-19T23:48:01.423697 | 2019-12-26T10:21:22 | 2019-12-26T10:21:22 | 224,325,705 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,471 | r | code.R | #1.
#16년도 월별 국내 관광객 입도현황 (공공데이터포털)
##1. 파일 불러오기, 정제
setwd("C:/jeju")
visit2016 <- read.csv("제주특별자치도_내국인관광객현황_2016.csv",header=T)
visit2016 <- visit2016[1:3,]
visit2016
visit2016 <- as.data.frame(t(visit2016))
visit2016
visit2016 <- visit2016[4:15,]
colnames(visit2016) <- c("개별여행","부분패키지","패키지")
visit2016
str(visit2... |
a8e1d1046d22dcf1a345ca118abdc29a33050edc | 08d71b55cabd0d7a04bfe49ae9f04a9da3482103 | /R/R_profile.R | 6ee3afcdd89c073d6c66318d2893ada85ef0d4c4 | [] | no_license | MalteThodberg/ThodbergMisc | 533129f735c0b407063b38caf272f9625a44b208 | d1218db1057c266f577187b228a0b8ae93bc8dea | refs/heads/master | 2022-08-14T10:27:51.181090 | 2022-08-02T11:25:59 | 2022-08-02T11:25:59 | 87,921,885 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 597 | r | R_profile.R | #' Create .Rprofile
#'
#' Copy a template .Rprofile to the home directory
#'
#' @details ThodbergMisc/extdata contains a template for an .Rprofile file for an effective R-setup that does not influence code execution. This file will try to adapt startup settings to whether R is run from a terminal or RStudio.
#' @export... |
69f2ffc625343bb48241ebdfa776c59864d21d1f | bc6fc11685a58ac09ae8cfc286ec3eee68729324 | /060-ggplot/output/purl/02-1-scales.R | 735b3cc97b2b6040f556808f3d37eecd40c4f0ed | [] | no_license | quantide/qtraining | 2803fe93446931c43b70ecd7ed644f01c79ece85 | 846043fcc8207da7b5dbf5bd9a7d4b94111d5132 | refs/heads/master | 2021-09-15T10:57:47.797783 | 2018-05-30T09:13:43 | 2018-05-30T09:13:43 | 56,151,061 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,990 | r | 02-1-scales.R | ## ----first, include=TRUE, purl=TRUE, message=FALSE-----------------------
require(dplyr)
require(ggplot2)
require(qdata)
data(bands)
## ----scales_structure_1--------------------------------------------------
ggplot(data=bands, mapping=aes(x=humidity, y=viscosity)) +
geom_point(mapping = aes(colour=band_type))
##... |
f8f4d1d1dc5b86eff0c8ef5a4ea10f806eb2dcf0 | 3b9eedc54756c672d406daf55884c56a21479c10 | /CacheSolve.R | 374e86caee769ada7f5aca5ce80c28b3cdea56a9 | [] | no_license | adityakiranm/ProgrammingAssignment2 | 783392ea612b8f98919d673a30cfcee3ce9886f7 | 706dc9e103874d5dd6ee9454a296cb048f7af47c | refs/heads/master | 2020-05-22T02:36:48.091036 | 2017-03-12T05:22:02 | 2017-03-12T05:22:02 | 84,664,255 | 0 | 0 | null | 2017-03-11T16:34:39 | 2017-03-11T16:34:39 | null | UTF-8 | R | false | false | 387 | r | CacheSolve.R | # CacheSolve function will return the inverse of a matrix. If the Inverse for the
# matrix is already available in Cache, the function will return the same and NOT
# re-compute the same again
cacheSolve <- function(x, ...) {
m <- x$getInverse()
if(!is.null(m)) {
message("getting cached data")
return(m)
}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.