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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
709e6add836b8e182d091a935088dca81cca8bd2 | b00e4ed446bd69731e01bdbbdda962e6a98f4d1b | /man/compute_contrast.Rd | fed4f33b38b4022c7ed96235511697d6e82af65e | [] | no_license | petershan1119/conText | 63fd3aef2e46b6d5243c1b8901e03ba0d13d4e35 | 46e80d84c9d5d762a56928c55453cfa5f56c17f4 | refs/heads/master | 2023-07-08T10:54:07.817912 | 2021-08-25T21:21:54 | 2021-08-25T21:21:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,056 | rd | compute_contrast.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/contrast_nns.R
\name{compute_contrast}
\alias{compute_contrast}
\title{Compute similarity and similarity ratios}
\usage{
compute_contrast(
target_embeddings1 = NULL,
target_embeddings2 = NULL,
pre_trained = NULL,
candidates = NULL,
... |
0fc2a2f92405f2fa9b4899f4d3ef9264a10454a2 | 9963ec3df3ee5b86bfae64ac5a026fda00f03500 | /Proyecto/proyecto.R | 992231b6eed5460ac19d3b8b3a08d52bf25fe8d6 | [] | no_license | yanelyluna/EBayesiana | e74859b403099c78577fa70494f40dd65a91c77f | b8a21cf39a6c388a594766d2b705f922f5c2c1f4 | refs/heads/master | 2023-07-04T11:05:11.450803 | 2021-07-29T17:04:00 | 2021-07-29T17:04:00 | 364,960,276 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,838 | r | proyecto.R | ########### ESTADÍSTICA BAYESIANA ######################
############### PROYECTO ###############################
# Cargar librerías -------------
library(ggplot2)
# Cargar datos ---------------
heart_failure <- read.csv("Proyecto/datos/heart_failure_clinical_records_dataset.csv")
str(heart_failure) #299 obs. of 13 v... |
d592a68aeff30b1e49cf80dddee3c9fe1cbda965 | df1580a2bc381dd96774bdb98bdee0478e4b5a56 | /Configuratore/server.R | 335c47e10ebe387a796e64dfac88dcaa828a653d | [] | no_license | optimaitalia/crm-analitico | 6c274334783ff891383f471813f5f11bde050c2e | cc802b10e38d38cd221b367dad50b23b0b50feb4 | refs/heads/master | 2020-06-14T14:59:47.945278 | 2014-05-08T07:30:31 | 2014-05-08T07:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 431 | r | server.R | library(shiny)
setwd("~/REPO/crm-analitico/Configuratore")
source("ScriptClass.R")
load("BundleDett.Rdata")
# Define server logic required to draw a histogram
shinyServer(function(input, output) {
output$idCliente <- renderText(
{
paste("ciao, hai inserito l'idCliente:",input$idCliente)
}
)
output$prova <-{r... |
da0708a75824039c80722cb674976557f10d2c98 | 9126d2396ce4536cfd934d9c2b09bb8511fa64a9 | /man/OptionalInfluenceCurve-Class.Rd | 14a61a87d27129953e879a1873a2bbd5f69ba97d | [] | no_license | cran/RobAStBase | 97d818333ca03d01c1eb1fa904ffddf8b8db88cb | 63a5c3d20b6440e23f3c9787c0955bb7bf571854 | refs/heads/master | 2022-11-24T09:42:41.138259 | 2022-11-16T02:50:25 | 2022-11-16T02:50:25 | 17,693,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,087 | rd | OptionalInfluenceCurve-Class.Rd | \name{OptionalInfluenceCurve-class}
\docType{class}
\alias{OptionalInfluenceCurve-class}
\alias{OptionalInfluenceCurveOrCall-class}
\alias{OptionalpICList-class}
\alias{StartClass-class}
\alias{pICList-class}
\alias{show,pICList-method}
\alias{show,OptionalpICList-method}
\title{Some helper Classes in packag... |
c612bc16a1c64c1c2734920aedd0afbddac65ff0 | bc973bf2d0f74fb6cefac6027fdcec37e5bdcbe9 | /5.Lists/Subset and extend lists3.R | bf41702615dfdd0f7670eefcc16924fc207081a6 | [] | no_license | jinkyukim-me/Intro_R | 4334fe4a52274421747504df77a2029482108df1 | 81aaf7abdb525310cf82a81be92debc28e399efc | refs/heads/master | 2020-08-13T15:31:41.529689 | 2019-10-24T17:20:28 | 2019-10-24T17:20:28 | 214,992,842 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 842 | r | Subset and extend lists3.R | # Vector Subsetting vs. List Subsetting
# All these single and double square brackets to perform subsetting on vectors, matrices, factors and now also lists might lead to some confusion. As a summarizing exercise on vector subsetting, consider the following 4 commands.
#
# shining_list has been extended with even more... |
55e1cb68d105c488a3fb5d50dd4f5d7d2e164a86 | 1839b1bc21a43384e9c169f0bf5fd0a3e4c68b0a | /w18/R/filterMatches.R | bdc3a736a5ed60511be2497cb18048ed5401e3aa | [] | no_license | CarlosMoraMartinez/worm19 | b592fa703896e1bbb6b83e41289674c63a046313 | 99fb3ef35d13739ee83f08b2ac1107179ea05ee2 | refs/heads/master | 2020-07-18T23:25:13.542031 | 2019-07-03T14:53:04 | 2019-07-03T14:53:04 | 206,333,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 840 | r | filterMatches.R |
#' filterMatches
#'
#' Filters sequences that do not match a pattern.
#'
#' @param views an object of the class XStringViews
#' @param pattern a string of characters that contains the motif core
#' pattern (e.g.: "[AT]CAA") to filter the matrix alignments. Accepts ""
#' as a pattern.
#' @return A dataframe with the... |
80ccf39a2bba47f05996d1e79d71d5695fc07cd0 | e303df5eae907f833a2cffe66c0bbcea5897104d | /dist/Debug/GNU-Linux/command_line.R | 89b2d3c136d6855c01c20753fe8f4b9c76c47df7 | [] | no_license | ESapenaVentura/IchTB | 1c9c56692fca04b9f056ad795da41fc5607bf95f | b1ec31b43351fb971ca49a15914566a7b4492152 | refs/heads/master | 2020-04-21T00:51:45.795878 | 2019-02-05T08:11:05 | 2019-02-05T08:11:05 | 169,208,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 631 | r | command_line.R | #!/usr/bin/env Rscript
args = commandArgs(trailingOnly=TRUE)
Numeros = as.numeric(args[2:length(args)])
Nombre = as.character(args[1])
Numeros_frame = data.frame(Numeros)
mediana = median(Numeros)
media = mean(Numeros)
desvest = sd(Numeros)
#plot = ggplot2::ggplot(Numeros_frame, ggplot2::aes(x = "", y = Numeros)... |
4959be1514b29df9251b95c96fe77d3f3f3bd94a | f3d8fc1ee5f8304dd8cbf571f630b0c432a7cd99 | /plot2.R | 39573fd9f946409239b81f27b304aea5abc8933e | [] | no_license | jasonfraser/ExData_Plotting1 | 6aab14ca1950adccfc3c7887c00d7ced29c49ada | ee45e4db10e0f064c0142c923dc41eb87c606322 | refs/heads/master | 2021-01-21T07:46:01.834712 | 2014-10-10T06:30:24 | 2014-10-10T06:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 614 | r | plot2.R | #Here's the read in stuff I need for all files
dataall<-read.csv("household_power_consumption.txt", sep=";" ,dec=".", stringsAsFactors = FALSE, header=TRUE)
data1<-subset(dataall,Date=="1/2/2007")
data2<-subset(dataall,Date=="2/2/2007")
data<-rbind(data1,data2)
#Create my proper file
png(filename = "plot2.png",width ... |
ab37971ee7709e5c48202a217ca4d8c54941d599 | d09bd36acdde95c8596287fbcebb89dd4c7fb906 | /R/LNA_chpt_slice.R | 356392ee1568d0cec8b4dcbbb3c9f41a85444629 | [] | no_license | MingweiWilliamTang/phyloInt | de68a79de30880573527de3ff0700ab3cd2b9f0e | 504b651261ed6edc5aedca4c48b656fe401f52c5 | refs/heads/master | 2020-04-25T14:42:46.085222 | 2019-07-29T19:11:35 | 2019-07-29T19:11:35 | 172,850,819 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,829 | r | LNA_chpt_slice.R | #'
#' parId: index for parameters we want to update
#' isLog: indication for whether using proposal on log space for each parameter
#' priorId: index for prior distribution corresponds to each prior
#' proposeId: index for proposals corresponds to updating each parameter
#'
#'
#'
update_Param_joint = function(MCMC_obj,... |
6ee1fef36d9c16b05d5f88447dd9b5d1e1f80f8f | f80467fd390ed06c6445a638d73656c60d6a86bf | /Statistics and Data Analysis for Financial Engineering/ch_15-16/Rlab.R | 5ed51a67234016757effdeab4d9dbf7e79dd80e6 | [
"MIT"
] | permissive | mlozanoqf/Statistical-Computing | d534baed17e8ea3510307b98fdf74cea0a73d4d5 | 606e6bb222013c38867c1aee7e79fae762e7a445 | refs/heads/master | 2022-11-22T15:17:05.445692 | 2020-07-24T19:18:39 | 2020-07-24T19:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,120 | r | Rlab.R | #
# Written by:
# --
# John L. Weatherwax 2009-04-21
#
# email: wax@alum.mit.edu
#
# Please send comments and especially bug reports to the
# above email address.
#
#-----
if( !require('linprog') ){
install.packages('linprog', dependencies=TRUE, repos='http://cran.rstudio.com/')
}
library(linpro... |
18e09bedb0c7705ae29791d2047c8d7ddbab71be | 36e72e5c8c4aee47143ebd1d23ad556fbca8bcb7 | /man/factorContainer-class.Rd | ace792a1d5df93033d873a521d6417b78da3627f | [] | no_license | mmrabe/designr | 32e8c4c5f5367505aad1b0fb78c090857d812a40 | b462c0c44f8ab603e7a4abe3cf3538711633ca8c | refs/heads/master | 2023-05-23T21:33:18.977919 | 2023-05-05T12:39:48 | 2023-05-05T12:39:48 | 171,673,427 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 686 | rd | factorContainer-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R, R/methods.R
\docType{class}
\name{factorContainer-class}
\alias{factorContainer-class}
\alias{show,factorContainer-method}
\title{Design matrix S4 functions}
\usage{
\S4method{show}{factorContainer}(object)
}
\arguments{
\item{obje... |
6329e018952a80e5a545237b7ccf67437cf9dfdd | e4834a42c49b821d233ca29276ac8ec9cd16fb57 | /man/compute_count.Rd | 28c388c136734ae98d45d3c7b979fd631d618de6 | [] | no_license | XiaosuTong/ggstat | 7a5103d8d8d6f5b7c69d6e225139f94f7469a7de | 964aa346570f4a37f172f98b5a6d3e28f549e1f7 | refs/heads/master | 2021-01-18T01:43:59.638877 | 2016-04-04T19:19:47 | 2016-04-04T19:19:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 810 | rd | compute_count.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/count-compute.R
\name{compute_count}
\alias{compute_count}
\title{Count unique observations.}
\usage{
compute_count(x, x_var, w_var = NULL)
}
\arguments{
\item{x}{Dataset-like object to count. Built-in methods for data frames,
grouped data fr... |
29e057d003ee44691c9fbdf089a794694f592245 | 4ee1c72700e82657faa1e7661164873569dfc5cd | /minfi_ppswan.R | 36bb1082c43c2064cde3dc72abc5871f0e49a0e9 | [] | no_license | kpbioteam/minfi_ppswan | b66fad3560a927812d4a51245de9eb27dbc3ada6 | 56fb9eb4ab9b80b77793e4aa33ddcd56ea81fa36 | refs/heads/master | 2021-01-25T12:08:57.165223 | 2018-05-27T18:23:37 | 2018-05-27T18:23:37 | 123,456,610 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | minfi_ppswan.R |
# we need that to not crash galaxy with an UTF8 error on German LC settings.
loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8")
require("minfi", quietly = TRUE)
args <- commandArgs(trailingOnly = TRUE)
input = args[1]
output = args[2]
RGSet <- get(load(input))
swan <- preprocessSWAN(RGSet, mSet = NULL, verbose ... |
19517d9022b993cac6ac5e5b97cb663bf0cde979 | 7b2cacf99fe488c001d09b6a51eac439bdfa5272 | /source/rCNV2/man/plot.rects.for.highlight.Rd | a8db1a0e571cc0dfa1666d97795e404609999a34 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | talkowski-lab/rCNV2 | d4fc066478db96322b7aa062f4ece268098b9de3 | 7e97d4c1562372a6edd7f67cdf36d4167da216f8 | refs/heads/master | 2023-04-11T08:48:40.884027 | 2023-01-25T15:59:13 | 2023-01-25T15:59:13 | 178,399,375 | 14 | 4 | MIT | 2022-03-16T16:42:46 | 2019-03-29T12:13:54 | R | UTF-8 | R | false | true | 895 | rd | plot.rects.for.highlight.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/highlight_plot.R
\name{plot.rects.for.highlight}
\alias{plot.rects.for.highlight}
\title{Plot simple rectangles for locus highlight}
\usage{
\method{plot}{rects.for.highlight}(
xlefts,
xrights,
y0,
col = blueblack,
border = blueblac... |
8bdfc3e287d34ce00a054d0c18225d60ee0f0192 | 1324597126961aacd0aa1fe9e49fb81095c1a237 | /man/find_controls_by_GoF.Rd | 6b990b4537f49867652b8a2e2e2f89143e283b52 | [] | no_license | TeamMacLean/atacr | 7b7de56604a089cb312d4cf34921702c6c8a5ccc | 96e43e75a56e39acbad2022021bf7c519aedfbb6 | refs/heads/master | 2020-07-09T14:48:43.565265 | 2018-06-11T10:44:23 | 2018-06-11T10:44:23 | 74,016,813 | 14 | 1 | null | 2016-11-25T11:37:38 | 2016-11-17T10:35:18 | R | UTF-8 | R | false | true | 809 | rd | find_controls_by_GoF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/normalisation.R
\name{find_controls_by_GoF}
\alias{find_controls_by_GoF}
\title{find control windows by convergence method in https://academic.oup.com/biostatistics/article/13/3/523/248016/Normalization-testing-and-false-discovery-rate}
\usag... |
cb01f4868a454beb49aeea96513c92c342a0d7f8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/queuecomputer/examples/as.server.list.Rd.R | 99ce3e713507e90b0f92653702a29f7fcc3c9c95 | [] | 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 | 389 | r | as.server.list.Rd.R | library(queuecomputer)
### Name: as.server.list
### Title: Creates a '"server.list"' object from a list of times and
### starting availability.
### Aliases: as.server.list
### ** Examples
# Create a server.list object with the first server available anytime before time 10,
# and the second server available betwee... |
25b335c5723d424f5ac3f33f0d51cee8bb5d228c | a3b4960a2592ea3e610a2c01137c2b55a148bf6e | /src/BayesianNetworks/chapters/03chapter01.R | 2b65d29961fec260ff9b0c6c6656eed26895c528 | [
"CC-BY-NC-SA-4.0"
] | permissive | wilsonify/ThinkBayes2 | 8ed69576054387f845b6dc6e94daf8d5f52b33a8 | 53f199d81b9ebd992739513a71d7bdd63a329866 | refs/heads/master | 2022-09-03T02:39:28.670333 | 2021-08-15T20:25:43 | 2021-08-15T20:25:43 | 238,930,208 | 0 | 0 | MIT | 2021-08-15T20:39:07 | 2020-02-07T13:29:01 | Jupyter Notebook | UTF-8 | R | false | false | 2,570 | r | 03chapter01.R | # Title : An Introduction to R
# Objective : a simple Monte Carlo to explore the behavior of the two-sample t statistic
# Created by: thom
# Created on: 11/26/20
library(LearnBayes)
studentdata <- LearnBayes::studentdata
data(studentdata)
studentdata[1, ]
attach(studentdata)
table(Drink)
table(Drink)
barp... |
e2124a116546c86b8096429420cb70afd12a07a2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/multinets/examples/mode_transformation.Rd.R | 2b0570e354852e1ecaa6db422fa8b51876071519 | [] | 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 | 450 | r | mode_transformation.Rd.R | library(multinets)
### Name: mode_transformation
### Title: 2-mode to 1-mode transformation
### Aliases: mode_transformation
### ** Examples
# First, extract the mesolevel of the multilevel network
affiliation <- extract_mesolevel(linked_sim)
# To obtain both transformed networks
transformed <- mode_transformation... |
6996b67151dafc47f97f6e6874913ec0ddec21b8 | 2c6cad6728b4ad2181981fb0ca5d7345d69b149b | /R/get_region_from_coordinates.R | 03e89205f5615f0d5e724db9b230cf907b90ecde | [] | no_license | matteodefelice/panas | a765b2cca4a51b41485dbe538d55a57ba5aff6f9 | 428a8b7cd2c1560f8ef9d54533e2c8e93e344c19 | refs/heads/master | 2022-04-05T12:25:29.429213 | 2020-02-27T20:46:54 | 2020-02-27T20:46:54 | 111,098,601 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,770 | r | get_region_from_coordinates.R | #' Return the geographci region of a set of coordinates according to administrative boundaries.
#'
#' The function defines in which region a set of coordinates (stored into a \code{data.frame}) lie
#' The administrative boundaries can be chosen from a set of pre-definites shapefiles.
#' @param obj A data frame of coor... |
c3ca92c57dfb8b10ef5fa4becd6ee27057174fcc | e6a5b9032f7d00fa54cfd2dfb68c34a09dd1ae6e | /plot1.R | 9366df400485699f804a24f92673121fa710c5fd | [] | no_license | sgmbartl/ExData_Plotting1 | 5780df80da1a1109ea3061ba8699b926c1f45c2c | 3e82b6abc263ba17206485399becd93a392fba27 | refs/heads/master | 2020-04-14T21:27:36.243449 | 2019-01-04T16:27:51 | 2019-01-04T16:27:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 486 | r | plot1.R | data1 <- read.table("C:\\Users\\MeganBartlett\\Documents\\Coursera\\EDA\\household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
head(data1)
data <- data1[data1$Date %in% c("1/2/2007","2/2/2007") ,]
globalactivepower <- suppressWarnings(as.numeric(data$Global_active_power))
png("plot... |
5a1a34622b91e120e9e158a2c2b07aad44cf25f5 | 265efa7ecaae327e3107d6b6f998d081c9c664e0 | /R/bea2Tab.r | effe6042b35df773b4ec22b5db35021fbce18cca | [
"CC0-1.0"
] | permissive | us-bea/bea.R | 2d01b081a82346d7eb38aa9d0e6374cf4d2c9258 | 7f4d069d05afcb699ae568fd11e9d2d9bc726956 | refs/heads/master | 2022-04-05T03:32:20.868193 | 2018-03-14T20:39:12 | 2018-03-14T20:39:12 | 67,622,525 | 102 | 47 | NOASSERTION | 2020-02-11T12:40:33 | 2016-09-07T16:01:39 | R | UTF-8 | R | false | false | 5,673 | r | bea2Tab.r | #' Convert BEA API httr response or list payload to data.table
#'
#' @param beaPayload An object of class 'list' or httr 'response' returned from beaGet() call to BEA API
#' @param asWide Return data.table in wide format (default: TRUE)
#' @param iTableStyle If "asWide = TRUE", setting "iTableStyle = TRUE" w... |
787fc6c74f6865fe4bb47e760f046f22841866d3 | 5cbdb30c88a51c572482678a06f5afa47481c7bc | /src/kc_clustering.R | f1b15652fdee2decacc475325cc6e2efa4005f84 | [] | no_license | tjbencomo/cs191w | 353b682bcd50272d1ae2a878f8905e04ec08adeb | bcd03f20abb1da9ef5cf9a283acc14fbe9f39b87 | refs/heads/main | 2023-04-14T00:17:22.934224 | 2021-04-26T07:18:50 | 2021-04-26T07:18:50 | 330,042,913 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,020 | r | kc_clustering.R | library(Seurat)
library(dplyr)
library(ggplot2)
library(readr)
library(patchwork)
data_dir <- "data"
fp <- file.path(data_dir, "seurat", "keratinocytes.rds")
kcs <- readRDS(fp)
kcs <- FindNeighbors(kcs, reduction = "harmony", dims = 1:30)
kcs <- FindClusters(kcs, resolution = .25)
kcs <- RunUMAP(kcs, reduction = "har... |
e2169bb9f405535e8454ed36ad2a33ba7af6d7df | 4e31c0926273615f5e401283ff0b5060e915bf2b | /scripts/ROC_curve_generation_code.R | 45fd82ed4446b87649fbe12d9d81892eedb4d8df | [] | no_license | vanhasseltlab/MetabolomicsEtiologyCAP | 0c31a2f2f6feef6048cbfaa2b6f32420ed5a7d6b | 7715991f11d2accd4cd02a45f8e85b7680d10b82 | refs/heads/master | 2023-03-16T18:15:28.435259 | 2021-03-08T13:10:42 | 2021-03-08T13:10:42 | 294,083,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,664 | r | ROC_curve_generation_code.R | ## ROC curves of cross validated elastic net models ----------------
## Elastic net without covariates
# Atypical versus other
elnet.atyp.other.roc <- ElnetROC(dat, elnet.atyp.other.results,
repeats = 100, nfolds = 5)
# Spneumoniae versus other
elnet.spneu.other.roc <- ElnetROC(dat, el... |
feaed213e6856ad84e69a615879fe512d5a4262d | e1f093f20200ed2bd820d4ee0884c87c73e41d66 | /man/iris.nmds.Rd | 02c0ce4fe0d74471ebdf22f7bfe3ba1fb220982b | [] | no_license | cran/ecodist | 8431a5659f02211c3131e282fbd2c90765285aa0 | a34b199c4d70d5ee21e2d6abbd54d2a9729d7dd0 | refs/heads/master | 2022-05-13T06:14:42.563254 | 2022-05-05T05:50:08 | 2022-05-05T05:50:08 | 17,695,709 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 777 | rd | iris.nmds.Rd | \name{iris.nmds}
\alias{iris.nmds}
\docType{data}
\title{Example for nmds}
\description{
An object of class nmds for use in the example for \code{\link{nmds}}. Many of the functions in \code{ecodist} take a long time to run, so prepared examples have been included.
}
\usage{data(iris.nmds)}
\format{
See \code{\link... |
c470f9ad267d6710984897d193c8f994ee1e3cb3 | 488854749b8d6c1e5f1db64dd6c1656aedb6dcbd | /R/htmlParse.R | a22ccd776a78d8871f052605f99f7ee960753117 | [] | no_license | cran/XML | cd6e3c4d0a0875804f040865b96a98aca4c73dbc | 44649fca9d41fdea20fc2f573cb516f2b12c897e | refs/heads/master | 2023-04-06T18:52:11.013175 | 2023-03-19T10:04:35 | 2023-03-19T10:04:35 | 17,722,082 | 4 | 3 | null | null | null | null | UTF-8 | R | false | false | 6,053 | r | htmlParse.R | isURL =
function(file)
{
is.character(file) && grepl("^(http|ftp)", file)
}
############
#XXXXXXXXX
# This is now replaced by copying xmlTreeParse.
htmlTreeParse <-
#
# HTML parser that reads the entire `document' tree into memory
# and then converts it to an R/S object.
# Uses the libxml from Daniel Veillard at... |
8654f6d6b35ceb17dc13a66bd30d51e3d28009df | b132a7b1db5a5c03565d9ceeda6f064e9761da3f | /R CODE FOR ECON494.R | 22f21c6ff01db27d3417921e5f7a7b30f553a23d | [] | no_license | pfoley1999/PROJECT | bd5838762fcdd109228590ff92a6fd46ac1025c6 | ae222c4db3ca0b9d00f1e0c4beaba22899beb8a1 | refs/heads/main | 2023-04-05T23:39:08.617060 | 2021-04-19T05:19:46 | 2021-04-19T05:19:46 | 359,336,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,218 | r | R CODE FOR ECON494.R | df <- Business.Analytics.Data...Sheet1
df$isDoc <- as.integer(df$Ownership.Model == "Doc")
View(df)
summary(df)
cor(df[2],df[3])
cor(df[2],df[4])
cor(df[2],df[6])
cor(df[2],df[7])
cor(df[2],df[9])
cov(df[2],df[3])
cov(df[2],df[4])
cov(df[2],df[6])
cov(df[2],df[7])
cov(df[2],df[9])
hist(df$Total.Inco... |
ea59710cf9ca18db92450c74f90bc138e856d5e2 | e1986ad57cf85a086abb699dcb1a0ae23dd54be7 | /inst/examples/data/transformation/boxcox_yeo.R | 853d6f923471a7dab64bab4b2ec563964e175dd8 | [] | no_license | Kale14/mmstat4 | 4fb108216f768bc404a7f353621f4f129258ba0a | 5ee81b9f5452e043b3a43708801997c72af3cda2 | refs/heads/main | 2023-03-29T22:25:45.841324 | 2021-04-07T09:15:41 | 2021-04-07T09:15:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 768 | r | boxcox_yeo.R | library("car")
x <- (-400:400)/200
xp <- x[x>0]
mp <- 5
#
pdf("boxcox_yeo.pdf", width=10, height=7)
par(mfrow=c(1,2))
plot(xp, bcPower(xp, 0), type="l", xlim=range(x), main="Box-Cox", ylim=range(x),
xlab="Original value", ylab="Transformed value")
val <- 0
col <- 1
for (i in 1:mp) {
val <- c(-i, val)
col <- c(i+1, ... |
92a14bbf0bf81e080ed0af51d841ab8f3823d91e | 7c6f801419b0c8b8e6add9bf5702fe5687d4e882 | /R/fileVersion.R | e318fda8d49644fe4be88732eca9ee6b2a8eef13 | [] | no_license | dsidavis/Rqpdf | 777276db9d03369328896c7731f376a632de1075 | 59e17c9b4f48be7863bed32a328d92cc828696fc | refs/heads/master | 2023-04-03T11:49:23.020859 | 2023-03-25T18:04:05 | 2023-03-25T18:04:05 | 187,417,186 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 234 | r | fileVersion.R |
pdfVersion =
function(doc)
{
if(is(doc, "QPDF"))
doc = getDocname(doc)
else
doc = path.expand(doc)
if(!file.exists(doc))
stop("no such file ", doc)
.Call("R_get_pdf_version", doc)
}
|
0c2ed3f113b648969af337915cefa936741b4f6a | 694a0269e4e4fadb7f75a190fa77bdc8d882c0e5 | /Boostrap/run_area_sp.R | e9d7059b9a71a29b446b470880de677b44dc52c1 | [] | no_license | sekigakuyo/ARE | 3ce09854cb583909c4f3cd8767d6afd19cdb5e61 | b0b9c4eaa8d771a1733c8da3f3e6fc67cc90c194 | refs/heads/master | 2021-08-23T06:33:49.430910 | 2017-12-03T22:42:30 | 2017-12-03T22:42:30 | 112,845,245 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | r | run_area_sp.R | library(rstan)
library(ggmcmc)
rstan_options(auto_write=TRUE)
options(mc.cores=parallel::detectCores())
source("bootstrap.R")
model = stan_model(file= "area_sp.stan")
fit = sampling(model,
data= data,
seed= 123
)
|
4c481c6528abfd21d670840ce99ea606ce9a05b1 | 9fdc71517ba832b251a8401c05aee9843ce7acfd | /R/TabaPartial.R | 45c921cbd17d8fb618e22c7244213d1cb6520d42 | [] | no_license | cran/Taba | 4437b442a8f89ef4667657ec869316b6d2c8d893 | 629a01094c15f0a2b5619018ba4aba83d5ad48b5 | refs/heads/master | 2021-07-10T07:23:13.297977 | 2021-03-31T18:50:02 | 2021-03-31T18:50:02 | 236,904,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,104 | r | TabaPartial.R | #'
#' Robust Partial and Semipartial Correlation
#'
#' @description Calculates a partial or semipartial correlation using one of the
#' specified robust methods Taba linear or Taba rank correlation.
#' @usage taba.partial(x, y, ..., regress, method = c("taba", "tabarank", "tabwil", "tabwilrank"),
#' ... |
753a8e78c2b8cdb7d6da92e6ba93466346a17699 | 2a5f19d83ef4dc8ea9059743dd0f20789a9ae2d6 | /R/template_find_approx.R | 7d59bf46d9bc81d6ba40a9408f0722c42c8d1c6b | [] | no_license | mimi3421/BiocNeighbors | 55ad54e411b69f4ff7c36cabc3289f6bc96d25ef | be4372146b1659c226fdfa89bccb57ee858d34f8 | refs/heads/master | 2020-07-04T16:54:47.579645 | 2019-07-19T16:16:12 | 2019-07-19T16:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,658 | r | template_find_approx.R | #' @importFrom BiocParallel SerialParam bpmapply
.template_find_approx <- function(X, k, get.index=TRUE, get.distance=TRUE,
BPPARAM=SerialParam(), precomputed=NULL, subset=NULL,
buildFUN, pathFUN, searchFUN, searchArgsFUN, distFUN, ...)
# Provides a R template for approximate nearest neighbors searching,
# a... |
cd13350f99b5422ea88b3dd6d7942bef6ae72ee1 | 90b0dfc49246ee9caa3da88f07eccc6d21c655d4 | /Rmdies/R/dataframe_2_csv_2_dataframe.R | 184ea27417dcfa7c76bd4dbcac0af53226a24c1f | [] | no_license | cgpu/staries | f74a96b71014041cb3b9f2033ab297a6c8d6838c | e89f0844121a3941189598b57be6051286bebd32 | refs/heads/main | 2023-09-03T15:56:15.601035 | 2023-06-09T05:22:35 | 2023-06-09T05:22:35 | 228,875,457 | 5 | 1 | null | 2023-09-04T15:36:18 | 2019-12-18T16:03:11 | R | UTF-8 | R | false | false | 1,035 | r | dataframe_2_csv_2_dataframe.R | # Preview dataframe to write beforehands:
head(my_fav_df)
# Check dimensions of the dataframe you wish to write in a .csv file:
dim(my_fav_df)
# Set path of (i)output directory (ii) filename:
savedir = "home/cgpu/favorite_dir/"
FILE = paste0(savedir, 'favorite_filename', '.csv')
# Write dataframe into .csv file... |
01248153d4da550d6b1551596c8281df2e5a8379 | 7b3bd95c45bc48a6a06fa7f31511c7818e62425a | /section-10/sec-10.R | 69eddd625674a6f79a322445cda38d29d034d6fb | [] | no_license | danhammer/ARE212 | 032d9f80f6522d1d0b96cff7f38080b72db73fbe | a2c43d556441c7bded8fb3299d568e51594daa2a | refs/heads/master | 2020-05-17T17:37:58.000259 | 2013-04-28T17:00:01 | 2013-04-28T17:00:01 | 5,385,445 | 4 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,939 | r | sec-10.R |
library(XML)
library(RCurl)
library(stringr)
options(show.error.messages = FALSE)
token <- "characters"
nameslist <- list()
while (is.character(token) == TRUE) {
baseurl <- "http://oai.crossref.org/OAIHandler?verb=ListSets"
if (token == "characters") {
tok.follow <- NULL
} else {
tok.follow <- paste... |
a3976007d9ad554386b916ccbaa6dbb98f496d84 | 2bbdd4b17b79c42c8f94553a28b2e6a33ab10be1 | /helpers/date_format.R | 81c2ccd4811e084e5c815bf89c370b5fd9d80f54 | [] | no_license | Samantha-Lui/EZRecords_App | 03fb3da8f09bd97e28083ec70a21a96156a773e6 | 175959f363ab70642da2f243571e78d97c1e2ebf | refs/heads/master | 2021-01-23T21:11:37.221956 | 2017-06-16T00:09:37 | 2017-06-16T00:09:37 | 90,569,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 593 | r | date_format.R | # Edits a string represention of a date in one of the three formats (YYYY-MM-DD,
# MM/DD/YYYY, MM/DD/YY) such that it is in the form YYYY-MM-DD.
# @param d A string represention of a date in one of the three formats described above.
# @return A string representation of the date in the YYYY-MM-DD format.
date_format... |
1ff63fedb7a9f2700d95dd63b53d3515d45a0fd5 | 6e4f004782186082b73025cda95f31bcae76afcf | /man/gl2bayescan.Rd | 5d1eaad0c9e6aa9c1a3b418fe178bc7918454f06 | [] | no_license | carlopacioni/dartR | 319fbff40a385ca74ab7490b07857b0b027c93a8 | 06614b3a328329d00ae836b27616227152360473 | refs/heads/master | 2023-08-23T00:32:10.850006 | 2021-09-08T06:52:44 | 2021-09-08T06:52:44 | 262,468,788 | 0 | 0 | null | 2020-05-09T02:07:08 | 2020-05-09T02:07:07 | null | UTF-8 | R | false | true | 1,301 | rd | gl2bayescan.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gl2bayescan.r
\name{gl2bayescan}
\alias{gl2bayescan}
\title{Convert a genlight object to format suitable for input to Bayescan}
\usage{
gl2bayescan(x, outfile = "bayescan.txt", outpath = tempdir(), verbose = NULL)
}
\arguments{
\item{x}{-- na... |
86ce367de04e886829dfad4beff0b1f7e3d82e32 | 2678a37459391d54315cb926e73a5049e7f7e8b7 | /src/combine_pr_files.R | 80ba4e35b6be1e0c6e810d0deec3fb702637f5f9 | [
"MIT"
] | permissive | adolgert/linearstep.jl | 296d402ea6e4c380c8ff86a4b388ee9ac6dfdbff | a3db330df66e04c1dff2ffa478c12f3f4da797e1 | refs/heads/master | 2022-10-12T00:09:12.467187 | 2020-06-12T03:58:43 | 2020-06-12T03:58:43 | 271,721,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,476 | r | combine_pr_files.R | # We made monthly AR from monthly PR for districts, with draws, or just the median.
# This script combines the monthly data into yearly data.
# It also adds values for reporting.
library(data.table)
library(sf)
## Combine individual files
data_dir <- "/ihme/malaria_modeling"
project_dir <- fs::path(data_dir, "projects... |
e9daa48cde412c07ad5e976328f78d5282bc96da | 2656b0d7111005a8e2c5ecbb04c490d155768e6f | /tests/testthat/tests-decision_tree_cluster.R | c8d9ce5acbbd80958029b23a5760eb4a84c785cd | [] | no_license | lnellums/LTBIscreeningproject | 26e78ac1de874b348882eaffb10e0f1fdfe94c33 | c08daa01ce82618dff21c523db89b8e84bfee2f6 | refs/heads/master | 2021-04-12T09:09:51.592708 | 2018-03-15T10:48:02 | 2018-03-15T10:48:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 817 | r | tests-decision_tree_cluster.R | ##to debug
# res <- lapply(scenario_parameters,
# decision_tree_cluster,
# N.mc = N.mc,
# n.uk_tb = n.uk_tb,
# n.exit_tb = n.exit_tb)
#
# xx <- decision_tree_cluster(parameters = scenario_parameters[[1]],
# n.uk_tb = 10,
# ... |
49401413179f9c42ce6d6839e15979dc37c2ef0e | 4796f61e1d6772f6d6fc89314037b4a8af8de79a | /man/string_format_.Rd | c4c15b37c3441bbeccb192f1c71e72d44dd918df | [] | no_license | cran/sprintfr | 831fab8829f85fff127a1c93106a4caee7fae765 | 28ad4962033ff4855bd4e0cf80ca8704b99d09b1 | refs/heads/master | 2021-01-10T13:18:34.977536 | 2016-01-05T21:12:21 | 2016-01-05T21:12:21 | 49,090,167 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 520 | rd | string_format_.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sprintfr.R
\name{string_format_}
\alias{string_format_}
\title{Standard evaluation version of string_format}
\usage{
string_format_(args, sep = "")
}
\arguments{
\item{args}{A list of unevaluated time format pieces}
\item{sep}{A separator fo... |
b88e4f2e1302f476da14630469d6164c36568084 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googleyoutubev3.auto/man/captions.list.Rd | 83de3e98747402d763f7b41692d47fd46d56e65b | [
"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 | 1,702 | rd | captions.list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/youtube_functions.R
\name{captions.list}
\alias{captions.list}
\title{Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download ... |
039fe5baab0dc02259707dc8ea38958c168c6fdf | d3e06ba4c5ea75d81ea69edd4caceb32ed1016e9 | /R/was_sim.R | 1704e838ce36a0002f4ec1cf3c8dd5fa6d2da7b9 | [] | no_license | federicoandreis/wasim | 93d33e1c60188a843f6eba5e47f4d7b2eae5da40 | 21e5624310015db837b1e021d623d91bfa54802e | refs/heads/master | 2020-03-08T15:38:42.602115 | 2020-01-15T16:15:39 | 2020-01-15T16:15:39 | 128,215,803 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,948 | r | was_sim.R | #' Runs the WAS simulation.
#'
#' @param J The number of runs.
#' @param S The number of steps.
#' @param des A list containing the sampling designs for each step.
#' @param des_pars A list containing the parameters for the sampling designs in \code{des}.
#' @param pre A list containing the predictive tools to compare.... |
3f40d3ec9439e250dba0fa32736de1ea38485b67 | 0be682ee70c8c1f693030fc1d64238a2aecf2dca | /man/rm.col.Rd | dcd2c053f3382c5a538fad13ac518f390b48e853 | [
"MIT"
] | permissive | ahmeduncc/visdom-1 | 70c68306dd5f04a94d75c67d6404110f1def0501 | b980b2bc9b79b6ae970ec07a42247b012f9b8241 | refs/heads/master | 2020-03-25T07:54:47.864245 | 2018-06-11T16:06:55 | 2018-06-11T16:06:55 | 143,587,878 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 226 | rd | rm.col.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util-base.R
\name{rm.col}
\alias{rm.col}
\title{remove named, index, or logical columns, if present, from a data.frame}
\usage{
rm.col(df, cols)
}
|
23ee8384ff1f23a3e15f023fa965153ea39fd795 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.analytics/man/quicksight_describe_topic_refresh_schedule.Rd | d6a647599160e4fc7d8d722836b0229aa7b7671c | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 843 | rd | quicksight_describe_topic_refresh_schedule.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quicksight_operations.R
\name{quicksight_describe_topic_refresh_schedule}
\alias{quicksight_describe_topic_refresh_schedule}
\title{Deletes a topic refresh schedule}
\usage{
quicksight_describe_topic_refresh_schedule(AwsAccountId, TopicId, Da... |
6423c1d864ed38526b176b8c681fca4b5289eb80 | ff6198c86808f03b83d0476750f2ae79de2d9c85 | /abcstats/man/dnn_grad.Rd | 2c07a4a5efeee8fa698d3d4d0db7b9a429a5743b | [] | no_license | snarles/abc | 5b2c727fd308591be2d08461add2ae4e35c7a645 | fefa42cf178fd40adca88966c187d0cd41d36dcb | refs/heads/master | 2020-12-24T17:35:48.864649 | 2015-07-23T06:07:14 | 2015-07-23T06:07:14 | 39,470,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 400 | rd | dnn_grad.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{dnn_grad}
\alias{dnn_grad}
\title{Comput the gradient given a DNN and input matrix x, target y}
\usage{
dnn_grad(Wbs, x, y)
}
\arguments{
\item{Wbs}{Weight matrics of DNN, in a list}
\item{x}{Input, n x p matrix}
... |
b6dbd770d50908f59e708318aca2bfa81f4f9708 | 7137ce8e9a50e13328bb5bf455e18c94ed9b9bcb | /man/weekly_frequency_table.Rd | bf5a23d0ae1e230dd0931075e340b98faa048da3 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | PatrickEslick/HASP | 88ac4bc42408d6910dccc3e30531f627d6cb0a9e | 98999b1d8435ac529353200bce368fbf729bcf74 | refs/heads/master | 2022-12-15T11:19:18.874970 | 2020-08-20T13:35:41 | 2020-08-20T13:35:41 | 287,529,519 | 0 | 0 | NOASSERTION | 2020-08-14T12:37:46 | 2020-08-14T12:37:46 | null | UTF-8 | R | false | true | 1,137 | rd | weekly_frequency_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/frequency_analysis.R
\name{weekly_frequency_table}
\alias{weekly_frequency_table}
\title{Create a table of weekly frequency analysis}
\usage{
weekly_frequency_table(gw_level_dv, date_col, value_col, approved_col)
}
\arguments{
\item{gw_level_... |
c3b8b49d24645b22e81a14b4024fcfe89dbef9a0 | 6e5efc0b6b6b37c735c1c773531c41b51675eb10 | /man/CleanDataMatrix.Rd | 84bd5b76e1658bee8a0fa4251f5ef8ed2aa8c686 | [
"GPL-2.0-or-later"
] | permissive | xia-lab/MetaboAnalystR | 09aa09c9e57d7da7d73679f5a515eb68c4158e89 | 9edbbd1e2edda3e0796b65adf440ad827abb7beb | refs/heads/master | 2023-08-10T06:08:56.194564 | 2023-08-01T15:13:15 | 2023-08-01T15:13:15 | 109,994,826 | 268 | 165 | MIT | 2023-03-02T16:33:42 | 2017-11-08T15:38:12 | R | UTF-8 | R | false | true | 337 | rd | CleanDataMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/general_norm_utils.R
\name{CleanDataMatrix}
\alias{CleanDataMatrix}
\title{Clean the data matrix}
\usage{
CleanDataMatrix(ndata)
}
\arguments{
\item{ndata}{Input the data to be cleaned}
}
\description{
Function used in higher functinos to cle... |
b514b325e9583fe6e427c64121be39000ba70adc | 2fa3917a2d7f6df6111c8e122f5fc2283622d7cf | /Source_code.r | 8a0cdf0defbfa92a9346a97372d6e97c7fad9f87 | [] | no_license | kumarYashaswi/gs_quantify | 5740aa28af07e270c11e25820803e56f0cb785b3 | a5fe9b80e6f2593b8c7f1b18cb23105f4cf22d73 | refs/heads/master | 2021-09-01T06:40:45.385212 | 2017-12-25T12:11:17 | 2017-12-25T12:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,975 | r | Source_code.r | setwd("H:/GS")
install.packages('randomForest')
library(randomForest)
train=read.csv("H:/GS/gcTrianingSet.csv")
test=read.csv("H:/GS/gcPredictionFile.csv")
View(train)
summary(train)
train$a = train$initialUsedMemory+train$initialFreeMemory
#total memory(initial used memory + initial free memory) before runnin... |
eb51b1ea097fec4c10d83db29c5d31f5f80aa3ad | d5bc0d93d48f79d9bc8055ee77d46b0dddd4f909 | /RetiredVersions/FromSanghoon/backup/CSEA.RunCalculationsV2.4_scde.R | fd397b6cd3e9722e9dd8330a3d2307dd9838f85c | [] | no_license | wangxlab/uniConSig | 5bb1269291517553972f33b2f574b96df2023e2c | a46f5d8c219c98ac34f8c47b02dcb89276d7d6b9 | refs/heads/master | 2022-09-08T06:11:26.156033 | 2022-09-02T18:37:25 | 2022-09-02T18:37:25 | 142,683,021 | 1 | 2 | null | 2018-08-07T15:19:43 | 2018-07-28T14:18:57 | R | UTF-8 | R | false | false | 4,033 | r | CSEA.RunCalculationsV2.4_scde.R |
#################################################################################
##required for all calculations
setwd("/zfs2/xiaosongwang/sal170/18_uniConSig_CSEA2/7-1_CSEAV2.3_newNorm_HSC_scSeq_UMI_nonUMI")
source("CSEA.modulesV2.4.R")
gmtfile="../ConceptDb/ConceptDb20190624.rmCa.gmt"
readCountGCTFile<-"../..... |
7e0927570410998cf8e974c1886a75d6b07575c3 | cabe564fcd104530331e8025caddc6e449cb0024 | /visualisation_PIMH_accept.R | 32bc694792f57928f83a889f32c5a22e418e4fc9 | [] | no_license | EllaKaye/PMCMC | 8c32dd53322679856571926d0ae902ab1cb6f0a0 | 8001bf859631b28607968c5107e47df636f94f4f | refs/heads/master | 2016-08-12T23:59:06.333181 | 2015-11-19T23:21:45 | 2015-11-19T23:21:45 | 46,049,705 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,515 | r | visualisation_PIMH_accept.R | library(ggplot2)
library(Rcpp)
source("data_generation.R")
source("PIMH_fast.R")
sourceCpp("SMC_fast.cpp")
# set up N and T
num_particles <- c(10, 50, 100, 200, 500, 1000, 2000)
np <- length(num_particles)
Time <- c(10, 25, 50, 100)
create_plot = function(sv, sw, Time, num_particles, iters){
res <- numeric(0)
fo... |
4e525877c7e489050f92f3476e231a7b34361303 | 7aecf9b42ada4437f3c77f66d10a69b187f9f8a2 | /man/rad_decoding_haplotypes.Rd | ad497a32f3fa4c59235181234b27939863bce66a | [] | no_license | Maschette/radiator | d7001f1117c09304aa703e79221b9fd3fe6916df | a323f6b6e15d66e92921db77549e9b69deda7d97 | refs/heads/master | 2020-04-17T02:20:02.883433 | 2019-01-17T05:39:27 | 2019-01-17T05:40:55 | 166,129,313 | 0 | 0 | null | 2019-01-16T23:49:41 | 2019-01-16T23:49:41 | null | UTF-8 | R | false | true | 380 | rd | rad_decoding_haplotypes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/radiator_imputations_module.R
\name{rad_decoding_haplotypes}
\alias{rad_decoding_haplotypes}
\title{rad_decoding_haplotypes}
\usage{
rad_decoding_haplotypes(data = NULL,
parallel.core = parallel::detectCores() - 1)
}
\description{
separate ... |
45c518f30119e6da7a6d174668e82d10c6daf94c | 5937b9ed1bd24578c5ee43e431eeda91d2c6b83d | /src/functions.R | 1e367da7abecdc696276002a146ad088da61ea5d | [
"BSD-2-Clause"
] | permissive | orionzhou/epi | 44c2a517b92ace321eda804e6fd616a92a4cd2fa | d6990f435074f108c3bdf39c17e9f59aaf0922a3 | refs/heads/master | 2023-03-07T05:17:21.004116 | 2021-02-21T09:05:18 | 2021-02-21T09:05:18 | 336,761,975 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 889 | r | functions.R | #{{{ load & read
require(devtools)
require(GenomicFeatures)
load_all('~/git/rmaize')
require(progress)
require(ape)
require(ggtree)
require(ggforce)
require(Rtsne)
require(ggpubr)
require(lubridate)
options(dplyr.summarise.inform = F)
dirg = '~/data/genome'
dirp = "~/projects/epi"
dird = file.path(dirp, 'data')
dirr = ... |
d74c2599bc8939c9aea6db123871eff99952712c | 83d93f6ff2117031ba77d8ad3aaa78e099657ef6 | /man/gbasicdialog.Rd | 5570305f8b390454bb42b54b3efe4fe8a8ed8175 | [] | no_license | cran/gWidgets2 | 64733a0c4aced80a9722c82fcf7b5e2115940a63 | 831a9e6ac72496da26bbfd7da701b0ead544dcc1 | refs/heads/master | 2022-02-15T20:12:02.313167 | 2022-01-10T20:12:41 | 2022-01-10T20:12:41 | 17,696,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,263 | rd | gbasicdialog.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dialogs.R
\name{gbasicdialog}
\alias{gbasicdialog}
\alias{.gbasicdialog}
\alias{visible.GBasicDialog}
\alias{dispose.GBasicDialog}
\title{Constructor for modal dialog that can contain an arbitrary widget}
\usage{
gbasicdialog(
title = "Dial... |
09834011263d1340cd36ac84f08df24a78cabcaa | 31bffc353b627342a401fc7738c4788a86dff53d | /old/Create_populate_yearRaster_stackDirectories.R | 6b4dd8a6a053f60455fc7c4e0ce9801d07d85657 | [] | no_license | cboisvenue/RCodeSK | 93e1c60430a73235e1ae496cbec0b403934032b2 | 7a6ea80cb432a054bb72fe3333820f0ad1fa4788 | refs/heads/master | 2021-11-28T10:23:21.137462 | 2021-11-25T18:17:09 | 2021-11-25T18:17:09 | 42,564,043 | 2 | 1 | null | 2015-11-24T21:03:14 | 2015-09-16T04:14:12 | R | UTF-8 | R | false | false | 4,207 | r | Create_populate_yearRaster_stackDirectories.R | #----------------------------------------------
# Creation of Directories by year with all rasters required as predictor variables for biomass spreading
# This script:
# 1-Creates year rasters for clipped study area (i.e.Crop30_PaFMA.tif)
# 2-Creates by-year directory structure (should only need to be done once)
# 3-I... |
413d0ed4dc27332230161bd2ce0f2505b04944c0 | a7972df8b00072ee0717bffc523cb9b6f7c96469 | /man/ggplot_colors.Rd | 79bbbbc5b3da9553a53b3ead32b4793d65c7ea27 | [] | no_license | suzanbaert/analysistools | 7b897fe87b2642e515a3b2e3b0da446d84389aa3 | 10154c9213799f74a1b7ac3efb95442492b40aad | refs/heads/master | 2020-03-22T07:52:34.116960 | 2018-07-12T16:13:59 | 2018-07-12T16:14:42 | 139,730,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 511 | rd | ggplot_colors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{ggplot_colors}
\alias{ggplot_colors}
\title{Generate ggplot 2 colours}
\usage{
ggplot_colors(n)
}
\arguments{
\item{n}{number of colours}
}
\description{
Generates the ggplot2 colours so they can be used in other plots. Solution... |
5b78d15d3929ec98312a3825e28a05f1e6d685be | 7fe73397caa9f53c04909a027c779c569a9d49ab | /scripts/functions_scripts.R | 2c20db8ef201635e5b69d4637f5a61c7881f903f | [
"MIT"
] | permissive | NCRivera/CIS-627-Big-Data-Analytics-Capstone | 84687475f47d00302439aa1a8c7d93164a32254a | d38772b90b4b3e1e6fd25afedc1b37e5504e99b6 | refs/heads/main | 2023-05-31T09:56:40.353713 | 2021-06-24T01:20:21 | 2021-06-24T01:20:21 | 369,005,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,475 | r | functions_scripts.R | library(tidyverse)
get_state_data <- function(state = "US"){
api_key <- "82fc4cc0c0ba42608845036022e0975b"
if (state == "US") {
api_data <- read.csv(file = str_glue("https://api.covidactnow.org/v2/states.timeseries.csv?apiKey={api_key}")) %>% tibble(.name_repair = janitor::make_clean_names)
}... |
796cdf15d1df34c209cc573fbf1a2f701a5cdab0 | 77247f728372ac1d43582a3f2b0671b86bbf742d | /DoubleSampling/Ex7.2/solution.R | cdf588226b87467cf2a9112afa5a03f4b6f280cb | [] | no_license | szcf-weiya/SamplingTechniques | e48f4f59e13567ecf73792997987af4afdde0379 | 9945424c8cd6b2bc297b1f6433fc8a48263f87b0 | refs/heads/master | 2021-01-20T15:13:25.710328 | 2017-06-07T06:06:39 | 2017-06-07T06:06:39 | 90,738,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 369 | r | solution.R | x = c(1500, 1200, 2000, 1800, 1300, 3000, 800, 1400, 1600, 1100)
y = c(2000, 1800, 2800, 2500, 1900, 5800, 1300, 2000, 2300, 1600)
ybar = mean(y)
xbar = mean(x)
Rhat = ybar/xbar
xbar.hat = 1500
nhat = 100
n = 10
sy2 = var(y)
sx2 = var(x)
syx = cov(x, y)
y.RD = Rhat*xbar.hat
y.RD.var = sy2/n + (1/n - 1/nhat)*(Rhat... |
e9ebbbc4e42e387288e07c7f836df7b91dddf276 | 3ba9f835e5b7b94144aa3a7bc6bf2522b63934af | /data/surveySample.R | 7bca5e0d373dbfa2fdc24740d34b7c5bf6495d00 | [] | no_license | asRodelgo/shinyProductivity | 1672cf4a7d4f5803a0dcdc7e1d867f62fc336c16 | 17148231d0b1ef21c33f9319e3881380273bbbcd | refs/heads/master | 2020-04-16T13:53:01.302503 | 2016-10-26T21:16:20 | 2016-10-26T21:16:20 | 52,633,279 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,380 | r | surveySample.R | library(foreign) # read/write Stata (.dta) files
library(readstata13) # read data in version 13 of Stata
library(survey)
library(dplyr)
data <- read.dta13("data/TFPR_and_ratios.dta")
# stratified survey for non-tfp indicators (id=~1 as this is stratified sampling with no clusters)
# At country level, strata don't play... |
e7ebff4b2f916bdf13920cbdd317a54a6adddc17 | e9f162d2bc3a8f0fe0f636310f3f7d17ba55268d | /CPD_analysis.R | 6de7675a0653718177b11221e0e645d0af145c80 | [] | no_license | josieparis/guppy-colour-polymorphism | bad711036b13e8ec197209c6b11dc161fdfa23fc | 799d43b40d32a431055171d4f95c9d784b58778d | refs/heads/main | 2023-04-07T02:49:20.884488 | 2022-07-06T16:03:05 | 2022-07-06T16:03:05 | 379,895,857 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,948 | r | CPD_analysis.R | # new general run
rm(list=ls()) #clears all variables
objects() # clear all objects
graphics.off() #close all figures
#install.packages("changepoint")
lib<-as.vector(c("changepoint","data.table","devtools","rlang","tidyr","ggplot2"))
lapply(lib,library,character.only=TRUE)
## working directory
setwd("~/Dropbox/Susse... |
1e3f2d2b675e24cded2a454e0ed8b4a35475b7f4 | 4f67e136275682b7262174c9bb16cca82cba9ed0 | /modelBuilder.R | 529d31facd49ff8d8ab589e2dc750162a3290c99 | [] | no_license | julienfbeaulieu/nextWord | 3c164dc927cf161e2c1cc4b71a241355a1f0da1c | 637949f1a2e55c60eff3dd9ff07ea9e3d299ee24 | refs/heads/master | 2021-01-01T05:10:05.183259 | 2016-04-14T12:35:51 | 2016-04-14T12:35:51 | 56,174,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,554 | r | modelBuilder.R | setwd("C:/Users/Julien/Documents/GitHub/nextWord/Model construct")
##input data
ngram.1 <- read.csv("ngram.1.trunc.csv")
ngram.2 <- read.csv("ngram.2.trunc.csv")
ngram.3 <- read.csv("ngram.3.trunc.csv")
ngram.4 <- read.csv("ngram.4.trunc.csv")
testSet.6 <- read.csv("testSet.6.csv")
##Evaluation models
unigramEval ... |
04cb762288b23926e50c988125bef60a693a2793 | 6dfa40f0b4ca611b22562ab4b8561a4a2a6929d7 | /man/blbcoef.Rd | 1b3a7be2b641198a8b2e7da5b671c6e77c50d857 | [
"MIT"
] | permissive | McChickenNuggets/blblm | 28566d8b5c0943ecf5d771fbccb6d47947bd24b3 | 3ff530a0da028624d005bf9259cf0d841b8b54ba | refs/heads/master | 2023-03-22T02:01:42.557457 | 2021-03-14T10:10:49 | 2021-03-14T10:10:49 | 347,285,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 299 | rd | blbcoef.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blbcoef.R
\name{blbcoef}
\alias{blbcoef}
\title{compute the coefficients from fit}
\usage{
blbcoef(fit)
}
\arguments{
\item{fit}{objects}
}
\value{
list of coefficients
}
\description{
compute the coefficients from fit
}
|
a6722ed9a389cd53a5a652955b38148d159a8e0e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/phyloclim/examples/niche.overlap.Rd.R | dd66b072a2b042b758e9c4ccdc3841035fe7149f | [] | 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 | 385 | r | niche.overlap.Rd.R | library(phyloclim)
### Name: niche.overlap
### Title: Quantification of Niche Overlap
### Aliases: niche.overlap
### ** Examples
# load PNOs for Oxalis sect. Palmatifoliae
data(PNO)
# niche overlap on a annual precipitation gradient:
no <- niche.overlap(PNO$AnnualPrecipitation)
# upper triangle: based on Schoener... |
6c40cf3dc120cc926d97bef2fae48380f77aa674 | 7d4613a3fcb34d032ae9227566132d8fcbf12682 | /Rscripts/simul/cherry.R | 90c056b85786bb48d26fd01fba1492d108331a78 | [
"BSD-2-Clause"
] | permissive | junseonghwan/PhylExAnalysis | 15f2b9d6ec4e67911fbfac5d2bd6e96034f44680 | 5bafad3fb6dc60e4144b18e85bbdba47a9a04fe7 | refs/heads/main | 2023-04-11T17:29:30.812185 | 2023-03-29T14:49:13 | 2023-03-29T14:49:13 | 335,060,186 | 1 | 1 | null | 2021-02-06T05:22:54 | 2021-02-01T19:26:43 | R | UTF-8 | R | false | false | 6,027 | r | cherry.R |
# Download the cherry data from Zenodo and unzip under data/simulation
library(ggplot2)
library(dplyr)
library(rjson)
library(PhylExR)
library(Rcpp)
# TODO: This code relies on older version of the code -- update required.
sourceCpp(file = "PrePhylExR/src/rcpp_hello_world.cpp")
# dropout_hp: named list containing 'al... |
6b4cc95560eba54b6c9ec8c8634c5c5824a11d59 | c0f9288b164da1c5ebf462238ae32e782a71404e | /R/build_extravignette.R | 2a628fd40407414859f0e8dee4ad54520e49b121 | [] | no_license | courtiol/testenvrmarkdown | bd1b6f2e1d06daa29cbdc3364c67b8a31a4db300 | 0d85219afa1b30609663e2455c96a175fba45a14 | refs/heads/master | 2022-11-20T19:36:04.389292 | 2020-07-21T10:37:40 | 2020-07-21T10:37:40 | 281,366,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,201 | r | build_extravignette.R | #' Build optional vignette once the package is installed
#'
#' This function aims at creating vignettes after the package installation.
#' @export
#' @examples
#' search()
#' build_extravignette()
#'
build_extravignette <- function() {
## The vignette source files are stored in different places depending on whether ... |
3fd47e20d724290312189591d551e43b6eb35ac1 | 23b10ba8ffd9254e4c73fc07173f5b49fbeb4422 | /files/SourceCode.R | cb2fba69c2f1860b7afa77439ccbf8b5fc414f28 | [
"CC0-1.0"
] | permissive | ryan-hill/SFS_GIS_R_training | 42078e2fd805591a2a0e6d5c90b1c39fa2a5aea8 | 25999a779b00f58f808652d5b3dbfab088263ea6 | refs/heads/master | 2020-03-11T11:16:58.922250 | 2018-04-12T22:31:11 | 2018-04-12T22:31:11 | 129,965,352 | 1 | 0 | null | 2018-04-17T21:09:20 | 2018-04-17T21:09:20 | null | UTF-8 | R | false | false | 27,446 | r | SourceCode.R | #####################################################
# Source code for AWRA GIS Conference April 2018
# R and Spatial Data
# Marc Weber, Mike McMannus, Steve Kopp
#####################################################
#######################
# SpatialData in R - sp
#######################
# Download data
download.fil... |
5e04d0fec3fdd7d1582f0f1afecc0f68f2a74805 | 141cb000c5bd54fda357cefe87290a362aa008f2 | /man/EM.Rd | f828e12a068993ac601ec09f856767b48eae02f8 | [] | no_license | 2ndFloorStuff/reports | e632286f13ae90ca0af10721c9a80ae06a0e4fd8 | 98ca03c2e0344421cf2d9482495f8dd1448e3c0f | refs/heads/master | 2020-12-14T00:21:06.820047 | 2015-07-03T20:47:06 | 2015-07-03T20:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,028 | rd | EM.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/EM.R
\name{EM}
\alias{EM}
\title{Convert email to HTML email Tag}
\usage{
EM(email = "clipboard", text = NULL, new_win = TRUE,
copy2clip = interactive(), print = FALSE)
}
\arguments{
\item{email}{A character vector email copied to t... |
11abcdc3e0df603649e0da0aab37fde2f937c30c | 0b62d76a09352fb4d97e242614ea6ed66e1a0e72 | /Quiz 3.R | e55bbabdeb2e7525bb92bbedc00d0b3acaeb9381 | [] | no_license | MikeColinTaylor/gettingAndCleaningData | 51b10cda8e52c828a855fe9bf45ffd0cefae1e08 | a58ad82c8da3818bc96f545905ce851812653808 | refs/heads/master | 2016-09-06T09:40:21.678098 | 2014-12-11T16:09:23 | 2014-12-11T16:09:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,376 | r | Quiz 3.R |
setwd("G:/Coursera/Getting and cleaning data")
#Q1
q1Data <- read.csv("https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv")
head(q1Data$ACR == 3)
head(q1Data$AGS == 6)
head(which(q1Data$ACR == 3 & q1Data$AGS == 6), 3)
#125 238 262
#Q2
#install.packages("jpeg")
library(jpeg)
?download.file
downloa... |
7657641f952e169d4fca3f2e38ad389d872f4beb | 21cead8061096f0bfbbfc07ef5dbd57612c756ae | /assets/tropFishR/algorithms/temp_elefan_ga.R | cfcd4579f14394c6fe0c1c8928f065546697e6f8 | [] | no_license | aenieblas/StockMonitoringTool | a53ac46c29658cf43cb4b610688ef109b8ca9e01 | 6b7802ef3f45d7fba5d6604f4ba02f349857e70a | refs/heads/master | 2023-08-19T20:39:13.085789 | 2021-10-14T03:58:23 | 2021-10-14T03:58:23 | 351,847,443 | 0 | 0 | null | 2021-06-28T13:27:53 | 2021-03-26T16:36:54 | R | UTF-8 | R | false | false | 4,297 | r | temp_elefan_ga.R |
## modify ELEFAN_GA function for plotting score function (raw GA fit needed)
ELEFAN_GA_temp <- function (lfq, seasonalised = FALSE, low_par = NULL, up_par = NULL,
popSize = 50, maxiter = 100, run = maxiter, parallel = FALSE,
pmutation = 0.1, pcrossover = 0.8, elitism = base::max(1,
round(popSize * 0.... |
454989c4416af09dc3149eaaad8a51985ce38a10 | 173e8e734ee2d8e3eeeac0a86ce06ab48db15a08 | /R/plot_wbal.R | 9f77c5cc15dd7ef59eb06868e0ca358cbbb970b5 | [
"MIT"
] | permissive | aemon-j/gotmtools | b0ba213f83d0f3ccbee9f34b7efc69fc0e0dc86a | 4eb90e9e6ad960c36a78cc51e9c77b4d826a6197 | refs/heads/main | 2023-04-28T07:43:19.483815 | 2021-01-28T19:17:37 | 2021-01-28T19:17:37 | 220,067,540 | 5 | 5 | MIT | 2022-02-04T15:27:59 | 2019-11-06T18:52:40 | R | UTF-8 | R | false | false | 2,050 | r | plot_wbal.R | #' Plot water balance from NetCDF file
#'
#' Plots water balance calculated by GOTM ('Qres') and inflows from the netCDF output file.
#'
#' @param ncdf filepath; Name of the netCDF file to extract variable
#' @param title character; Title of the graph. Defaults to 'Water Balance
#' @return dataframe with the
#' @import... |
1d6c1236fbfd1a5979287d429dbf47ccfe3e0df1 | a3386aa4f794d2b8327e3d167f0ffd0d784ffc7e | /man/hash_emojis.Rd | 406bb4ec75a2a94717e0e87e06e4cf871b95aae6 | [] | no_license | systats/lexicon | 2ef43af84016968aff7fea63e0c332bcc734f5e6 | f42a10e9f0c3f830d28f0e50911acbad439ec682 | refs/heads/master | 2021-04-28T20:26:46.470503 | 2018-02-15T04:31:44 | 2018-02-15T04:31:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 604 | rd | hash_emojis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hash_sentiment_emojis.R
\docType{data}
\name{hash_emojis}
\alias{hash_emojis}
\title{Emoji Description Lookup Table}
\format{A data frame with 734 rows and 2 variables}
\usage{
data(hash_emojis)
}
\description{
A dataset containing ASCII byte... |
35ce8a59ccefa1a5fc4ee5af1d8061651c7fd2ca | 3304180c4bc1baecf780d590f8034cdd6b1dbe15 | /man/plotCytoExprs.Rd | e0018be240da914c68286dfc009f0c1f140dba28 | [] | no_license | gfinak/cytoRSuite | 506832f8491f5289ee3c6df4aef6fb37e71469b4 | 03ad4c8bcf216ec178e8bfecfe814d82c90b7447 | refs/heads/master | 2020-04-04T05:27:09.213681 | 2018-11-01T16:52:33 | 2018-11-01T16:52:33 | 155,747,008 | 0 | 0 | null | 2018-11-01T16:53:15 | 2018-11-01T16:53:15 | null | UTF-8 | R | false | true | 875 | rd | plotCytoExprs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotCytoExprs-methods.R
\name{plotCytoExprs}
\alias{plotCytoExprs}
\title{Plot Population Density Distribution in All Channels}
\usage{
plotCytoExprs(x, ...)
}
\arguments{
\item{x}{object of class \code{\link[flowCore:flowFrame-class]{flowFra... |
67b6de8ba99ad876fa81d13972de119cb5015976 | fbc5705f3a94f34e6ca7b9c2b9d724bf2d292a26 | /DCamp/Intermediate R/Blending logical sum.R | eeb213c7c80ab108cf67dc75d30d2dcfefc517a7 | [] | no_license | shinichimatsuda/R_Training | 1b766d9f5dfbd73490997ae70a9c25e9affdf2f2 | df9b30f2ff0886d1b6fa0ad6f3db71e018b7c24d | refs/heads/master | 2020-12-24T20:52:10.679977 | 2018-12-14T15:20:15 | 2018-12-14T15:20:15 | 58,867,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 350 | r | Blending logical sum.R | # li_df is pre-loaded in your workspace
print(li_df)
# Select the second column, named day2, from li_df: second
second <- li_df$day2
# Build a logical vector, TRUE if value in second is extreme: extremes
extremes <- (second > 25 | second < 5)
# Count the number of TRUEs in extremes
sum(extremes)
# Solve it with a o... |
6cb8560a65a78216e9d7b92b408451c85a2d32e0 | a3274d9ab469c12c8eea5fa94b3447cc74579b76 | /tests/testthat/test_space_time_disagg_simple.R | 9abe39af6c1f9e3fb18bba5cde0c000e4c77d99e | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | pankajcivil/knnstdisagg | 1ca8277a9f8d7ed8ee10e0dd9c2930aa39bce2c1 | bf66e006855abad8c56df2f1819821690451537a | refs/heads/master | 2020-05-04T14:43:03.974748 | 2019-01-03T00:31:40 | 2019-01-03T00:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,284 | r | test_space_time_disagg_simple.R | # small scale check -----------------------------------
# small scale, but full disagg with current data, and for a subset of the gages
# disagg based on total flow for bluff, green river ut, and cisco, and int for
# mead
library(xts)
context("small, but full scale test of `knn_space_time_disagg()`")
load(file = "nf_t... |
4788f350bbad0f1ce93c24974462eb18f7f18866 | e6b810dd97a74b96e814c61467f56818c6459ab0 | /man/bind_iterations.Rd | 82d8bc202c823218c8a6f2a1c5de17d4afd8f935 | [
"MIT"
] | permissive | poissonconsulting/universals | 32800e3dc2ebb8c8c27cad5fe6d6633fd594177f | 152629f241f50f690d51a7770a81e32e8c62815c | refs/heads/main | 2022-10-20T13:49:00.645542 | 2022-10-15T12:31:36 | 2022-10-15T12:31:36 | 234,643,049 | 4 | 1 | NOASSERTION | 2022-06-17T21:41:06 | 2020-01-17T21:53:16 | R | UTF-8 | R | false | true | 629 | rd | bind_iterations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bind-iterations.R
\name{bind_iterations}
\alias{bind_iterations}
\title{Bind Iterations}
\usage{
bind_iterations(x, x2, ...)
}
\arguments{
\item{x}{An object.}
\item{x2}{A second object.}
\item{...}{Other arguments passed to methods.}
}
\va... |
11a4a705663e4e0bdef1043b1f6de6bef33c638f | 4c91d2feb0697353aab069ef2d331f35ce19bcb2 | /R/ThreeDrug1.R | 4d45cd1acfc01a2796f0ef86c8ffdadde7d0bda3 | [] | no_license | gzrrobert/ComStat | 1d60a232ef9febb6a34c78945a8f8d771b4011e3 | eb6738cf46b079c5fec43f082e831c19fda38cef | refs/heads/master | 2020-04-03T11:57:11.596797 | 2018-12-06T02:00:40 | 2018-12-06T02:00:40 | 155,234,583 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52,293 | r | ThreeDrug1.R | #' Identifying the linear/log-linear model of each dose-response curve
#'
#' This function utilized nls() function to model the HILL model of each relationship and substitute each relationship
#' with linear or log-linear relationship, it then designs a dose-mixture combination dataset for the study by using Unifor... |
4fbc0b9c291dc5e6953fc9c2da3f914d3e5b9012 | cef3b5e2588a7377281a8f627a552350059ca68b | /paws/man/forecastservice_create_forecast.Rd | 1ee061b8ddbbea0386564eab4922c6d3fd5fb39e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | sanchezvivi/paws | b1dc786a9229e0105f0f128d5516c46673cb1cb5 | 2f5d3f15bf991dcaa6a4870ed314eb7c4b096d05 | refs/heads/main | 2023-02-16T11:18:31.772786 | 2021-01-17T23:50:41 | 2021-01-17T23:50:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,570 | rd | forecastservice_create_forecast.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forecastservice_operations.R
\name{forecastservice_create_forecast}
\alias{forecastservice_create_forecast}
\title{Creates a forecast for each item in the TARGET_TIME_SERIES dataset that
was used to train the predictor}
\usage{
forecastservic... |
effba8d21d3c10cb2699618729c577cc40657a08 | 0623eecf6c59db6edc381d43f5cfef02f7b6e4fd | /run_analysis.R | de33bb6025e94dd7a235bbc726ecb6b73dd8d655 | [] | no_license | j100cky/CourseraGettingAndCleaningData | 4986c229c480277d518ca2922b920d905ec295fb | 3c027a2968cc3838aa6995cc1e35120fd7e2ea35 | refs/heads/master | 2020-06-21T17:17:05.332192 | 2019-07-18T05:04:16 | 2019-07-18T05:04:16 | 197,513,418 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,254 | r | run_analysis.R | library(dplyr)
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
setwd("C:/Users/Dell XPS 9575 4K/Google Drive/My/Programming/DataObtainingAndCleaning/Project/")
fileName <- "data.zip"
#To create a transferable code that automatically download the file in any work... |
12bc66669df9c1ac04077117881ae9c5c3cc2846 | 5f935eb4f7bb4de4cfecb689e2691fb1cbbf9602 | /Main text data and analysis/01_Abundance-based-ews-script-analysis.R | 8cf2a45e6abeac689f538b71bd98657834bb4d8f | [] | no_license | GauravKBaruah/ECO-EVO-EWS-DATA | be7f1d4b45121d3a06d5182c0d558c293f3c498c | 1792eeaaecdd12798bb35a9486913e38de4ee76b | refs/heads/master | 2020-05-25T14:41:42.716388 | 2019-06-22T09:31:17 | 2019-06-22T09:31:17 | 187,850,260 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,222 | r | 01_Abundance-based-ews-script-analysis.R |
#this particular script will reproduce figure 1 and figure S3, S4 and S5.
rm(list=ls())
#libraries needed
library("earlywarnings")
require(grid)
require(gridExtra)
require(ggplot2)
#please check where the below function script is located
source('~/Dropbox/Zurich PhD Research/2_Chapter_2/J Animal Ecology codes/Funct... |
bdc13e44277f2c8e462a6d82e9af1bad4c3c5e96 | ea238cddcece1bf08c93a167c4d9bda88a839fe7 | /run_analysis.R | 17fa9705d836299413bac4e7a042c681bebbf5b1 | [] | no_license | pswpsh/getting-and-cleaning-data | a303b83503412a25b374534ef59cf04b590f702c | 775bcd2b46246b6739b7e686875adb5233cfef39 | refs/heads/master | 2021-01-10T04:41:34.816238 | 2015-05-24T23:19:17 | 2015-05-24T23:19:17 | 36,198,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,403 | r | run_analysis.R | # This R script, called run_analysis.R, does the following:
#
# 1. Merges the training and the test sets to create one data set.
# 2. Extracts only the measurements on the mean and standard deviation.
# 3. Uses descriptive activity names to name the activities in the data set.
# 4. Appropriately labels the data set wi... |
a5bff14a9618fcd0e8e75595c9bc21dc23526d7e | 54c55dae302bc6cc761c8fd63e33a886d4c09e9d | /src/fr/tagc/rainet/core/execution/analysis/EnrichmentAnalysis/lncRNAGroup_odds_ratio.R | 11e20db56adc21108fd3288bb405c79190593815 | [] | no_license | diogomribeiro/RAINET | 66f41e21da73dc4ace8184b8785f144abc70799a | 4d2f919a4554c45f5d5b8ddc9d35bc83b4bc2925 | refs/heads/master | 2021-09-14T02:11:49.965465 | 2018-05-07T13:50:19 | 2018-05-07T13:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,005 | r | lncRNAGroup_odds_ratio.R |
# 2017 Diogo Ribeiro
# Script to plot/table results from fisher exact test and its odds ratio on groups of lncRNAs
library(data.table)
require(ggplot2)
require(grid)
require(gridExtra)
library(RColorBrewer)
##############################
# Basic one-way all vs all table
##############################
# inputFile = ... |
9fc97cb9ddbb360848fce3de0fbba6ca02216b8a | 3ad61e2720034ea8f5686efc2a9754063abf338d | /pixelArtDrawer/HourOfCodeScripts.R | 317d05824e949b6e23c7c37953d5e147f9ae9013 | [] | no_license | origamiwolf/scripts | e9aa81d9b76d2bed766596b920270c56711f1139 | 97ec03d6f3ece919e165aeb48cdcbdaf61627de3 | refs/heads/master | 2016-09-06T15:22:51.217201 | 2015-12-01T14:58:32 | 2015-12-01T14:58:32 | 27,330,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 910 | r | HourOfCodeScripts.R | # HOC scripts
# png pixel to number colouring sheet
# 0 - black, 1 - red, 2 - green, 3 - yellow, 4 - blue, 5 - magenta, 6 - cyan, 7 - white
# load png library read png file
library(png)
pngFilename <- "test2.png"
csvFilename <- sub(".png",".csv",pngFilename)
txtFilename <- sub(".png",".txt",pngFilename)
pngData <- ... |
73aff7e210958e7b06ab2985c5aa1991c72f6f8b | 27000599d84eec822222a7e30021cfe47607143a | /man/correlation_scatterplot.Rd | 7735eaf76b8ced5db7884ab82eeb8c165177a7ed | [
"MIT"
] | permissive | KWB-R/kwb.flusshygiene | eeec7b5bc7481c959c6bed7d073a146ef094a09e | b9fee176e392f7932673e8efb092114cfdcbd9d0 | refs/heads/master | 2020-04-11T03:46:17.572649 | 2019-10-20T20:26:19 | 2019-10-20T20:26:19 | 161,489,062 | 1 | 0 | MIT | 2019-10-20T20:23:12 | 2018-12-12T13:01:41 | R | UTF-8 | R | false | true | 878 | rd | correlation_scatterplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/correlation_variables.R
\name{correlation_scatterplot}
\alias{correlation_scatterplot}
\alias{correlation_values}
\title{Scatterplotmatrix of similar Variables to E.Coli}
\usage{
correlation_scatterplot(df, ...)
correlation_values(df, ...)
}... |
2b157bccaf96761bb40e75d8ae27dc5c36c946c8 | b4ec5c53b10da35158c4713945885846f5273582 | /R/f_text_bar.R | bce4bc0725a2c091b1f301029f65e32e0b24df8f | [] | no_license | trinker/numform | 25b4dda8d485dc149c9e74d0a676782afce3393a | 171a423941b8f0743eadf145bb1f1e89f7911765 | refs/heads/master | 2021-10-15T15:08:59.043628 | 2021-10-08T20:17:46 | 2021-10-08T20:17:46 | 68,654,221 | 57 | 5 | null | null | null | null | UTF-8 | R | false | false | 2,429 | r | f_text_bar.R | #' Format Text Based Bar Plots
#'
#' Use a text symbol to create scaled horizontal bar plots of numeric vectors.
#' Note that you will have to coerce the table to a \code{data.frame} in order
#' for the output to look pretty.
#'
#' @param x A numeric vector.
#' @param symbol A sumbol to use for the bars.
#' @param widt... |
01a864c8a9e9bf6e63c919467b8b474d54653502 | 31be997aacecee56ee5c883234b4d100a6cb7ecf | /Titanic.R | 9f7dc3cd3f1d91042037205e5eb7f18825237ce4 | [] | no_license | eih2nn/sys6018-competition-titanic | 18f0309c850227d0c4f6e48950e0c740101e1679 | 785712f0adf62a3100fd2b1a84d41648e03f8d6f | refs/heads/master | 2021-06-24T09:20:59.542983 | 2017-08-23T16:52:13 | 2017-08-23T16:52:13 | 101,177,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,779 | r | Titanic.R | #Titanic Project on Github
#eih2nn
install.packages("tidyverse") #Download library; (only required once)
library(tidyverse) #Load the core tidyverse packages: ggplot2, tibble, tidyr, readr, purrr, and dplyr
#Read in files:
train <- read_csv("train.csv") #Read in the comma separated value data file for training the mo... |
eefe823b995e3bf68044074c885a55adffcd67ad | 55bdc9a36d8564216db073f19fffd931ffeaa9ae | /R/tests/testthat/test-spatial-join.R | 863739e32f2efad785adaf02b19b2d8d5411cf2a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | awadhesh14/GeoSpark | 2362d691d8e84397f9cee33692a609ee218faf9e | 86b90fc41a342088d20429ebcd61a95b2f757903 | refs/heads/master | 2023-04-09T07:02:03.610169 | 2023-04-01T07:30:02 | 2023-04-01T07:30:02 | 202,829,602 | 0 | 0 | Apache-2.0 | 2022-12-21T21:28:50 | 2019-08-17T03:20:13 | Java | UTF-8 | R | false | false | 2,691 | r | test-spatial-join.R | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... |
df80aadfa80c6737b30028d6d16469f7a8940ce1 | df13cc3414e2e56fb879b297b0048b1c5a179077 | /man/standard_dt.Rd | 0e31bbf27ddb2301b1abdee3b49de1e0b7b53382 | [
"MIT"
] | permissive | BWAM/validator | 797c2447370622c037b516c6a84a7e46717f9fa9 | 5471815c369774ed1f31679bf221d67981882f45 | refs/heads/master | 2022-12-07T00:17:01.179481 | 2020-08-24T20:10:01 | 2020-08-24T20:10:01 | 261,248,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 322 | rd | standard_dt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/standard_dt.R
\name{standard_dt}
\alias{standard_dt}
\title{Standard DT Table}
\usage{
standard_dt(x)
}
\arguments{
\item{x}{a data table}
}
\value{
A DT table with vertical and horizontal scrolling enabled.
}
\description{
Standard DT Table
... |
2868f6ff0920268619ceeb5976fa99b3ceccc69f | 55b18b9a577fec2d86655a303761e680d05aea3d | /pkpc_test.R | 241c37ed919d4bdd7fc47f4da8f12905d4d6155c | [
"MIT"
] | permissive | stefanfausser/skc-kpca | 3ec66479a8b801c32f11303ee93a37ee32d33304 | aa80cecf702332027720233200a3ac34a2797aee | refs/heads/master | 2020-05-17T21:28:22.070143 | 2017-05-03T12:26:12 | 2017-05-03T12:26:12 | 38,367,061 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,281 | r | pkpc_test.R | ## Used solely in pkpc_experiments.R
simpleCap <- function(x)
{
s <- strsplit(x, " ")[[1]]
paste(toupper(substring(s, 1,1)), substring(s, 2), sep="", collapse=" ")
}
pkpc.test.unsupervised.framework <- function(param, basic = TRUE, evalWeight = FALSE, evalWeightTwoDataChunks = FALSE, evalMaxDataChunks = FALSE... |
b4b818142f7befdd300a25e9ce4d622e20d04281 | 6bfce066d969cd7d910fd759d9e5aef3a3ef0769 | /R/plots.R | 0cf4e6a1b9c9ce37f30fb0ede8f7cbb8a7c5c1db | [] | no_license | JohnMBrandt/text-classification | 110c1855325e10bb488faf79cfd41ec2bb2c6e1b | a24cdcd81164c01d74bd32ef242cf04713c2670c | refs/heads/master | 2020-04-06T13:04:36.007860 | 2019-01-21T19:12:17 | 2019-01-21T19:12:17 | 157,482,882 | 10 | 1 | null | null | null | null | UTF-8 | R | false | false | 452 | r | plots.R | log <- read.csv("log.csv")
library(ggplot2)
ggplot(data = log, aes(x= epoch, y = top_3_accuracy*100))+
geom_smooth(se=F, aes(color = "Train"))+
geom_smooth(aes(y=val_top_3_accuracy*100, color = "Validation"), se = F)+
theme_bw()+
ylab("Top 3 accuracy")+
xlab("Epoch")+
theme(panel.grid.minor = element_blan... |
802e5cef5a5879d2c271317f433ecdef797ab305 | e3994abdf34a95e73ca1395afdef24fba0bb99ee | /Session1.R | 1a94797203cacc8d9bba2f799f39759c449f1cda | [] | no_license | vinitg91/Introduction-to-R | c0ac0591a5975c4e0432e339eb26875702169d80 | f9302c047f585c8dc9382636a474a447fbd41ddf | refs/heads/master | 2021-07-19T18:26:30.374066 | 2017-10-27T13:56:56 | 2017-10-27T13:56:56 | 108,552,579 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,093 | r | Session1.R |
#--------------------------------------------------------------------------------------------
#Data Objects
weight = c(60,72,57,95,90,72)
height = c(1.75,1.8,1.65,1.9,1.74,1.91)
mean(weight)
sd(height)
quantile(weight)
quantile(weight,0.75)
quantile(weight,probs = c(0.2,0.75))
length(height)
range(weight)... |
d20c05c485643af5c54e748029eba2eca550335b | c04b1eb347dadf93d2a2d4f13a0954c3c49b0b23 | /test fin draft-tbc.R | 18d3325818accef991b5e33a70e53f4155fec5f6 | [] | no_license | nitijsingh/Assignment-1 | f5c6ebdbb115677c8f2a31f2bc44294af55b638a | 3dd9b5b8ab43b8a8ee509e16373b41de6df4e8ca | refs/heads/master | 2021-01-10T06:23:05.205818 | 2015-12-11T15:15:04 | 2015-12-11T15:15:04 | 43,159,505 | 0 | 2 | null | 2015-11-20T11:48:27 | 2015-09-25T16:21:45 | HTML | UTF-8 | R | false | false | 33,157 | r | test fin draft-tbc.R |
title: What effect does ICT investment and non-ICY investments have on economic growth in Developed, Emerging and Developing Countris
author: "By Alessia D??? Alessandro and Nitij Singh
Hertie School of Governance
Instructor: Christopher Gandrud
Fall Semester, 2015
11.12.2015"
date: "11 December 2015"
output: pdf_docu... |
88a751042ab521b06363536dc98f4aaccea715c6 | 638fea8f54bee228ba447a346181a37eaee5efed | /Zadanie5.R | 07469b08b101f7f2ee31ade8fda6aa2b005a901f | [] | no_license | Mb1sh01/EVM | 71bf2c3e5465cad98a9f2c883936f7e4af9760b7 | b288b6a0bff2220152fa3f2ad83b2d01ef609065 | refs/heads/main | 2023-04-18T14:09:54.503745 | 2021-05-12T12:14:49 | 2021-05-12T12:14:49 | 302,025,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 593 | r | Zadanie5.R | png("plot-ex05.png", width=600)
set.seed(4)
x <- rf(n = 300, df1 = 3, df2 = 112)
e <- rnorm(300, 0, 4)
y <- 5 - 3*x + e
median.result1 <- median(x)
print(median.result1)
median.result2 <- median(y)
print(median.result2)
layout(matrix(c(1, 2, 2, 1, 2, 2, 3, 4, 4),nrow = 3, byrow=T))
boxplot(y, pch = 0, cex = 1... |
40efb9569279aca994ad0a4d488b3385914422b6 | e925c1c38bb5b43a4fe48c99470c282b314b3998 | /R/cdc_rankedpairs.R | e99336e76149489f2ae3fd3ffddbc0dd6b8dd63d | [] | no_license | cran/votesys | c8e729705e77e6f44651774085efe79e690c8c3c | 1adcaf345de8ad73abc670ee473d910fdfa24134 | refs/heads/master | 2021-04-06T20:52:15.752148 | 2018-04-20T08:56:40 | 2018-04-20T08:56:40 | 125,397,960 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,116 | r | cdc_rankedpairs.R | #' Ranked Pairs Method
#'
#' It is also called Tideman method. See details.
#'
#' The method first summarizes the result of pairwise comparison,
#' the order used is the order of winning votes from large to small.
#' So if pairwise comparison has ties (that is, the number of voters
#' who prefer a than b is... |
b21afa3510e5717286dec159755cfb8534ee6158 | fc32885f3760cb060b9d39ddf88cf4df34fb7f4c | /R/backtester.R | 174bcf8df044f6aec831e633eaa533d3d2d1e2ef | [] | no_license | vitociciretti/ermes | 1c74b61d648e3aed30c6befc766b066ea9ae5b79 | dd254ac0a1173c71c06c51399afa6633c615ca47 | refs/heads/main | 2023-05-09T07:52:04.913448 | 2021-06-05T13:39:49 | 2021-06-05T13:39:49 | 345,759,254 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,220 | r | backtester.R |
#' Backtest a financial instrument
#'
#' Write details section here....
#'
#' @param ask as an xts object of OHLC ask prices
#' @param bid as an xts object of OHLC ask prices
#' @param entry_fun a function that takes in bid/ask prices and returns a data.frame/data.table with mandatory columns: date, OrderSize, and o... |
9bc3c79dba5253979b7537138edb87d33921eb35 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sfsmisc/examples/errbar.Rd.R | 9a1d0f01c0f55519e2a311a03a067558b764768d | [] | 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 | 232 | r | errbar.Rd.R | library(sfsmisc)
### Name: errbar
### Title: Scatter Plot with Error Bars
### Aliases: errbar
### Keywords: hplot
### ** Examples
y <- rnorm(10); d <- 1 + .1*rnorm(10)
errbar(1:10, y, y + d, y - d, main="Error Bars example")
|
2fbe1856cc34504094b471c89b9c0057a947153d | 1546947d8721a49e061e6985bc0ba44ece326c66 | /modelFit.R | e59bb9f3070a4b52f76c32b8558473893eb8cde0 | [] | no_license | apjvarun/crime | 386d3832df7aff1ed133160e7ea0a2d73c662617 | 3f58b98a0ae31ee186be0de655f517dfd4d428d3 | refs/heads/master | 2021-01-19T08:29:10.681379 | 2017-04-11T12:00:23 | 2017-04-11T12:00:23 | 87,635,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,042 | r | modelFit.R | rm(list=ls())
getwd() # where am I?
crimeData_pre <- as.data.frame(read.csv("CrimeData08.csv"))
crimeData_pre <- crimeData_pre[, -26]
crime_Y <- as.numeric(crimeData_pre[,99])
crime_X <- as.data.frame(crimeData_pre[,1:98])
#summary(crime_X)
#dataset<-as.data.frame(Response = crime_Y, Reg = crime_X)
model <- lm(crime_... |
b4c11fa35a4b1d9c32a2dfba3abf3f8eb30f1e8f | eab25b055a7bbad6f8e16790641226821175d712 | /plot2.R | 9acd86a9577bd233443ef584bcd42b4b0d46d1e8 | [] | no_license | PasiAhopelto/eda-course-project-two | dbd09acdb7f1de4398839f9b4c111ee0991a761d | b2ede6eeea40653d340a461acadfb3fc88bb64fb | refs/heads/master | 2016-09-08T01:13:55.917428 | 2015-01-17T18:20:10 | 2015-01-17T18:20:10 | 29,312,330 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 921 | r | plot2.R | # "Have total emissions from PM2.5 decreased in the Baltimore City, Maryland
# (fips == "24510") from 1999 to 2008? Use the base plotting system to make
# a plot answering this question."
NEI <- readRDS("summarySCC_PM25.rds")
emissionsAndYearsBaltimore <- NEI[!is.na(NEI$year) & NEI$fips == '24510', c("Emissions", ... |
823b49b75b1537dacedf8c1765bce147f6406ed2 | f985cc300f40954b09b9ffdc7a66d1ce3d0937f3 | /man/getLineages.Rd | 4617e500573c970d82d887a2faff3490a5a761b5 | [] | no_license | laduplessis/beastio | 361b51b89d052bd6479b942a1c114bd1232efa98 | ff276c2981a12555a98c6dd29a5837e58cc36104 | refs/heads/master | 2021-12-15T01:36:57.556253 | 2021-12-08T19:37:48 | 2021-12-08T19:37:48 | 163,682,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 317 | rd | getLineages.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tree_utils.R
\name{getLineages}
\alias{getLineages}
\title{Internal function to get the number of lineages during an interval}
\usage{
getLineages(types)
}
\description{
Internal function to get the number of lineages during an interval
}
|
e4031562cbb9699e26c8c269c5f14c0cf6f2c44b | 8e1d875a152340fa451cdac955d2d2ddd0959de5 | /spearman.R | a40f890df4424b317cca08cbcca9f170715fd23b | [] | no_license | chnops/TempleTexas | 38a1341c5aa607285270a6cb4c0ded5f3452230c | bce42ad703db180dddb3dfe28c826fe8378e39e0 | refs/heads/master | 2021-01-13T02:15:00.326280 | 2014-08-13T20:09:14 | 2014-08-13T20:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,795 | r | spearman.R | #
# Step 6: Calculate pariwise spearman correlations
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# 'normalized_order_counts.csv' is generated by 'normalize.R'
normalizedData <- read.csv('data/normalized_order_counts.csv', row.names=1, stringsAsFactors=F)
colCounts <- dim(normalizedData)[2] + 1
# for e... |
5160e3030d4074c4eae2094bc637f02bb43d8595 | 88c26fe8230d49acce746986850846a59483a061 | /man/costatis.randtest.Rd | f5629d9304038ceda7abc8de1a2dc71a390632fe | [] | no_license | SrivastavaLab/ade4 | d39d7ba900fea09d53bb8d723216bc91740e8048 | c8dc5e518eb242512d5f6ae19e4a72420440bb6f | refs/heads/master | 2021-01-11T12:18:28.665150 | 2016-12-13T11:52:33 | 2016-12-13T11:52:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,175 | rd | costatis.randtest.Rd | \name{costatis.randtest}
\alias{costatis.randtest}
\title{Monte-Carlo test on a Costatis analysis (in C).}
\description{
Performs a Monte-Carlo test on a Costatis analysis.
}
\usage{
costatis.randtest(KTX, KTY, nrepet = 999)
}
\arguments{
\item{KTX}{an objet of class ktab}
\item{KTY}{an objet of class ktab}
\ite... |
72621883aac7f0ee9c0a4d821280410ffcfe02e1 | 217a471ec71f6a4d9db0a4a34b453b242aed053c | /man/build_series.Rd | 892bbd8cbab4ac48b158f3c006c23b3b51103570 | [] | no_license | mcmventura/fcdata2qc | 0fd5c2668cdf8e59805b7ce5e7922f36e920c17d | 2ac2d1a63b8f1c47ea22a45a9840ba046aa57738 | refs/heads/master | 2020-04-23T16:33:44.888237 | 2019-05-23T09:31:52 | 2019-05-23T09:31:52 | 171,302,176 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 467 | rd | build_series.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build-series.R
\name{build_series}
\alias{build_series}
\title{Builds Multi-year Series for the Station Variables.}
\usage{
build_series(station)
}
\arguments{
\item{station}{character string given the WIGOS compatible station
identifier.}
}
... |
c4f8ac1a8568e4e703abdbc351fd2ec4408964bb | 2bceb1f0cbe12f0a4761e7bb43ccab7c4a24719e | /scripts/ClimateNA.R | c09a1964e587cc72c45fc0541f438424baa0e6df | [] | no_license | meganbontrager/climate-data-retrieval | d263d304d9066c75bb75edf2cbbfad9575403613 | 64985a3dee8d2752a7077a747e9238961cab194c | refs/heads/master | 2021-09-23T16:04:05.126543 | 2021-09-21T19:03:12 | 2021-09-21T19:03:12 | 157,419,245 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,420 | r | ClimateNA.R | # Gather climate data from ClimateNA
# Created by Megan Bontrager, 14 Nov 2018
# Libraries ---------------------------------------------------------------
library(tidyverse)
library(cowplot) # for plot aesthetics
library(magrittr)
# 1. Prep input data ------------------------------------------------------
locs =... |
d682aa0573f4db56b013c818026491d1fc75a4ab | 4fb62127144bfefb9c835a424335de6f06de6bae | /man/predict.ptnMix.Rd | bd6e08b382fc76f2d7b4e48d06010b7307e309fc | [] | no_license | ammeir2/selectiveTweedy | daee55c17a5f77e8f265c1f98657f2e120c16cdf | 11eb6e5d280830090d9b0653ebd7afe58b34c1b5 | refs/heads/master | 2020-09-14T04:51:52.813309 | 2018-04-11T01:55:53 | 2018-04-11T01:55:53 | 94,467,816 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 520 | rd | predict.ptnMix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paretoTruncNormMix.R
\name{predict.ptnMix}
\alias{predict.ptnMix}
\title{Applies Tweedy Correction based on a Pareto/Truncated Normal Mixture}
\usage{
\method{predict}{ptnMix}(object, ...)
}
\arguments{
\item{object}{an object of class \code{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.