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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
189b52507c949ce9e6e1e981ccdfdbd103cb93a6 | f9c6ab2809c85c3eb4bb6cda84f274f2907806a7 | /texttwit.R | dcdcfb12ff2918f2e1392dee6b56f0acdbd56bad | [] | no_license | monicamurugesan/Text-Mining-DS | e00347170a1db464d8811c67a2db66254acaf394 | b0a2e247cae2d79df73dce05727e447672077e21 | refs/heads/master | 2022-12-14T21:52:49.239038 | 2020-08-27T15:01:01 | 2020-08-27T15:01:01 | 290,805,403 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,417 | r | texttwit.R |
#devtools::install_github("jrowen/twitteR", ref = "oauth_httr_1_0")
library("twitteR")
#install.packages("ROAuth")
library("ROAuth")
cred <- OAuthFactory$new(consumerKey='BagGgBbanzbdpPNNp8Uy6TQBP', # Consumer Key (API Key)
consumerSecret='pFxap1Jzc1fClDQ9psLNU3RKSQ5FvS2PhJz8E2R7ix0caw... |
97f3bc00e733ed835752ab34ff9e72f7800e6dd0 | e77fb8b6c6c756c0f392b3d7846688af04ca587b | /hw10/00_DownloadFiles.R | aed258b6179df5518e02673034272bb4ec6b68fe | [] | no_license | gbraich/STAT547-hw-Braich-Gurneet | 2d3f6f9f4df3777b3db854e428280caa92d0b5f1 | ae34ed1776943b4d295f227b905d42c01a1795ce | refs/heads/master | 2021-08-28T10:02:59.798137 | 2017-12-11T23:35:35 | 2017-12-11T23:35:35 | 109,421,418 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,963 | r | 00_DownloadFiles.R | library(rvest)
library(readr)
#Let's download some data on cities, specifically on top 50 ranked cities by quality of living. Let's also get their population data
#Download Mercer quality of living rankings (top50) from Wikipedia by scraping using rvest
url <- "https://en.wikipedia.org/wiki/Mercer_Quality_of_Living_S... |
38c4353c35456c5d725a751b02a3db417c9189dc | 46c1d2ae7a3e5deaaa56ead7c1e25f672723508b | /data/random/generator.R | cbf52ae6706c36ee1be195ee68493430779d99e8 | [
"MIT"
] | permissive | ACharbonneau/upset | 4e832fef00b7727ee1703f2a6481935224a51784 | effc33d97bb5a2506997c6cfaefe7598855556fe | refs/heads/master | 2022-08-29T11:08:08.889247 | 2022-08-16T19:04:08 | 2022-08-16T19:04:08 | 236,061,707 | 1 | 1 | MIT | 2020-01-24T18:41:59 | 2020-01-24T18:41:58 | null | UTF-8 | R | false | false | 278 | r | generator.R | # Random Set Generator for UpSet
membership = function( p ) {
return ( runif( ))
}
# number of items to generate
i <- 1000;
# number of sets to generate
s <- 10;
# probability of an item to be contained in any given set
p <- 0.5;
sets <- matrix( 0, nrow=i, ncol=s );
|
b1b3b5861462d0b8d544d9950fa788cd63668917 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/multilevel/examples/sam.cor.Rd.R | 9a103accf22d8a9707781d7afeefbbfce25ce068 | [] | 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 | 277 | r | sam.cor.Rd.R | library(multilevel)
### Name: sam.cor
### Title: Generate a Sample that Correlates with a Fixed Set of
### Observations
### Aliases: sam.cor
### Keywords: programming
### ** Examples
data(bh1996)
NEWVAR<-sam.cor(x=bh1996$LEAD,rho=.30)
cor(bh1996$LEAD,NEWVAR)
|
e8515bc4ef48d7c196f68781990f69852445b1ab | ebd99d96b39898c5590d4914b3c0a737875ca39b | /tests/testthat/test-occ_download_datasets.R | 551a597d1745faa3b6e8b9e84d88c82336673786 | [
"MIT"
] | permissive | ropensci/rgbif | 6071ec87eb87763757bdfd7c8ffd8f32c0df72a3 | e2853dbd4be02f524dd85c4bbfdb60ef2057c09b | refs/heads/master | 2023-08-31T10:24:08.427742 | 2023-08-31T08:12:11 | 2023-08-31T08:12:11 | 2,273,724 | 127 | 68 | NOASSERTION | 2023-09-11T07:31:43 | 2011-08-26T11:28:18 | R | UTF-8 | R | false | false | 1,122 | r | test-occ_download_datasets.R | context("occ_download_datasets")
test_that("occ_download_datasets", {
skip_on_cran()
skip_on_ci()
vcr::use_cassette("occ_download_datasets", {
tt <- occ_download_datasets("0003983-140910143529206")
})
expect_is(tt, "list")
expect_is(tt$meta, "data.frame")
expect_equal(sort(names(tt$meta)),
c("... |
b80e98333f46fa393c4d3b069dc174b4f3941fff | a86fbd6fd727c20fe94cbf1c3cfa469a460f83b6 | /code/plot/fig7_plot_root_freqs.R | 1dfd5bd346db89492ccac2916f19b7108d5aaed7 | [
"MIT"
] | permissive | mlandis/biome_shift | 040acf5c9644a9da01ed4aa5d041f8edfba63f9c | 2a616f3f0efe725f531a5bfbba0f4163e3e122c8 | refs/heads/master | 2023-03-31T11:54:28.173610 | 2021-03-25T17:35:58 | 2021-03-25T17:35:58 | 233,412,205 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,318 | r | fig7_plot_root_freqs.R | library(HDInterval)
library(ggplot2)
library(reshape2)
library(ggridges)
library(dplyr)
library(bayestestR)
source("biome_shift_util.R")
# filesystem
fp = "/Users/mlandis/projects/gh_biome_shift/"
out_fp = paste0(fp, "output/")
plot_fp = paste0(fp, "code/plot/fig/")
plot_fn = paste0(plot_fp, "fig7_root_freqs.pd... |
0775b8c708f2309f5d905b610acb8a98d7ed1845 | c31e49a759e372c3be878ee04b42e07c4d720505 | /cl.R | 5c62217f1b4e710505fc7c96117ca5c0eac8c59e | [] | no_license | wangqing207/Rscripts | a5868daca905de60735d5f4d62728d2956b9eaad | 2216b7dcd21ed7d022cef169b331b517c854f894 | refs/heads/master | 2021-07-17T19:35:08.736206 | 2017-10-23T03:26:46 | 2017-10-23T03:26:46 | 107,925,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | cl.R | library(parallel)
cl.cores <- 12
cl <- makeCluster(cl.cores)
clusterEvalQ(cl,source(file="dmrs.R")) |
03ed692ecb9b43e9532d46c5e756620f465958ae | 91605bb70a092de5e29efdecc92d7fbb9fb745ca | /LinearPolynomialRegression/LinearRegression.R | 9d78c16d4b39991fa502a251fb0c24d380f7abec | [] | no_license | sinderpl/dataMiningRegression | c33e4da98c9838a323f6d5c4d3b6903010b1aca6 | 53dd54e29c389beb3671fcc50956bd4c2a09c2b8 | refs/heads/main | 2023-02-09T07:38:09.918890 | 2020-12-21T09:33:34 | 2020-12-21T09:33:34 | 313,036,832 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,051 | r | LinearRegression.R | #library(moments)
#Analyses computational power data and attempts to predict the total performance score.
#Uses linear regression
#Read in data and clean unnecessary columns and null values
machine_information <- read.csv("data/machine.data", strip.white=TRUE)
machine_information <- machine_information[complete.cas... |
fb9a02b1b105ec00943c94357473f72c4f0bb49d | 8b3fa8e3d995a29c13ef24d976f8f1841d849888 | /inst/shiny/ui.R | 09b88c64aff83327e274e6148761adec1f0223d0 | [] | no_license | PolMine/annolite | c9b0d2beade917474378a9e932beec2f1fb3febe | 66f5c7989a0732931ca7899f4b243181c8b96001 | refs/heads/master | 2023-01-04T21:48:40.087221 | 2020-11-02T07:38:40 | 2020-11-02T07:38:40 | 143,249,089 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,523 | r | ui.R | annotatorObjects <- polmineR::getObjects(class = 'Annotator', envir = .GlobalEnv)
shinyUI(fluidPage(
useShinyjs(),
tags$head(tags$script(src = "jquery.min.js")),
tags$head(tags$script(src = "annotator-full.min.js")),
includeCSS(system.file("js", "annotator.min.css", package = "polmineR.anno")),
tags$head(tag... |
ce488819f42205aefa02b9b2a7692224f2252770 | f1af4d31ae62962fe1880a184143d47543dab569 | /JHU-PML-FA/FInalFile.R | 2bcda09afd65ae39a933d8e7e85a10d0e8b88cf4 | [] | no_license | Alex0141/testing | 987c969bd35d446a7e55f84a288c43114c075453 | 1e9e87c9e31ae7266f5f22a452efc7cfb8707b28 | refs/heads/master | 2021-05-19T06:54:25.375657 | 2020-06-04T07:17:27 | 2020-06-04T07:17:27 | 251,574,762 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,656 | r | FInalFile.R | PROBLEM STATEMENT
“Using devices such as Jawbone Up, Nike FuelBand, and Fitbit it is now possible to collect a large amount of data about personal activity relatively inexpensively. These type of devices are part of the quantified self movement ??? a group of enthusiasts who take measurements about themselves regular... |
72fcf085a27ee8583e04e9c9f4cb3a9990446397 | 3a18590b29c93037cd42b8b15a704f99afe8bf7b | /Genome Analysis/GWAS & Linkage Analysis/GWAS Pediatric/R/GWAS.R | 0dad7f1e9a2787f57cbff8be6e2d95be5419af14 | [] | no_license | jperilla/Bioinformatics | a4575ed9eb48e5cfb8c387f3cd87dbde8fd9f25e | 53d367b8c519e6bec3b5be482cc9f4400893837c | refs/heads/master | 2023-06-24T05:05:03.873432 | 2023-06-09T16:39:55 | 2023-06-09T16:39:55 | 131,012,606 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,878 | r | GWAS.R | #read in Fisher's test results from plink output
data = read.table("C:\\TEMP\\datasets\\plink.assoc.fisher", header=T)
dim(data)
data[1:4,]
colnames(data)
# plot
par(mar=c(8,5,5,5))
plot(-log10(data$P), type="n",
xaxt="n", xlab="", ylab="-log10(p-value)",
main="Distribution of p-values from Fisher'... |
c6d32dd32e81f0b24015e4b3d9a625df5aa9c2b7 | c5aefe7be5406eadde1c009896b4704ed820695a | /man/tile_coords.Rd | c31d84aa11b560e65894e77dcff8092d83800b11 | [
"MIT"
] | permissive | cran/rtrek | d48bf4713e9b3ba75259399bc11d62ce2b72c86a | 12d9c47f15292a5a0ee962e019caee4117d25101 | refs/heads/master | 2021-06-07T00:13:51.143895 | 2021-06-01T14:50:06 | 2021-06-01T14:50:06 | 136,319,587 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,515 | rd | tile_coords.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tiles.R
\name{tile_coords}
\alias{tile_coords}
\title{Simple CRS coordinates}
\usage{
tile_coords(data, id)
}
\arguments{
\item{data}{a data frame containing columns named \code{col} and \code{row}. These contain column-row number pairs defin... |
f0742afa103094afd5e887763233df0a08d92e6c | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /accelerometry/man/unidata.Rd | 9b15217e0ebde04264b7105f5a9d4466ed1c40f8 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 449 | rd | unidata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/accelerometry-data.R
\docType{data}
\name{unidata}
\alias{unidata}
\title{Uniaxial Sample Data}
\source{
\url{https://wwwn.cdc.gov/nchs/nhanes/search/datapage.aspx?Component=Examination&CycleBeginYear=2003}
}
\description{
Accelerom... |
ced0e01aa8d0e081553c8fdf3685322aac13a257 | 7f3bc9e70bd966acc41bb2c430c86840d59c808d | /Scripts/SibSp_Survived.R | e33f9504541cef4cdc2310362f9f4fd3b133b81b | [] | no_license | ArnabBir/Kaggle_Titanic | 7daf2d1aeeffdd3f1a3964de86adfe66468f0b86 | f8ad78f84420f6004e675486ca1a29129b0b9cf7 | refs/heads/master | 2021-06-11T16:51:17.135824 | 2017-03-20T08:46:19 | 2017-03-20T08:46:19 | 69,182,894 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 329 | r | SibSp_Survived.R | data <- read.csv("D://Github//Kaggle_Titanic//train.csv")
data <- data[!(data$SibSp == 0),]
data <- data[!(data$SibSp == 1),]
counts <- table(data$Survived, data$SibSp)
barplot(counts, main="SibSp vs Survived Plot",
xlab= "SibSp",ylab = "Number of People", col=c("darkblue","red"),
legend = c(rownames(c... |
1d5c29a81db65a1a0564cb0be8395e012611c0ec | f1c8bb430a2ca29f8e99cac27eaed4fc58c33090 | /scripts/functions.R | e8be4d124839debef61e70cab001e8f6caacbdf0 | [] | no_license | fernandoprudencio/MOD11A2_MONITORING | 61e26ded231179ee38ddc677b1e7758c3ef058de | 501766fe69bc8c88b27f2170a108f902f7cd3e4e | refs/heads/master | 2022-12-23T09:16:37.072964 | 2020-08-28T18:17:56 | 2020-08-28T18:17:56 | 290,056,204 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,118 | r | functions.R | #' INSTALL PACKAGES
pkg <- c("tidyverse", "raster", "DescTools")
sapply(
pkg,
function(x) {
is.there <- x %in% rownames(installed.packages())
if (is.there == FALSE) {
install.packages(x)
}
}
)
#' LOAD LIBRARIES
library(tidyverse)
library(raster)
library(DescTools)
#' change months from englis... |
1c04159fb18eed6bc92a2514ab3bb2e5c28ab494 | e0494fbf13e6caaf532682f41959f50e28120f54 | /cert_class/Lesson_3/command_line_R.r | 8ba9e9514d026141566171da93c82ec3696ae539 | [] | no_license | lagerratrobe/data_science | 3f9c263d8de2c83acef984a782fc60833d138887 | dca487c12763432dfeb0af60da6b4206e83ecfa7 | refs/heads/master | 2021-09-13T11:01:46.848341 | 2018-03-23T22:45:02 | 2018-03-23T22:45:02 | 95,619,213 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 508 | r | command_line_R.r | library(tidyverse)
### creating data frame
music <- c("Blues", "Hip-hop", "Jazz", "Metal", "Rock")
number <- c(8, 7, 4, 6, 11)
df.music <- data.frame(music, number)
colnames(df.music) <- c("Music", "Amount")
### Create the plot
myplot <- ggplot(data=df.music, aes(x=music, y=number)) +
geom_bar(stat="identity") +
... |
2768826c748bd0a3d8a524d2afaee6d53c4de0a3 | 1545ba82ade1e54622b4da2673bd70298c29d962 | /inst/testScripts/devel/C1C2/31.PairedPSCBS,DP,deShear.R | 8ad450258d175a252ec22f5907f26fab6bd116a0 | [] | no_license | HenrikBengtsson/aroma.cn | 536d1a3352f4d4bc054f33e2cd9802616f65cd32 | 4e56fc240804f5aa2bde92226153416f692ae768 | refs/heads/master | 2022-08-15T11:37:51.600802 | 2022-07-20T19:07:46 | 2022-07-20T19:07:46 | 20,846,363 | 1 | 1 | null | 2018-03-29T01:10:59 | 2014-06-15T02:23:38 | R | UTF-8 | R | false | false | 5,170 | r | 31.PairedPSCBS,DP,deShear.R | library("aroma.cn");
library("PSCBS");
library("R.devices");
library("R.menu");
verbose <- Arguments$getVerbose(-10);
# Local functions
deShearC1C2 <- deShearC1C2_20120922;
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Local functions
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
set... |
f4d0f3f9c4c0ac9ec673665f9c72dc832f4d9841 | cfd6ba53782490abe9e80615d9ba92df612c0a85 | /admbtools/R/bounding_functions.R | c99f3e071391ef519cb0dcf52f2137cac5c40fb3 | [] | no_license | colemonnahan/admb_guide | c4cb5474f7508553e3420bd9c0d14b928afc72ab | b341198ce093aaef8a7106ae5a6a4a1d980bceba | refs/heads/master | 2020-12-24T13:16:49.958119 | 2015-02-17T03:50:44 | 2015-02-17T03:50:44 | 21,586,562 | 3 | 0 | null | 2015-02-17T03:50:44 | 2014-07-07T20:59:42 | R | UTF-8 | R | false | false | 1,224 | r | bounding_functions.R | #' The bounding function.
#'
#' @template bounding_template
boundp <- function(x, minb, maxb, hbf=0){
## The internal transformations used in ADMB depending on the value of the
## Hybrid_bounded_flag (hbf) value.
if(hbf==1)
result <- minb+(maxb-minb)/(1+exp(-x))
else if(hbf==0)
result <-... |
c587ac2163cdd6a4c17c3918a8a4efe292f09c95 | 4dde346f604373c813ceda011ea3658a5fed28f6 | /webinar_figures/webinar_figures.R | da8a11d997a30f609c6be3ce6d1fd23b0486f787 | [] | no_license | matthewkling/climclust | 89a2f1eb160c310099ca964ea12dcb59c805193a | 47a7d39520e7e2bc44acdf5d4e95b1885cee49f2 | refs/heads/master | 2020-12-01T04:38:05.437266 | 2016-10-03T18:36:47 | 2016-10-03T18:36:47 | 67,259,802 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,109 | r | webinar_figures.R |
library(raster)
library(dplyr)
library(tidyr)
library(fastcluster)
library(FNN)
library(colormap)
library(ggplot2)
library(rgdal)
setwd("C:/Lab_projects/2016_climate_classification/climclust/webinar_figures")
##### data setup ######
# load bcm layers
files <- list.files("C:/Lab_projects/2016_Phylomodelling/Data/C... |
940af61b35c90e957173213c48dc0ae8721c5c0d | 7f00f9804e7de68e135162157f746363455109f8 | /R/rs_get_selection.R | 8dc1ef77b3fe27b77127e2f64ef860cbf99c8f5a | [
"MIT"
] | permissive | GegznaV/addin.tools | ab3022f3266e3d3f811b524a88362b400630d61f | 377fad8756fc33a7db7d1357692febbc524de07d | refs/heads/master | 2023-08-18T09:40:51.034110 | 2023-08-08T12:34:59 | 2023-08-08T12:34:59 | 122,939,940 | 1 | 0 | MIT | 2023-08-08T12:21:37 | 2018-02-26T08:44:38 | R | UTF-8 | R | false | false | 3,128 | r | rs_get_selection.R | #' Get selection text.
#'
#' Get the text in either the first selection or all selections.
#'
#' @inheritParams rs_get_index
#' @param as_list (logical)
#' Flag, if result should be a list, if `selection` is either
#' `"first"` or `"last"`.
#' @return A character vector.
#' @export
rs_get_selection_text <... |
0711b6f26aa20fdfb6af6772a73807ed79cebb3d | 34dcb8ba6b7f1965b2a8a891c6509dc87518f52e | /script.R | 2005a327d8e021c84e97279287095790f1d9eb17 | [] | no_license | UgyenNorbu/fatal_police_shootings | 0227f184912a88d542e6411de262ce00d0dd7ec0 | 5c702ecccff9d138d807765c5b234af4e2f4b6cd | refs/heads/master | 2022-11-19T12:31:46.617423 | 2020-07-24T07:45:16 | 2020-07-24T07:45:16 | 282,145,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 293 | r | script.R | library(tidyverse)
library(ggplot2)
library(lubridate)
data <- read_csv("fatal-police-shootings-data.csv")
data <- data %>%
select(-id)
str(data)
data %>%
group_by(month_year=floor_date(date, "month")) %>%
tally() %>%
ggplot(aes(x = month_year, y = n)) +
geom_line()
|
cabe21163c0c08f74da1924b14c050d2d49074f2 | 9fbd34dd260879468ee3710dc80f1a96478d39f9 | /R/manuscript/analyses/old/map.future.scenarios.R | 6fc8cc50d640c44477196273f08163c464f50799 | [] | no_license | Kah5/bimodality | 2fa26842ba50cdceff22a2f9eb335fc73bcec496 | 2b53dd59777292f84666ac2fcbd7031eda8ddb71 | refs/heads/master | 2023-02-01T05:48:49.361038 | 2023-01-21T01:25:00 | 2023-01-21T01:25:00 | 49,456,870 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 10,189 | r | map.future.scenarios.R | # this script contins functions to determine places projected to be bimodal under future climate
# and will map out these in space:
#right now there are separate functions for the modern and the pls veg-environment relationships
# function for the FIA Vegetation-environment relationships
bimodal.future.rNA <- functi... |
dcb48a83ba0ec761f0730f8619e27df3c544c751 | 201398772b3822744c6fb77529880ca974a795fb | /man/coloc-package.Rd | 238011fbe4c67b2fd8020af07559e5f6288660d4 | [] | no_license | Hui-Guo/coloc | bbcfe99c2a38015f47e8bd537279af638b12b790 | 4904d3b2a9fb674759ba7ab7b54395698ecbbd58 | refs/heads/master | 2020-12-11T03:25:56.651519 | 2013-12-09T11:34:09 | 2013-12-09T11:34:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 732 | rd | coloc-package.Rd | \docType{package}
\name{coloc-package}
\alias{coloc-package}
\title{Colocalisation tests of two genetic traits}
\description{
Performs the colocalisation tests described in Plagnol et
al (2009) and Wallace et al (in preparation) and draws
some plots.
}
\details{
\code{coloc.test()} tests for colocalisation and ... |
0beed1b1b19d3b504df532a900c665185d92c167 | 8eb63410d10cac89d443593ab2db3d3e614bc8e8 | /CS412/HW1/R/startercode.R | 1181317fad0a2720fe002b5b976c5d5944946a17 | [] | no_license | tsodapop/UIC_Courses | 5198c6c9b6dd2dd12433979a8e10bf4a3ef63973 | 37de906302080c40eadbefbbce68c4b632e19331 | refs/heads/master | 2023-08-05T02:55:22.252610 | 2020-02-21T05:11:27 | 2020-02-21T05:11:27 | 150,374,870 | 3 | 1 | null | 2023-07-06T21:36:20 | 2018-09-26T05:51:05 | Jupyter Notebook | UTF-8 | R | false | false | 1,891 | r | startercode.R | #Installing packages ONLY RUN THIS ONCE!
#Make sure that you have the up to date GCC and R
install.packages("caret",dependencies=TRUE)
install.packages("e1071")
install.packages("dplyr")
install.packages("ggplot2")
#Linking the packages
library(caret)
library(e1071)
library(dplyr)
library(ggplot2)
# Read data
# If yo... |
f280abf4a29ba63244d84bdcd2cc6130724390f3 | adcfb06e4b8fec803bb177887028ad55058b7f7e | /Day02_homework_Petra.R | 43fb09db708f5157e6639a787d1d261fba665b26 | [] | no_license | petrabradley/Petra_Day02_R_Homework | 42a860c4891ca452a2b8d7072d41c0292af69b41 | f76d80016406888ad5c6afc551b5ba2e803d1323 | refs/heads/master | 2021-01-11T23:29:56.786643 | 2017-01-11T01:27:03 | 2017-01-11T01:27:03 | 78,590,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,876 | r | Day02_homework_Petra.R | # Complete all of the items below
# Use comments where you're having trouble or questions
# 1. Read your data set into R
?read.table
adaption.innovation <- read.csv("Adaption_Innovation_Analysis.csv")
# 2. Peek at the top few rows
head(adaption.innovation, 5)
# 3. Peek at the top few rows for only a ... |
e3346affa6d3c46790802a0802171638e14016ef | 623226a7f14a26b755c107ba087076b7300186e0 | /cachematrix.R | cf3f990be975a4d4bd61cccbcb5bf15728c9292e | [] | no_license | GTolen/ProgrammingAssignment2 | f3a7ddc58abc7788326a3c0bdaa4b872dd745e6c | 551d4eebe21f0b7e17fa32bc518035c28fbff24d | refs/heads/master | 2021-01-17T23:06:46.363590 | 2016-02-07T04:38:03 | 2016-02-07T04:38:03 | 51,188,857 | 0 | 0 | null | 2016-02-06T04:06:48 | 2016-02-06T04:06:48 | null | UTF-8 | R | false | false | 1,391 | r | cachematrix.R | ## Assignment 2: Lexical Scoping
##
## makeCacheMatrix function creates a special matrix
## object that can cache its inverse
## This returns a list of function:
## 1) set: set the value of the matrix
## 2) get: get the value of the matrix
## 3) setInverseMat: set the value of the inverse of the matrix
## 4) ... |
4630343d1047b6ee6d823bba609ef716ec104516 | 7b102f9c8f2e3f9240090d1d67af50333a2ba98d | /gbd_2017/nonfatal_code/clinical_team/cf_models/02_cf2_stgpr_run.R | 8ccf379b82ad3a4197eddd4c5d153692d91182cc | [] | no_license | Nermin-Ghith/ihme-modeling | 9c8ec56b249cb0c417361102724fef1e6e0bcebd | 746ea5fb76a9c049c37a8c15aa089c041a90a6d5 | refs/heads/main | 2023-04-13T00:26:55.363986 | 2020-10-28T19:51:51 | 2020-10-28T19:51:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,987 | r | 02_cf2_stgpr_run.R |
rm(list = ls())
## Maybe fix it not getting to pdf?
closeAllConnections()
library(ggplot2)
library(data.table)
library(lme4)
library(htmlwidgets, lib = 'filepath')
library(merTools, lib = 'filepath')
library(boot)
library(RMySQL)
library(slackr)
library(mortcore, lib = "filepath")
library(parallel)
library(magrittr)... |
65c53da615e8f01ce3b81e50dd3e4df153ce9e42 | f0bb7b739b8109def549b8acdbcb15cc79cc8d11 | /rolling-train-test.R | c7af015d3fc8bd30e163774d5735952f52ee3e57 | [] | no_license | vikasgupta1812/rsnippets | 2ba764b47334f33487768ca506eca5ab1835c792 | a4572b1ed5289de06c4cc8f7de5736e9e2b85043 | refs/heads/master | 2021-01-21T00:01:28.739303 | 2016-06-08T21:58:06 | 2016-06-08T21:58:06 | 60,504,464 | 0 | 0 | null | 2016-06-06T06:39:16 | 2016-06-06T06:39:14 | null | UTF-8 | R | false | false | 3,352 | r | rolling-train-test.R | # Description : Building models over rolling time periods
# Website : http://petewerner.blogspot.in/2013/09/building-models-over-rolling-time.html
doInstall <- TRUE # Change to FALSE if you don't want packages installed.
toInstall <- c("quantmod","kernlab")
if(doInstall){install.packages(toInstall, repos = "http://cra... |
6125584dd2165b2bf8b869c262dc4306f672b5b8 | 8830e3bbea7ce0aea0f709502a5e682a1a6bb041 | /4_hexagons.R | a45bcdeaa234ec2c38a9c66c10f0104e026685e8 | [] | no_license | zaaaana/30daymap | 24aab12f958e8dd2fdfc61b403d4ed81df6c8ee3 | b2bd8b6ab0cf2cb17ee118dcc35f8a04433a145e | refs/heads/master | 2023-01-19T22:28:52.971461 | 2020-12-01T16:38:04 | 2020-12-01T20:26:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,657 | r | 4_hexagons.R | # #30DayMapChallenge
# Día 4: hexágonos
# Temperatura superficial enero
# Fuente datos: Procesados y descargados de Google Earth Engine
# https://developers.google.com/earth-engine/datasets/catalog/MODIS_006_MOD11A1
# Autora: Stephanie Orellana (@sporella)
library(stars)
library(tidyverse)
library(sf)
library(extrafo... |
9ba3e86df1dab44b21eef385f64716fa0d5cbaa3 | 4d2cb20823e6bb238be47574bfd4aa6c1973c9de | /HW9/HW9-33.R | de72905186bc5f2088935b06433da8906f9a5f2a | [] | no_license | praal/data_analysis_course | 072d289725430bb8980f556e96100ca15fb09623 | 882407822c638f4197cf179dd440b52fd5348c10 | refs/heads/master | 2020-03-22T23:27:46.839451 | 2018-07-22T21:49:51 | 2018-07-22T21:49:51 | 140,811,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 847 | r | HW9-33.R | library(readr)
library(stringr)
library(dplyr)
files = list.files("~/Downloads/class_data/stock_dfs")
n = length(files)
s = files[1]
name = strsplit(s, "\\.")
t = paste("~/Downloads/class_data/stock_dfs/" , s, sep = "")
x = read_csv(t)
x %>% select(Date,Close, Open, Volume) -> x
x$Volume = as.integer(x$Volume)
x ... |
37881680028b980ee34a44c6bbaf67ad718b0f8e | fa571db675071e4b322f49d0d70702e148c24543 | /combineanova_tabs.R | 7fe4af385a4505423b29708e6faaf1d07e7f2a93 | [] | no_license | CYGUBICKO/hh | 49fcf28cde43d0908b50db45ebc9fef9acb5b293 | 198dcd66e4d948707c3fa3ebe177e54d647497ed | refs/heads/master | 2021-06-19T13:38:03.177664 | 2021-03-02T02:14:12 | 2021-03-02T02:14:12 | 187,945,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 673 | r | combineanova_tabs.R | #### ---- Project: APHRC Wash Data ----
#### ---- Task: Modeling real data ----
#### ---- Combine all anova tables ----
#### ---- By: Steve and Jonathan ----
#### ---- Date: 2020 Nov 03 (Tue) ----
library(dplyr)
load("garbage_anova.rda")
load("garbageP_anova.rda")
load("water_anova.rda")
load("waterP_anova.rda")
load... |
a230b464f52c8151993be68015b63fa3342007ed | c7fe6a88582766a710325d3a9fc6b7328c1cfd7a | /R/list_size.R | 5467264c79193cc83104c41d205f1e192e995732 | [] | no_license | fergustaylor/openprescribingR | 023c1b9cb30d269e3da1fc8329ec4f9b0e8d004b | 124f6d0ed4ce41b2fc8f2ccca5b1ac98f19964ac | refs/heads/master | 2021-01-16T00:10:06.271612 | 2018-04-24T18:08:39 | 2018-04-24T18:08:39 | 99,961,777 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,614 | r | list_size.R | #'Search for details about a CCG or practice by code or name. Returns values for all months available.
#'
#' @param list_size_by_code A practice or CCG code found using organisation_codes().
#' @param ASTRO_PU_by_code A practice or CCG code found using organisation_codes().
#' @return Returns values for all months avai... |
d0fe97107a31b7981bfe9356495c080ea1d5436d | e1cbbf8791b0ac6d40f6d5b397785560105441d9 | /R/z.par2cdf.R | e7057b1910d503e75e826c7218ad4b53a3abd55a | [] | 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 | 763 | r | z.par2cdf.R | "z.par2cdf" <-
function(x,p,para,z=0,...) {
if(is.null(p)) {
warning("p is NULL, this function will not assume p=0, returning NULL")
return(NULL)
}
if(length(p) != 1) {
warning("only the first element of scalar argument p will be used")
p <- p[1]
}
if(length(z) != 1) {
warn... |
de0d788a390a8290d7093ff636dcec29a4c019d0 | c88eca63f8093b70becb0fe268139262cc49deda | /subsetting_data.R | b5a7bd691439011df4b16fb33176b6858de9f815 | [] | no_license | amcmil/Data_manipulation_and_statistics | 497634d3a23a3cff8fc96af3bae8ec7dc647f96f | c392e2149216e46d082669b0434c604799bf9857 | refs/heads/master | 2021-01-21T18:50:40.498824 | 2017-05-23T18:41:05 | 2017-05-23T18:41:05 | 92,087,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 827 | r | subsetting_data.R | #Amy McMillan 05/22/17
#basic commands for subsetting data in R
#to keep samples in metadata table with variable = x or y. x and y are numbers in your metadata table. "|" denotes "OR"
keep<-mdata[mdata$"variable"==x | mdata$"variable"==y,]
#to keep samples in metadata table with variable1 = x and variable2 = y. "&" d... |
16299e06f9695cf55a9d10c5de2edc6b80337d2e | 7a35925457082bbf7eb5d142b1043286863ebe40 | /R/readQN.R | d9bc99ae9dea14dbab62ca6b674c6bc133393065 | [] | no_license | timflutre/hierfstat | 9a64418ea32812aa828213da42790ad55a0dd89d | ae049d7427db93de71cb76fe281644972820a552 | refs/heads/master | 2022-04-11T17:56:26.758313 | 2020-03-26T21:07:52 | 2020-03-26T21:07:52 | 250,365,950 | 0 | 0 | null | 2020-03-26T20:35:34 | 2020-03-26T20:35:33 | null | UTF-8 | R | false | false | 2,079 | r | readQN.R | #################################
#' @title Read QuantiNemo extended format for genotype files
#'
#' @description Read QuantiNemo (\url{http://www2.unil.ch/popgen/softwares/quantinemo/}) genotype files extended format (option 2)
#'
#' @usage qn2.read.fstat(fname, na.s = c("NA","NaN"))
#' @param fname quantinemo fil... |
09c5eba42b132b93ebedac6ca0523f3bbf6681b9 | cbbf1cdfc053a7fe8983a484cc12b9cef3b03bf8 | /data-raw/china_statistical_yearbook/popn_survey_fraction.R | 9dfd6482c0e796f9e158886f5c3ae03167dcd2c3 | [
"MIT"
] | permissive | bayesiandemography/marital | 1201c070d2472753b0fae99617ae914e68a3fcec | 464bb7596c27b266d274fb313952bc9a377664cd | refs/heads/master | 2021-07-15T20:17:02.569154 | 2020-07-27T08:18:55 | 2020-07-27T08:18:55 | 192,147,452 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 232 | r | popn_survey_fraction.R |
popn_survey_fraction <- array(c(0.01325, 0.0155),
dim = 2,
dimnames = list(time = c(2005, 2015)))
save(popn_survey_fraction,
file = "data/popn_survey_fraction.rda")
|
66e857a31c1d79e2440321b163cfbfb007e5d496 | 083b79cd8efa8168f17dfd50a9ae1d799038f88c | /Scripts/Effects/Rates.R | 716bac0e5b2af2fb1f836e9182359a93666a6281 | [] | no_license | AleMorales/combinedstress | 2f96953fb89dd83901fb21b3a8db0bdabfd57541 | 7a54154df06eada8b8ed0ca743369e876b81de8c | refs/heads/master | 2022-12-19T13:25:51.363643 | 2020-09-18T05:52:17 | 2020-09-18T05:52:17 | 296,331,574 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,902 | r | Rates.R |
# Load packages and data --------------------------------------------------
library(tidyverse)
coefs = readRDS(file = "Intermediate/Rates/LinearFits.rds")
# Combine into single table
effects = do.call("rbind", coefs)
# Compute the different combinations to get the effects on RGR and LeafRate
effects = effects %>% g... |
f50a5258928bca308154650b55bbb9d42224c56e | 6fb289b31fe41385d18819291ecdebcf840b43f5 | /RWebScrape/Test.R | 647e83a66d635f1e0309efecd2c761c493ab6209 | [] | no_license | CC-94/FinalYearProject | c934af6f67afb4ce27020cc68a52fc9fcbbb7c4d | ee850d52732e5b8bf420aacdc6c19ef3e5ad5e7a | refs/heads/main | 2023-05-01T12:34:39.148077 | 2021-05-16T13:20:10 | 2021-05-16T13:20:10 | 367,616,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 571 | r | Test.R | library(rvest)
library(dplyr)
link = "https://en.wikipedia.org/wiki/Category:Luxury_brands"
page = read_html(link)
name = page %>% html_nodes("#mw-pages a , #mw-subcategories a") %>% html_text()
industry = page %>% html_nodes("#mw-pages a , #mw-subcategories a") %>%
html_attr("href") %>% paste("https://en... |
7971633d8833b5321bb67e9dc2e302c740d8f053 | eeea10b971ed75bf87305d7b4163cf355eac1240 | /RF LOWESS sim/Real Data Scripts/COMP.R | 847acd78a0126967a6198eb72630b7160b8e2d5d | [] | no_license | AndrewjSage/RF-Robustness | 42e0caa6cc5c1f46031f6a3b77e33a56dc4fc83b | bace62de6a191832c1a9d19462c140686a15bf1b | refs/heads/master | 2022-11-21T12:09:04.041716 | 2020-07-24T04:52:51 | 2020-07-24T04:52:51 | 106,871,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 912 | r | COMP.R | setwd("/work/STAT/ajsage")
#setwd("~/Box Sync/Iowa State/Research/Robustness of Random Forest/RFLOWESS sim/Real Data Scripts")
library(RFLOWESS)
dataset <- read.csv("COMP.csv")
parvec <- c(1000,100,seq(from=3, to=30, by=0.25))
#uncontaminated
#set.seed(02042017) #Important to keep seed same for all files, so we're... |
bebb604444f3bfbf2bbbc65e7ba5a004123f0042 | abfa5f844935045a013dc55b04e9e2f2277ba0ed | /R/data.R | fd6fc0ca3de437dc0f0ee379a268e86b46c8a609 | [] | no_license | aleighbrown/dasper | c4994686643fd57ef27f7e08cb3e1f49d7478594 | 336d8584bbc2d5edddc39bb473a56f4cafaf28b1 | refs/heads/master | 2022-12-06T13:34:30.093844 | 2020-08-25T13:53:46 | 2020-08-25T13:53:46 | 276,595,172 | 0 | 0 | null | 2020-07-02T08:45:43 | 2020-07-02T08:45:43 | null | UTF-8 | R | false | false | 867 | r | data.R | #' Set of example junctions
#'
#' A dataset containing the example junction data for 2 case and 3 control
#' samples outputted from \code{\link{junction_load}}. The junctions have been
#' filtered for only those lying on chromosome 21 or 22.
#'
#' @format
#' [RangedSummarizedExperiment-class][SummarizedExperiment::Ra... |
c5c65ec548d279ed556320a7a7e3c237cfa89a94 | 37368f2eb54c09283edbcc6a14051bde22b2be6e | /R Programming/pollutantmean.R | 51f10f726fa80afbfe24ebaa31a74f982f26a21f | [] | no_license | EAVWing/Data-Science-Toolbox | ee9c2fb39e1507f24cd93261a3c4a480393d5c88 | 2a0ca33afd7cd2ee1eea21edc556abf4d79837ac | refs/heads/master | 2020-03-21T16:38:33.461772 | 2018-08-16T15:44:41 | 2018-08-16T15:44:41 | 138,783,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 437 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id = 1:332){
fileList <- list.files(directory, full.names = TRUE)
dat <- data.frame()
i <- 1
for (i in 1:length(id)){
dat <- rbind(dat, read.csv(fileList[id[i]]))
i <- i + 1
}
p <- if(pollutan... |
fcc41b9bf1ed579ff73aff927e84c173e7fe4e78 | c255c8e7ed8057413fece1823ffe78ed2b88ba35 | /leek.r | 34adfb70c44f78afa191e11834d0a7d041002a6c | [] | no_license | soroosj/Getting-Data | a93b569c834010d8fc687cff8bfb214598300f47 | debfb4bbddf14fda169bb7d82b7cf3d5075e29f6 | refs/heads/master | 2021-05-09T18:52:03.764841 | 2018-03-04T20:23:28 | 2018-03-04T20:23:28 | 119,175,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 286 | r | leek.r | #load XML library
library(XML)
#define path to HTML file
url<-"http://biostat.jhsph.edu/~jleek/contact.html"
#download the HTML file to a character vector
doc <- readLines(url)
#calculate number of characters per code line
nchar(doc[10])
nchar(doc[20])
nchar(doc[30])
nchar(doc[100]) |
d61c715601cf2b9d78d1717d605307ea4abfe44f | 55cc71fbc75726044bc9843364bb9dc0430382f3 | /Assign_R.R | 524b8fdc0ee52685add6db4ed670e19d2fc9dcaa | [] | no_license | aayrm5/temp_add_to_version_control | 6c0eccf0b5319509d8e57db6d91d75a40e504c80 | 1ab7b4da66931801f63f40ce9cb72bc614df8d89 | refs/heads/master | 2020-12-28T00:51:49.427082 | 2020-02-10T00:05:03 | 2020-02-10T00:05:03 | 238,127,025 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 848 | r | Assign_R.R | rm=(list=ls())
setwd("E:/Riz/Edwisor/Rprog")
getwd()
install.packages(c("dplyr","plyr","reshape","ggplot2","data.table"))
df=read.csv("IMDB_data.csv", header=TRUE)
#Removing the Row2
df1=read.csv("IMDB_data.csv", header=TRUE)[-2,]
#Extracting unique values in Genre
unique(df1$Genre)
#Count of unique values in Genre
... |
182a807e32863d800aeacddf1013dc0ebdd310be | 4191b75c5ef63767a18e4a80d09294204ab94489 | /R/cost_functions.R | 7a0c1742b00b3afeb7ccae5056987c57bb62778a | [] | no_license | kaerosen/tilemaps | 64e33ab1b5a1d39240477f92404d999daf1bba8f | 153f2499ceddd43ed669aea65619ef9f4630c853 | refs/heads/master | 2022-11-16T23:09:04.829716 | 2020-07-13T19:56:40 | 2020-07-13T19:56:40 | 250,876,182 | 39 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,119 | r | cost_functions.R | # location cost
location_cost <- function(transformed_centroids, tile_centroids, s) {
as.numeric(mean(sf::st_distance(transformed_centroids, tile_centroids, by_element = TRUE)) / s)
}
# adjacency cost
adjacency_cost <- function(original_neighbors, tile_neighbors) {
missing <- rep(0, length(original_neighbors))
f... |
797f1f5bb2d473baf5e56634bd3bd19e26d90334 | f3913e6f5d7897f56133e794c6e831e7f3e4f162 | /man/easyanova-package.Rd | 4a440a8c4db7e7c39157c0884dbe22040a86b3a9 | [] | no_license | cran/easyanova | e52165d506c13b073f3779d8fa1bad6d399b9d3c | 4fca62b80f040fb30e90c096b214471027eafca7 | refs/heads/master | 2022-09-06T00:01:59.380507 | 2022-06-25T17:00:02 | 2022-06-25T17:00:02 | 17,695,699 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,473 | rd | easyanova-package.Rd | \name{easyanova-package}
\alias{easyanova-package}
\alias{easyanova}
\docType{package}
\title{
Analysis of Variance and Other Important Complementary Analyzes
}
\description{
Perform analysis of variance and other important complementary analyzes. The functions are easy to use. Performs analysis in various designs, wit... |
ac25bd26b44e0d7a9d1e637c11a7f75bd9f91229 | 5273a49a586b3f4b67aab56daef7d763e40d13ef | /Descargapp/servidor/app.R | d3e423e267d2bfe69338ed0865e2b8a38892f59d | [] | no_license | Politica-y-redes-sociales/Interfaz-Grafica-Opazo | b467ffd15f95f90bc14f1b026d7a39d69a8d65bb | 097ba5cc5ba8d37f3834d8e392ee603a8c94953f | refs/heads/main | 2023-07-07T18:55:01.153409 | 2021-08-10T16:44:22 | 2021-08-10T16:44:22 | 394,715,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 128 | r | app.R | library(shiny)
ui<- function(){}
server <- function(input, output)
{
}
# Run the application
shinyApp(ui,server = server)
|
9793380b02342517288f3cee5080f1be7f3776f1 | c717070acb36b6e68d8effbdc27c3f6860c464ba | /RSAT_problem/differentstrands.r | 6030e020f89959288c29a265ae13eb2712148546 | [] | no_license | aidaghayour/FPWManalysis | 0479171fb3f4bb0a07690b5d4f6f738d947e8793 | 75ef6427d406df85fb3a7426269f744ddc26237a | refs/heads/master | 2021-01-05T06:42:50.889220 | 2020-02-25T19:35:16 | 2020-02-25T19:35:16 | 240,918,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,021 | r | differentstrands.r | cebpb <- read.delim("~/Documents/R/fpwm-Thesis-new/RSAT problem/Reverse complemetn/CEBPB JASPAR format (reverse complement).ft", header=FALSE, comment.char="#")
cebpb <- data.frame(cbind(cebpb[,4],cebpb[,5], cebpb[,6],cebpb[,9]))
cebpb[,4]<-as.numeric(as.character(cebpb[,4]))
cebpb[,3]<-as.numeric(as.character(cebpb[,3... |
6612ca8441750d4f16d9caf3aa2d134a0c8e04e6 | fbe8f1d0a11dceee69dfdcc391c877904289b82b | /R_scripts/data_processing/CZ_additional_processing.R | a6eacbe7d27036339bb5b81b679a3f6f24e4ea2a | [] | no_license | victorabelmurcia/V4Lab_Analyses | 30f036c90e122ef7922c8356d7e9ac9591c29640 | 406a0e727825d08e2600c03d60acef6e03a12cde | refs/heads/master | 2021-01-16T20:46:58.226818 | 2015-05-24T21:30:08 | 2015-05-24T21:30:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,209 | r | CZ_additional_processing.R | #################################################################
### Additional processing of the Czecg dataset; it contains: ###
### - classification of respondents' study programmes ###
### - removal of respondents according to age/edu criteria ###
########################################################... |
78c4004c61e3752403da2162ff8175d12f0fda72 | b2f0d80d872a2a29b48d46beb6a23d4d9518e16a | /plot2.R | 5d50760f9a1b520b1d2d04a958d5baddb3646d80 | [] | no_license | minimenchmuncher/pm25Exploration | c190c68de5f47324350dfcc0748e96d4c4a800ac | 7915ebdd4b447eda3f55d818f918219069801a1f | refs/heads/master | 2021-01-10T06:42:47.465979 | 2016-03-12T20:41:43 | 2016-03-12T20:41:43 | 53,674,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 896 | r | plot2.R | # plot2.R #
library(dplyr)
# Universal Inputs #######
data_dir <- '~/Downloads/exdata_data_NEI_data/'
# Read data #####
if (!(exists('NEI'))) {
NEI <- readRDS(file.path(data_dir, 'summarySCC_PM25.rds'))
}
if (!(exists('SCC'))) {
SCC <- readRDS(file.path(data_dir, 'Source_Classification_Code.rds'))
}
# Question 2... |
65669568e010de8d6bc17d824aebb1e288ed251e | 06b9d2ece554bda6b4402785bc9c7b7a627a6c2f | /R/compareModels.ParamEsts.R | df14657cb51e6db79cf9f54e214809dac53ec4b6 | [
"MIT"
] | permissive | wStockhausen/rTCSAM2015 | 4f2dd392b32d9a3ea9cce4703e25abde6440e349 | 7cfbe7fd5573486c6d5721264c9d4d6696830a31 | refs/heads/master | 2020-12-26T04:56:03.783011 | 2016-09-30T01:59:06 | 2016-09-30T01:59:06 | 26,103,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,174 | r | compareModels.ParamEsts.R | #'
#'@title Function to compare parameter values from different TCSAM2015 models.
#'
#'@description This function extracts and plots parameters values, together with their limits
#'(if any) and the posterior distributions implied by their estimated standard
#'errors from several TCSAM2015 models.
#'
#'@param tcsams - l... |
3a5b2318070938678448de3a56bd4348b47e8e6e | b844fc764deff4c305d5a5499f78266f2ec817e9 | /man/confint.mylm.Rd | fe7c44e688b2dd8d519939d4a02cd60dbc0a9413 | [] | no_license | jenper/mylm | 0aa7c1e7498a35dc9225e26dc2f75f35ab5a808a | 785316d117b822c2edf9b63ff5d1c1e7f7902c22 | refs/heads/main | 2023-08-03T10:49:26.281973 | 2021-07-22T01:41:54 | 2021-07-22T01:41:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 649 | rd | confint.mylm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funcs.R
\name{confint.mylm}
\alias{confint.mylm}
\title{Confidence intervals for parameters}
\usage{
\method{confint}{mylm}(object, parm = NULL, level = 0.95, ...)
}
\arguments{
\item{object}{object of class "mylm"}
\item{parm}{A specificati... |
22cd20e8b6d5f60f750a0d0f28454200928d4fe4 | f064ecae355e2eada3c7438247ba784129f8f028 | /datasciencecoursera/regression/galton.R | 9b466d947bb4256534bb76724df2d3f8a21b3448 | [
"CC0-1.0"
] | permissive | ArnulfoPerez/R | c0a1a43680dd486bd9d0f8379ae05057efcbc235 | 70fb8a57b19d86eceb7a4d5f75aec712bfebfff5 | refs/heads/master | 2022-11-06T16:00:57.404891 | 2020-06-28T07:04:19 | 2020-06-28T07:04:19 | 260,382,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 225 | r | galton.R | library(UsingR)
library(ggplot2)
data(galton)
library(reshape)
long <- melt(galton)
g <- ggplot(long,aes(x = value, fill = variable))
g <- g + geom_histogram(colour = "black", binwidth = 1)
g <- g + facet_grid(. ~ variable)
g |
fb73ed6e86e951abedea6269185d67e853ebc154 | 9c816995a8ec8a7596d1c5889bae0d061a797e18 | /man/plotFunctions.Rd | fc1e9a3e7ea105ce19bb899ef0a215251a9d598f | [
"MIT"
] | permissive | wuaipinglab/sitePath | 0ae7da9011bc7f7ad72f7ea35467765aa4b941a0 | e8e9d188413225a29fb6cb08948dacb4e75f6900 | refs/heads/master | 2022-10-03T09:00:43.991187 | 2022-09-26T07:48:32 | 2022-09-26T07:48:32 | 147,183,108 | 16 | 2 | MIT | 2021-07-22T03:06:47 | 2018-09-03T09:35:04 | R | UTF-8 | R | false | true | 3,319 | rd | plotFunctions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotFunctions.R
\name{plot.phyMSAmatched}
\alias{plot.phyMSAmatched}
\alias{plot.lineagePath}
\alias{plot.parallelSites}
\alias{plot.fixationSites}
\alias{plot.sitePath}
\alias{plot.fixationIndels}
\alias{plot.fixationPath}
\title{Visualize t... |
813f5d1840335f910aaf099d65f0e1a3861dfae0 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/maelle/cooldissviz/viz.R | 811d3bb254698f9c02a11f83201c48d95fbc7857 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,322 | r | viz.R | library("ggplot2")
library("dplyr")
library("emojifont")
library("gganimate")
list.emojifonts()
library("lubridate")
date1 <- ymd("2012-10-08")
date2 <- ymd("2016-03-07")
difftime(date2, date1, units = "days")
load.emojifont('OpenSansEmoji.ttf')
data <- readr::read_csv2("gestation.csv") %>%
arrange(gestation) %>%
... |
825b16f8bb418d65abb4d2037fe0b9303a706da2 | 4d969bc86afed6ede3596878ad5a7ecbcf5b3b5f | /files/JAM.R | 74503235d4c9b4b1f54286009ae9270de7346add | [] | no_license | GeneticResources/FM-pipeline | 9f3b2006fe1b0b782fb7cde370622029c05af654 | cf876c6f497a2eb1dffbcdb57eb9a4fbaf71509e | refs/heads/master | 2020-04-09T06:40:06.444431 | 2018-10-26T20:24:31 | 2018-10-26T20:24:31 | 160,122,171 | 1 | 0 | null | 2018-12-03T02:39:18 | 2018-12-03T02:39:18 | null | UTF-8 | R | false | false | 3,313 | r | JAM.R | # 9-2-2018 MRC-Epid JHZ
require(plink2R)
# require(snpStats)
require(R2BGLiMS)
require(methods)
require(openxlsx)
options(scipen=20, width=2000)
f <- Sys.getenv("f")
cat(f,"\n")
bed <- paste0(f,".bed")
bim <- paste0(f,".bim")
fam <- paste0(f,".fam")
# summary statistics
sumstats.name <- c("RS_ID","A1","A2","freqA1"... |
2535957b8090e49df29172d2736513f571de0832 | 3eece832206dca8130fdd5b1bced87fb752f3aef | /code/feat/5-gen-factor.R | 656dba48bc2a2d093ddc0dab0289b78ef97fa6ef | [] | no_license | salayatana66/Kaggle-BNP-2016 | 2457563bf35e70a4b907255cfa3ff04f93889a4c | 50bf9d37f0b4c275cce1573ddedb3eae3acd94dc | refs/heads/master | 2021-01-10T03:55:42.277959 | 2016-03-20T15:37:19 | 2016-03-20T15:37:19 | 54,325,396 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,352 | r | 5-gen-factor.R | ##########################################################################
# Transform and generate new factor variables
# It makes sense to impact some factors, but impacting v22 leads
# to overfitting; thus replace other factors by frequencies in the data
# (both relative and a factor version of them)
#############... |
86e2124bc6d83d13ca3fe572747912dcd8ccaf69 | 4769290ffe5f0597ce8ef190bb86494781cc1127 | /409_63583_cf_WNS_Analytics_Hackathon_code.R | 1ba609f550177e7570ce93673f801c7d8c2ce4a4 | [] | no_license | rohanpaul93/backup | 351dc8bdc29059b742fe806d66918b97459aa992 | bb0276b073b561820f5414da3ea21964bd3903aa | refs/heads/master | 2020-04-04T09:27:15.598485 | 2018-11-02T05:42:32 | 2018-11-02T05:42:32 | 155,818,476 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,593 | r | 409_63583_cf_WNS_Analytics_Hackathon_code.R | # Clear environment
rm(list = ls())
# Load essential libraries
library(dplyr)
library(tidyr)
library(lubridate)
library(ggplot2)
library(ggthemes)
library(caret)
library(gridExtra)
library(corrplot)
library(h2o)
library(caTools)
library(xgboost)
#install.packages('ggthemes')
# Load train and test... |
dde1028fbf22c665d3a483b69cd90c486edb9051 | 1d3ed002e7749a5c144481989886626bce627e1a | /R/worker_apply.R | f8ed817986f423d6e28512d6998bbb30bc78c5d4 | [
"Apache-2.0"
] | permissive | francoisjehl/sparkworker | 2f570b5221f3e106a8945772f97b56cfbedc30a9 | d01d3c0514151d3825ba28035dc10ee7c2a6d527 | refs/heads/master | 2020-12-30T16:28:21.033864 | 2017-05-09T14:24:27 | 2017-05-09T14:24:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 269 | r | worker_apply.R | spark_worker_apply <- function(sc) {
spark_context <- invoke_static(sc, "sparklyr.Backend", "getSparkContext")
log("sparklyr worker retrieved context")
spark_split <- invoke_static(sc, "sparklyr.WorkerRDD", "getSplit")
log("sparklyr worker retrieved split")
}
|
182b267f0342e98af31293822f3a9004f7c638ba | 436ace74a695893aad73229b723fac6be6814129 | /man/shapleyLinearGaussian.Rd | 7aa4796f4974fac62af8acc1d4ee02682e352d02 | [] | no_license | cran/sensitivity | 18657169c915857dcde8af872e0048fef77107f4 | 2b2cbcb7f1bebecfd05e589e459fdf4334df3af1 | refs/heads/master | 2023-04-06T05:36:54.290801 | 2023-03-19T18:10:02 | 2023-03-19T18:10:02 | 17,699,584 | 17 | 17 | null | 2021-04-07T00:57:30 | 2014-03-13T06:16:44 | R | UTF-8 | R | false | false | 2,691 | rd | shapleyLinearGaussian.Rd | \name{shapleyLinearGaussian}
\alias{shapleyLinearGaussian}
\title{Computation of the Shapley effects in the linear Gaussian framework}
\description{
\code{shapleyLinearGaussian} implements the computation of
the Shapley effects in the linear Gaussian framework, using the linear model
(without the va... |
1acacf4d0f79eed2dcc124e6fa7a40387268767a | bf7ee5b92c94df1902cd73b4a1c0bc0149371c8e | /scripts/downloads/pub/van_groningen_2017/download_process.R | 423d74f7a60020a3be7240a80a01e62ba754011a | [] | no_license | JimmyVdEynden/DLG2 | d49dd01b619c68efafd1b368433af8775fe1ea1f | c557197257e21aec9c08e7aabfbf9e8669656fe4 | refs/heads/master | 2022-12-01T10:49:05.597263 | 2020-08-13T09:38:56 | 2020-08-13T09:38:56 | 244,052,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 527 | r | download_process.R | # Download markers from nature genetics paper
# wget https://media.nature.com/original/nature-assets/ng/journal/v49/n8/extref/ng.3899-S3.xlsx
# Process
# library(gdata)
# diff_marker<- read.xls("downloads/diff_markers/ng.3899-S3.xlsx")
diff_marker<- as.data.frame(readxl::read_xlsx("ng.3899-S3.xlsx"))
MES<- as.charact... |
c507763a33a22f1b0e2a2da6898e885ff08d878a | 9f3b8cd37ec1e63c51bfe1c2a5c1b5a955a10e34 | /Yidi_Wang_Final Project.R | 41e93556554b66687909d7485e85b08f2cd50972 | [] | no_license | IndyNYU/R-in-Finance | 3fd3cbd58bd9d4d80f6472bc6bdd1afeddc874f5 | fa1108909a3e555a2ae756af4fa47b956013ca26 | refs/heads/master | 2020-04-01T18:35:04.714059 | 2018-10-17T18:16:39 | 2018-10-17T18:16:39 | 153,501,789 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,435 | r | Yidi_Wang_Final Project.R | # FRE 6871 - Final Project by Yidi Wang
# 5/10/2018
# My project is divided by two Part.
# Part 1. Cover as much as possible what I have learned from the textbook and class.
# Part 2. Do machine learning prediction about the Kaggle Titanic Prediction.
# Part 1
# Although the data is quite simple, it is worthw... |
98b091aded6a69326eec9942cae61fe44055b510 | c50c50b12c9a41df2184538de073ed51bd29fb16 | /Mythical forest/random forest v2.R | 5bc446286c48554a669181d10809c77822b95562 | [] | no_license | abarciauskas-bgse/kaggle-onlinenewspopularity | 03aaffebceb83c4f93bac0f68b84faabb19b983e | 9ce38948d04d9f6e130664b41d59b30e5f3c3df5 | refs/heads/master | 2020-04-10T16:51:31.374472 | 2016-03-17T20:30:21 | 2016-03-17T20:30:21 | 50,348,423 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,324 | r | random forest v2.R | # RANDOM FOREST
# This will attempt to de-outlier the random forest. Plan:
# The ongoing problem is that 3s and 1s are being under-classified. We have about 77%
# accuracy on 2s, whereas 3s and 1s are correctly classified 8% and 45% of the time respectively.
# What shall we do about this?
# For each sample, the code w... |
0e7393351c5a3817c80944a4022a63c15aa45bd7 | 370b0324d777c264082977849c9232a24593e668 | /regressionPack/R/printRegression.R | 47d074bfcc3eea860d3e1db160b9b04d5c82ccb6 | [] | no_license | eozdemir/RPackageProblemSet | 812fc71e12217200038c8a37c8ff229c1d56775f | cb8f94a03155e475985334b7ae30256dbee11f6b | refs/heads/master | 2020-05-20T19:29:24.078196 | 2014-03-18T02:20:07 | 2014-03-18T02:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 987 | r | printRegression.R | #' Prints summary info for Regression class objects
#'
#' @usage print(x)
#'
#' @param x A Regression class object
#'
#' @author Elif Ozdemir: \email{eozdemir@wustl.edu}
#' @seealso \code{\link{showRegression}}
#' @rdname printRegression
#' @aliases printRegression, Regression-method
#' @export
setGeneric(name="pr... |
170a346037eadf80769c4b5d75ab2a9828365a30 | 44728f5dca2dccca87bc5e5c6ebaa16e5d6518bd | /man/tabcont.qual_.Rd | 02cae5a09774204af3ed54cf4573ebc9860b5183 | [] | no_license | Marie-PerrotDockes/RACCoON | 36ce73f2c75784121b19b5e9f0484d32fd8823bf | 4df1c0be28ee03a8d6674e6a86a48b3df6315340 | refs/heads/master | 2020-05-02T19:56:37.030582 | 2019-01-23T16:44:21 | 2019-01-23T16:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 294 | rd | tabcont.qual_.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tabcont.qual_.R
\name{tabcont.qual_}
\alias{tabcont.qual_}
\title{Title}
\usage{
tabcont.qual_(data, x_all, x2, xall_name, x2_name, nb_dec, pcol, plig,
ptot, ...)
}
\arguments{
\item{...}{}
}
\description{
Title
}
|
c2b4bf6ce5c5921e680dc6750a8b3069d0ce2d33 | e18ace5496bcaaeb111df0e49c152a503488c79e | /man/prepCql.Rd | 87fd1078dc8cb92f21709daa536c68901b21474d | [] | no_license | patzaw/neo2R | ad4ded8adddde2ed928a258fe502c7a8b73a33c0 | 514b11b721a5b1f66db00b713487f285d9d004d4 | refs/heads/master | 2023-02-25T15:52:42.581788 | 2023-02-10T16:09:44 | 2023-02-10T16:09:44 | 119,698,430 | 6 | 2 | null | 2022-11-23T06:17:28 | 2018-01-31T14:31:57 | R | UTF-8 | R | false | true | 490 | rd | prepCql.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepCql.R
\name{prepCql}
\alias{prepCql}
\title{Prepares a CQL query from a character vector}
\usage{
prepCql(...)
}
\arguments{
\item{...}{character vectors with cQL commands}
}
\value{
A well formated CQL query
}
\description{
Prepares a CQ... |
42b524ac9136eb122930c3331b47decb1f385998 | ec6593750c1ea49cb47c3c93bbd2c87efc5cfc6e | /R/raw_data.R | c4dfda6a4ad19cc8e7e5461ac301197716cc66db | [] | no_license | jamesalsbury/Food-Hygiene-Project | 122ff194d0cb3fbe937bce2c96f5c59fb799f794 | 0c5bb4cae4d3ebee9856dc673d0f4b027617c8e1 | refs/heads/master | 2023-04-14T15:49:11.661968 | 2021-04-21T10:12:08 | 2021-04-21T10:12:08 | 299,603,202 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 290 | r | raw_data.R | library(dplyr)
Eng_Wal_NI_Data <- readRDS("data/Eng_Wal_NI_data.rds")
Eng_Wal_NI_Data <- Eng_Wal_NI_Data %>%
mutate(rawScore = s_hygiene + s_structural + s_management)
saveRDS(Eng_Wal_NI_Data, file="data/Eng_Wal_NI_data.rds")
notNA <- Eng_Wal_NI_Data %>%
filter(!is.na(rawScore))
|
a4cfd905d79a329499a8508e04e6f638544a03b3 | 392bfbe08220f1584ab2a9b694e64df12e4def71 | /p9.r | 116a8732632418014e3d0dc3560a006b08d0cdd4 | [] | no_license | theQuarky/R-programming | 734551313de86ae77cf2bd10feda9dba4170cfff | 6c968e648906d0158ed6aeba6d2d2cf3f246a956 | refs/heads/master | 2023-01-08T05:03:47.081992 | 2017-09-26T00:40:45 | 2017-09-26T00:40:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 145 | r | p9.r | num=as.integer(readline(prompt="Enter number for finding factorial :"))
fact=1
for(i in 1:num)
{
fact=fact*i
}
cat(paste(num,"!","=",fact,"\n")) |
bff982326930e2603a969f8aa27a310be0a2c5a0 | 44598c891266cd295188326f2bb8d7755481e66b | /DbtTools/nanHandling/man/allnans.Rd | 34b54aa31f7bad6ed676c34ae2025d16b1764965 | [] | no_license | markus-flicke/KD_Projekt_1 | 09a66f5e2ef06447d4b0408f54487b146d21f1e9 | 1958c81a92711fb9cd4ccb0ea16ffc6b02a50fe4 | refs/heads/master | 2020-03-13T23:12:31.501130 | 2018-05-21T22:25:37 | 2018-05-21T22:25:37 | 131,330,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 486 | rd | allnans.Rd | \name{allnans}
\alias{allnans}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Count all NAs/NaNs }
\description{
Count NAs and NaNs in the data
}
\usage{
allnans(x)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{x}{ a mtraix or a vector }
}
\value{
\item{n}{n... |
ebe2603acb820d8becdf2224a0799f4ca783d073 | 8b6eca47db727d02fd4f589b633f75a91ad8d523 | /man/sum_data.Rd | a57298d2a9076825254cef229fdb50a93005b35c | [] | no_license | wanjarast/accelerateR | 7c5394958eecd7d0b7263af6bc75889a1b473b83 | fe4813926f59dfe3505c6aa0c45da961443422db | refs/heads/master | 2022-07-03T09:36:54.493148 | 2022-06-16T14:30:17 | 2022-06-16T14:30:17 | 140,834,266 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,242 | rd | sum_data.Rd | \name{sum_data}
\alias{sum_data}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Summary statistics from e-obs raw acceleration data
%% ~~function to do ... ~~
}
\description{Calculate summary statistics from e-obs raw acceleration data. Statistical variables composition can be chosen at will. Re... |
b05fff0cce72530835d7f1da94ef59b532fae625 | a8ba437a77c7708fcdb04185f5b18890782feb02 | /inst/shinyapps/mdaplot/server.r | e10a66ba91f8f0989c58e61a14e5b78dab130717 | [] | no_license | reyzaguirre/rhep | 79248d3432fddea1a662f990375ed01c747375d7 | eef36c56b8f1132539a41c122aef9c9d09335e6b | refs/heads/master | 2022-10-05T16:30:43.998277 | 2022-08-26T18:38:07 | 2022-08-26T18:38:07 | 28,341,518 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,034 | r | server.r |
shiny::shinyServer(function(input, output) {
# Expression that generates a histogram. The expression is
# wrapped in a call to renderPlot to indicate that:
#
# 1) It is "reactive" and therefore should re-execute automatically
# when inputs change
# 2) Its output type is a plot
output$distPlot1 <-... |
009d2c652a98d8f3ddbc51e9d66b915997752642 | d0899d9f443505a95008c8022687344f50e734ea | /tests/testthat/test-watershed.R | d02320225cc8bf93b820be8f355da8f4ff34dd24 | [
"MIT"
] | permissive | mtalluto/WatershedTools | 8603ef5352db423ad26458d2f04e88d165332a4f | 0350c992856b13beb03bd372858562d5abd84238 | refs/heads/main | 2023-02-08T16:12:45.065078 | 2022-05-19T13:01:56 | 2022-05-19T13:01:56 | 159,832,657 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 283 | r | test-watershed.R | ws <- readRDS(system.file("testdata/testWS.rds", package="WatershedTools"))
test_that("Topology functions", {
skip_on_cran()
points =confluences(ws)[, 'id']
expect_error(dm <- siteByPixel(ws, points), regex=NA)
expect_equal(sum(dm, na.rm=TRUE), 3754613, tolerance = 0.001)
})
|
755ca841b7df0d62c1427cea74321384c638fa86 | 3d0cc57b1908da75fc1bd5a1ad3b074a32835055 | /man/listMetaGenomes.Rd | a3372fe535fcf0558f0e2897b0e119ed939c9f05 | [] | no_license | flopezo/biomartr | c964109dfa2356559ae7f566664313615080ef86 | cbd022783c7e1e779096ea3e8abbc2a790b5cb8b | refs/heads/master | 2020-12-24T12:40:15.877281 | 2016-10-31T17:00:35 | 2016-10-31T17:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,057 | rd | listMetaGenomes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/listMetaGenomes.R
\name{listMetaGenomes}
\alias{listMetaGenomes}
\title{List available metagenomes on NCBI Genbank}
\usage{
listMetaGenomes(details = FALSE)
}
\arguments{
\item{details}{a boolean value specifying whether only the scientific n... |
36d19f4bb3931b0245123039fc4315349d470e0a | 3db19b3f22c3709a05afd02a5b5e1152c7dd6ea8 | /man/mapHourlyMSLP.Rd | 1d1997996c8ece2e0563ade62c38e7544d5f3cad | [] | no_license | rijaf-iri/mtoadtNMA | e01cc9dbdd3ddc2c6f6734497b8570d36bf3ae7b | 814740263f72a310ff35854f39d81b6e547227d0 | refs/heads/main | 2023-07-27T07:30:22.981829 | 2021-09-17T02:43:20 | 2021-09-17T02:43:20 | 401,233,451 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 495 | rd | mapHourlyMSLP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/app_plotmap_mslp.R
\name{mapHourlyMSLP}
\alias{mapHourlyMSLP}
\title{Compute hourly mean sea level pressure.}
\usage{
mapHourlyMSLP(time, aws_dir)
}
\arguments{
\item{time}{the time to display in the format "YYYY-MM-DD-HH"}
\item{aws_dir}{fu... |
de59b5277021691debdb0d3a119c6ad09bcfb187 | 5a01fb018387de190e43d512a8085ff31db46a2e | /man/text_year_minmax.Rd | be1bc6454b85d7812abb455f648c1cf6bfc8e40d | [
"MIT"
] | permissive | YuanchenZhu2020/antgreens | cc5abb04ee2773ffecf5791754fadd3fd80bd1f9 | 60057fc84c1d680d6432386d9b212d74d803c5a8 | refs/heads/main | 2023-07-20T07:33:29.647260 | 2021-09-05T15:09:44 | 2021-09-05T15:09:44 | 388,802,783 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 776 | rd | text_year_minmax.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/text_utils.R
\name{text_year_minmax}
\alias{text_year_minmax}
\title{Generate Text Describing Minimum and Maximum Rate Item By Year}
\usage{
text_year_minmax(data, year_range, rate_text, item_name, rate_name)
}
\arguments{
\item{data}{a data ... |
98a8705c8a01c2b3909d73f645da4776098620dc | f3fbe9e4f49764e088531485f14c8f0962569420 | /R-code/ar_coeffs_to_sdf_single_freqs.R | e71bb173ab09f99ce7bf885c1040453f29805e89 | [] | no_license | dmn001/sauts | d3a678091a081679561db2ada077a7dc9630847d | 2797e0ab943fb02ebea82df32bd1cc2748c54dcc | refs/heads/master | 2023-04-30T12:13:14.502267 | 2021-05-22T16:11:15 | 2021-05-22T16:11:15 | 369,851,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 638 | r | ar_coeffs_to_sdf_single_freqs.R | ### compute SDF for AR process over one or more selected frequencies
ar_coeffs_to_sdf_single_freqs <- function(f,innov_var=0.002,coeffs=c(2.7607, -3.8106, 2.6535, -0.9238),delta_t=1)
{
p <- length(coeffs)
return(sapply(f,function(f) innov_var*delta_t/abs( 1- sum(coeffs*exp(complex(imag=-2*pi*f*delta_t*(1:p))))... |
b165981764f418599a4fe562f4978ef37ce21627 | 35d0ef7ca1dff2cd659f3e0b8a69a1eff9a2c95b | /plot3.R | 0679843e6f56bf52c4dbe8f2fcea71afc950fa5d | [] | no_license | cschne05/ExData_Plotting1 | 257d5976c1de045f7536b01d7ef6514e9cfa6ad1 | 3edc976db87aecd075409d98f45aea47edea68c0 | refs/heads/master | 2021-01-12T19:52:24.591159 | 2014-11-09T20:52:06 | 2014-11-09T20:52:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,348 | r | plot3.R | #Course Project 1
#Exploratory data analysis
#Script for plotting individual sub metering over time from household power consumption data
#Load lubridate package
library(lubridate)
#Read in data
data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";")
#Subset data by date
dataFeb <- data[(data... |
3a068df8d857a16bbaf43f6493943a3b3bc40957 | e000337612c06a9b90e8e89e1bdfc1dded429b07 | /R/app_ui.R | 41ae8998fad08ccba0ed5531b8afdc1f048f37cf | [
"MIT"
] | permissive | PascalCrepey/BiostatsAppsMPH | aa8c662a43ce5ad3da46580fae6b8350d8d248a8 | 3085e54d66fff345b10489874d881f443effbc83 | refs/heads/master | 2020-07-24T22:15:54.414219 | 2019-09-24T14:15:44 | 2019-09-24T14:15:44 | 208,065,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,816 | r | app_ui.R | #' @import shiny
#' @import shinydashboard
#' @import shinyWidgets
app_ui <- function() {
sidebar <- dashboardSidebar(
sidebarMenu(id = "sideMenu",
menuItem("Logistic Regression", icon = icon("th"), tabName = "LogisticRegression",
badgeLabel = "new", badgeColor = "green", ... |
823cd3d6aa1d691bf0d467a5ab0122bc3d75ae29 | cef3b5e2588a7377281a8f627a552350059ca68b | /paws/man/greengrassv2_cancel_deployment.Rd | 827a23c8cd2b8621f1fe7916082983c0bdffaa24 | [
"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 | 671 | rd | greengrassv2_cancel_deployment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/greengrassv2_operations.R
\name{greengrassv2_cancel_deployment}
\alias{greengrassv2_cancel_deployment}
\title{Cancels a deployment}
\usage{
greengrassv2_cancel_deployment(deploymentId)
}
\arguments{
\item{deploymentId}{[required] The ID of th... |
b75aa043167cf2c9de6ae9fd243c115897cae0df | d1b1cead5e9525fbfec5b7df989ebc0a09c8d782 | /man/createExperiment.Rd | 7dad65b2ba765712423ddda57ed7775371659c41 | [] | no_license | AmundsenJunior/pfsrsdk | 0ce8195f9d9a96562d31992f44303ee151bd4111 | d799defb9447a4e70cb2906205f6023020fc621a | refs/heads/master | 2020-06-06T00:24:06.491018 | 2019-07-15T16:59:12 | 2019-07-15T20:37:59 | 192,584,459 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,546 | rd | createExperiment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createExperiment.R
\name{createExperiment}
\alias{createExperiment}
\title{createExperiment - Create a new instance of an experiment.}
\usage{
createExperiment(coreApi, experimentType, assayType, assayBarcode,
protocolType, protocolBarcode,... |
4636b955dacbfdf813fc5b3437776164ce6da36a | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/eweib_trunc-test.R | 990443b65de3cb22ede8747d6d7cd39500ff3be3 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 229 | r | eweib_trunc-test.R | function (a, b, k, lambda)
{
e <- get("data.env", .GlobalEnv)
e[["eweib_trunc"]][[length(e[["eweib_trunc"]]) + 1]] <- list(a = a,
b = b, k = k, lambda = lambda)
.Call("_mixR_eweib_trunc", a, b, k, lambda)
}
|
e9bca93375858532ecc3d6dd535700ad31f74425 | 5247d313d1637170b6bbc5e367aba46c88725efd | /man/tw_api_get_users_search.Rd | 1cad0d7aea955d91e0da61982f7a294ea0cf385e | [] | no_license | fentonmartin/twitterreport | dac5c512eea0831d1a84bef8d2f849eab2b12373 | 5ddb467b8650289322ae83e0525b4ff01fba0d1d | refs/heads/master | 2021-08-22T04:25:01.834103 | 2017-11-29T07:47:43 | 2017-11-29T07:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,566 | rd | tw_api_get_users_search.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/twitter_api.R
\name{tw_api_get_users_search}
\alias{tw_api_get_users_search}
\title{Search users}
\usage{
tw_api_get_users_search(q, twitter_token, page = NULL, count = 20,
quietly = TRUE, ...)
}
\arguments{
\item{q}{Query}
\item{twitter_t... |
3366bea4d5de1d79c99ad075a6ab5aa44b905b85 | 9e02faab697c634d341c04948b72e424839b0889 | /man/evaluateLogConDens.Rd | 54ea742ff8d11867202f1abc332d7f556cc6f0a9 | [] | no_license | cran/logcondens | ee14d41d1f6d585340ba6f553086fc9fbcda3f93 | fb013534190ee54999c1da3bbaa3d386778502a5 | refs/heads/master | 2023-01-12T04:43:18.493903 | 2023-01-06T17:50:48 | 2023-01-06T17:50:48 | 17,697,149 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,072 | rd | evaluateLogConDens.Rd | \name{evaluateLogConDens}
\alias{evaluateLogConDens}
\title{Evaluates the Log-Density MLE and Smoothed Estimator at Arbitrary Real Numbers xs}
\description{Based on a \code{"dlc"} object generated by \code{\link{logConDens}}, this function computes the values of
\deqn{\widehat \phi_m(t)}{\hat \phi_m(t)}
\deqn{... |
e650ada8b272dd085cff4ab4b67215c2496f30fd | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /highfrequency/man/sampleTDataRawMicroseconds.Rd | 50637e481d4c81d09d9fef8ca31d7340643064c3 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 451 | rd | sampleTDataRawMicroseconds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{sampleTDataRawMicroseconds}
\alias{sampleTDataRawMicroseconds}
\title{Sample of raw trades for stock XXX for 2 days}
\format{
A data.table object.
}
\usage{
sampleTDataRawMicroseconds
}
\description{
An imaginary d... |
0f5904e35aa248b160b8660613941a1ce7ba5ad5 | f74392892aa553623ff9c73d99834ff0abd48179 | /scripts/01_data_preparation/01-data_cleaning-survey.R | eb94a48d5a3a6ea1e6d16b3f2672916ef401ef77 | [
"MIT"
] | permissive | dojennifer/sta304-ps4 | a5ed1136a45d9340edc5f20e2d3af9980cec1862 | 00148f88cc79585fb022e46ad950900a26c17c49 | refs/heads/main | 2023-07-13T06:05:41.133319 | 2021-08-25T23:21:23 | 2021-08-25T23:21:23 | 329,102,747 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,734 | r | 01-data_cleaning-survey.R | #### Preamble ####
# Purpose: Prepare and clean the survey data (nationscape) downloaded from voterstudygroup.org
# Author: Annie Collins, Jennifer Do, Andrea Javellana, and Wijdan Tariq
# Data: 2 November 2020
# Contact: annie.collins@mail.utoronto.com, jenni.do@mail.utoronto.com,
# andrea.javellana@mail.utoronto.com... |
9a41e7acbe6af798592ac35f0c402940f1fc8515 | 2c9c670c4f8076b70430d406b5c59912dc78695d | /man/fitBmeaBatch.Rd | b39ba5bc473507d43585dd16c80dff903d015d4c | [] | no_license | smped/BMEA | 60e10861df734e2ae869d9cff01fc3655f9a66d1 | 1fe0dfb8fda370e422867ede3153d53812257654 | refs/heads/master | 2023-04-17T19:22:13.253330 | 2018-10-21T17:38:23 | 2018-10-21T17:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,443 | rd | fitBmeaBatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitBmeaBatch.R
\name{fitBmeaBatch}
\alias{fitBmeaBatch}
\title{Fit the BMEA model for a single batch of units}
\usage{
fitBmeaBatch(celSet, bgCelSet, units, conditions, contMatrix, ...,
paramToSave = c("c", "mu", "phi"), keepSims = FALSE, z... |
9f2b805b0baf1562d0fae18dbad5c5ed4785c278 | 16f42cb9ce208dbf6d83aa570897b42fbac81cce | /scripts/03_table_2.R | f85bea589c0de4e58b15a6910475710e0747a13f | [] | no_license | soodoku/kirkuk | 7522cacb1a82ab7f50c549da9d7e57b21c80868c | 3c9e29aca10671f665f5b43079b43892945e9015 | refs/heads/master | 2020-03-17T07:20:49.666196 | 2019-05-24T16:21:05 | 2019-05-24T16:21:05 | 133,394,548 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,807 | r | 03_table_2.R | #
# Delib. in Kirkuk
# Table 2
#
# set directory
setwd(githubdir)
setwd("kirkuk/")
# Load libs
library(tidyr)
library(dplyr)
library(reshape2)
library(broom)
# Read in the data
source("scripts/01_recode.R")
# Table 2: Knowledge
# ----------------------
know <- paste0("know", 1:5)
know_all <- all_dat[, c(know, "k... |
828e524b14e4d03e17e3a7a73f7612da649ffa7c | 63bc7e142f273144641b37a1c180f8678d845499 | /CatMisc/man/relativePath.Rd | 5bfdf859817e7a6cf3df356ac5e0e5dc659c87ae | [] | no_license | maptracker/CatMisc | ddec33c061d5a4079bf3648e50f1fbab48ce3ae4 | df94630e699665305af546c834cbb6c11086ccbe | refs/heads/master | 2021-05-23T05:48:22.025097 | 2019-04-11T18:47:52 | 2019-04-11T18:47:52 | 94,934,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,073 | rd | relativePath.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CatMisc.R
\name{relativePath}
\alias{relativePath}
\title{Relative Path}
\usage{
relativePath(parent, child, mustWork = FALSE, normChild = TRUE)
}
\arguments{
\item{parent}{Required, the file path that presumably is an
ancestor of the child i... |
358a881b8625e9cc8f81bfd4bec3da15e9e499d9 | 475372c181820a5079a67300e6d1d7632786425a | /R/theme_mip.R | ead2edd88cb1b2e14d2fca723968b85af1411351 | [] | no_license | IAMconsortium/mip | ba58053436adf9fbedcd4486ab856ede9744891b | 8557058c235dbc5fd6c7971f358fb6270c1f6335 | refs/heads/master | 2021-07-07T08:08:00.585891 | 2017-10-06T11:59:00 | 2017-10-06T11:59:00 | 114,863,504 | 0 | 2 | null | 2017-12-20T08:39:11 | 2017-12-20T08:39:11 | null | UTF-8 | R | false | false | 914 | r | theme_mip.R | #' MIP theme settings
#'
#' @param size Font size
#' @author Jan Philipp Dietrich
#' @examples
#'
#' \dontrun{
#' p <- mipArea(x) + theme_mip(10)
#' }
#' @importFrom ggplot2 theme element_text unit
#' @export
theme_mip <- function(size=12) {
return(theme(plot.title = element_text(size=size+4, face="bol... |
dd13b334b16d3e63ca21acccdf68c28e4eddec3b | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.analytics/man/datapipeline_create_pipeline.Rd | 55484db394bec04bdd8029e09b16800db30c1375 | [
"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 | 2,177 | rd | datapipeline_create_pipeline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datapipeline_operations.R
\name{datapipeline_create_pipeline}
\alias{datapipeline_create_pipeline}
\title{Creates a new, empty pipeline}
\usage{
datapipeline_create_pipeline(name, uniqueId, description = NULL, tags = NULL)
}
\arguments{
\item... |
4d8f3f8f924340609d6692358321513569968915 | 81de910c2709361dff0f83cdf087a47ef4e31818 | /figures/Figure6/loopingPlotscode/IKZF1.R | 3f3265fefe412a48c461a45b734051f23b494e8e | [] | no_license | fl-yu/singlecell_bloodtraits | 1fdfb4edeac23a3763199f377a7115e9541fa5df | 1da2a246b6f1ad13e8bfcbd424080f8ea5917c86 | refs/heads/master | 2022-02-05T10:02:17.033827 | 2019-07-09T22:38:39 | 2019-07-09T22:38:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,379 | r | IKZF1.R | library(Gviz)
library(data.table)
library(GenomicRanges)
library(GenomicInteractions)
library(InteractionSet)
library(diffloop)
library(BuenColors)
source("geneinfoLoad.R") #hi-C interactions?
genome <- "hg19"
chr <- "chr7"
fromBP <- 50080000
toBP <- 50560000
bp <- 50343720
gene <- "IKZF1"
snps <- makeGRangesFro... |
f5f6c325d95c80848d455ed7a8930bad5e1e6462 | 864de5871194247f7ec4319afed1f6b413601db1 | /man/input_button.Rd | 3f4ea9dc69bfcbff4845f723d5793ff6045ee7ad | [
"MIT"
] | permissive | han-tun/g2r | d3762b82277cdf5d397aa8016608b892f41914bd | a48baf1fcceacef5c9f960b52d6054f5fa8d5c70 | refs/heads/master | 2023-07-26T07:38:34.951377 | 2021-09-06T19:57:30 | 2021-09-06T19:57:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 578 | rd | input_button.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inputs.R
\name{input_button}
\alias{input_button}
\title{Button Input}
\usage{
input_button(id, label, class = "default")
}
\arguments{
\item{id}{Id of the button.}
\item{label}{Label to display.}
\item{class}{Class of the button.}
}
\descr... |
97dec33512643e544a2a48289f06bca3280dd7e9 | f640a0f5e82204b7ad2364fe9bff4df7de501b0f | /velocity/R/pred_time_on_xygrid.R | b458f5057b740bde4fc18b2c4f71168b89965bf4 | [] | no_license | laispfreitas/Colombia_DZC_satscan_velocity | 3faaf6aab2c534a2c83c55054984ac64b7520080 | 57dbd613cf00936ef76d37a383f6021e93f265bd | refs/heads/main | 2023-04-17T03:39:46.761005 | 2022-08-30T15:11:46 | 2022-08-30T15:11:46 | 498,443,102 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,390 | r | pred_time_on_xygrid.R | #' Fit polynomial models
#'
#' This function fits the polynomia functions and predict the delay time for a new xy grid
#' used to generate the dataset for the contour map
#' @param ds_new=ds Dataframe providing the date of outbreak and X and Y coordinates
#' @param max.order Integer of highest order polynomial to ... |
58e664c64c525e70a37d3f3304bbe4bc3c2ef02e | 02c27fc07ee76bf11d21c4cf59ae5d3b94194a3e | /R/Cauchy_ID.R | 080a494de868dab7106a6196e176f6dad158b9bc | [] | no_license | rnorouzian/BayesianforL2 | cd581e5d5bba2de6d12411aa26214dab85490deb | e97f4d7fccf3c1b9ee1619dec496584b0d22f505 | refs/heads/master | 2021-01-20T16:09:22.503864 | 2017-12-02T06:49:24 | 2017-12-02T06:49:24 | 90,819,012 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,327 | r | Cauchy_ID.R | #' Cauchy Prior Distribution Identifier
#'
#' Uses the subject matter researcher's knowledge to generate
#' a corresponding Cauchy prior distribution.
#'
#' @param Low researcher's LOWEST plausible value for the parameter.
#' @param High researcher's HIGHEST plausible value for the parameter.
#' @param Cover researcher... |
27936dad5c60e7ce07d87d91b0986a87655660c6 | 776345c4d2d6ce713646a43f47fea3d7f7c86a7d | /server.R | 1ef347f888389378fbdca8ac1273a487a7a0bdff | [] | no_license | jLBasilio/150_solver | ff7a765330c596e55dbf1cb4cfbec7f0dac5c657 | 3245e76918e8cd64261bd2690b73400af0e3c5f3 | refs/heads/master | 2020-04-10T03:43:46.395773 | 2018-12-10T04:15:15 | 2018-12-10T04:15:15 | 160,778,393 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,420 | r | server.R | library(shinyjs)
library(rhandsontable)
source("./controllers.R")
server = function(input, output, session) {
useShinyjs()
pageNo = reactiveVal(1)
maxPageNo = reactiveVal(NULL)
stateListGlobal = NULL
fileToMatrixPR = reactive({
if (is.null(input$fileInputPR)) return(NULL)
fileToRead = input... |
9b8c45be5f2809e830c13a8986c8f8c9f25f8797 | 751554b83b004bb64d90cdf2786f42ab4794ab95 | /Factor_Hair_Analysis.R | 1bbf89c827c7ebf3a7b76b99600494c14c8a4198 | [] | no_license | Sakshi-jain31/Product-Market-Segmentation-PCA-Regression-Analysis | ac63bab06fd0583733fc78b5f25b30b00f5d7067 | 7ff333ade25a13df3c0566f8cab7e4830a9fe4d6 | refs/heads/master | 2022-12-13T04:08:18.562403 | 2020-09-15T05:43:03 | 2020-09-15T05:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,993 | r | Factor_Hair_Analysis.R | #### Exploratory Data Analysis####
setwd("C:/Users/Sakshi/Desktop/Great Learning/Sample R Projects/Factor_Hair_Analysis")
Hair=read.csv("Factor-Hair-Revised.csv", header = TRUE)
library(ggplot2)
library(psych)
library(corrgram)
library(car)
library(corrplot)
library(nFactors)
library(dplyr)
library(DataExpl... |
f7b3d99f15da11df73e33b955634015e5d4dce2e | 9d98b117ce88845da0dc6e50f316628713aaf619 | /R_mean.r | 34ed0f48babb71654873a733e0ce46e7f13ed57c | [] | no_license | marvinh/DialogFlowWithR | 21574d9bdb546dbcdd6012579516cefe43383385 | 8b7a635bc2a9be8095f812aaa0d2489640b3cff2 | refs/heads/master | 2020-03-11T06:46:43.015970 | 2018-04-17T03:59:57 | 2018-04-17T03:59:57 | 129,839,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | r | R_mean.r | # mean.R
needs(magrittr)
mean(do.call(rnorm,input))
#do.call(what, args, quote = FALSE, envir = parent.frame())
#Arguments
#what
#either a function or a non-empty character string naming the function to be called.
#args
#a list of arguments to the function call. The names attribute of args gives the argument n... |
1497fbef6965f1e3b8bad3c90f1c47ecca5cb146 | 1677597e02878af81be32e55c1be874e32a546e3 | /R/sentence_weights.R | 71780737973a66d40888a08686dd2048abe99fc7 | [
"MIT"
] | permissive | LJCovingtonJr/SumBasicR | bc55cd1b10e18ce16544e21456d0f3a0180d39e8 | 48d55c85d07bdafbf96103308d60f6e598a1b446 | refs/heads/master | 2022-09-26T05:28:50.313047 | 2020-06-04T06:45:00 | 2020-06-04T06:45:00 | 262,671,055 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,100 | r | sentence_weights.R | #' Compute sentence weights
#'
#' For a given text and probability distribution, calculates the weights for each sentence
#' @param text A lengthy string of text
#' @param dist A probability distribution, generated by compute_probability_dist()
#' @return A data frame, consisting of the sentences and their weights... |
2c810d42557717cc1427830677fc10ee3dcedc62 | d7ad10a6c17e28fd169194ddfd64cded3f0d56af | /man/eval_Dstar_g.Rd | 312de775c2976293ec2ae28a3c39c60cbbf30b8a | [
"MIT"
] | permissive | benkeser/drtmle | ac08013264883b708446c0610e71f22730a7dc93 | 538a3a264c1ca984b6d88978ca7f96165f43152c | refs/heads/main | 2023-01-12T15:08:45.289555 | 2022-12-29T16:56:27 | 2022-12-29T16:56:27 | 75,324,341 | 18 | 10 | NOASSERTION | 2022-12-29T14:39:21 | 2016-12-01T19:16:01 | R | UTF-8 | R | false | true | 943 | rd | eval_Dstar_g.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inf_functions.R
\name{eval_Dstar_g}
\alias{eval_Dstar_g}
\title{Evaluate extra piece of efficient influence function resulting from
misspecification of outcome regression}
\usage{
eval_Dstar_g(A, DeltaY, DeltaA, Qrn, gn, a_0)
}
\arguments{
\i... |
3a2b6d260502fbe0f6ab6af3ee0cec148bfc275c | 9348839bfe4519dbbe861a467ba40ff714a27c85 | /R/interpret_word.R | 91bf7bbe40056c735b900374edf947c683f17929 | [
"MIT"
] | permissive | dtburk/texanaaid | def4412e9d947f203750ba62b9380f962ba6c55c | 4fefcbd1531227880ff59537e03b80e50af08aad | refs/heads/master | 2020-09-06T01:52:43.552113 | 2019-11-12T21:13:55 | 2019-11-12T21:13:55 | 220,277,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,460 | r | interpret_word.R | #' Interpret word
#'
#' Outputs information on the frequency and context of a word in documents analyzed by a topic model
#' @param word The word to be interpreted.
#' @param tkd_texts The tokenized texts used to create the document-term matrix.
#' @param doc_term_mtrx A document-term matrix summarizing the content of ... |
1d9a6b7465e1ef6d4a4046e47648f3ddad80162c | d02fd5b1482be2daab6f812b514758d8dab1b053 | /R/waldP.R | 3f609dd6e1d893040ddbcca16b82f22f45a25fc4 | [] | no_license | LuXiaoEei/MWPCR-with-R | a7d6d97a01625643ad8ec165a3d11cf02194535c | 837a948f56d8ce157e64c68de7cb4325e9a62313 | refs/heads/master | 2021-07-22T05:22:54.429629 | 2017-10-31T11:43:47 | 2017-10-31T11:43:47 | 107,981,537 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 159 | r | waldP.R | # wald.test return p value
waldP <- function(X,Y){
df <- lm(Y~X)
P <- wald.test(Sigma = vcov(df),b = coef(df),Terms = 2)$result$chi2['P']
return(c(P))
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.