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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3618ff515c715ccd0717893e786d5a3330e4b829 | 13256fd739d7fd26e86232d799847d15311ac782 | /munge_data.R | 801d2ce8bc74c92584248da5f99cf6c03be4231a | [
"MIT"
] | permissive | ads40/ancient_shipwrecks | ead40dec21e0dc2e041020e956fb53d5aadd87b4 | 564e8feb62ee332f8b4ee286c5079fcfaed47245 | refs/heads/main | 2023-06-08T12:54:02.628954 | 2021-06-29T11:47:22 | 2021-06-29T11:47:22 | 380,363,420 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,903 | r | munge_data.R | #####################################################################################
#
# Import shipwrecks data into RDS file
#
# Source: Strauss, J. (2013). Shipwrecks Database. Version 1.0.
# Accessed (date): oxrep.classics.ox.ac.uk/databases/shipwrecks_database/
#
###########################################... |
a4201fe0b8198ecc31e551b1c66ad7ccc4c3606c | 48fb9e67b2e7835cea7d6fc4844284b05a3df6b6 | /man/ResidualFitIndex-class.Rd | 7610084a6f3d0b064775ebcde6969319a4c36359 | [] | no_license | tmatta/glvmfit | c8bbf66f5254a173b4bb5c3b13a73c8e6b6b8876 | f680da080df83dce249aa7739469df14e2837d2c | refs/heads/master | 2023-08-21T03:07:08.002200 | 2021-10-15T13:17:26 | 2021-10-15T13:17:26 | 289,073,745 | 0 | 0 | null | 2021-08-05T00:30:58 | 2020-08-20T17:57:31 | R | UTF-8 | R | false | true | 553 | rd | ResidualFitIndex-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class_ResidualFitIndex.R
\docType{class}
\name{ResidualFitIndex-class}
\alias{ResidualFitIndex-class}
\title{An S4 class to represent a residual fit indices.}
\description{
An S4 class to represent a residual fit indices.
}
\section{Slots}{
... |
82980a606afa14cf2cd6b8919e8cdc27ee7d7445 | 62ec89b6d425b18ff1ff5be2b9649785282d7865 | /inst/snippets/Example6.15b.R | 5cc1f93d3b07bfb314d413e13b496e8375e7f2b2 | [] | no_license | klaassenj/Lock5withR | 8cf9bab45ba1d87db77713b8c9b6826b663363c3 | f2773d9f828b72882ed1c4d6b3b2e539a3b3b24a | refs/heads/master | 2023-08-02T15:20:09.975771 | 2018-03-14T22:48:09 | 2018-03-14T22:48:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 172 | r | Example6.15b.R | Boot.Rent <- do(1000) * mean( ~ Rent, data = resample(ManhattanApartments))
head(Boot.Rent, 3)
favstats( ~ mean, data = Boot.Rent)
cdata( ~ mean, 0.95, data = Boot.Rent)
|
c6f0e38c569996b148c858ac38212202d25010fc | d62d9ea2f6aa749fa48455bddbd3208279ce6449 | /tests/testthat/test-load-fgs.R | dcd078cbe13b89f10bfaeba1d4169c12820d4a05 | [] | no_license | jporobicg/atlantistools | 3bffee764cca1c3d8c7a298fd3a0b8b486b7957e | 75ea349fe21435e9d15e8d12ac8060f7ceef31a2 | refs/heads/master | 2021-01-12T03:06:55.821723 | 2017-05-26T04:03:33 | 2017-05-26T04:03:33 | 78,160,576 | 1 | 0 | null | 2017-05-25T23:35:23 | 2017-01-06T00:51:21 | R | UTF-8 | R | false | false | 626 | r | test-load-fgs.R | context("load_fgs with setas sample files")
d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
file <- file.path(d, "SETasGroupsDem_NoCep.csv")
test_that("test format of species names", {
expect_is(load_fgs(file)$Name, "character")
expect_is(load_fgs(file)$Code, "character")
})
test_... |
06fc9328c2305d794892330227b367e9bf0b186a | 2784cf4d05bfbc81f9b8530949482b8883c99bb7 | /R_Scripts/PSO/comparing_symmetric_trinomials.R | 1e492b121e1d46bc6172b5da2aeeafdb65ef31cf | [] | no_license | adityas16/FirstRepository | b7c8f917b844de330249d2bda132ff0e1d68e7df | 7195d5e884a4322c7a77d9a603b4ae25a652f03c | refs/heads/master | 2022-12-23T04:53:09.773446 | 2021-11-01T21:44:53 | 2021-11-01T21:44:53 | 27,124,026 | 0 | 0 | null | 2022-12-08T01:10:49 | 2014-11-25T12:10:52 | Jupyter Notebook | UTF-8 | R | false | false | 423 | r | comparing_symmetric_trinomials.R | na=227
na1=57
na_minus1=52
nb=212
nb1=39
nb_minus1=42
mu_1 = (na1+nb1)/(na+nb)
mu_minus1 = (na_minus1+nb_minus1)/(na+nb)
mu=mu_1 - mu_minus1
pa1=na1/na
pa_minus1= na_minus1/na
var_a =((pa1*(1-pa1)) + (pa_minus1*(1- pa_minus1)))/na
pb1=nb1/nb
pb_minus1= nb_minus1/nb
var_b =(pb1*(1-pb1) + pb_minus1*(1- pb_minus1))/n... |
4aaf19a4cd7d196d3e59e918ea5d29118be89c18 | 4a227a164b1073b1b1ed4d91a94b5db721f2ff75 | /rr_gop_simulation/codes/2b_generalized_op_simulation.R | 9b99f136fa5d49e9b1f16a7dfc9ef15ef8590aba | [] | no_license | placeboo/Extending-Odds-Product-Model-to-Categorical-Treatment | 61a1cc36a4e91cc066331474a1859c0a9e1b546a | ce6a100cb19938104b1eb45d07aa418c79fecb55 | refs/heads/master | 2020-04-23T18:40:20.726974 | 2019-06-11T07:35:20 | 2019-06-11T07:35:20 | 171,375,570 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,231 | r | 2b_generalized_op_simulation.R | # in 2_generalized_op_simulation, for small sample size (n=100),
# there is report for the sd when uisng optimHess.
# this file for n=100, have sd use close function for Hessian matrix
rm(list = ls())
args = commandArgs(TRUE)
seed = as.numeric(args[[1]])
library(brm)
source("functions/generalized_op.R")
source("funct... |
9744c5cc8f7bd2eac6298751fb4ac5cd14345c86 | 1dc2e1570e89f438ffa2dbc853d236588ea39139 | /pvalue.R | d1bef3e52e814e79f37173141216801b4a3fcbf5 | [] | no_license | lish2/esrd_microbiome | e1c012d485576687d5288d960e47cc4019215e4f | 412124ba934f323614178553b66e51c35199fb03 | refs/heads/main | 2023-08-16T10:07:00.005026 | 2021-10-12T03:55:46 | 2021-10-12T03:55:46 | 415,810,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,762 | r | pvalue.R |
#-------------------------
# 分组的菌株含量差异
#-------------------------
library(ggplot2)
library(vegan)
rm(list=ls())
result = rbind()
sample_map = read.table("../../00.data/mapping.file",sep="\t", header=T, check.names=F)
dt = read.table("../00.data/mag.clust.profile", sep="\t", header=T, check.names = F,row.name... |
c4da28cb1a787cbdb4e6447b18287404e974024a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pracma/examples/clenshaw_curtis.Rd.R | 91ab3ad0093e04a4ea71b621aefdc1156e0eeeec | [] | 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 | 368 | r | clenshaw_curtis.Rd.R | library(pracma)
### Name: clenshaw_curtis
### Title: Clenshaw-Curtis Quadrature Formula
### Aliases: clenshaw_curtis
### Keywords: math
### ** Examples
## Quadrature with Chebyshev nodes and weights
f <- function(x) sin(x+cos(10*exp(x))/3)
## Not run: ezplot(f, -1, 1, fill = TRUE)
cc <- clenshaw_curtis(f, n = 64) ... |
e531d28354b89206511d55de2fe4d4bf4439aa72 | d2707f7a51274321ca0d87831e356bfaabdd90b6 | /app/src/lightbox.R | 35caf8c3b9ecad4ff4d7f4220d06f721e471e0c8 | [
"Apache-2.0"
] | permissive | t3ta/quovidi_demo | e77f58c492429f949e1f7d342b3f9065e812616a | ddcb9972c8ee83f70e8e2b499030ae5654c20dd6 | refs/heads/master | 2023-02-20T12:25:57.289225 | 2021-01-20T13:43:53 | 2021-01-20T13:43:53 | 330,365,029 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,062 | r | lightbox.R |
lightbox_gallery <- function(df, gallery, display = "block", path = "img", width = "50%") {
tags$div(
style = sprintf("display: %s;", display),
tagList(
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "lightbox-2.10.0/lightbox.min.css"),
tags$link(rel = "stylesheet", ... |
cf09edfcaebd056d96bbbe274104eb1a5c1b5c94 | 3431d8517624ef035f7bd063d215b3c640cbcd40 | /R/bbase.os.R | f9c14dc45117055f9fdd6f1a695b34e29b693e31 | [] | no_license | cran/AROC | f97a8479f3f3218ce919170cb632dee45e532b43 | 8488b3ab91877bc9dc520ec2f82a4c62af93d6ea | refs/heads/master | 2022-03-21T18:38:04.882962 | 2022-02-21T12:30:22 | 2022-02-21T12:30:22 | 136,818,648 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 204 | r | bbase.os.R | bbase.os <-
function(x, K, bdeg = 3, eps = 1e-5, intercept = TRUE) {
# Using the function bs
B <- bs(x, degree = bdeg, df = K + bdeg, intercept = intercept)
#class(B) <- c("bbase.os", "matrix")
B
}
|
a54a256331c73f760ebaf7055288db75f479eee1 | e75b125413f890a51d178e7729f59b3e4caf77d6 | /man/xnormalize_scData.Rd | 1ae0832903503a15db308be86049b61f7603bd16 | [] | no_license | cran/scSorter | 54b675640cc4428d007b248377dbb83383fb6ea0 | 873c1c3308e5d42cf047384ff45af676b42ec38a | refs/heads/master | 2023-03-25T22:41:17.705873 | 2021-03-17T05:40:02 | 2021-03-17T05:40:02 | 292,345,928 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 560 | rd | xnormalize_scData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities_temp.R
\name{xnormalize_scData}
\alias{xnormalize_scData}
\title{Normalize scRNA-seq Data}
\usage{
xnormalize_scData(expr)
}
\arguments{
\item{expr}{A matrix of input scRNA-seq data. Rows correspond to genes and columns correpond to... |
68155f036d970a8b781df8274308952d581247b8 | 112104780212d9c7f8da1355704493b35b076bc8 | /source/nn.R | ac7c65811e5fca7963399db66ce6db525f652735 | [] | no_license | arildsd/ML-FIFA19-Models | 8bdc180b5d7744842155784aaae1ee41f788ec8d | 285f44dee1161355ef17c9c8eaec04bd24fdc8e0 | refs/heads/master | 2020-05-30T08:24:15.698187 | 2019-06-23T21:38:36 | 2019-06-23T21:38:36 | 189,620,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 548 | r | nn.R | # File path to the data
DATA_FILE_PATH = "../data/processed.csv"
# Load the pre-processed data
df = read.csv(DATA_FILE_PATH)
# Normalize the data
normalize <- function(x) {
return ((x - min(x)) / (max(x) - min(x)))
}
maxmindf <- as.data.frame(lapply(df, normalize))
x = model.matrix(value~., maxmindf)[,-1]
y = d... |
0745c0401d3378031109afbc35b8788c697cca08 | b8841bf56594f65fe13115b7f8318b97c9dddb1f | /ch_distributions_oi_biostat/figures/normApproxToBinomFail/normApproxToBinomFail.R | de2252fb90c2c6ee05790ee8cbec5ecaa14df1b5 | [] | no_license | OI-Biostat/oi_biostat_text | 5cdab8191714beef6a67d61d1f69982e4d8c13aa | a333893cffe830b8ce1e31d9226a9a50906605e4 | refs/heads/master | 2023-05-28T12:33:51.243348 | 2022-11-30T20:59:44 | 2022-11-30T20:59:44 | 281,164,408 | 7 | 7 | null | 2022-11-30T21:02:43 | 2020-07-20T16:06:49 | TeX | UTF-8 | R | false | false | 680 | r | normApproxToBinomFail.R | library(openintro)
data(COL)
k <- 0:400
p <- 0.2
n <- 400
myPDF('normApproxToBinomFail.pdf', 7.5, 2.25,
mar = c(1.7, 1, 0.1, 1),
mgp = c(2.2, 0.6, 0),
tcl = -0.35)
X <- seq(40, 120, 0.01)
Y <- dnorm(X, 80, 8)
plot(X, Y,
type = "l",
xlim = c(55, 105),
axes = FALSE,
xlab = "",
... |
ad67037c314ec58c064a766b598ec2836765bbc3 | c8af18505a9c09ad7226d7ca16bb9cd3dc921896 | /lmIdxTest.R | 5518d364021c5dfdce3680499e2e4d6772bc436a | [] | no_license | investparty/initPortfolio | 434235e42628cb47e5ffa56d68b0d202b8380429 | b36253e9c9c6fe171dbdedbbb48b5397eceedb3c | refs/heads/master | 2021-01-22T18:14:44.851469 | 2015-08-24T04:21:21 | 2015-08-24T04:21:21 | 40,949,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,403 | r | lmIdxTest.R | #load quotes
load("C:/Users/Danil/Documents/investparty/data/quotes.RData")
#prepare weeks data
weekRets <- lapply(quotes, function(x){
df <- subset(x, select = c("Date", "ret"))
df <- df[complete.cases(df),]
df$gf <- strftime(df$Date, format = "%W/%Y")
wy <- aggregate(df$ret, by = list(Category = df$gf), FUN ... |
2ef69df99469118ca0d191f01f02c53c4122fdf9 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Operations_Research:_An_Introduction_by_Hamdy_A_Taha/CH5/EX5.3.1/5.3.1.R | b223424d0769f6511f26a1775d8c86e31fcc9324 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 567 | r | 5.3.1.R | ##Chapter 5 : Transportation Model and its Variant
##Example 3-1 : Page 207
costs <- matrix (c(10,2,20,11,12,7,9,20,4,14,16,18), 3, 4,byrow = T)
#Constraints 1,2 & 3 are row constraints as they corresponds to rows of transportation tableau
row.signs <-rep("=",3)
row.rhs <-c(15,25,10)
#Constraints 4 & 5 are coloumn co... |
d1d64d30b85dc39664bcfe8c93eb96f38addccc0 | dd1a32589e25774ae0b791faaeb48e9341dc7b23 | /plot4.R | 96eaa3cc9b179c76ff8025ad31673072c9c1bcee | [] | no_license | avindeni/ExData_Plotting1 | d379eca8b7e2aba98da5040a09f6ef4519e7c6da | 8fc27148117ee581776fd65786f16f7c8690c628 | refs/heads/master | 2021-01-24T06:57:45.512231 | 2017-06-04T22:20:47 | 2017-06-04T22:20:47 | 93,330,012 | 0 | 0 | null | 2017-06-04T17:28:42 | 2017-06-04T17:28:42 | null | UTF-8 | R | false | false | 2,101 | r | plot4.R | plot4 <- function() {
#power<-read.table("household_power_consumption.csv",sep=";",head=TRUE)
jpeg('plot4.jpg')
par(mfrow = c(2,2))
date_power<-power[which(power$Date=="1/2/2007" | power$Date=="2/2/2007"),]
# plot 1
global_power<-date_power$Global_active_power
global_power<-as.vector(global_power)
remo... |
32927f28ae28cbdf1fd2302622baad1e900fd7fc | edf45e446d8d40398bdef3d93af700b40b240be2 | /scripts/sketches.R | 84103be211ee714ed4c71ca7e40e568176d5bf2f | [
"MIT"
] | permissive | uschiLaa/burning-sage | 6eb9c5f45c05c0565c7c77c112b85341e222139d | 9bfa115a8aeca3ed73dbdd1007a09898b8ce3e42 | refs/heads/master | 2023-06-25T11:16:20.284430 | 2021-07-27T07:44:29 | 2021-07-27T07:44:29 | 238,853,553 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,396 | r | sketches.R | # sketches data
library(dplyr)
library(tourr)
library(here)
library(burningsage)
data("sketches_train")
sk_small <- filter(sketches, word %in% c("banana", "cactus", "crab")) %>%
mutate(word = factor(word, levels = c("banana", "cactus", "crab")))
pal <- RColorBrewer::brewer.pal(3, "Dark2")
col <- pal[as.numeric(as.f... |
168ce66492f96c60ba18e2d2ecf9315633b3243c | 2e932fd7d489ce462cb3d333ad4aa66779570745 | /archive/output_BUGS_plots.R | 1a4fbeb16a7e2a659a841cb618a461fa0ee1617c | [] | no_license | Dr-Dong/malaria_evidence_synthesis | 0ed126d2715d8eecc5b148e7e2e3c34619b6b04c | 6481eebdea5d1549aa64b6e59ee34cb484c6fac8 | refs/heads/master | 2020-08-28T02:52:06.718783 | 2019-07-24T17:29:56 | 2019-07-24T17:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,667 | r | output_BUGS_plots.R |
## posterior predicted: multinomial all categories
plot(colMeans(BUGSoutput$sims.list$prob_pred[,,1]), type = "l", ylim = c(0,1))
lines(colMeans(BUGSoutput$sims.list$prob_pred[,,2]), type = "l", col = "red")
lines(colMeans(BUGSoutput$sims.list$prob_pred[,,3]), type = "l", col = "blue")
lines(colMeans(BUGSoutput$sims.... |
fd4a43d16e9cda2e8605bb0595da1f007c456d96 | 744f59804d8d2b683525cfdaf7e3771988262830 | /get_mzs.R | 326e00d66ecdcbf0e4e5e0728a91ece360b0bedb | [] | no_license | HegemanLab/extra_tools | c197f4b497afc813e03db882b870b44ba6fc4678 | b7c5bf532cd5f7cc3e2bc41c3f8aa0a1a74e98a3 | refs/heads/master | 2021-01-10T17:46:43.905617 | 2018-06-08T21:45:09 | 2018-06-08T21:45:09 | 52,366,758 | 0 | 0 | null | 2018-05-15T03:06:59 | 2016-02-23T14:57:06 | R | UTF-8 | R | false | false | 1,236 | r | get_mzs.R | # Helper script to extract a list of mz values from a list of files
library(xcms)
setwd("C:/Users/Lab/Desktop/Coding_Bits/VanKrevelen")
get_mzs <- function(in_file) {
xraw <- xcmsRaw(in_file)
peak_data <- findPeaks(xraw)
peak_data <- peak_data@.Data
peak_data[, 1]
}
files <- c(
"ACM_Feb6_2... |
faabc3cf52cdd698f5a82766cc1ddfc44ed89a55 | d4065309f6031e6af1fe91147ca1dc18a559205f | /EasyQC/R/clsPZPLOT7.r | 2a3e3a00580688dc411336c0a10fe2023ba47f53 | [] | no_license | barbarathorslund/warfarin | 3741b85bd580599cde2ba283e23774a7a018c19e | 0ec7779313ad126605a047e44c7485b3a348568e | refs/heads/main | 2023-06-25T22:35:36.441326 | 2021-07-14T18:50:44 | 2021-07-14T18:50:44 | 345,354,658 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,830 | r | clsPZPLOT7.r | setClass("PZPLOT",
representation = representation(
strEqcCommand = "character",
colBeta = "character",
colSe = "character",
colPval = "character",
numPvalOffset = "numeric"
),
prototype = prototype(
strEqcCommand = "",
colBeta = "",
colSe = "... |
82349593fb4ffd05cfdc395ea3ad3b6110a7a239 | 72e8bd721b82c0e8239bf00129dbc1f00f19e2f2 | /testData/r_skeletons/rpart.R | 419f299300aa2777df9041171eead4328a7275e6 | [
"BSD-2-Clause",
"MIT"
] | permissive | yoongkang0122/r4intellij | 59dc560db7a1ea7aead2be8a98bbbba4e4051259 | e1dc26b462f94e3884d07ba5321eefa7263d1ad9 | refs/heads/master | 2021-01-25T09:20:56.708602 | 2017-05-13T05:52:49 | 2017-05-13T05:52:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,378 | r | rpart.R | ##
## Exported symobls in package `rpart`
##
## Exported package methods
xpred.rpart <- function (fit, xval = 10L, cp, return.all = FALSE)
{
if (!inherits(fit, "rpart"))
stop("Invalid fit object")
method <- fit$method
method.int <- pmatch(method, c("anova", "poisson", "class",
"user", "... |
d2444f275389e2fc13073549437a453090780e32 | 14a75f70b9bd9f7ed27d01277f30f2b93f334194 | /man/toFactorLoading.Rd | 5309a844bab8ee9e7175682ca3b8b8c50d5a23c1 | [] | no_license | mhunter1/rpf | 7a2190e8811ac56f1162daefe3aff461b45be44c | fc9118ff6e4ba2c25ddf2b1b71557c071f355ce6 | refs/heads/master | 2021-01-21T23:53:19.892870 | 2015-04-14T20:20:35 | 2015-04-14T20:20:35 | 33,954,788 | 0 | 0 | null | 2015-04-14T20:17:19 | 2015-04-14T20:17:18 | null | UTF-8 | R | false | false | 505 | rd | toFactorLoading.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{toFactorLoading}
\alias{toFactorLoading}
\title{Convert response function slopes to factor loadings}
\usage{
toFactorLoading(slope, ogive = rpf.ogive)
}
\arguments{
\item{slope}{a matrix with items in the columns and slopes in the rows}
\item{ogive}{the ogive ... |
b3069032f27b30268aab9dd8887713cc956021b7 | e651e4b15ca7fabe8b12cabff46997fe918a576f | /shinyapp/server.R | 47ea1e309158dd5f0f3c5c8cccf61074cfc8cbad | [] | no_license | gwerbin/browsers-by-country | cfcb6311f612a0b6089fe05312d3c43d33b13d68 | 81f2ff41baafffd45972234818af6aad48144d69 | refs/heads/master | 2020-04-06T18:36:37.353436 | 2015-08-18T19:25:35 | 2015-08-18T19:25:35 | 40,991,756 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 352 | r | server.R | library(shiny)
source("browsers.R")
shinyServer(function(input, output) {
date_range <- reactive({
levels(most_popular$DateRange)[input$dates]
})
output$date_display <- reactive({
d <- unlist(strsplit(date_range(), "-"))
paste("July", d, collapse = " - ")
})
output$map <- renderPlot({
plot_... |
1d68f6e6835a6d3efbba5a8972b3fd05017a3985 | d650fe3ce27ada1dd397e1c8dd1f247c2bffb8a0 | /Data Explorer App/Scripts/Frontend/Data Definition Tab/Select Tab.R | bb520fb4e50856077f138987bd59af795e37ce08 | [] | no_license | shuyelin06/Data-Explorer | 4abeca42918b17d3a4187e845ae9c6933c1f79ca | 5c3ec6fefea4b7cd98a6ce04a0054c7637d8a189 | refs/heads/main | 2023-07-13T09:27:08.233933 | 2021-08-26T16:09:52 | 2021-08-26T16:09:52 | 388,231,545 | 0 | 0 | null | 2021-08-06T21:57:49 | 2021-07-21T19:58:17 | R | UTF-8 | R | false | false | 271 | r | Select Tab.R | dataSelectNav <- tabPanel(
# Title of Tab
title = "Retrieve Data",
# UI Elements
titlePanel("Select Data to be Displayed"),
uiOutput(
outputId = "selectAddData"
),
actionButton(
inputId = "selectDataRetrieve",
label = "Load Data"
)
) |
3f8bab926bdd6938646957d7f3181225546b4aa4 | 81fbffa9af93f4c2dafcc26441f83070c7d3e19c | /Vulnerability_by_Occupation.R | 6238243653014c2c60d29cb25cef402214fed955 | [] | no_license | olin-shipstead/covid-occupational-vulernability | 3734bf111a2a0d24e3fc8b728645d9e966ac38e0 | 327dc354a7a44731cc2a4ab60aea6ff358febf83 | refs/heads/main | 2022-12-31T23:15:14.066974 | 2020-10-24T18:42:40 | 2020-10-24T18:42:40 | 306,946,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,684 | r | Vulnerability_by_Occupation.R | # Olin Shipstead
# 15 March 2020
# Exercise recreating NYTimes plot:
# https://www.nytimes.com/interactive/2020/03/15/business/economy/coronavirus-worker-risk.html
library(ggplot2)
library(plotly)
exposure <- read.csv("Exposed_to_Disease_or_Infections.csv")[,c(1,3)]
proximity <- read.csv("Physical_Proximit... |
934ebb8b09863c9908c4e8db567300cbf9467b7d | 5101152b7ec06d87e8265ecf3b279c956176a2d7 | /R/readMzXmlDir-functions.R | f27bc79b4b92a328f7a57d79e12beab5c49bb16d | [] | no_license | sgibb/readMzXmlData | d5b100d3214f2a2d9717651c8c360b48bacd6ec9 | e00579ac9771950236ae118640e52fefa1e7ba06 | refs/heads/master | 2022-11-27T05:40:39.150679 | 2022-11-08T09:10:33 | 2022-11-08T09:10:58 | 5,784,522 | 5 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,521 | r | readMzXmlDir-functions.R | ## Copyright 2011-2012 Sebastian Gibb
## <mail@sebastiangibb.de>
##
## This file is part of readMzXmlData for R and related languages.
##
## readMzXmlData is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, eith... |
72f707e169ce561548aca6690a445bde4c628eb5 | dfbb9c6071a23981639d1e5d8b6356197ce4775a | /man/j_list_by.Rd | 936be5c1f18914300cc922a6bd5a93092822ae89 | [
"MIT"
] | permissive | matcasti/dtPipe | e569a8948117ee7a9b345077a1d7c759a978fcfe | 74b34c4a8f48ff552798d4d3afd9c140e9e0c646 | refs/heads/master | 2023-08-17T05:58:14.242295 | 2021-09-30T00:21:28 | 2021-09-30T00:21:28 | 410,735,559 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 389 | rd | j_list_by.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pipes.R
\name{j_list_by}
\alias{j_list_by}
\title{Pipeable functions to improve data.table's readability}
\usage{
j_list_by(x, ..., by)
}
\arguments{
\item{x}{a data.table}
\item{...}{further arguments}
\item{by}{for grouping purposes}
}
\d... |
c0fcf9894a3a7d7acb04aefc2a23ce676020ec6b | fd365694237edb699e53eef04f1c3c0ff649f3c8 | /R/opal.symbol.R | ada2e6ec8650cd39fb737f6acedec308b9978e77 | [] | no_license | obiba/opalr | f73a0eb0280bc768b47711d6a1a08ce0eded7ce1 | 5ca4936deae7e3410db5ee6a02df7994ff5fa336 | refs/heads/master | 2023-08-03T06:18:07.954481 | 2023-07-21T06:58:07 | 2023-07-21T06:58:07 | 166,788,279 | 3 | 3 | null | 2021-05-13T15:50:49 | 2019-01-21T09:45:41 | R | UTF-8 | R | false | false | 7,114 | r | opal.symbol.R | #-------------------------------------------------------------------------------
# Copyright (c) 2021 OBiBa. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
#
# You should have received a copy of the GNU General Public License... |
3a6eae8c63ed738eca7236a58d78d8f5bb4b924b | 81496aac24e4fcd7b820951aa32f868a96a7dd13 | /pollutantmean.R | b7ece359d9cc53608e92c04f94f3b575fc653e2d | [] | no_license | sarahhamid0/ProgrammingAssignment1 | 1676dc85bbf9d5ab96500a8555a44cd9c578be5d | 227cdb280586055fa41fbfd039d6541777ded1dd | refs/heads/main | 2022-12-25T16:18:09.382691 | 2020-10-06T08:07:12 | 2020-10-06T08:07:12 | 300,354,865 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 288 | r | pollutantmean.R | pollutantmean <- function (directory, pollutant, id = 1:332) {
myfiles <- list.files(path = directory, pattern = ".csv", full.names = TRUE)
x <- numeric()
for(i in id) {
mydata <- read.csv(myfiles[i])
x <- c(x, mydata[[pollutant]])
}
mean(x, na.rm = TRUE)
}
|
9bde130f93eafffc4776302be70ddba106af79e5 | 1c5e993681ab00b3eb698d05f84e1daf2b4723e9 | /R/buildXY.R | 175519b11d391430594b6867e12ea6b6fa547880 | [] | no_license | cran/EDISON | d4e9ecb9187ec33efa2276d00ca5b37a487159e1 | 9d3d3660629fe0ee9fa81697452c47369485fa3a | refs/heads/master | 2021-01-21T21:55:02.171225 | 2016-03-30T21:04:12 | 2016-03-30T21:04:12 | 17,678,892 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,131 | r | buildXY.R | #' Builds response Y and predictor X.
#'
#' This function builds the response variables Y and predictor variables X from
#' the input data.
#'
#'
#' @param targetData Target input data.
#' @param predData Predictor input data.
#' @param GLOBvar Global variables of the MCMC simulation.
#' @return A list with elements... |
1be142df79c4537f67d7151b9a48de9013205c9c | 246154d146ecfd6b6dd579200a8b65c4eba6b7ba | /R/fitMods.R | 3f0c670c235060b8c43831cebdfe091c410eb39a | [] | no_license | cran/subtee | 310c2d481959e69237401ef303ecf0720e7d0247 | 92c86b0a4334580fb5010a78701d566b5c735080 | refs/heads/master | 2022-05-07T11:55:45.240047 | 2022-03-22T13:10:05 | 2022-03-22T13:10:05 | 162,720,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,195 | r | fitMods.R | BIC_survreg = function(fit) AIC(fit, k = log(sum(fit$y[,2])))
## helper function to extract trt eff and interaction estimate and
## covariance matrix from all models and also the p-value of the test
## statistic
getEsts <- function(fit, trtNam, subgrNam){
cf <- coef(fit)
vc <- vcov(fit)
cls <- class(fit)[1]
sf... |
95f9911a9dfafd093f0928aec5205db9b01da990 | 21b2109b4e4ec9269f1df53b4736da6df11d8be3 | /man/estimate_mdiff_contrast_bs.Rd | 994eb2d05de8dbe89716f265713c120007589c91 | [] | no_license | rcalinjageman/esci2 | 9ec246d962c1deb54b44a942c132b97d1a7272bb | a6356eda12a4788934c42cecf4b7cdb516c6f87b | refs/heads/main | 2023-07-27T20:01:47.970675 | 2021-09-11T03:41:39 | 2021-09-11T03:41:39 | 344,518,167 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,465 | rd | estimate_mdiff_contrast_bs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mdiff_contrast_bs.R
\name{estimate_mdiff_contrast_bs}
\alias{estimate_mdiff_contrast_bs}
\title{Estimate the mean difference for an independent groups contrast.}
\usage{
estimate_mdiff_contrast_bs(
data = NULL,
grouping_variable = NULL,
... |
09518770da1cb5295e5b9d4f452f2aa5b3f08668 | 919fd296ac269d455a7d995aeb5b9d918cbfc058 | /lessons/r/shiny/3/server.r | b5acb047110d7a42e5b03a95d1152df503c33b4c | [
"Apache-2.0"
] | permissive | aays/studyGroup | 9681427897d30bcddf2162ccdd3b410c4f2cb9e0 | e7d7bb03e70e32c7ca2525ce826e366810d3e9a0 | refs/heads/gh-pages | 2023-04-07T18:18:10.952550 | 2023-02-27T15:45:13 | 2023-02-27T15:45:13 | 171,192,931 | 0 | 0 | Apache-2.0 | 2019-02-18T01:15:35 | 2019-02-18T01:15:34 | null | UTF-8 | R | false | false | 6,574 | r | server.r | #We've now added interactivity to the plot. The user can (a) specify the Variable (Var) scenario they wish to plot the PCA of, and (b) adjust the text's cex values. The server.r script now includes code to add colors that correspond to each selected variable's parameter values (param), as well as a legend.
library(shi... |
d5453d1356e4f42ff3e865352a29b0c738ff605a | 99f350773f2db550c3547b9e73424c2511cf654d | /scripts R/comp_marche.R | 434148d6ae9c2e0c6172a88f11e2c36ebc42e501 | [] | no_license | Clara-Reichert/R4meropy | e42f60cb596d3e9bebea746a24d44a114f71387d | c6cbe551a52a3d1c236a921ba49b78c70dd655c5 | refs/heads/master | 2022-11-24T02:31:35.393708 | 2020-08-04T13:05:44 | 2020-08-04T13:05:44 | 273,433,253 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | comp_marche.R | #comparaison omega et multi pour le 03/06
#lire les jeux de données
multi<- read.csv("C:/Users/clare/R4meropy/csv/multi_direct.csv", sep=";")
omega<- read.csv("C:/Users/clare/R4meropy/csv/omega_direct.csv", sep=";")
# convertir le nom de l'image en date-heure
multi$d_h=as.POSIXlt(multi$nom_images, format="chassis_%Y... |
e6ecbefcf48c1c4b68ce4279a55e2e8223da1d81 | a83761e0ab08bace8620e57e30c3e6cb69a3ca0d | /code/r_scripts/DNA_RPKM.r | f366b24737130befcc02b53fe45b10ea67249ddf | [] | no_license | Karl-Svard/Genome_Analysis | a5e51d124ac0a8c14b02aee8e1c224337b8a4d4d | f3966c13ef87aaa4a142e01a31b60628abfed729 | refs/heads/master | 2022-09-01T20:31:20.771876 | 2020-05-26T21:56:24 | 2020-05-26T21:56:24 | 250,238,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,550 | r | DNA_RPKM.r | #!/usr/bin/Rscript
# Script that performs RPKM calculations on DNA mapped bins.
# Takes input from stdin about which site should be looked at ("D1" or "D3")
input<-file('stdin')
site <- readLines(input, n=1)
# List of bin IDs with completeness over 70% and contamination below 5%.
ID <- c(1, 2, 4, 11, 12, 15, 19, 24, ... |
3d7ee76e5100bfb37f6e96fc0e43c901a9997119 | cab829be4f0442f52e38bd311587b22a0d3b1c47 | /plot4.R | 74a275b4f2c99d2321a55f52df476e45614360ab | [] | no_license | DataSciDan/ExData_Plotting1 | dbc2527ef7c855a831a98d2c58ff4c2a54cbcfe9 | 2a80925b34291d65f35f00bfff90f3cc48da19d0 | refs/heads/master | 2021-01-18T10:44:21.327941 | 2015-08-09T16:34:18 | 2015-08-09T16:34:18 | 40,400,816 | 0 | 0 | null | 2015-08-08T11:28:21 | 2015-08-08T11:28:21 | null | UTF-8 | R | false | false | 1,491 | r | plot4.R | data <- read.table("../../household_power_consumption.txt", header = TRUE, sep = ";")
feb1_2 <- data[data$Date == "1/2/2007" | data$Date == "2/2/2007", ]
par(mfcol = c(2,2))
# First Graphic
feb1_2$Global_active_power <- as.numeric(as.character(feb1_2$Global_active_power))
plot(feb1_2$Global_active_power, xaxt="n", t... |
4f5b0abfbb4782d5d2795a346021fbc4e6808904 | 8e4442b99df2526ba1d639067e9a122ab0ea4907 | /R/studentAllocation/R/neat_output.R | 65745dc05f835be8347eaccf6ff583d70e689e43 | [
"MIT"
] | permissive | Joepriesto/studentProjectAllocation | d29b5d22b2a69245bbf8e3d972f1b56ecdcc0151 | 80e8cbabd20186e4b40b2f57d37697b90629422c | refs/heads/master | 2022-03-28T16:33:58.252905 | 2020-01-26T12:26:07 | 2020-01-26T12:26:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,789 | r | neat_output.R |
#' Create a neat (tibble) version of the lecturer allocation
#'
#' @param allocation_output Output object from the allocation algorithm
#'
#' @return
#' @export
#' @importFrom dplyr mutate tibble `%>%`
#'
#' @examples
neat_lecturer_output <- function( allocation_output ){
lapply(
names(allocation_output$lectu... |
7c53289f461ce9896d5b0a1a26db0686261b157b | e35cd7da14f73bf3a0ecc5451d87696dfdcb967f | /Lab8/lab8 rcode.R | 83bae67b137729c15005ea69aea7494ab6b00133 | [] | no_license | KaitlinGlover/Stat201 | 49bac297137fa058336fe63b8fe7f8330f4db41c | 36994a2148c3b1267970ebcabb272f27be5c9553 | refs/heads/master | 2020-12-18T10:24:08.308140 | 2020-01-19T08:08:50 | 2020-01-19T08:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 109 | r | lab8 rcode.R | p_hat = 0.7273
n = 33
x = 24
p = seq(0,1,by = 0.001)
plot(p,dbinom(x=24,size = n,prob =p),type="l")
|
925ca723cd3a9db77d5a126f9920dd21e40a8da9 | e086f623c66acf66992b7123bb64375e5a64fd9d | /R/StatComp20083R_HW7.R | 730a78b4e8e0fec8165a7fa22bab4d05e3dce346 | [] | no_license | Pengyi-Wang/StatComp20083 | 482aeac70e7d8a232a94e022d8f333e5ce5266b0 | 78f810bb17d0967f48c611f5f6192d270e5d4aa8 | refs/heads/master | 2023-02-03T03:48:28.768819 | 2020-12-19T08:22:47 | 2020-12-19T08:22:47 | 321,667,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,621 | r | StatComp20083R_HW7.R | #' @title Benchmark7 R and Rcpp functions.
#' @name benchmarks7
#' @description The functions used in homework 7
#' @importFrom graphics par abline lines abline
#' @examples
#' \dontrun{
#' HW7_1()
#' HW7_2()
#' HW7_3_1()
#' HW7_3_2()
#' }
NULL
#' @title the question 1 of homework
#' @examples
#' \dontrun{
#' HW7_1()
... |
808167ad81053eff5db6262a932a16a51e18ae73 | 8e95e90c8be44ce4b0df63933e7be585fd227ffc | /Rscripts/step4_import_abundances.R | bb505bfbad346a5802a4c332f9997c5a84020ea1 | [
"MIT"
] | permissive | trichelab/single_cell_analyses | 98d938ba0260c6ecba83b12f62eb7de694c8bc13 | dc4b08265cb7282c07e418e0d88e22d9b17257da | refs/heads/master | 2022-12-02T08:40:22.132479 | 2020-08-14T14:11:09 | 2020-08-14T14:11:09 | 263,999,582 | 0 | 1 | MIT | 2020-05-15T14:12:21 | 2020-05-14T18:54:48 | CSS | UTF-8 | R | false | false | 6,911 | r | step4_import_abundances.R | #Rscript of RNA velocity workflow (last edited 5.18.2020)
#Step 4. Import abundances into R with tximeta
suppressPackageStartupMessages({
library(Biostrings)
library(BSgenome)
library(eisaR)
library(GenomicFeatures)
library(SummarizedExperiment)
library(tximeta)
library(rjson)
library(SingleCellExperim... |
2740fd1d7ea05babb4b709d6db8f0fff991f9f5f | 6d37822046207d43d1f908e5af156c3a1379280a | /ExtractData.R | b995760243581e0244d3eb8735baa39f93dbf871 | [] | no_license | oharar/IM_warbler | 89bdbb0a4dd767dcffe3f38fb6272c4588199d06 | 04dca7c1e118baa718460c68850045aedce0b2ee | refs/heads/master | 2020-05-31T15:06:17.607680 | 2019-08-08T15:20:17 | 2019-08-08T15:20:17 | 190,348,676 | 8 | 3 | null | 2019-08-08T13:45:12 | 2019-06-05T07:39:52 | R | UTF-8 | R | false | false | 6,454 | r | ExtractData.R | # required packages
library(raster)
library(sf)
library(USAboundaries)
library(elevatr)
library(FedData)
library(dplyr)
library(censusapi)
library(spocc)
# You can get this with devtools::install_github("oharar/rBBS")
# library(rBBS)
if(!exists("censuskey")) {
warning("No US census bureau censuskey. If you don't ha... |
d903d680b917d2cf0f4248a15576b5790b31088c | b69ed244c07a3ada38a94b7cb79130dda3729e5c | /Part 6 - Reinforcement Learning/Section 32 - Upper Confidence Bound (UCB)/upper_confidence_bound_practice.R | 116a4894dc3f74b555f7506c8eb78f1546b19e79 | [] | no_license | ShubhamRoy96/Machine-Learning | 03b92fcb788d707adbf380396fb6fb3408b1b670 | 70ef90c9d60d50c85ea1bf5d1c2fc0427c071f17 | refs/heads/master | 2021-07-09T19:32:53.587927 | 2020-08-01T15:56:28 | 2020-08-01T15:56:28 | 242,486,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 962 | r | upper_confidence_bound_practice.R | dataset = read.csv('Ads_CTR_Optimisation.csv')
NumRows = nrow(dataset)
NumCol = ncol(dataset)
NtimeSelected = integer(NumCol)
SumofRewards = integer(NumCol)
ad_selected = integer(0)
total_reward = 0
for (row in 1:NumRows) {
ad = 0
max_UB = 0
for (lCol in 1:NumCol) {
if (NtimeSelected[lCol] > 0) {
av... |
a24ca92e25fedbd76bf31b6073ff297a1cfc3abe | 10e518cfefb3e44d245fa2ca35b809d4f0da9b38 | /tests/testthat/test-utils.R | 4f92f5be5928c3f488ca90e9d44ce2888ccf655c | [
"MIT"
] | permissive | bryanwhiting/bonds | e07048449ada74e40139c713209abd5f9f16913a | 0805a87b89b0554c811dd9cb8d7aed73ffc99254 | refs/heads/main | 2023-08-22T07:39:12.987012 | 2021-10-29T07:02:45 | 2021-10-29T07:02:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 442 | r | test-utils.R | test_that("extract_filenames() works", {
expect_equal(extract_file_idx(), 1:15)
})
test_that("create_filename() works", {
ans <- "/home/rstudio/data/data-challenge/data/interconnect_json/file_3.json"
obs <- as.character(create_filename(idx=3))
expect_equal(obs, ans)
})
test_that("read_parquet_table() works",... |
dfeece8055fe5d381d3c65d785998b9c515f382f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mmsample/examples/mmatcher.Rd.R | e992f6d0b4aacce3a9c6f48b877b15b325c388c3 | [] | 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 | 691 | r | mmatcher.Rd.R | library(mmsample)
### Name: mmatcher
### Title: Multivariate Matching
### Aliases: mmatcher
### ** Examples
treat_n <- 100
control_n <- 300
n <- treat_n + control_n
set.seed(123)
df <- data.frame(age = round(c(rnorm(control_n, 40, 15), rnorm(treat_n, 60, 15)), 2),
male = c(rbinom(control_n, 1, 0.4... |
b1e3e4c3292f65ec8d79254978da6d35f1d0d0f6 | 038d8bd41fb3bed9cc4061db12d7d4ec71a62c37 | /man/AxisLabels.Rd | 3e801d65e67e34f30a757474f30c73c693762deb | [] | no_license | arnhew99/Jasper | 32af0ee0dc39199b7406c69d82d930d9f2c5440c | 56dff2546464b5dfed2e3704f60e8e5a32f86d45 | refs/heads/master | 2022-11-17T14:34:17.901352 | 2022-11-11T17:55:31 | 2022-11-11T17:55:31 | 248,270,015 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 557 | rd | AxisLabels.Rd | \name{AxisLabels}
\alias{AxisLabels}
\title{AxisLabels}
\description{Add X and Y axis labels to the current panel.}
\arguments{
\item{xlab}{X axis label}
\item{ylab}{Y axis label}
\item{mainfont}{Font scaling applied to cex (default: NULL)}
\item{xline}{Margin line of the X axis label (default: 3.5)}
\item{yline}{Margi... |
831822fea3c099c0b51b6c583fe4afc19718c4c7 | 16ca517e00f11cf74ace22122fbee214e12f9939 | /snp_pca.R | 2b7648b04302293d8e30649937dcca38aef3c3bc | [] | no_license | ODiogoSilva/vcf2PCA | 522c7d4afbab438b8cf423525bb604ac38948a7f | 403f99f3aacee27f233efed0ec65f0c7a65eded8 | refs/heads/master | 2022-05-18T02:13:20.866374 | 2022-04-15T14:29:42 | 2022-04-15T14:29:42 | 96,434,641 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,152 | r | snp_pca.R | #!/usr/bin/Rscript
# snp_pca.R performs a PCA using the SNPRelate R package using a VCF file
# and an option populations files
# Usage:
# snp_pca.R vcf_file output_file_name popupations_file[optional]
library("SNPRelate")
library("plotly")
library(htmlwidgets)
library(htmltools)
args <- commandArgs(trailingOnly = TR... |
5d1abba8674b5ee8f699caca63d18ae7c70a4ae0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Delta/examples/GetDeltaProblemType.Rd.R | 982706d09ff0352524895562e1b044b0ec43771c | [] | 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 | 269 | r | GetDeltaProblemType.Rd.R | library(Delta)
### Name: GetDeltaProblemType
### Title: Get Delta problem type function
### Aliases: GetDeltaProblemType
### Keywords: Mx
### ** Examples
GetDeltaProblemType(matrix(c(1,2,0,3,4,0,0,0,1),3,3))
GetDeltaProblemType(matrix(c(1,0,0,0,2,0,0,0,3),3,3))
|
ede9085ee6fb5a43bde3b1f4a9a6f09840ce0ea6 | bf8e155d3f6a835082c7a17d9c9fa2a8c4e0331e | /R/DataImportDialog.R | f3dc1782fe2e6eff8e81b8d422f061d1d985d083 | [] | no_license | sebkopf/dfv | 94ba5e2fab9013e42601eeff4ac8865a9969f1bc | 55fcc88a81e26ef039ef3dd9a6707386b306e02b | refs/heads/master | 2016-09-02T02:39:00.117472 | 2015-12-10T20:45:57 | 2015-12-10T20:45:57 | 14,060,261 | 0 | 0 | null | 2014-02-04T07:00:04 | 2013-11-02T03:40:37 | R | UTF-8 | R | false | false | 14,916 | r | DataImportDialog.R | #' @include ModalDialog.R
NULL
DataImportDialogGui <- setClass("DataImportDialogGui", contains="ModalDialogGui")
setMethod("getToolbarXML", "DataImportDialogGui", function(gui, module) {
return (
'<separator expand="true"/>
<toolitem action="Copy"/>
<separator expand="true"/>
<toolitem actio... |
9cca4f4df05c76c96dcc076196ed719768b554ba | ddc8c8f96c348abeccba5fc31ed01844d093b33b | /Shirley/Fig1G_gprofiler_barplot.R | 5aae35548b704eb110fd5f642b3a2288a9d6e0cb | [
"MIT"
] | permissive | hypdoctor/Lawson2020 | b47c4fa8c67ccfe5f2ccf7d55cc12ee464943fa2 | 82662ff8183307ec09439dc001834537ec00bda3 | refs/heads/master | 2023-03-16T04:18:55.757725 | 2020-09-23T16:45:18 | 2020-09-23T16:45:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,851 | r | Fig1G_gprofiler_barplot.R | # Date: Sep 28, 2018
# Author: Shirley Hui
# Takes pathway themes manually identified via a Cytoscape network created using the the core killing gprofiler results (see CoreKillingGProfiler.R). Pathways were grouped together to form themes if they contained 30% or more similar genes. Plot the pathway themes into bar p... |
197e9cff1cf0916b06733a75e13bb7f5860b5788 | 6eb980a9312f50491782a92875a52618dfbcffc6 | /tests/testthat/test-get_available_packages.R | 6364ab3398411eb8802c95bd036eb645db5fc26c | [] | no_license | cran/deepdep | d9636bb8dd22b64e86b893adb2c0873ea87068c4 | 74b4aafcb30d8d1bde5e212c6187d052180a7e94 | refs/heads/master | 2023-03-05T18:45:35.804669 | 2023-02-20T23:10:05 | 2023-02-20T23:10:05 | 245,601,598 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | test-get_available_packages.R | test_that("getting available packages from both local and bioc returns an error", {
expect_error(get_available_packages(local = TRUE, bioc = TRUE),
"You cannot use both 'local' and 'bioc' options at once.")
})
test_that("chache is cleared without errors", {
expect_error(get_available_packages(... |
8e247d836bc90b064c3f725b4f97bdb467984355 | 65938f7359b84cb41f0d1d5dc1ee5964bc7f6147 | /Algorithms/K-Nearest Neighbour Classifier/Glass Data/GlassKNN.R | b97b4652b08df73791682b23fdd31dd4c1550f79 | [] | no_license | Rashmi1404/Data-Science-R-code | d9565ad1d0fe62dfd25380b9367dd5cff17a769b | d7e1120569ba194bab7af947993e87c43eff6ef6 | refs/heads/master | 2020-12-29T14:52:21.155154 | 2020-08-07T15:17:16 | 2020-08-07T15:17:16 | 238,642,421 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,331 | r | GlassKNN.R | #K-Nearest Neighbour Classifier
#Prepare a model for glass classification using KNN
set.seed(123)
library(ggplot2)
#Lets Import the Data
glass <- read.csv(file.choose())
attach(glass)
summary(glass)# to get the Summary of the Dataset
str(glass) #Here we can see that Type variable is recognized as Integer. We have to ... |
06e20410a4b997a3cec5f05b0e36c4fedc0a699a | e1cbbf8791b0ac6d40f6d5b397785560105441d9 | /man/is.texp.Rd | 6737e7d5b1d3706a243a01ae5cc520d3a8f23c0b | [] | no_license | wasquith/lmomco | 96a783dc88b67017a315e51da3326dfc8af0c831 | 8d7cc8497702536f162d7114a4b0a4ad88f72048 | refs/heads/master | 2023-09-02T07:48:53.169644 | 2023-08-30T02:40:09 | 2023-08-30T02:40:09 | 108,880,810 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 975 | rd | is.texp.Rd | \name{is.texp}
\alias{is.texp}
\title{Is a Distribution Parameter Object Typed as Truncated Exponential}
\description{
The distribution parameter object returned by functions of \pkg{lmomco} such as by \code{\link{partexp}} are typed by an attribute \code{type}. This function checks that \code{type} is \code{texp} for ... |
619fec2b5433a052e83ce80bc0c19523618328c3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/iemiscdata/examples/i18.Rd.R | af26d2e58f22ed3812098d9cd3f603be9d41ccde | [] | 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 | 147 | r | i18.Rd.R | library(iemiscdata)
### Name: i18
### Title: 18 Percent Effective Interest Table (Engineering Economy)
### Aliases: i18
### ** Examples
i18
|
3533da15a25223cce141435f2a2be1eaf258c144 | b47d96744beaae6875f4338f336c7f19f131d9f7 | /man/CopyTable.Rd | 6f695e13b42b99e210111ba5ed63eb17fd54264e | [] | no_license | eriqande/kalis | 8a3761d110e13b03d4d7e0b43c6e59d8e8e2bebe | 7de1672f0787f68e363db5109569ac33aa13bb30 | refs/heads/master | 2023-04-07T07:28:29.981455 | 2021-04-10T10:48:30 | 2021-04-10T10:48:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,704 | rd | CopyTable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TableMaker.R
\name{CopyTable}
\alias{CopyTable}
\title{Copy Forward/Backward tables}
\usage{
CopyTable(to, from)
}
\arguments{
\item{to}{a \code{kalisForwardTable} or \code{kalisBackwardTable} object
which is to be copied into.}
\item{from}{... |
e08ab1fb1397031a1aff6b5a2a9b433059aa4d02 | 80004feacf40ae03f0dc823358756c0e54602776 | /SAMR.R | ae73a9db22f0a33b733b50701b9eda90a85b3b4d | [] | no_license | BaQBone/DNARepairAtlas | 9398992d7d8f2b5331ad117783adaa8c85d16a0b | 6707dce246a35f27a104f9f6d8e4e589496b2f0e | refs/heads/master | 2022-07-15T06:37:10.766153 | 2020-05-14T08:12:05 | 2020-05-14T08:12:05 | 261,547,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,642 | r | SAMR.R | library(samr)
library(dplyr)
library(reshape)
#library(reshape2)
library(ggplot2)
library(vsn)
library(limma)
library(smoothmest)
library(Biobase)
library(MSnbase)
library(matrixStats)
library(gplots)
library(fdrtool)
library(purrr)
library(LSD)
library(labeling)
library(munspace)
library(taRifx)
libr... |
0a74bf8e03058c18caa5212a940afb6f30f0e64e | 3c7a0a23a16deedbee4e0089c37635edd2a8433b | /man/runWaterValuesSimulation.Rd | fde3aeb2fe8c2c0428a932acbcedab0cdf2a0b6f | [
"MIT"
] | permissive | rte-antares-rpackage/antaresWaterValues | 7c97a4324e3fca6c87ef59dab235f128531ac1e7 | ff73940f1c73d2cacb978331d920681cbb3fb9b2 | refs/heads/main | 2023-08-17T10:08:36.446393 | 2023-08-16T08:36:45 | 2023-08-16T08:36:45 | 96,431,344 | 1 | 5 | null | 2019-11-29T16:45:13 | 2017-07-06T13:08:21 | R | UTF-8 | R | false | true | 2,794 | rd | runWaterValuesSimulation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runWaterValuesSimulation.R
\name{runWaterValuesSimulation}
\alias{runWaterValuesSimulation}
\title{Run a simulation for calculating water values for a specific area}
\usage{
runWaterValuesSimulation(
area,
simulation_name = "weekly_water_... |
68caea0d54e390924157dd8ca68e492dfa77fa26 | c36626e74b54e0c748f1da46904a58198415641e | /man/eco.genepop2df.Rd | 9ffff23f477f81a044d40c816dd4b88bd244fb44 | [] | no_license | jcassiojr/EcoGenetics | a3f3e5586bee15f2f87fc284b4ad8f3243db061e | 9256797efd715f3eb3de960dcec03aa31e53510f | refs/heads/master | 2021-01-24T08:32:49.115341 | 2016-07-15T20:02:10 | 2016-07-15T20:02:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 803 | rd | eco.genepop2df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eco.genepop2df.R
\name{eco.genepop2df}
\alias{eco.genepop2df}
\title{Importing a Genepop file}
\usage{
eco.genepop2df(genefile = NULL)
}
\arguments{
\item{genefile}{Genepop file.}
}
\value{
A list with the objects G (genetic matrix) and S (st... |
682c94d3d986303fcb0c6063db16024c2c9768f8 | 04c94cdeebdc2052e3023027fbd78e0578867ec6 | /man/latable.Rd | 28758c5414ed493dcf85382a89ad5e9200699e65 | [
"MIT"
] | permissive | emilelatour/latable | 587e4cb9542a526ca7b10a4b0bec2ec775cc9849 | 81e7795faafcccc00267c5a701f1126492b7f282 | refs/heads/master | 2022-09-21T13:05:41.997280 | 2022-08-25T17:13:22 | 2022-08-25T17:13:22 | 177,342,113 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 342 | rd | latable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/latable.R
\docType{package}
\name{latable}
\alias{latable}
\title{latable: Tools for making tables of results}
\description{
This package contains a variety of helper functions for making tables of
results easily.
}
\examples{
# Example usage... |
e2be718f90ab4513dd4eec2a849de604ece384b5 | 6e5efc0b6b6b37c735c1c773531c41b51675eb10 | /man/Get.VIP.Rd | 81cae812cb423bf5b8d4aaf1dbde37ce707d9730 | [
"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 | 622 | rd | Get.VIP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/biomarker_utils.R
\name{Get.VIP}
\alias{Get.VIP}
\title{Calculate variable importance of projection (VIP) score for PLS object}
\usage{
Get.VIP(pls.obj, comp = 2)
}
\arguments{
\item{pls.obj}{Input the PLS object}
\item{comp}{Numeric, input ... |
6da8b16cd77aa7de0e1612d84a35d35084a5ca09 | 8db902665b4c93d8f86a2381d917515de1b5b649 | /SOEP_Covid_19_data_merge_core.R | 2a7da73231621a57b080d059fc4991da0a257bc3 | [] | no_license | benkec/health-measures | 9fed200ab560d2e82bcdb8070df65878e0282685 | e1e6445557e66142fba15605975bb102cf51ba2d | refs/heads/main | 2023-03-13T19:11:34.993751 | 2021-03-05T17:42:43 | 2021-03-05T17:42:43 | 345,051,563 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,920 | r | SOEP_Covid_19_data_merge_core.R | # load harmonized dataset -----------------------------
load(str_c(temp_path,"soep_core_health.RData"))
#load RG data set -------------------
load(str_c(temp_path,"soep_core_risk.RData"))
# load other CORE varibales data set
load(str_c(temp_path,"soep_core_other.RData"))
# load SES and weights CORE varibales data s... |
c320b4466bf02479d1bb994fe45611de6df8e095 | 02dbb451925f35d1abe781360968596eaa59bcbd | /R/lazy.text.format.R | 7bacc82c28e1e2cd8be19825c6416fa2e5bf47ac | [] | no_license | nutterb/lazyWeave | ad68c57edd703e83124fa7267314de1902050c47 | fe7ba16ff61dabcace079a9399050b2610224bac | refs/heads/master | 2021-06-06T04:26:31.480092 | 2018-01-25T00:19:56 | 2018-01-25T00:19:56 | 4,657,725 | 1 | 0 | null | 2015-07-27T00:59:17 | 2012-06-14T00:34:01 | R | UTF-8 | R | false | false | 2,340 | r | lazy.text.format.R | #' @name lazy.text.format
#' @export lazy.text.format
#'
#' @title Format Text
#' @description Applies italic, bold, or underlining to a piece of text.
#' May be used within \code{lazy.text} to add emphasis when the entire
#' paragraph does not need to be formatted
#'
#' @param text Text to be formatted
#' @pa... |
e3ab1d63bebdbe16716e22bd414dd98f7704aaad | 0723a23b109a236de4a6a0d3fdb97a102130c9f6 | /server_mode/run_cplex.R | 88414d4502415e2762e0776e41671fa7c85c83a8 | [
"MIT"
] | permissive | raunakms/hitndrive-R | eb154b31cf5ed3507ad21db9dd5ba4bc80de34bb | 2e341638211453eb4c3047289d9155d32b811874 | refs/heads/master | 2020-12-02T22:09:36.970820 | 2017-07-03T08:59:09 | 2017-07-03T08:59:09 | 96,090,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | run_cplex.R | run.cplex <- function(file.bash.script){
cat(paste(Sys.time()), "STARTING CPLEX TO SOLVE ILP ...","PLEASE WAIT ...","\n", sep="\t")
#path.cplex <- "/Data/Raunak/CPLEX/cplex/bin/x86_sles10_4.1/cplex"
path.cplex <- "/home/stas/Software/CPLEX/cplex/bin/x86-64_linux/cplex"
cmd <- paste(path.cplex, "<", file.b... |
53fff082f0ae20d07a0dcdf91d100bd8ff689304 | dc46dc7b43520abca7bd495852390ad01dfbde57 | /project2/ny_plot.R | d566f83317a9ff320c98c147e6173b91d43a854b | [] | no_license | datasci611/project-1-mingywang18 | df7ed0a8fa8128a981eda33cbfa9b7a4a132823b | 5df2db944692f32afe2006d315691e157d7241ca | refs/heads/master | 2020-03-29T16:09:54.716909 | 2018-10-22T21:59:23 | 2018-10-22T21:59:23 | 150,100,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 222 | r | ny_plot.R | library(tidyverse)
library(gridExtra)
library(kableExtra)
source("/Users/wmy/Desktop/data611/plot_yrtemp_function.R")
nc <- read.csv("/Users/wmy/Desktop/data611/KNYC.csv")
plot_temp(ny,"New York")
ggsave("ny_plot.png")
|
af4e673693fbd4dee1cf227afa007b0bbd62a827 | 3ad3ce5f38d636b649abd6e2e8741d482d8f6d72 | /man/prevsymbol_fn.Rd | 9e780f4883e625278c70541cb7d849bf69ce6181 | [] | no_license | cran/pubmed.mineR | 279ce024df5b7913885ec96ad906226aa78633ce | 7612a2d68f503794f8dee8479e8b388949e4b70d | refs/heads/master | 2021-12-09T18:39:44.578225 | 2021-11-26T14:50:03 | 2021-11-26T14:50:03 | 17,919,888 | 5 | 6 | null | null | null | null | UTF-8 | R | false | false | 1,179 | rd | prevsymbol_fn.Rd | \name{prevsymbol_fn}
\alias{prevsymbol_fn}
\title{
To extract the sentences containing Previous symbols of HGNC genes.
}
\description{
\code{prevsymbol_fn} will return the sentences containing previous symbols of the genes from the abstracts using HGNC data.
}
\usage{
prevsymbol_fn(genes, data, abs, filename, terms)
}
... |
40fa26912fe33d41711a9f0473757e3c4a9fc32b | 14e05de4dfaf028a5ebaca3ac04e969cafdee5e8 | /demo-jarque.R | d33ef8c2603670fcb3801c1486e0106c38a82ab1 | [] | no_license | spip333/demos-statistik | c7e4d9603aa0e4f10213ec084dcbea1775eb4f1a | ae7d07544ff3e3716c8fcc60a84e76c0bfca8a97 | refs/heads/master | 2020-04-10T00:44:25.444320 | 2019-01-22T16:11:28 | 2019-01-22T16:11:28 | 160,694,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 588 | r | demo-jarque.R | library(faithful)
eruption.lm <- lm(eruptions~waiting , data = faithful)
summary(eruption.lm)
# Sind die reste normalverteilt ? TEST
library(moments)
jarque.test(eruption.lm$residuals)
?jarque.test
#
# generate random numbers from normal distribution
v1 <- rnorm(10000, mean=10, sd=3)
jarque.test(v1)
#JB = 0.85028... |
a5e19c23db745b4cd7075b3cb866c3ca3e54d557 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/proxyC/examples/simil.Rd.R | 2eb159211744bb33dadc515da3802769e6181d85 | [] | 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 | 334 | r | simil.Rd.R | library(proxyC)
### Name: simil
### Title: Compute similiarty/distance between raws or columns of large
### matrices
### Aliases: simil dist
### ** Examples
mt <- Matrix::rsparsematrix(100, 100, 0.01)
simil(mt, method = "cosine")[1:5, 1:5]
mt <- Matrix::rsparsematrix(100, 100, 0.01)
dist(mt, method = "euclidean")... |
6ef7ce1b161d90dd8bd7984a015d292b02d34130 | e3cce5b3c80a9e1df678ef1d9e42dcb8d22b9fa1 | /Lineweaver Burk FINAL.R | 68483eed37aeb8c1dd85ec65021abd2c53453c97 | [] | no_license | JiangQunyang/Mypackage | fcef798d37813d0d6d60ebffa6654565e047d04f | 816163ec20c5902c097e6000bb9459d35a59102d | refs/heads/master | 2020-01-23T21:06:41.062531 | 2016-11-27T16:23:41 | 2016-11-27T16:23:41 | 74,576,383 | 1 | 1 | null | 2016-11-24T16:26:51 | 2016-11-23T12:50:21 | R | UTF-8 | R | false | false | 2,841 | r | Lineweaver Burk FINAL.R | ## Test data
S <- c(0,1,2,5,8,12,30,50) #0's no longer need to be removed
V <- c(0,11.1,25.4,44.8,54.5,58.2,72.0,60.1)
#Alternative Test Data
#S <- c(2.5,3.5,5,10,20,50)
#V <- c(32.3,40,50.8,72,87.7,115.4)
## Read in to a data frame
ReadIn <- function(S, V){
Inv.V <- 1/V # Lineweaver-Burk (y)
Inv... |
01af19e1137a65d065a405395dc9943d31fd44aa | 2a002aa01c0bfa6041298b5f8b7fb017c6277501 | /man/br_temp.Rd | da01d1f13ddb4be402982e4f7f7eabe5983c48f8 | [] | no_license | RichardLemoine/LSTtools | 185fdd168eb0ccf80fb28a7de4894e6d926d1dda | 4cd5a3b90d954c7f3b7dc99449268f7d4e94f6f7 | refs/heads/master | 2022-12-29T02:40:06.582598 | 2020-10-15T14:13:24 | 2020-10-15T14:13:24 | 285,254,084 | 7 | 3 | null | null | null | null | UTF-8 | R | false | true | 2,089 | rd | br_temp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/landsat_preprocessing.R
\name{br_temp}
\alias{br_temp}
\title{br_temp}
\usage{
br_temp(
x,
band = "",
conv = TRUE,
mult = NULL,
add = NULL,
k1 = NULL,
k2 = NULL
)
}
\arguments{
\item{x}{Image band in DN to be converted.}
\item{... |
254097991511835084359aaf8064a319b43d2341 | c4b195fe15bd50be87eee1d9461221ae4dfdebb7 | /tests/testthat/test_plotJunctionDist.R | 99e77f9f708428ebae84d4f187ececaa07a8e52e | [] | no_license | ischeller/FraseR | 1c3f758d220109efc33afa09d5ebc7ff4ad0ef22 | 34dc4fb9713c37edda30a2ea06efc2c0777e8ab7 | refs/heads/master | 2020-08-09T00:28:56.164226 | 2019-10-08T14:24:42 | 2019-10-08T14:24:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 449 | r | test_plotJunctionDist.R | context("Test distribution plots for given results/junction")
test_that("Main junction distribution plot", {
# get results
fds <- getFraseR()
res <- results(fds, fdrCut=1)
# plot distributions
expect_silent(plotJunctionDistribution(fds, res[res$type == "psi5"][1]))
expect_silent(plotJunctionDi... |
6ac4ea627ae28d54e20e0c085301c3c5748fc387 | 725a33f27fce430ee481a3542aae5bb81a94dfc0 | /man/print.PTXQC_table.Rd | c5e4699e41ecdce6ded1b74c5eaea35ef7db7678 | [
"BSD-3-Clause"
] | permissive | cbielow/PTXQC | fac47ecfa381737fa0cc36d5ffe7c772400fb24e | f4dc4627e199088c83fdc91a1f4c5d91f381da6c | refs/heads/master | 2023-07-20T00:39:45.918617 | 2023-05-17T14:23:03 | 2023-05-17T14:23:03 | 20,481,452 | 41 | 30 | NOASSERTION | 2023-05-17T14:23:04 | 2014-06-04T11:53:49 | HTML | UTF-8 | R | false | true | 469 | rd | print.PTXQC_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fcn_plots.R
\name{print.PTXQC_table}
\alias{print.PTXQC_table}
\title{helper S3 class, enabling print(some-plot_Table-object)}
\usage{
\method{print}{PTXQC_table}(x, ...)
}
\arguments{
\item{x}{Some Grid object to plot}
\item{...}{Further ar... |
b22f39fba4e068e8ab15482558bff3dd40e39729 | 8ea1bbb1155daab7511033f7837830f45764c136 | /MinneМудак.R | a7bc2e12bbcf87fa392daca95bd194f67d8825f0 | [] | no_license | hssmikey/MinniMUDAC | 536a8848d3ee1b3f47dd369dfeee4259db0c1393 | 94756f4a12bc567c32c86efb5d8f9dc942e26b7e | refs/heads/master | 2021-01-04T13:40:33.264745 | 2018-11-03T02:55:55 | 2018-11-03T02:55:55 | 240,578,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 196 | r | MinneМудак.R | library(readr)
library(haven)
df <- read_sav("Downloads/anes_timeseries_cdf_sav/anes_timeseries_cdf.sav")
write_csv(df, "anes_timeseries.csv")
df <- read_csv("anes_timeseries.csv")
View(head(df))
|
3138f4d3d11684d44fcaa01e0796677d34f3cc8f | 50c60b91d6f6ea69474431f60500ee64e6597345 | /Amazon_Cellphone_Review/Final_Project.R | 4535c5c725f5243168d2bff0ee834ec8babc70ef | [] | no_license | LvNintyThousand/Artificial-Intelligence | 7cd52be780877835bc721d580743f14bfc239885 | befe15010e4fd15fdf1e84f500eba9f3553df385 | refs/heads/master | 2021-05-18T00:32:47.754994 | 2021-03-28T21:27:43 | 2021-03-28T21:27:43 | 251,024,893 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,947 | r | Final_Project.R | ## Data Analysis of Amazon Cellphone review
#1. library prep:
library(tidyverse) # general utility & workflow functions
library(tidytext) # tidy implimentation of NLP methods
library(topicmodels) # for LDA topic modelling
library(tm) # general text mining functions, making document term matrixes
library(Sn... |
15e33c1ea94bb1a2291b847d07e1810d908a22fc | a8ec0c59d2bca0fe0f571e7b3d358aad4ef43360 | /transmission.error.R | 5088daf98559044ebe083899cfc6ce4f3d15a03b | [] | no_license | dyurovsky/EvoLang | 97e0659be6f40de6cecc3c5a2a4b7f38852021be | 637e450381ed4c4635e1c091e44bbda0eb257e91 | refs/heads/master | 2016-09-06T09:48:40.725172 | 2014-08-15T00:04:46 | 2014-08-15T00:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 598 | r | transmission.error.R | #Normalized Levenshtein distance function
normLev.fnc <- function(a, b) {
drop(adist(a, b) / nchar(attr(adist(a, b, counts = TRUE), "trafos")))
}
#Read in data. Row 1 = input data. Row 2 = participant 1.
data <- read.table("data/words.csv",sep=",",header=TRUE, row.names=1,
stringsAsFactors=FALSE... |
5f70c529cf38bd8be5d3c004cb359e06915ae164 | f339641cefa9025ef94fe53c9d23856b4ac69933 | /R/MakeTable.R | 743b9b90f5cda0d3222b31839bf4e35f67d80b04 | [
"MIT"
] | permissive | sjbeckett/localcovid19now | 8ba7f044d8e7458cb4c8c490c8389b596624c84f | af7979dd7e4b1f73751617bd2bae17bdbd285184 | refs/heads/main | 2023-04-17T21:06:30.905493 | 2023-01-23T18:31:06 | 2023-01-23T18:31:06 | 413,489,189 | 4 | 4 | MIT | 2022-12-23T18:10:25 | 2021-10-04T15:53:44 | R | UTF-8 | R | false | false | 3,571 | r | MakeTable.R | #' Calculate Risk
#'
#' @description Calculates the percentage probability that one or more persons in a group, of a particular size g, may be infectious given the underlying prevalence of disease.
#'
#' @param p_I Probability one individual in a population is infectious.
#' @param g Event size.
#'
#' @return The risk ... |
f6eba41092ae6388637ce42788bdf6769028d328 | b9db037ee7bc2ebf9c228ad1f66fecabccfa70be | /R/data.R | 28021d9cd9efdf1942ce714734b278d7ad87605d | [] | no_license | IsaakBM/prioritizr | 924a6d8dcc7c8ff68cd7f5a2077de2fa1f300fe7 | 1488f8062d03e8736de74c9e7803ade57d6fcc29 | refs/heads/master | 2020-12-10T06:23:19.437647 | 2019-12-22T00:04:20 | 2019-12-22T00:04:20 | 233,524,401 | 1 | 0 | null | 2020-01-13T06:13:19 | 2020-01-13T06:13:18 | null | UTF-8 | R | false | false | 6,284 | r | data.R | #' @include internal.R
NULL
#' Simulated conservation planning data
#'
#' Simulated data for making spatial prioritizations.
#'
#' \describe{
#'
#' \item{\code{sim_pu_raster}}{Planning units are represented as raster data.
#' Pixel values indicate planning unit cost and \code{NA} values indicate
#' that a pixel is... |
d87c729fe0c7ad0132c118e69f6d61f2a8340558 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/doremi/examples/predict.doremi.Rd.R | f2fa74ee398575c8660ab9ba0cc41e042dd40ca3 | [] | 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 | 867 | r | predict.doremi.Rd.R | library(doremi)
### Name: predict.doremi
### Title: S3 method to predict signal values in a DOREMI object when
### entering a new excitation
### Aliases: predict.doremi
### ** Examples
myresult <- remi(data = cardio[id == 1],
input = "load",
time = "time",
signal... |
89f9a3272668416a049eb28a069d65cc3f78cc81 | f2a039179f24429d35067d9b9a2a5c594d1ca409 | /bayes-env/stan-italy.R | 62b47e3e30f28976f0747041bfe125f6cbe53e09 | [] | no_license | stemkov/Tyrell | 673de757cf675c2435f43b7f2d06689521ef8b0a | 8995d9d20025b75ecbc81ae942fc6db22977f178 | refs/heads/master | 2022-10-10T02:59:03.185572 | 2020-06-08T16:58:15 | 2020-06-08T16:58:15 | 266,138,726 | 0 | 0 | null | 2020-05-22T15:03:28 | 2020-05-22T15:03:28 | null | UTF-8 | R | false | false | 3,628 | r | stan-italy.R | # Headers
source("../../src/packages.R")
source('Italy/code/utils/read-data-subnational.r')
source('Italy/code/utils/process-covariates-italy.r')
args = c('base-italy', 'google', 'interventions',
'~ -1 + residential + transit + averageMobility',
'~ -1 + residential + transit + averageMobility'
... |
19d8522e60077d2d6794d8baa53ab9eae808f992 | b12c8e086b5cf7791b77c863c22a5ce57c6e3a82 | /extract/Process Landcover.R | 01d6f7c07981898580f8725535d0b5b2c711f6b9 | [] | no_license | mcooper/lc-malnutrition | c3ff1121515af86360032d3808e1aa2e5a9805fa | 5b515745b3148bc129c79d7309d6a51042a72f1b | refs/heads/master | 2021-06-19T14:08:28.535796 | 2021-02-02T22:25:14 | 2021-02-02T22:25:14 | 176,567,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,389 | r | Process Landcover.R | setwd('G://My Drive/DHS Processed')
library(dplyr)
lc <- read.csv('landcover.csv')
ag <- paste0('cci_', c('10', '11', '12', '20', '30', '200', '201', '202', '220'))
urban <- 'cci_190'
natural <- paste0('cci_', c('40', '50', '60', '61', '62', '70', '71', '80', '90', '100', '110', '120', '121', '122',
... |
742f7bc125ec3f45eeb8311df7c3dc83bebcffc2 | 34b84a3e020f89620baf815005070771ad0d3718 | /tests/future_eapply.R | d5a92d23b0b6e571b1323cabb85159b6ca30f9f3 | [] | no_license | HenrikBengtsson/future.apply | bf6f2d4c2fbb676413f6fd35ce779a48f1f17223 | f91d4650a488666f8fb66d9482e2ee2e41e8a0c3 | refs/heads/develop | 2023-08-05T16:12:09.837448 | 2023-05-26T20:56:42 | 2023-05-26T20:57:10 | 101,941,395 | 212 | 16 | null | 2023-09-06T09:59:06 | 2017-08-31T00:28:31 | R | UTF-8 | R | false | false | 964 | r | future_eapply.R | source("incl/start.R")
message("*** future_eapply() ...")
message("- From example(eapply) ...")
for (strategy in supportedStrategies()) {
message(sprintf("*** strategy = %s ...", sQuote(strategy)))
plan(strategy)
env <- new.env(hash = FALSE)
env$a <- 1:10
env$beta <- exp(-3:3)
env$logic <- c(TRUE, FAL... |
a2b24cd72a3bfd3cb59c28c4575714eb860c52b6 | 0a56f9c7da7b2a7ff77a0e91693a6bbb2c6a5a79 | /plot3.R | 50487462b779ec4308c442df20cae9bed698f017 | [] | no_license | aman2000jaiswal14/ExData_Plotting1 | 9f9f193354fbc9381e5efc551bfc80c9c064528b | bafacfd5cfe94b7d6a6be628feabc5acc37a7793 | refs/heads/master | 2022-11-13T10:12:05.213517 | 2020-07-02T07:52:35 | 2020-07-02T07:52:35 | 276,296,186 | 0 | 0 | null | 2020-07-01T06:31:59 | 2020-07-01T06:31:59 | null | UTF-8 | R | false | false | 746 | r | plot3.R | library(dplyr)
library(lubridate)
path<-"household_power_consumption.txt"
df <- read.table(path,header=T,sep=";",na.strings="?")
df<-rename(df,date=Date,time=Time)
df$date=dmy(df$date)
df<-subset(df,date==dmy("01022007") | date==dmy("02022007"))
df$datetime<-paste(as.character(df$date),df$time,sep=" ")
df$datetime<-ymd... |
fae650bc3e462431f9a2fe7b7d1ae04e5bb6b401 | cf03069c7517b72c355283060a1d9b030947160e | /man/gerar_gatito.Rd | da39a7762390cf1dc4fede71b71fea1d9ea8a255 | [
"MIT"
] | permissive | curso-r/gatitos | 70b28a07a62483518f880beb4eb466e4210a4a82 | 6f41d5d2a4cf21dcb7b9b3405ff9433c12446559 | refs/heads/main | 2023-08-18T06:04:38.247200 | 2021-09-18T20:54:13 | 2021-09-18T20:54:13 | 407,944,311 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 283 | rd | gerar_gatito.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gerar-gatito.R
\name{gerar_gatito}
\alias{gerar_gatito}
\title{Gerar gatito aleatório}
\usage{
gerar_gatito()
}
\value{
Não retorna nada. Apenas plota o gatito.
}
\description{
Gerar gatito aleatório
}
|
3bbd16eaf6ebe5f9182f144a9f73e99ab2a59665 | 3aa5f28626782b046730018b9727f3bcd1ce024b | /ch_2__vec_and_dfs/10__Vectorized_operations.R | fa8380ba8bd8032c3413a9de1aa9dfd7f74e09ca | [] | no_license | asamadgithub/R__complete | 1c854d56f4f3add69256c011c8871b911a108886 | 3d3899aa77958e305bc8a523ed4afd946822bf15 | refs/heads/master | 2022-11-26T23:19:17.183332 | 2020-08-04T15:36:35 | 2020-08-04T15:36:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 503 | r | 10__Vectorized_operations.R | # why previously used is not so much used in R
v1 = seq(1,10,1)
v2 = seq(11,20,1)
# additionof vector-a , vector-b
v3 = v1 + v2
# For numerical concatination
v_num = c(v1,v2)
# boolean operation between vectors
v4 <- v1 > v2
# if vector lengths are not equal, then "R"
# will perform recycling of smaller vector i... |
cea57b8649c542aa5eee746caf13a27da22d54e5 | de22f36730a47e4e0933f34369b2a60b59f9c68b | /Lekcja 4/L4.R | c8bc797ba321b1844503a9a9c0c80f449f891501 | [] | no_license | JohnyP41/STA | 0ae0a2a687bcda82e3aacb3776546736358bdd97 | f7ef5546079d4fa5150ddb9400e16992e2bc0143 | refs/heads/master | 2020-04-04T20:11:38.102821 | 2019-03-31T13:49:01 | 2019-03-31T13:49:01 | 156,237,190 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | r | L4.R | #Zadanie 1
#b
awarie <- read.table('Awarie.txt')
library(EnvStats)
eexp(awarie$V1, ci = TRUE, ci.type = "two-sided", conf.level = 0.95)
#Zadanie 2
#a
load("Pomiary.RData")
head(Pomiary)
qqnorm(Pomiary$V1)
qqline(Pomiary$V1,col='red')
#b
library(EnvStats)
enorm(Pomiary$V1, ci = TRUE, ci.type = "two-sided", conf.level = ... |
863483e22f643920d78c2477927404f768bf8e6f | cb54eb7a09f528f3ba692e1ee0b1801b5f38f859 | /scripts/post_gres.R | 135d250bf447cfc22058f1a05441f269c1f3a9a7 | [
"MIT"
] | permissive | martin-gleason/training_postgres_r | f7948c55d292b8d2557e16852381e97cc760b457 | 4d70e297ba7f0eccf7bf8e35f2711afe05e4f5df | refs/heads/master | 2020-05-20T14:39:11.805590 | 2019-06-10T21:39:57 | 2019-06-10T21:39:57 | 185,627,239 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50 | r | post_gres.R | #Postgres
library(tidyverse)
library(RPostgreSQL)
|
5fba54de3977a96e4a32c184e85c267e6921637e | 1d7b001652c4a29fd464e9795f17f4353cd5ceeb | /man/multistate.Rd | c8017bcbbd7b692d8bdacb445eeccd5ddccc4d0a | [] | no_license | amayer2010/lsttheory | b1d0cc2150634bfd0c85692f2585ec91f788abf5 | 2e1f868e6afca0f6e6955b3e82e8e162ff9e405b | refs/heads/master | 2022-12-02T14:24:28.412614 | 2022-11-21T20:01:55 | 2022-11-21T20:01:55 | 14,995,999 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 381 | rd | multistate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/00documentation.R
\docType{data}
\name{multistate}
\alias{multistate}
\title{Dataset multistate.}
\format{
A data frame with 400 rows and 4 variables
}
\description{
A simulated dataset. The variables are:
}
\details{
\itemize{
\item y11.
... |
674e31dcd66df845abcb06801cf5921cce42f0d8 | 279175ef2e145e1d4caaba1f4fa0743de6948582 | /R/tidycols.R | 63238feda00030b41e0377db070879af93599b72 | [] | no_license | neugelb/fb2ga | ed896bd544fc42a3d4beb2acd62874db3bdf5706 | f15be850a0e6642182bf774daf4c1e5949ee1a4e | refs/heads/master | 2020-05-27T01:35:53.756739 | 2019-06-06T09:41:07 | 2019-06-06T09:41:07 | 188,439,309 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 417 | r | tidycols.R | #' tidycols
#'
#' An easy function for cleaning up column names
#' @param df Your data frame
#' @export
tidycols <- function(df) {
require(snakecase)
dfnames <- colnames(df)
dfnames <- to_snake_case(dfnames,sep_out = "_")
dfnames <- tolower(gsub(" ","_",dfnames))
dfnames <- gsub(".","_",dfnames,fixed=TRU... |
89f7cbce0034e1c36287920a173290234385abab | 9690857dc27aedec79cb4b71b0edaebcfee3c65b | /brownian_stuff/BrownianFractar.R | 4ed4ad5a384d8fb07f10357546fc351ebb2d58a7 | [] | no_license | inuzm/Funsies | f1920cd8d9e287192f79f16dd0e8fbda8bf4c7c2 | e14f1277cefb12779ee900f60862396092f12680 | refs/heads/master | 2020-04-24T17:17:57.309217 | 2020-03-11T23:28:10 | 2020-03-11T23:28:10 | 172,141,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,647 | r | BrownianFractar.R | require(pracma)
require(ggplot2)
brownian.xy <- function(n = 1, Time = 1, x, y){
vtime <- seq(from = 0, to = Time, by = Time / n)
brown <- c(0, cumsum(rnorm(n = n, sd = sqrt(Time / n))))
bridge <- x + brown - vtime * (brown[length(brown)] + x - y) / Time
return(bridge)
}
rare.brown <- function(n = 1e4... |
f3671c3fcafb0d5038139485c9bd412ff8f2087e | 12cdcabbc263d7dd18823feb5f59e3449fe57649 | /Cluster/Cluster.R | 6329d4d4af94396f19d179b4243ebed968e87c9a | [] | no_license | saraselis/Machine-Learning-em-R-IESB | cb2d96d0d1bdbd79ddb8d311921181e4022b9230 | d4fa94911c9db34677d68034b1c07821f4f22c0f | refs/heads/master | 2020-06-14T03:01:13.905315 | 2019-08-10T01:06:22 | 2019-08-10T01:06:22 | 193,600,144 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,445 | r | Cluster.R | #Pacotes necessario
#install.packages('stringr')
library(stringr)
#install.packages('dplyr')
library(dplyr)
#install.packages("data.table")
library(data.table)
#install.packages('randomForest')
library(randomForest)
#install.packages('caret')
library(caret)
#install.packages('caTools')
library(caT... |
ddda840aae6156bdd8648e38e2da9d698dfbb68b | 7e9b94827b22ec9ff83315a74952325fd3d0036e | /app/server.R | 59e4de4ee078f5ab4a00510858781f8cb94cf407 | [] | no_license | kwhitehall/Shiny_app_Azure | 95f670965111e04535e031b39d27fe9714cc92f7 | 49ae28ac92b1060df4f5db733cc0cc42814a2b02 | refs/heads/master | 2020-05-01T01:02:16.638411 | 2019-04-03T19:24:38 | 2019-04-03T19:24:38 | 177,185,015 | 10 | 8 | null | null | null | null | UTF-8 | R | false | false | 3,087 | r | server.R | #
# This ShinyApp shows how to evaluate and compare
# the quality of linear models.
#
library(shiny)
shinyServer(function(input, output) {
# Reactive value that triggers plot update and stores fitted values
v <- reactiveValues(fitted_values = NULL,
r2 = NULL)
# When action button was t... |
f07a49a02de77131e20c210c2c194e76728df945 | 744eb9be6455f86de1c53c571a5051a8ce7d1ac4 | /DabblingSK.R | db416a4ceef09e558028ee5d99dedce5b7b964e7 | [] | no_license | derek-corcoran-barrios/Meta | 77037a4bb48a9ef8a2a216369609e90c470f3e0f | 7794a07c4ddb4f1c3136786882bd3f62095157ab | refs/heads/master | 2021-03-19T13:24:17.685664 | 2017-03-27T01:00:13 | 2017-03-27T01:00:13 | 82,729,469 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,963 | r | DabblingSK.R | #Load the data
newDat <- readRDS("newDat.rds")
SK <- readRDS("SK.prairie.banding.rds")
#Load packages
library(lme4)
library(boot)
library(merTools)
library(ggplot2)
library(dplyr)
#Group Birds by year
SK.by.year <- group_by(SK, year)
#Calculate the Observed proportion of youngs by yeat
SK.by.year <- summarise(SK.by... |
23d56e3610a8e958dbc64ab3b9dda6f60c855b68 | fd6f271a68c5bf575c3db49a828be1e40bfc8856 | /man/taxaExtent.Rd | a4e049eae90f407050e5a74b244f878bab2d70d6 | [] | no_license | cran/soilDB | 57df11e3b59c4d575fe796de0abfaec1f7ac34b6 | 7e0bd1a50c268319003d47376c4525da51ac7b0d | refs/heads/master | 2023-09-06T04:30:47.133326 | 2023-08-29T06:20:02 | 2023-08-29T08:31:36 | 17,699,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 9,829 | rd | taxaExtent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/taxaExtent.R
\name{taxaExtent}
\alias{taxaExtent}
\title{Get SoilWeb 800m Major Component Soil Taxonomy Grids}
\usage{
taxaExtent(
x,
level = c("order", "suborder", "greatgroup", "subgroup"),
formativeElement = FALSE,
timeou... |
fde3c789f3e3bb787107d48dfa60a59d05dc81e4 | fbcdb1aae40c7296f5b5edfc2bc59a5669496df2 | /R/TextAndWebMining/sample4.R | e1ba97e7378e565e129fb75efd331378b98a6424 | [] | no_license | Fr4nc3/code-hints | b9db1e6b4697fc6932d92e5977a8fbc8d2a8d591 | 931575a9bd7f843fca006c6616754b49161dcb50 | refs/heads/master | 2023-02-05T23:07:24.085366 | 2022-08-11T13:00:59 | 2022-08-11T13:00:59 | 52,673,727 | 5 | 3 | null | 2023-01-31T22:44:42 | 2016-02-27T15:37:48 | HTML | UTF-8 | R | false | false | 16,941 | r | sample4.R | ##########################################
# Francia Riesco Assignment 3
# 09/21/2017 (LAST HOMEWORK)
##########################################
##########################################
# Francia Riesco Assignment4
# 10/02/2017
##########################################
setwd("D:/studies/2017-fall/CS688/hw/")... |
6decbb630008bd9c8744069880c3c3b484b5c2d5 | 4438b9d57caabb783f10b974965328e57e7b371b | /man/input_db_runID.Rd | 02f4eafce9b6a998c912308960899c8ef2cab91e | [] | no_license | UniK-INES/dexR | 77a16689127f4c8fad1f6c866874603ca0d8f9e2 | 4e344b1cdc6aa08196777d5cbc988c3f8e38fe96 | refs/heads/master | 2023-06-06T10:06:11.977871 | 2021-06-30T15:21:44 | 2021-06-30T15:21:44 | 262,249,253 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 396 | rd | input_db_runID.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dexr_input_db.R
\name{input_db_runID}
\alias{input_db_runID}
\title{Generate run ID string of the given database configuration.}
\usage{
input_db_runID(dexpa)
}
\arguments{
\item{dexpa}{}
}
\value{
run ID string
}
\description{
Generate run I... |
962154532206500afa529b1c8fd1f11f29a2ee63 | 9e47bdcdaf8ab743c82637964d65e9bf3dfda8b5 | /scripts/2_criar_tabela_candidatos.R | e0d1e089614ef250999fe50c43fe2d94c7cb6a27 | [] | no_license | tatianass/meu-prefeito | 0968219e80b2308977ce6f86907ab02f27cb1881 | d77c8a9e4d58055f43d75316bfc52d1548de717b | refs/heads/master | 2021-01-12T12:42:13.338614 | 2016-11-10T20:04:07 | 2016-11-10T20:04:07 | 69,097,794 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,571 | r | 2_criar_tabela_candidatos.R | source("imports.R")
source("util.R")
# Informacoes pessoais dos candidatos
informacoes_pessoais_candidatos <- read.csv("../data/2016/consulta_cand_2016_PB.txt", sep=";", header = F, stringsAsFactors = F, encoding = "latin1", col.names = c("Data_geracao","Dora_geracao","Ano_eleicao","Num_turno","Descricao_eleicao","Sig... |
e15421521c4f4af138f02300cfde3d09e6160350 | 4a0d267ab45daf3e675a3e6e8a73f8c6457fb582 | /R/assert-internal.R | 0c55a6be5d867713bd9432449377e0cdf5c3903b | [
"MIT"
] | permissive | chitrita/bcbioSingleCell | 4409799bef87b6ef70776e189a6636d0ba83b146 | 8907332b9193cae538106b2b52a03656fcfbb651 | refs/heads/master | 2020-04-10T22:45:28.143142 | 2018-12-01T18:06:53 | 2018-12-01T18:06:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 249 | r | assert-internal.R | .isAggregate <- function(object, stop = FALSE) {
logical <- "aggregate" %in% colnames(object)
if (
identical(logical, FALSE) &&
identical(stop, TRUE)
) {
stop("`aggregate` column is required")
}
logical
}
|
e6188a4e9b3c8762122a9cabcd9f37ed7c611288 | cbe44f0dca20bba077801c4b14cf8c64d5b7d352 | /man/question_1a_003_charts_latitude_longitude_min_temp.Rd | 18f4c3011eaaae54065e0c0ae4259984e1637df2 | [] | no_license | s1888637/weathr | 1ced821f4bec8bf39cb38123960d9b59d3cc80d0 | 3adfd7fd3149ee2b8a2f32577d6ed5695b7450b4 | refs/heads/master | 2020-05-29T19:49:21.974074 | 2019-06-05T19:15:26 | 2019-06-05T19:15:26 | 189,339,729 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 428 | rd | question_1a_003_charts_latitude_longitude_min_temp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/question-1a-003-charts-latitude-longitude.R
\name{question_1a_003_charts_latitude_longitude_min_temp}
\alias{question_1a_003_charts_latitude_longitude_min_temp}
\title{question_1a_003_charts_latitude_longitude_min_temp}
\usage{
question_1a_00... |
58fc67a83d8e8e371ec84c99899b7019ca676a0f | 4b02f42b79947ee0014fb3478fa255d1ee363314 | /bin_crush/gcc4DingY_20121022.R | 3c14b6f113d5dcc0a6ef673358b9cbe442d22594 | [] | no_license | mavishou/project | 0893b82135322570abd3e5b2373e570f717b0318 | 4b8943a40924ca61b90f1f8ca66b7ed3c18975ef | refs/heads/master | 2021-01-22T05:33:34.865770 | 2014-11-14T14:35:24 | 2014-11-14T14:35:24 | 24,197,639 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | r | gcc4DingY_20121022.R |
#get gcc between 2 genes
#from R package rsgcc v1.0.4, edit by Hou Mei
gcc <- function( x, y ) {
if (!is.vector(x))
stop("x must be a vector.")
len = length(x)
if (!is.vector(y) || len != length(y))
stop("x is a vector; y should be a vector of the same length")
#sort x
tmp <- sort.int... |
1743f03f881c06e3c8257b349ac8b5b2b46b37fc | fa6104f6253d9e1b950b4ff5afb2a067ff1fcebe | /R/udfs/raster_percentile_reclassifier.R | 2728cb7e13c287cc338bd9d75082bf750025c122 | [] | no_license | l5d1l5/Hotspots | 513b947091198f27b8233d77489f1307e4e78c6f | 8930ef8cc52a733998dd47a1d510df0412d82615 | refs/heads/master | 2023-08-16T15:05:25.100593 | 2021-10-20T22:03:23 | 2021-10-20T22:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,131 | r | raster_percentile_reclassifier.R | # RasterAreaPercentiles ----
# Reclassify a raster into area-weighted percentiles
RasterAreaPercentiles <- function(RasterToClassify, WeightRaster, MaskRaster, clipToExtent, CRS.set, ext.set){
# @RasterToClassify: Input raster
# @WeightRaster: Typically representing cell area
# @MaskRaster: Binary raster indica... |
270c4a25a38596f8f106571eb9e8635c7758923e | 364d3c7f7b87095baadbbacefb69a0a7c107c87c | /man/set_hparams_glmnet.Rd | 164a6d06c2ec18a2bb9c50d6661c729a0e37472b | [
"MIT",
"CC-BY-4.0"
] | permissive | SchlossLab/mikropml | 32c9d0cd7351d667b2fc7522eabdcfb73e28d699 | 3dcc9bc0c49e0e65714fd9a1e0045a749ada76e8 | refs/heads/main | 2023-06-11T15:23:19.409104 | 2023-04-15T17:02:49 | 2023-04-15T17:02:49 | 226,981,416 | 41 | 12 | NOASSERTION | 2023-08-21T15:44:37 | 2019-12-09T22:37:38 | R | UTF-8 | R | false | true | 456 | rd | set_hparams_glmnet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hyperparameters.R
\name{set_hparams_glmnet}
\alias{set_hparams_glmnet}
\title{Set hyperparameters for regression models for use with glmnet}
\usage{
set_hparams_glmnet()
}
\value{
default lambda & alpha values
}
\description{
Alpha is set to ... |
1086fb6666135619c3ab5a4cfd98dc6251f692b5 | c5c850791e054f5e4bcc559abf9fb71c22b79e80 | /R/abs_stdapdC.R | 49f7d8114f1ca89a1e93f91d9821536dcb0f7e74 | [] | no_license | cran/generalCorr | 3412664373559d8f03d0b668bb6a5b6bdac40f2b | 6a26d66ddee3b518f34a64d25fdaa5e13a5a45a1 | refs/heads/master | 2023-08-31T09:59:03.135328 | 2023-08-16T16:24:36 | 2023-08-16T18:30:25 | 57,865,966 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,208 | r | abs_stdapdC.R | #' Absolute values of gradients (apd's) of kernel regressions of x on y when
#' both x and y are standardized and control variables are present.
#'
#' 1) standardize the data to force mean zero and variance unity, 2) kernel
#' regress x on y and a matrix of control variables,
#' with the option `gradients = TRUE'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.