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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8281574395ec1ec580cb285e8724228fba508d77 | 8e1ddb4cce71f94035644128b213f4d1eb295b2d | /point_different.R | c1cf09cc5fae0bc4aca4d74639961979d3dcd521 | [] | no_license | shimw6828/Rscript | c4056a988730921ffb169ac21b152924bc9b171e | cb0ae9ead82db5778b3d1f3606a4b6d1943ceba8 | refs/heads/master | 2021-09-06T01:15:00.683810 | 2018-02-01T08:01:41 | 2018-02-01T08:01:41 | 119,802,766 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,362 | r | point_different.R | filename <- list.files(path = "/home/shimw/yushixiong/dot/",pattern = ".csv",full.names = FALSE)
filenamet <- list.files(path = "/home/shimw/yushixiong/dot/",pattern = ".csv",full.names = TRUE)
for (i in 1:4){
assign(as.character(filename[[i]]),read.csv(filenamet[i],header = TRUE))
}
##????Ϊcav??????
##?????е?tissueת... |
084be70208ff531d2530aec722377752027dd20a | d7258807978432d320c176e415ec249962620165 | /scripts/gaur_paml_go_kegg_pathway_analysis.R | 219cd2aa37f0228138f25c21a04004cdd0948dd0 | [
"MIT"
] | permissive | Genorater/GaurAssemblyProject | 359784ac2f2586029d0ce9e4d3587097110e2851 | cfb27d5b59d67c1e95af97888718d6de87acfd05 | refs/heads/main | 2023-05-09T05:23:51.162021 | 2021-06-07T00:05:27 | 2021-06-07T00:05:27 | 362,017,366 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,745 | r | gaur_paml_go_kegg_pathway_analysis.R | #------------------------------------------------------
# Program name: gaur_paml_go_kegg_pathway_analysis.R
# Objective: GO and KEGG pathway analysis for positive selection results
#
# Author: Kelly Ren
# Email add: kellydren@gmail.com
#------------------------------------------------------
# Packages
lib... |
6c1accd9db5421d418dd05a68054ca5aed991911 | 411ae251f59fabb35eaa2d4bbf85a596322dd521 | /project-submission/CODE/shinyApp/modeling.R | 02c78884c43b9c917335f14aaf409668d6e9001c | [
"Apache-2.0"
] | permissive | hepaces89/multi-agent-data-analysis | 7ab8eae13298998863fae1763a153cc7f78acf59 | 7ac425baab72cbc162db78a5d9db775def752f32 | refs/heads/master | 2020-03-25T06:47:59.121910 | 2018-04-30T23:04:33 | 2018-04-30T23:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,852 | r | modeling.R | # This is the file that has the function run_modeling that is called in app.R
# for the modeling tab
library(data.table)
library(sqldf)
library(dplyr)
library(plyr)
library(readxl)
library(datasets)
library(corrplot)
library(data.table)
library(ggplot2)
library(caTools)
library(pls)
library(neuralnet)
run_modeling <-... |
6d41360581038fc600c2adf347463d6a04d0f958 | 422308ef4a5d2f1cfb775fa7dff7ca56a5d41f02 | /UI.R | 7d41af849749435c7c0d46ee72f219536f4f2612 | [] | no_license | BDFace/DDP_Project_Shiny | 66c61349028bc08113990f323814d9feabbecd4f | 7defa1c9c99e977ddfdd6748f1bca234b0e073b8 | refs/heads/master | 2016-09-05T16:00:22.861523 | 2015-04-20T21:09:25 | 2015-04-20T21:09:25 | 34,286,218 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,226 | r | UI.R | shinyUI(pageWithSidebar(
headerPanel("Child's height estimate based on parent height"),
sidebarPanel(
numericInput('heightdad', 'Height of father (cm)', 185.6, min = 100, max = 400, step = 5),
numericInput('heightmum', 'Height of mother (cm)', 170.9, min = 100, max = 400, step = 5),
checkb... |
637cdbe203c302c30b0f3540e28182f688340a10 | 114c3031ba27cd9f039f299da0ea6c581f0d005b | /Figures.R | 832462d537f29179f20b1ec31558735ce4dc8466 | [] | no_license | joyceongjl/hotspots_coherence | ad7b3fc97e332c4c5ba3a5c95fc29b03d6d46f72 | ba1f08220348d267d4057bbfbe6fd24d32ac9fc3 | refs/heads/master | 2022-12-01T09:07:35.744406 | 2020-08-12T22:40:17 | 2020-08-12T22:40:17 | 286,776,009 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,225 | r | Figures.R | #R code for figures in global MS
#### Code for Fig 1 pedagogical
#Plot of pedagogical figure,a is inphase on long ts but antiphase on short,
#b is antiphase on long ts but inphase on short
#c is coh with phase diff 0 (in phase), d is coherence with lag (non zero phase diff)
#code for a and b
tt=100 #number of timeste... |
aee978e1c621e322531ffa23ef93e4c82fb10659 | 8a38f23cbf50f0acf948318a1b56d566bf39aba9 | /new_export.R | 89c1ca80286a0c6e1bf718513bd314af48e5c3d8 | [] | no_license | Chirurgus/discrete_copula | 91b3210357df599dafbc55b783816ceab7e3b7b8 | 21c138a54fa97beacf2c43bad374365f6b791d35 | refs/heads/master | 2020-03-27T17:58:19.805059 | 2018-08-31T14:51:41 | 2018-08-31T14:51:41 | 146,889,107 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,807 | r | new_export.R | # Created by Oleksandr Sorochynskyi
# On 29 08 18
tri <- function(m) {
m[lower.tri(m)]
}
pair_near <- c(23,12)
pair_far <- c(23,3)
pair_median <- c(23,2)
# params
load("summary/params.RData")
# covar
load("summary/covar.RData")
# distances
load("summary/dist.RData")
# 1) infered param: distan... |
6417baeb86b9444f283e3e5c9e09ae61f0cb6c6c | 0d2190a6efddb7167dee3569820724bfeed0e89c | /R Package Creation/STAR/man/GomezTenureStatus.Rd | b61a49d3c970857bbb7678434d40925e1d39d431 | [] | no_license | djnpisano/RScriptLibrary | 6e186f33458396aba9f4151bfee0a4517d233ae6 | 09ae2ac1824dfeeca8cdea62130f3c6d30cb492a | refs/heads/master | 2020-12-27T10:02:05.719000 | 2015-05-19T08:34:19 | 2015-05-19T08:34:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 459 | rd | GomezTenureStatus.Rd | \name{GomezTenureStatus}
\alias{GomezTenureStatus}
\docType{data}
\title{GomezTenureStatus}
\description{GomezTenureStatus}
\usage{data(GomezTenureStatus)}
\format{
A data frame with 187 observations on the following 2 variables.
\describe{
\item{\code{TenureStatus}}{a factor with levels \code{fixed-rent} \code... |
1054286128f076872f92eebb8874947a2aeb6af1 | 35da33a02f5e37cc4c860059dc969597e97ef800 | /map/Rfile/baidumap.R | 6bd6be6729abde577408e3fdd73f1d21985f4b8d | [] | no_license | yuanqingye/R_Projects | f36c176b6295818defb1429859b9faa3dac8862d | dc460dc56cb6a36b4bd7aeffeb1fb70e6791b1ec | refs/heads/master | 2020-03-11T06:46:14.832080 | 2018-05-18T06:33:05 | 2018-05-18T06:33:05 | 129,839,300 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,570 | r | baidumap.R | library(ggmap)
library(baidumap)
options(baidumap.key = '4SY3dY8GrhfU5ChOeqFMvhcaf9DWo7dc')
#高德地图API key
gaode_key = "de4e66af67591588df24da020bb3d3eb"
#AIzaSyAQwxqx2skmYVbgffhTfyKixuxAgU9PTbs google map api
# 9792023 4SY3dY8GrhfU5ChOeqFMvhcaf9DWo7dc 服务端 设置 删除
bj_college = getPlace('大学','北京')
pku_map = getBai... |
f9846b8656477c90654aa7b2dc71640e41bb176d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SixSigma/examples/ss.cc.Rd.R | 378d1c5471b2f9a687442d5a7d8d12cc8db74b91 | [] | 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 | 242 | r | ss.cc.Rd.R | library(SixSigma)
### Name: ss.cc
### Title: Control Charts
### Aliases: ss.cc
### ** Examples
ss.cc("mr", ss.data.pb1, CTQ = "pb.humidity")
testout <- ss.data.pb1
testout[31,] <- list(31,17)
ss.cc("mr", testout, CTQ = "pb.humidity")
|
7a83633b9f7a7105b2fdab41403b4e4ac7ca4461 | 8f836dfe40598caeb2fa1dce3e47f6960c1c7dd5 | /SCBToolBox.R | 0a234e92855c8ede945ebfbee9960c9a57c45d44 | [] | no_license | barberena/ExData_Plotting1 | 9e8cca3264902ab08fee7a1b225c03196daa6215 | 081f437a0c117b844d7a20404e548c5c4f80d32b | refs/heads/master | 2021-01-18T02:19:22.526571 | 2015-10-08T04:41:04 | 2015-10-08T04:41:04 | 43,849,888 | 0 | 0 | null | 2015-10-07T23:08:23 | 2015-10-07T23:08:23 | null | UTF-8 | R | false | false | 5,146 | r | SCBToolBox.R | ## -----------------------------------------------------------------------------
## Peforms a few useful things
## To use:
## source("SCBToolBox.R")
##
## Writen By Steven Barberena - Austin, TX 2015
##
## This is a library of R code I've been writting as I started
## taking the Coursera Data Science classes. If you h... |
5ee0db66cf7432e5854e49934ae5058d4621adb5 | b87bb8cc21adeb55d256fea7fcf1573f5db7c383 | /MarginplotRscript.R | 499c43d185fc06d5b96cf2feaab1cdb045f9673c | [] | no_license | PhDMattyB/MarginPlot | 8011c98877ea4574f4da994d5d7138be81b6ade0 | be65c793ee19a60a95573c80b1eeb6191e83636f | refs/heads/master | 2020-03-23T11:08:43.924002 | 2018-09-25T14:42:00 | 2018-09-25T14:42:00 | 141,486,103 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 486 | r | MarginplotRscript.R | library(tidyverse)
library(wesanderson)
library(ggExtra)
iris.graph = ggplot(data = iris, aes(x = Sepal.Length, y = Petal.Length))+
geom_point(aes(col = Species))+
labs(x = 'Sepal Length', y = 'Petal Length')+
theme_bw()+
scale_color_manual(values = wes_palette('Darjeeling1', n = 6, type ='continuous'))+
the... |
6b137fa5c59a865941763e7abd90e7f0aff1ec83 | 5416264e9a51f3f5e45940ae63e18594ada711e5 | /statCognition/man/state_linearity.Rd | 8f87abef03a6c6e193b9032903c761b461efa64d | [
"MIT"
] | permissive | linnykos/statCognition | 452d31fe96a62875a24395483de443d6f0b5ab95 | f3f2867b0e50f6a2a0194c14d9d8404833d267c4 | refs/heads/master | 2021-06-16T18:38:26.955235 | 2017-05-14T17:58:02 | 2017-05-14T17:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 565 | rd | state_linearity.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/state_correlation.R
\name{state_linearity}
\alias{state_linearity}
\title{State feature: Pairwise linearity}
\usage{
state_linearity(dat, test_prop = 0.1, quant = 0.75, num_pairs = 50, ...)
}
\arguments{
\item{dat}{data object}
\item{test_pr... |
31c75d5666aa705f193c63f938dc9f94a6f72cb5 | 6eddde9b74487719db12c51caefa7a788bcdf04a | /man/plsropt.Rd | c119e1cc4b3f1e2f471c201b9dab41d0293a9e5c | [] | no_license | uwadaira/plsropt | 79be7e7e91398b78ce4c662caed2cef81fcdd2c5 | b633eaa63257333bd7ee5f64d824e8101f1855c7 | refs/heads/master | 2020-04-12T01:46:42.868932 | 2017-08-15T07:49:58 | 2017-08-15T07:49:58 | 45,820,246 | 2 | 1 | null | 2016-03-30T05:52:14 | 2015-11-09T06:45:12 | R | UTF-8 | R | false | true | 377 | rd | plsropt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plsropt.R
\docType{package}
\name{plsropt}
\alias{plsropt}
\alias{plsropt-package}
\title{plsropt: A package for optimizing spectral preprocessing method for PLS regression}
\description{
plsropt package can be used to optimize spectral prepr... |
af0141e6a4647afca43a68d427532f05ad5ee53c | 0f811c3e6c6bac8fcab04175516d085c26834ee1 | /man/RANBP9mutated.Rd | f25b6a7640c62dff15ff2bca148c3717b1b86b96 | [
"MIT"
] | permissive | lukatrkla/lanpAnalysis | 7674b1b5a137b9456b956d2b30eee41c08aa6bb7 | b4a747df063103d7c11ef4e2bd288cd2d4eb6a26 | refs/heads/master | 2023-02-04T17:00:58.641015 | 2020-12-10T01:32:52 | 2020-12-10T01:32:52 | 307,875,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 422 | rd | RANBP9mutated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{RANBP9mutated}
\alias{RANBP9mutated}
\title{RANBP9 Mutated Peptides}
\format{
A string
@examples
}
\source{
\url{https://www.uniprot.org/uniprot/Q96S59}
}
\usage{
RANBP9mutated
}
\description{
A string of nucleot... |
d11c74e616ac52fdefd9e61b5e7ce66187d1abbd | d8db097eb655dfa1498a6056a839ab3a967d6d7e | /LDML.R | 2632cdf1844cbe3ccf12500c27aaff7a7babd2b6 | [] | no_license | zhangc927/LocalizedDebiasedMachineLearning | e4f35cabca3e3c7ea216b7c0063abcaae9697549 | 21f32ddfbb5c12688617860fd744ede5a13682b8 | refs/heads/master | 2023-07-26T12:06:15.092315 | 2021-09-06T16:52:24 | 2021-09-06T16:52:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,675 | r | LDML.R | packages.needed = c('foreach','tidyverse','Hmisc','gbm','glmnetUtils','nnet','hdm','ks','randomForest','quantregForest');
lapply(packages.needed, library, character.only = TRUE);
# returns list of length n of integers in {1,..,K} indicating fold membership
make.cvgroup = function(n, K, right = TRUE) {
split = ru... |
f1efba41cc74394df428c169f28ce537a54d283e | d80f66c21e6098c0592c37c0137828bb1009a650 | /cachematrix.R | 3ffbd29997ec2b72e2d587fa7ff7cbc1ef8ab20f | [] | no_license | TKarashima/CourseraR_ProgAssign2 | 3f5d7857fe124e52dfac1d61018b83033d16506e | 532e4846fe51210de2320dd0613dbfff0369442f | refs/heads/master | 2020-04-01T16:48:35.611280 | 2018-03-06T02:47:36 | 2018-03-06T02:47:36 | 32,692,114 | 0 | 0 | null | 2016-09-12T15:36:24 | 2015-03-22T19:45:12 | R | UTF-8 | R | false | false | 2,154 | r | cachematrix.R | # The two following functions are designed to avoid multiple calculation of
# the inverse of a matrix. It is useful in the sense that one can save compu-
# tational resources by avoiding more than one heavy calculation that is
# called many times throughout a work in an R program.
#
# The function makeCacheMatrix() ... |
6b7d2a62509f916a3e45c3e9b7da200d05687e6e | e54f4d3145e1d1371b37c516bba42034fcc57c4a | /lfmm.r | 69f71a42dd38663af15e79fef1566eb47b36f253 | [] | no_license | BrendaDH/LEA-R-script | a2d74879258442679dd903b57fa4727f91695c42 | b4e632e087322a9dc7e190a202b1b5946b23f3fd | refs/heads/main | 2023-05-03T14:51:59.219664 | 2021-05-25T15:59:34 | 2021-05-25T15:59:34 | 370,750,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,060 | r | lfmm.r | library(LEA)
### sNMF
project <- NULL
project <- snmf("file.geno", K=1:15, entropy = TRUE, repetitions = 10, project = "new", iterations = 100000)
# plot cross-entropy criterion of all runs of the project
plot(project, cex = 1.2, col = "lightblue", pch = 19)
# get the cross-entropy of each run for K = 8 (e.g. 169 sampl... |
01c90b1b339e5ca46a7b8f35b87258ed5a796067 | fbe57536cc2d84e69a5bf799c88fcb784e853558 | /R/median.test.twosample.independent.mann.whitney.fx.R | 66e90ce147c95a1e485dba542008751a0dc0276d | [
"MIT"
] | permissive | burrm/lolcat | 78edf19886fffc02e922b061ce346fdf0ee2c80f | abd3915791d7e63f3827ccb10b1b0895aafd1e38 | refs/heads/master | 2023-04-02T11:27:58.636616 | 2023-03-24T02:33:34 | 2023-03-24T02:33:34 | 49,685,593 | 5 | 2 | null | 2016-10-21T05:14:49 | 2016-01-15T00:56:55 | R | UTF-8 | R | false | false | 975 | r | median.test.twosample.independent.mann.whitney.fx.R | median.test.twosample.independent.mann.whitney.fx <- function(
fx
,data
,...
) {
cell <- compute.group.cell.codes(fx, data = data)
fx.terms<-terms(fx)
response<-all.vars(fx)[attributes(fx.terms)$response]
response.split <- split(data[[response]], cell)
if (length(response.split) == 2) {
med... |
2b0d5be61b8765033ec7bea8072373bd0868f10d | e190cbf2302ef6b24ca725efda0e2dcea04e36e0 | /man/proposal_nclades_plus_3_pars.Rd | fe74da0cb7982cb4fd2ed1e8f39bb108a38f5397 | [] | no_license | cran/BBMV | 043b458988249f4225606951f1ca6ae48bae4e42 | a6ca4c69ec0e8c7b6b8b501448102c0060fb570a | refs/heads/master | 2021-01-20T07:29:28.190312 | 2018-04-30T06:34:16 | 2018-04-30T06:34:16 | 90,007,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 797 | rd | proposal_nclades_plus_3_pars.Rd | \name{proposal_nclades_plus_3_pars}
\alias{proposal_nclades_plus_3_pars}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Parameter update for the multiclade MCMC function
}
\description{
Internal function that proposes parameter updates used in MCMC estimation of the BBMV model.
}
\usage{
proposa... |
003d9be78eab43b07aff9a67e86177c8c771ee5a | 4516a5b398614cb11eca60f71d3db7e57abf3e33 | /man/digIt.Rd | ed88bb5209d5215a166c4abba864b70821a9d896 | [] | no_license | SigmaMonstR/digIt | 147af149c82b390506b2875d7a96493591a26b9d | 2047d021dac5a334a6715cd262a69ce39d26dafe | refs/heads/master | 2021-09-02T10:15:57.770908 | 2018-01-01T20:25:48 | 2018-01-01T20:25:48 | 111,838,917 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,453 | rd | digIt.Rd | \name{digIt}
\alias{digIt}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
digIt() for accessing and importing data
}
\description{
Most example datasets available for statistics and data science are overly simplified. This wrapper provides access to a curated set of more complex data.
}
\usage{... |
f2df9ac7e9067e1ebeaf44546a64dcf63a5c2321 | 618fb1c25fded55c52728970aef6bc23c3e4ee27 | /lulcc/man/summary-methods.Rd | 924072459094d64a54729b707a20d30cdc0fb71f | [] | no_license | npp97/r_lulcc2 | b8a5417a54d55c89276ab6c726c5d0ee9ede15a8 | e95cf8f853422e0227088635c7dd1f1761d5d0e5 | refs/heads/master | 2020-04-20T05:26:52.399114 | 2018-06-20T18:31:46 | 2018-06-20T18:31:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 642 | rd | summary-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.R
\docType{methods}
\name{summary}
\alias{summary}
\alias{summary,LulcRasterStack-method}
\alias{summary,ExpVarRasterStack-method}
\alias{summary,Model-method}
\title{Summary}
\usage{
summary(object, ...)
\S4method{summary}{LulcRaste... |
8bacc56673cdadf0a2b06c550acae31c681fa194 | 4cad9e2066a3163f66a927742b530d7cb7691eca | /DigitsRecognition/digitRecognition.R | 0a9ba51e2c0573ad485248817c539622c5e7367e | [] | no_license | pickacarrot/Projects | e89a05328f6d4370f28b8b3b8196020baa119ef6 | e655ffb2aeb88301f11e4e1b86cc16ac5319730b | refs/heads/master | 2021-01-01T03:57:27.561374 | 2016-05-23T06:51:23 | 2016-05-23T06:51:23 | 59,448,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,089 | r | digitRecognition.R |
# read data
digits = read.csv("/Users/PullingCarrot/Desktop/201509-12/STA141statisticalComputing/homework/hw3/digitsTrain.csv")
dim(digits)
head(digits)
summary(digits)
# randomilize the whole data
set.seed(0112)
randIndex = sample(1:nrow(digits), nrow(digits))
digits = digits[randIndex,]
# 1. euclidean distance ma... |
b7c4d84cf4c739231fe86151704efa7582d223b7 | c2e589d75eae2b603abc6b126b1206780e87cf70 | /pre-analysis/agg_harv_biomass.R | 65f7853833bd6cc9e3e332abc70ee1833810fa13 | [] | no_license | MARIASUAM/harvest_x_climate_LANDIS | 13b3a8cfcdc68d3d59a72cda2a31b192a741fe1f | a7810e42c2ded4863432bb7db3befb825e6701e8 | refs/heads/master | 2023-04-18T02:09:23.889062 | 2022-09-14T14:15:40 | 2022-09-14T14:15:40 | 412,398,572 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,389 | r | agg_harv_biomass.R | # Analysis of harvested biomass on aggregated tables
mgmt.scenarios <- c("20210921_nomanag_current_MIROC5",
"20210921_nomanag_rcp45_MIROC5",
"20210921_nomanag_rcp85_MIROC5")
### SETUP
library(dplyr)
library(ggplot2)
library(reshape2)
library(lubridate)
di <- "/Users/maria.sua... |
20c8a24050ccf92d15d735a6349ca7e07f5621a9 | 94423d6a20d98955fab28fdb97cbca950389c241 | /01_StreamR_Setup/01_01_OAuth_File_Generator.R | 0b3f4c07209f02becdd913a4d06df4e1f27d0f63 | [] | no_license | alabarga/kschool_data_science_master_project | 2f3b48ff61461d86305944c78993db5ba74c6de7 | 234d92ce487d6104a4f1b0c1959c788af7e1ba28 | refs/heads/master | 2021-04-15T09:39:52.970982 | 2016-04-26T09:52:03 | 2016-04-26T09:52:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,996 | r | 01_01_OAuth_File_Generator.R | #This script creates an OAuth credentials file.
#It will be used as a "key" to login in Twitter by StreamR.
# Original idea and more info:
# http://pablobarbera.com/blog/archives/1.html
#Load required library.
library(ROAuth)
#Get Twitter API credentials from XML file.
dfCredentials <- xmlToDataFrame(doc ="twitter_cr... |
cc38c4b2040f1a143f3a2d341bf862da7f25089b | fddd539b6b3a84d9fff480d5ff8f84801154f1a1 | /R/annr.model.prod.R | a8337d0987f6e27276e28be3b7c7dd61e1c9481c | [] | no_license | btorobrob/cesr | 7ca9ac1efe853316e99801aeec37100792df41ea | 6881ec6b9bd2ee7e4293c7c92297449cfccc7e91 | refs/heads/master | 2023-09-03T14:56:12.168122 | 2023-08-24T10:28:35 | 2023-08-24T10:28:35 | 230,813,022 | 1 | 1 | null | 2020-05-31T14:54:00 | 2019-12-29T22:58:12 | R | UTF-8 | R | false | false | 1,942 | r | annr.model.prod.R | annr.model.prod <-
function(x, year=-1, offset=TRUE, cl=0.95){
ad <- x$ad.data[ , c('site','year','totcaps','corrcaps') ]
names(ad) <- c('site','year','adcaps','adexcaps')
jv <- x$jv.data[ , c('site','year','totcaps','corrcaps') ]
names(jv) <- c('site','year','jvcaps','jvexcaps')
x <- merge(ad, jv, by=c('sit... |
cf95cb1517b429f1606567445b42927ecad7d82f | ff2618d2d0272aca50980396124697808b30baac | /man/temp.plot.ibutton.Rd | 4cf1b05dcd41e20837bc9e457cb11c3bfbb8c566 | [] | no_license | panx125/figsci | 217d1208a2c82958e75388533cbfebe9d3ac51dc | b7671ec1b5bf8ce64c904e59631fcc5d581f1f70 | refs/heads/master | 2020-03-11T01:03:28.328645 | 2018-04-12T10:41:12 | 2018-04-12T10:41:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 557 | rd | temp.plot.ibutton.Rd | \name{temp.plot.ibutton}
\alias{temp.plot.ibutton}
\title{Plot humidity and temperature curve}
\usage{
temp.plot.ibutton(temp=temperature,humidity=NULL)
}
\description{
This function can be used to plot temperature or humidity curve graph. Gray color is shown for regions between max and min values. If humidity data is ... |
2f55d1eccfe2e26dac3329398f1c7735553eedc7 | 9b34b2250d39c1b05a9d44392d7fed4711d26d30 | /R/cor.test.goodies.R | 38f21a141fdaa913e081c70123fefaac1673bdd8 | [] | no_license | lbraglia/lbstat | 11bbd806dfb74e46ce332cac23c33da726541205 | f8dc128b507bc1b1cb2741af49c171971abe658c | refs/heads/master | 2023-05-11T00:24:32.746694 | 2023-04-28T12:18:40 | 2023-04-28T12:18:40 | 51,751,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,396 | r | cor.test.goodies.R | #' cor.test method for data.frame
#'
#' Calculates all coefficients and confidence intervals for the
#' combinations of variable available in the data.frame
#'
#' @param x a data.frame
#' @param alternative cor.test alternative parameter
#' @param method cor.test method parameter
#' @param exact cor.test exact paramet... |
3ac89900ccd14a4d9bcaffa04d838e2bc950ad67 | f0ba703ae2b2ec88ef816af1f39fbde26e3c13dd | /scripts/rbp/rbp_functions.R | ec7f4ffb4721cd91f8393c7ce7d32112a94a1c84 | [
"MIT"
] | permissive | vaguiarpulido/covid19-research | 576582deaae06d1407f8e813da6e12f8baa77342 | 84ec19cbdd60f4eaee5b5f3e593286dff67fcc95 | refs/heads/master | 2023-04-08T04:04:29.817613 | 2021-05-17T23:13:05 | 2021-05-17T23:13:05 | 264,233,353 | 4 | 1 | NOASSERTION | 2021-05-17T23:13:06 | 2020-05-15T15:42:56 | R | UTF-8 | R | false | false | 12,069 | r | rbp_functions.R | library(data.table)
library(seqinr)
library(Biostrings)
library(TFBSTools)
library(foreach)
library(doParallel)
library(rtracklayer)
###################################################################################
# Data I/O functions
################################################################################... |
69a740c1f6cafa8bd3494752dad57dfbfc2b0837 | ed160c28e3f908fbe48b2da540471ac2e8647bee | /man/summarize_values.Rd | c4fa63e7feffcb8a99f52942de28e68acdc5d681 | [
"MIT"
] | permissive | karawoo/dccmonitor | 5f10f332a93172f98cec310d5b6a7d16d37a6278 | 736a45c97de0fdd770caf1a4c798ee88610c9ff9 | refs/heads/master | 2020-12-08T21:30:54.456576 | 2020-01-06T21:01:35 | 2020-01-06T21:01:35 | 233,100,081 | 0 | 0 | NOASSERTION | 2020-01-10T17:44:24 | 2020-01-10T17:44:24 | null | UTF-8 | R | false | true | 506 | rd | summarize_values.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-visualization.R
\name{summarize_values}
\alias{summarize_values}
\title{Summarize values present}
\usage{
summarize_values(values)
}
\arguments{
\item{values}{The values to summarize in a list.}
}
\value{
String with the form "value1 (2)... |
c52a81b324e8f0042f6680b43a155d21f76f7c11 | 3646e4d6536c2392ffb9bc93daeed198610503a5 | /Perc_SNP_POA_PZA.R | bfc692f071d6c9d6fadf3a5ee16a8a9ec3e01d95 | [] | no_license | martacaballer/Analisis_Mutaciones_TFM | fa814205efe7e0a2ec444c4b925a21736282d92b | 2ebd38df1d7fe55540579cfd5b321bc612fe888b | refs/heads/main | 2023-06-08T02:44:17.700779 | 2021-07-01T09:51:35 | 2021-07-01T09:51:35 | 378,483,155 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 2,691 | r | Perc_SNP_POA_PZA.R | if(!require(readxl)) install.packages("readxl")
library(readxl)
if(!require(rJava)) install.packages("rJava")
library(rJava)
if(!require(xlsxjars)) install.packages("xlsxjars")
library(xlsxjars)
library("xlsx")
#abrir archivo deleciones
setwd("C:/Users/marta/OneDrive/Desktop/Máster/Trabajo Fin de Máster/Par... |
1acb2bccb762c4f25c8d662659ad52b59e85592a | 6588da4ddb03d0437ddea28bd52a12dadbbcb6d5 | /Scripts/uUF.R | c15a1a04f850ca87c11a0d58fcd41cc69d8908d1 | [] | no_license | LisandroHA/Proyecto_Final_Bioinf2017-II-1 | ae94ecb2291fcff0beccada3ce395b0193005523 | 85b397b77783553689567e84c07b395e4bf71ea6 | refs/heads/master | 2020-12-30T13:22:21.818459 | 2017-05-04T22:40:08 | 2017-05-04T22:40:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,730 | r | uUF.R | ### Analyses by Maggie R. Wagner
### maggie.r.wagner@gmail.com
##### Parallel analysis: Linear mixed models of beta diversity using the unweighted UniFrac metric
####### Clear workspace ########
rm(list=ls())
####### Load source file #######
source('ecotypes_source.R')
####### Session Info #######
sessionInfo()
"R ve... |
344149195fe7fb948ef704416690f9c5b2b3968a | ef8d9dae6020f8211d30f816b7648c32e501e1e1 | /run_analysis.R | b0e6c8226d56194752785c5564777547235b2f7e | [] | no_license | freeblue5577/cleanDataProject | d2d6ac29f21e020e5c87b39ee1c44f712d5d6b5a | 03c9f3cfe8b0e111f4ad664dfa22643fdd4e4603 | refs/heads/master | 2021-01-23T22:43:11.222350 | 2015-03-23T00:10:18 | 2015-03-23T00:10:18 | 32,669,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,429 | r | run_analysis.R | ## for data cleaning course project
## wenwen xu
run_analysis <- function() {
cur_dir <- getwd()
# all files' path
feature_list_dir <- paste(cur_dir, "/wenwen_project/cleanDataProject/UCI_HAR_Dataset/features.txt", sep="")
x_train_dir <- paste(cur_dir, "/wenwen_project/cleanDataProject/UCI_HAR_Dataset/train/... |
649b1c93211006bd9efc46372ee5bd3fecfdb364 | cc187746861950ea8bbc9c39c65318ec21275283 | /man/FswXt2Df.Rd | 2988d890e505cd90d846c5f6fe0e349564075390 | [] | no_license | c3h3/QuantitativeBacktestingTools | a042509df4750a3778d53600aeb85f0297736f4f | 2c2d84163297b4884647ba03a5a64a542beeaaf2 | refs/heads/master | 2020-06-26T20:04:02.373324 | 2016-09-07T22:01:25 | 2016-09-07T22:01:25 | 67,580,438 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 672 | rd | FswXt2Df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forwardSamplingTools.R
\name{FswXt2Df}
\alias{FswXt2Df}
\title{FswXt2Df}
\usage{
FswXt2Df(fswXt, filterDatetimes = NULL, longFormat = F)
}
\arguments{
\item{fswXt}{a forward sampling xts}
\item{filterDatetimes}{filtered fswXt by datetimes}
... |
1c7b6839e52115d283050703a9f6fa347c09afe9 | da9b15a6d555b3c9540705e69f0c4d7baa39a1b3 | /scripts/from_monica/getsplines.R | 94af37d5ee9ba957027f377a48d33c546fc4b0ed | [] | no_license | RohanAlexander/hansard | 0be2c6b43b053a048896d3d8d98fc633dde323fa | 300fac35e8714871dcf0a6225db3e4a1f33754d2 | refs/heads/master | 2022-03-11T00:08:03.183499 | 2019-11-25T10:53:18 | 2019-11-25T10:53:18 | 138,767,582 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,298 | r | getsplines.R | GetSplines <- function(
x.i,
x0 = NULL,
I = 2.5,
degree = 3
) {
if (is.null(x0)) {
x0 <- max(x.i)-0.5*I
}
# get knots, given that one knot needs to be in year0
knots <- seq(x0-1000*I, x0+1000*I, I)
while (min(x.i) < knots[1]) knots <- c(seq(knots[1]-1000*I, knots[1]-I,I), knots)
while (max(x.i) ... |
2292ee917ef2c3661ed90900c8ba50a57c033fcf | d3c500e5204d2a7d8965f25c8c61e46d24d4fe28 | /man/reorderbyseg.Rd | 6f66df83b23a2b48658dc357c64ab656b70a585f | [
"MIT"
] | permissive | WeiquanLuo/rivertopo | c7d4f7fd9617ebdeff79d2115aad47d5fab1e788 | e0e533c8e3d58b8c7b8d10dc3145ad37c76a684c | refs/heads/master | 2020-09-09T18:20:21.296681 | 2020-01-27T05:52:11 | 2020-01-27T05:52:11 | 221,524,684 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 670 | rd | reorderbyseg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reorderbyseg.R
\name{reorderbyseg}
\alias{reorderbyseg}
\title{reorder site with grouping by seg in closet order from endvert of each seg}
\usage{
reorderbyseg(site_sf, arc_sf.set)
}
\arguments{
\item{site_sf}{a site sf object with column: id... |
750838fdf21941548d8e2207b8c4efd7d2a5f8c7 | f192d5d354a9d4a4c8b31f731ad87f94fe50cdc6 | /src/AtlasRDF/man/getExperimentIdsForGeneURI.Rd | aa49700f1960f70b0369a69c58ec7c8c862f872f | [
"Apache-2.0"
] | permissive | jamesmalone/AtlasRDF-R | 0264e82fa5647ac9879e0a5c2dbf7e3d438cf13e | 9ea2dc99496cd376522ffd2d59cb9f044dd511eb | refs/heads/master | 2021-01-10T21:37:36.918520 | 2014-02-20T15:01:23 | 2014-02-20T15:01:23 | 12,704,372 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | rd | getExperimentIdsForGeneURI.Rd | \name{getExperimentIdsForGeneURI}
\alias{getExperimentIdsForGeneURI}
\title{
Get ArrayExpress experiment ID which contain a gene specified by URI.
}
\description{
Get all of the ArrayExpress experiment IDs which contain a gene, specified by a URI.
}
\usage{
getExperimentIdsForGeneURI(geneuri, endpoint = "http://ww... |
8463f66ef8ae62f5d48ec057723646f45e919e56 | b38f0078b2fcbf32dfc9b3d6d35c26363ac4c509 | /run_analysis.R | 7db67ed304c1946694e09e86f9441e68a4091bf1 | [] | no_license | shaliniraol/Coursera | 4995716ecb04ac3686bf71f0d8f1971f0da11d56 | 727e4ccc80e4683307140513a3c77f37efab4feb | refs/heads/master | 2020-05-01T14:25:51.593662 | 2015-04-26T23:23:31 | 2015-04-26T23:23:31 | 34,635,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 176 | r | run_analysis.R | require(knitr)
require(markdown)
setwd("~/Coursera/CleaningData/Project")
knit("run_analysis.Rmd", encoding="ISO8859-1")
markdownToHTML("run_analysis.md", "run_analysis.html")
|
74967042e0367f13750432f63dc381fe52680d48 | 04988c81516b15442e2baab7a6d8dd9a3b633e18 | /Criar_Rasters.R | c77f4b788b80be006c9ce5df72ea164afe2b9d01 | [] | no_license | Kerenvascs/r_stats | 5f75ecb248f9008447315e210fcf33ca45533c85 | 90e2deb16f7dadc5cde694c8af14f4b302636514 | refs/heads/master | 2020-05-22T00:25:40.643879 | 2019-05-11T19:04:01 | 2019-05-11T19:04:01 | 186,171,838 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,053 | r | Criar_Rasters.R |
library(raster)
library(sp)
library(spatialEco)
library(SDMTools)
library(plotrix)
setwd("C:/Users/SAMSUNG/Desktop/Raster")
# Abre o raster
r2=raster(x ="Raster2_PRODES_Exercicio_UTM.tif" )
r2
plot(r2)
# Transforma esse raster (paisagem) em raster binário
r2=calc(r2, fun=function(x) { x[x != 8] <- 0; return(x) } ) ##... |
c4dfac95dba63b1989befc4c4b0eb07f0c1c7066 | 007ae03cfe5abf41a0ad864eade451141c267cca | /auto-docs/executables/ggplot2/igray.r | ec419ed3396bb782c11336aa437f52018e039511 | [] | no_license | VukDukic/documentation | ca96eb1994eeb532fe60c542960b017354bcede1 | 8e5aefdc38788956cfe31d8fe8b4b77cdf790e57 | refs/heads/master | 2021-01-18T09:02:27.034396 | 2015-01-20T23:46:58 | 2015-01-20T23:46:58 | 30,007,728 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 333 | r | igray.r | library(plotly)
library("ggthemes")
py <- plotly(username='TestBot', key='r1neazxo9w')
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
gray <- (qplot(carat, price, data = dsamp, colour = cut) +
theme_igray())
out <- py$ggplotly(gray, kwargs=list(filename="igray", fileopt="overwrite"))
plotly_url <- out$... |
571796b873978258d0f1a10575f614c30f8fa1f9 | 4894c5851994527bf47aa0106318d906bfb3a57b | /man/weightMatrix.Rd | 8c9f2e734718dee2c1880436c46db4de2f651d2e | [] | no_license | rajamuthiah/ureda | c74b776889175092b7dccac00295c92b783d9c1a | 46d0402e69ab9f4b6e2a9960663d0b4b532eb526 | refs/heads/master | 2021-01-20T00:40:02.377294 | 2014-07-15T04:06:36 | 2014-07-15T04:06:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 365 | rd | weightMatrix.Rd | % Generated by roxygen2 (4.0.1.99): do not edit by hand
\name{weightMatrix}
\alias{weightMatrix}
\title{Weight Coefficients for Sample L-moments.}
\usage{
weightMatrix(nlmom, n)
}
\arguments{
\item{nlmom}{The number of sample l-moments.}
\item{n}{The sample size.}
}
\value{
A matrix of weight factors.
}
\description{
... |
fc2d73a926852a4b97f740e5e5266d085e882ff0 | f8270ad35ceaf8654274a74d9fcc28ffb60e3e82 | /exp/results.R | 1836a5f706a2e6f790ef249b9478a72d802f53f8 | [
"Apache-2.0"
] | permissive | gkobeaga/cpsrksec | bc5c7b5004f8013fe8b081e99f06acf4a269ae1a | d702b9688722fde35040db62b29d3c50ba07c126 | refs/heads/master | 2022-09-12T12:27:22.842104 | 2020-06-04T11:50:49 | 2020-06-04T11:50:49 | 259,394,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,230 | r | results.R | ## tables package continue showing Hmisc messages although silencing it
suppressPackageStartupMessages(
library(tables, quietly = T, warn.conflicts = F)
)
library(plyr, quietly = T, warn.conflicts = F)
library(dplyr, quietly = T, warn.conflicts = F)
library(tidyr, quietly = T, warn.conflicts = F)
bt <- booktabs()
... |
70fe83648fd09408f9d285ec69c66cf752b568af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Temporal/examples/rGenGamma.Rd.R | 4858cb44338e1f6051995fc7556e1863122755c8 | [] | 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 | 286 | r | rGenGamma.Rd.R | library(Temporal)
### Name: rGenGamma
### Title: Simulation from the Generalized Gamma Distribution
### Aliases: rGenGamma
### ** Examples
# Generalized gamma event times with shapes (2,2) and rate 2
# Expected censoring proportion of 20%
D = rGenGamma(n=1e3,a=2,b=2,l=2,p=0.2);
|
3c2f3e70d94c8cb4095b1479cfc3e12fec89f4d7 | 35a1e73c2ab2cae03f51f10baa4bd6b488d95a84 | /man/smbinning.sumiv.plot.Rd | 23a59867749c780072257ce50ac7c6d72aba9fbb | [] | no_license | mauropelucchi/smbinning | 30b13e331dfecafdb7eaf46ac475fecb5859760b | 83f402391dd31ddd4a1144dd815150ae625e98ec | refs/heads/master | 2021-01-17T11:20:48.103845 | 2016-06-20T10:20:35 | 2016-06-20T10:20:35 | 66,144,448 | 0 | 0 | null | 2016-08-20T11:58:59 | 2016-08-20T11:58:59 | null | UTF-8 | R | false | true | 1,333 | rd | smbinning.sumiv.plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smbinning.R
\name{smbinning.sumiv.plot}
\alias{smbinning.sumiv.plot}
\title{Plot Information Value Summary}
\usage{
smbinning.sumiv.plot(sumivt, cex = 0.9)
}
\arguments{
\item{sumivt}{A data frame saved after \code{smbinning.sumiv}.}... |
635f7fc80405b4e8b997260e3237b4a3015b50da | 84526595f5bb52ad787c5bcd4eac5ee6af937ffb | /R/mymcl.R | 3ac8b3c1ed65774e9405992370f7fa4dda324618 | [] | no_license | GregStacey/ppicluster | d2b9cb378603c627436d1d9fd454a3d6b110bd5f | 912c31dcc74e2bc9f8ed5c5d248b1f9cab54d019 | refs/heads/master | 2021-07-03T16:31:37.156136 | 2020-09-01T00:34:12 | 2020-09-01T00:34:12 | 160,438,936 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,976 | r | mymcl.R | mymcl = function (m, infl, iter = 1000, remove.self.loops = FALSE, prune = FALSE,
thresh = 1e-06, pruning.prob = 1e-06, use.sparse = NULL,
verbose = FALSE)
{
if (nrow(m) != ncol(m)) {
stop("input matrix must be a square matrix")
}
if (remove.self.loops) {
diag(m) = 0... |
0331792d162f9827e4c1851fa0ecf405ad1c53ac | 19361af6ab987d9a87334a3f6c83e07b434d2698 | /R/old/wpd_clust.R | 244ff79154c47b14fdc70f29ab19a8680836154e | [] | no_license | Sayani07/gracsr | 1f3ef4395874316994e3b265758f847407f8444e | 0f365cd358f808cd077403d7d7a534cc584e59ce | refs/heads/master | 2023-09-03T22:46:45.477390 | 2021-10-27T00:45:27 | 2021-10-27T00:45:27 | 395,581,498 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,827 | r | wpd_clust.R | #' Title
#'
#' @param .data
#' @param harmony_tbl
#' @param filter_comb
#' @param nperm
#' @param nsamp
#'
#' @return
#' @export
#'
#' @examples
#' library(gravitas)
#' library(tidyverse)
#' library(parallel)
#' library(tsibble)
#' library(rlang)
#' sm <- smart_meter10 %>%
#' filter(customer_id %in% c("10006704", "10... |
76127d428b875b291eabdde2d21f55fb9f620c71 | 1f24f8687c4a0f7631208f38b532f96504cdc830 | /UpdatedWordEndAnalysis.R | ebb5b6075cff941eea6dd1e274efb51e06b29a98 | [] | no_license | smkeane/word-end-analysis | e3bbcc02a79c2c4b69281c47d2e7673b570699c5 | 770e96fb524ccf280d2c6af0780ea0ee094c670d | refs/heads/master | 2020-12-12T21:11:41.703966 | 2020-02-24T04:44:47 | 2020-02-24T04:44:47 | 234,229,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,063 | r | UpdatedWordEndAnalysis.R | # imports stringr library
install.packages("stringr")
library(stringr)
# accesses nouns.csv file that has noun info in it
nouns = read.csv("nouns.csv")
# make a list of the final letter from each word
nouns$finalSegment = str_match(nouns$noun,".$")
# makes table of terminal letters and the number of times word... |
72abf3d6b65cfe5d505ac5e0f38a528c80664b8f | e33c27c79295195487163817be57bff73c4a6526 | /man/get.decluttered.Rd | fb858f15e7fb18d4dccba1093ca84695332d38bb | [] | no_license | cran/tempR | 082e33c6ad7bfb2857f475f0eb1e7c3bc78a1a20 | d223bd869d90a0155c4e4a04b4b94ba02587ff40 | refs/heads/master | 2022-02-28T10:46:59.262280 | 2022-02-18T21:20:02 | 2022-02-18T21:20:02 | 62,116,242 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,845 | rd | get.decluttered.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tcata.R
\encoding{UTF-8}
\name{get.decluttered}
\alias{get.decluttered}
\title{Get decluttering matrix indicating where to show/hide reference lines}
\usage{
get.decluttered(x = x, n.x = n.x, y = y, n.y = n.y, alpha = 0.05)
}
\arguments{
\ite... |
21dec7ca7a3b4c20eaae7699f3c5d723bb1dcd1a | 23ac665552c844602528be7702c74c86d80bcff2 | /Product1SentimentGraph.R | c7c3a639f4f9366c8b83e7726f2a27926607772a | [] | no_license | sahaditya/sentiment-analysis-model | 330e83045d6384dbc4e1cc5f6e20dfeb8a4347f7 | f0e7dfa91caf56921a95018c72730fa9eebd5bef | refs/heads/master | 2021-07-14T04:49:42.991956 | 2017-10-14T13:40:04 | 2017-10-14T13:40:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 913 | r | Product1SentimentGraph.R | #Sentiment graph for product 1 ######
sentimentP1->x
Scorep1<-c(sum(x$anger),sum(x$anticipation),sum(x$disgust),sum(x$fear),sum(x$joy),sum(x$sadness),sum(x$surprise),sum(x$trust),sum(x$negative),sum(x$positive))
Sentisp1<-c("anger","anticipation","disgust","fear","joy","sadness","surprise","trust","negative","posi... |
d4fd35ddff0b9bfefe4f7108c47302d69b6df298 | 324634eff15949983d404326afc1b406de87b185 | /cpReg/tests/testthat/test_changepoint_fixedthreshold.R | 19b000978487bd4c02386aa7d41224b4509ee1eb | [
"MIT"
] | permissive | linnykos/cpReg | f266e809da3ea65b367b235ef5f35ac6ee9d81ff | b296de544c96f5b4a90b8c87e65e00a1c5a37190 | refs/heads/master | 2021-10-25T14:48:59.907105 | 2019-04-04T21:12:48 | 2019-04-04T21:12:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,781 | r | test_changepoint_fixedthreshold.R | context("Test wild binary segmentation")
## .find_breakpoint is correct
test_that(".find_breakpoint works", {
set.seed(10)
n <- 100
true_partition <- c(0, 0.5, 1)
dat <- create_data(list(c(1,1,1), c(2,-1,2)), true_partition*n)
lambda <- oracle_tune_lambda(dat$X, dat$y, true_partition)
tau <- cpReg::oracle... |
cb8298e7a26e5c558e1bf32c1ad0d09933898f60 | 1dedfa2451f5bdf76dc6ac9f6f2e972865381935 | /sandbox/playing_around.R | 3f5177516c3f50af425c9eb878724dd8b9cca697 | [
"MIT"
] | permissive | nhejazi/haldensify | 95ef67f709e46554085371ffd4b5ade68baf06a4 | e2cfa991e2ba528bdbf64fd2a24850e22577668a | refs/heads/master | 2022-10-07T09:51:03.658309 | 2022-09-26T18:07:59 | 2022-09-26T18:07:59 | 165,715,134 | 15 | 6 | NOASSERTION | 2022-08-24T14:03:36 | 2019-01-14T18:43:32 | R | UTF-8 | R | false | false | 1,390 | r | playing_around.R | # author: David Benkeser
library(data.table)
library(ggplot2)
library(dplyr)
library(hal9001)
devtools::load_all()
set.seed(76924)
# simulate data: W ~ Rademacher and A|W ~ N(mu = \pm 1, sd = 0.5)
n_train <- 100
w <- runif(n_train, -4, 4)
a <- rnorm(n_train, w, 0.5)
# learn relationship A|W using HAL-based density e... |
c04bc15b4fba103d1964ef13991755a2b0f79a80 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MXM/examples/cor.drop1.Rd.R | 5e60b46035658b1774a8b3998eeddb1f7f3ae23d | [] | 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 | 369 | r | cor.drop1.Rd.R | library(MXM)
### Name: Drop all possible single terms from a model using the partial correlation
### Title: Drop all possible single terms from a model using the partial
### correlation
### Aliases: cor.drop1
### Keywords: Area under the curve receiver operating curve
### ** Examples
y <- rnorm(1000)
x <- matrix(... |
9f78a996d8a5f4b9fb21d9ba0d4dc5845d9e9797 | 317068287ce279c644a63a6d719f04920f9f8413 | /pokemon.r | 0e4cdcbcb5e662762544ec5aa94e4be0b3a3c33d | [] | no_license | williamfiset1/GitTest | a4ac6679dfa705e5809a8d673fad4a41a6114c8e | 96396a173cd7f58d060fab97667c6f269953e8b8 | refs/heads/master | 2020-12-19T11:17:24.383981 | 2020-01-23T05:30:57 | 2020-01-23T05:30:57 | 235,718,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | pokemon.r | ## this is a r file
x <- 1
y <- 6
x+y
z <- runif(8)
m <- 1e5 |
1463c2c09c2b937eb5f74bdc4bed26a110181644 | 9835e7be4084940d7484fdec8a78a25c20cb43e2 | /scripts/SQLite_gwas.R | 2f665f3cac856d4ba68c4b7b4c152162ebf0b965 | [
"BSD-3-Clause"
] | permissive | mengyuankan/realgar | ef5c91fda9896d75bd6d762ba0270a0c7c1f1c37 | 4a5e16b93e584d15f0f12d12f111c3db3a114efe | refs/heads/master | 2023-07-07T00:41:18.105432 | 2023-06-21T01:38:26 | 2023-06-21T01:38:26 | 107,676,927 | 0 | 0 | null | 2017-10-20T12:44:30 | 2017-10-20T12:44:30 | null | UTF-8 | R | false | false | 11,255 | r | SQLite_gwas.R | #Install package
require("RSQLite")
library(DBI)
library(dplyr)
library(dbplyr)
library(feather)
library(viridis)
# Read in GWAS SNP files
# Original files are save under the lab server: /projects/AsthmaApp/REALGAR/GWAS/hg38_annot/[study].hg38.realgar.final.bed.
# The files are transferred to the R server: /mnt/volume... |
a1fe805d58676726fedd9e1f0f7d04192ab207f9 | b987f7e769e717cc39f583378f52188d3a9a0c9f | /R/setup-package.R | 2877f88959d48ceecb9b036e704fe18af716b51e | [] | no_license | rfortherestofus/great-graphs | 9b51a110681a8e584d6e05936058b6e140e1bdb7 | 989fc3ad8e79b57fe8dc859277245828fece9e9a | refs/heads/master | 2020-04-25T19:18:04.864272 | 2019-03-26T16:52:18 | 2019-03-26T16:52:18 | 173,014,788 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 705 | r | setup-package.R | library(tidyverse)
library(here)
library(janitor)
# This file brings in assets (data, setup.Rmd and CSS) from the assets repo (https://github.com/rfortherestofus/assets).
# Get Data ----------------------------------------------------------------
download.file("https://github.com/rfortherestofus/assets/raw/master/da... |
a12cf6bf5dad991f33c555d15182f38ac6b8a584 | 2169d874f96e8b5436874c26319e3d8fd43c1bf5 | /R/RcppExports.R | 22db8c74eeae8552e7eca11e0ddf987a647c1a5c | [] | no_license | cralo31/tnsrcomp | 3e821a28e78828a548bd06a21fe21be50dc26d64 | f040efb44e8bda8c8746c96d335725b0524bb4f0 | refs/heads/main | 2023-02-13T00:00:46.946887 | 2021-01-14T03:08:03 | 2021-01-14T03:08:03 | 329,444,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,665 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
kro_prod <- function(A, B) {
.Call(`_tnsrcomp_kro_prod`, A, B)
}
krao_prod <- function(A, B) {
.Call(`_tnsrcomp_krao_prod`, A, B)
}
unfold_ten <- function(tens) {
.Call(`_tnsrcomp... |
fa5e7ded9c307d065a3249e7b360b850520c08f3 | a3a60954a025b39251bd32f42319812357eb83e4 | /Tetraselmis_experiment/R/22_variable_predictions_comparison.R | 835f372a24927316c5e873c5d83da2bbe51cc9ea | [
"MIT"
] | permissive | JoeyBernhardt/thermal-variability | f63cc337e40fb79b955ab0130de6f44bfa54ca83 | f773f404fe715e29597d8fd379f7dd08714ae60f | refs/heads/master | 2021-01-02T08:37:37.272112 | 2019-02-25T02:55:13 | 2019-02-25T02:55:13 | 99,034,540 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,478 | r | 22_variable_predictions_comparison.R |
## goal: estimate the growth rate over time...with the daily temperature data
### so get time averaged growth rate
library(tidyverse)
library(janitor)
library(lubridate)
library(cowplot)
curve_data <- read_csv("Tetraselmis_experiment/data-processed/curve_data_20140606.csv") %>%
clean_names()
growth_raw <- read_... |
536c07cf6332683c73d1675abc2358d593c919c1 | 0f172b6f94115e34fab3994a4c95a047294e36fa | /R/drop.df.R | 69c1a027c4f205806c7ddffc3d93a35e2ff620db | [] | no_license | jcval94/DataMiningTools | 866932e4df4f1e2e645a14bc966921395737d6b4 | fb4e7995b2f5acee742492e52fd2ad982d7b4d59 | refs/heads/master | 2020-07-07T03:42:10.047077 | 2020-01-07T05:38:26 | 2020-01-07T05:38:26 | 203,234,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | drop.df.R | #' Drop repeated rows or columns and columns with just one value
#'
#' @param df data frame to be clean
#'
#' @return data.frame cleane
#' @export
#'
#' @importFrom purrr map_lgl
#'
#' @examples
#'
#' data(iris)
#' iris[["A"]] <- 0
#' head(iris)
#' head(drop.df(iris))
#'
drop.df <- function(df) {
df1<-df[, purrr::m... |
9f4e541f769284c5c795b2698c5c3fb7176da091 | 271f93c39f957a6357dc64514b9a047e3489e5a9 | /figures/deem_graph.R | 61b0daee01ccd9a410480009a82b917d7a691cb6 | [] | no_license | schlogl2017/influenza_HA_evolution | 87954c5e0101541341e7cf0ab4012b112d6c752a | 725e6aa17c0bb170eeca1132e7de3632067d392c | refs/heads/master | 2022-03-09T06:44:10.142013 | 2015-05-05T21:28:27 | 2015-05-05T21:28:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,424 | r | deem_graph.R | rm(list = ls())
library(ggplot2)
library(grid)
library(cowplot)
library(igraph)
setwd('~/Google Drive/Data/influenza_HA_evolution/')
deem<-c(122, 124, 126, 131, 133, 137, 140, 142, 144, 145, 128, 155, 156, 157, 158, 159, 189, 192, 193, 197, 45, 50, 273, 275, 278, 312, 121, 172, 173, 201, 207, 219, 226, 227, 229, 246, ... |
fa60a7b3d4c8ce7f983077a4616cf2f3adfd5d05 | c427137e6e786c287e9f5fc92909d5ac6d2593b8 | /man/NCEP.bind.Rd | ff0e0a2dd9d23856f890fa6cf3051c12617e2d84 | [] | no_license | cran/RNCEP | 28cb74be5aaab66eeca6ca855d7e4ae48728bce1 | cb2027905b385e4678c648bfd5e8f60d7d0f3f0b | refs/heads/master | 2021-01-10T21:01:00.585187 | 2020-05-27T04:30:22 | 2020-05-27T04:30:22 | 17,682,750 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,900 | rd | NCEP.bind.Rd | \name{NCEP.bind}
\alias{NCEP.bind}
\title{ Bind Two 3-D Arrays of Weather Data Along the Prime Meridian }
\description{
This function is applied automatically by \code{\link{NCEP.gather}} whenever it is needed. It binds the results from either side of the Prime Meridian.
}
\usage{
NCEP.bind(data.west,... |
324c619e1c772dccd93914ee076b92888d41ff1e | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/utils/man/setRepositories.Rd | f6e8bfe71314a3a5b84359be1fe8ce3f162842c1 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 3,095 | rd | setRepositories.Rd | % File src/library/utils/man/setRepositories.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2015 R Core Team
% Distributed under GPL 2 or later
\name{setRepositories}
\alias{setRepositories}
\title{Select Package Repositories}
\description{
Interact with the user to choose the package reposit... |
c2510df5b0d93f32e52cc7e0c0b2c3991ca89ccd | 6f1273c7954481281ef6a92de02dc39c5754eec5 | /Manifesto/Ashley/2015/decagon_cleaning_2015.R | f42d795c7cc38d89877305e198cee44215b70203 | [] | no_license | HallettLab/usda-climvar | e825894ed5ab10e2a349375ba2ebe4a249feebac | af566f66be74ce61a33f6249ca7fc422640a6bb9 | refs/heads/master | 2023-06-25T17:41:18.256845 | 2023-06-13T20:41:14 | 2023-06-13T20:41:14 | 137,396,286 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,275 | r | decagon_cleaning_2015.R | require(gdata)
library(tidyr)
library(dplyr)
library(lubridate)
library(ggplot2)
## Set working directory
setwd("~/Dropbox/ClimVar/DATA/Decagon data")
##A FUNCTION TO IMPORT AND CLEAN DECAGON FILES##
cleanDecagon<-function(X){
mydat<-read.xls(X, sheet=1, header=T, na.strings="#N/A!")
mydf<-tbl_df(mydat[-c(1,2),])... |
131f19cc8590893b8da5463843b42c35d092fe92 | ca96aa69a485886e69efa306a21d06d8769cc6d1 | /R/get_prism_monthlys.R | a41ff4461a6f150c3c8a51316d279d6046379024 | [] | no_license | yangxhcaf/prism | 46b14662b57d1651e41e85b4d9843bfb21c0480f | 55895dcf2360a777e204c8d6ccb0dd1a196d3f5a | refs/heads/master | 2020-06-04T04:15:40.348812 | 2018-12-10T23:03:03 | 2018-12-10T23:03:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,629 | r | get_prism_monthlys.R | #' Download monthly prism data
#'
#' Download monthly data from the prism project at 4km grid cell resolution for
#' precipitation, mean, min, and max temperature
#'
#' @inheritParams get_prism_dailys
#'
#' @param years a valid numeric years, or vector of years, to download data for.
#' If no month is specified,... |
9b2c2c611a5fe2b55150d2ef7fe08e50eafec656 | 9bbb1ffb23af6057d6af05a7a9e1a8818830c634 | /R/response.R | 890d3ff4bd3d42525dd630acb680be0c13d29393 | [
"MIT"
] | permissive | aaronwolen/gnr | ea9cde26615edfcaea0035a9832fe9f5bc1a336c | c129520514f7f15d9f0b4f518fcf5b2e1dd84a7b | refs/heads/master | 2020-05-29T16:13:08.248190 | 2019-05-24T19:10:59 | 2019-05-24T19:28:46 | 189,242,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 877 | r | response.R | #' Processs GeneNetwork API responses
#'
#' Convert json content of API responses to a [tibble][tibble::tibble-package].
#'
#' @param res HttpResponse object
#' @noRd
process_response <- function(res) {
stopifnot(inherits(res, "HttpResponse"))
# currently the API throws 200 status codes even for invalid calls so w... |
16ba3d5b98d7dd69f51fc5ba2b1b8b14fdca32ba | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/recluster/examples/recluster.hist.Rd.R | e29d707e26d23279052ddeb67f2abe3a6f0d45c2 | [] | 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 | 244 | r | recluster.hist.Rd.R | library(recluster)
### Name: recluster.hist
### Title: Histogram with tied and zero values
### Aliases: recluster.hist
### Keywords: dissimilarity
### ** Examples
data(datamod)
simpdiss<- recluster.dist(datamod)
recluster.hist(simpdiss)
|
35e0764ac673acdcf42cf568d081db3a31583bb5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LICORS/examples/estimate_state_probs.Rd.R | 57667bda6e3c5023d8b680148d7ee934ac997b74 | [] | 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 | 302 | r | estimate_state_probs.Rd.R | library(LICORS)
### Name: estimate_state_probs
### Title: Estimate conditional/marginal state probabilities
### Aliases: estimate_state_probs
### Keywords: distribution multivariate nonparametric
### ** Examples
WW <- matrix(runif(10000), ncol = 10)
WW <- normalize(WW)
estimate_state_probs(WW)
|
9f94acece8b1270a10b78309a24e5536f2688c26 | 257561e9d37684a7c9848ac26ae5f612b6a3b510 | /demo/click_animation.R | aea0d25b0f095cb460ac5daf9f41099b2e806e22 | [] | no_license | sbarman-mi9/rthreejs | 1419dcb34c7af03a76966ea04e6ee62f58d5087e | 36aabb8035daabfeba58f39e6c8e5e85a8f2f14a | refs/heads/master | 2021-01-24T07:28:58.537804 | 2017-05-24T20:10:47 | 2017-05-24T20:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | click_animation.R | # This example decomposes the `LeMis` character co-occurence network
# into six clusters using the igraph `cluster_louvain` method. The
# example displays a reduced network consisting of the most (globally)
# central character from each cluster, as measured by Page Rank.
#
# When a user clicks on one of the vertices, i... |
b2a06ae08e45e6be17e117e67864540b731568de | 1721a042328b7035f6a6c401d9d8ba3edc538dce | /12_StrategiesReconstruction/Discrete_mapping.R | eb30a4f202dbf9845645daebe0ec78a12924e967 | [] | no_license | ftheunissen/Woodpecker | dbfd1bb15212574b8083543ef465c51f768954f2 | 0521927adfbf73ecdd4dcf4e3484ae949a1858b7 | refs/heads/master | 2022-10-16T10:59:57.410738 | 2020-06-17T16:53:08 | 2020-06-17T16:53:08 | 273,028,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,550 | r | Discrete_mapping.R | #Change working directory to folder with your files (change accordingly)
setwd("../12_StrategiesReconstruction/")
rm(list=ls())#empty the workspace
#Load relevant packages
library(ape)
library(geiger)
library(phytools)
# Read in tree and dataset
tree <- read.nexus("TreePicidae.txt") # the tree
data <- read.csv("Full_... |
7fb4781933d32655ea0d0e856d70466638dbe2d0 | ef121d82b4f5f0ab4f4872d17db50dea22252c81 | /Complaint_Analysis_Project/Results/ac_analytics_insights/what_are_their_excuses_code (mehmet).R | f10361e06184bf181dff3112a9bcbfd2f77b15ec | [] | no_license | indra-ch/ac-datadive-2018 | d9725f3127549ba4fe371dd36b86776b467307a4 | f2406899368cb17ec9fdc8c9579e8b63a5fb1e0d | refs/heads/master | 2020-03-21T11:15:27.106968 | 2018-06-24T15:28:58 | 2018-06-24T15:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 182 | r | what_are_their_excuses_code (mehmet).R | mosaicplot(table(acc[ELIGIBLE==0 & If_No_Eligibility_Why_1!='Unknown',.(IAM,If_No_Eligibility_Why_1)]),las=2,ylab="Reason for ineligibility",main="What are their excuses?",border=NA) |
1cb8ee9976b6dd9db61e2aac52a48850b079e98c | 7ae5b8df405d79d65bcf7280bd428239cc6d9dda | /workshop_packages_to_install.R | ee5d7465350d85c81a66ee5c3636f1abf5821214 | [] | no_license | rladiestunis/6th-Meetup-Parameterization-and-generalization-of-R-Markdown-documents | addbc64810c00911c2d8025f3a70d36c98a6ff68 | 78f17798b14008b5376bd7f2dbe9f7c0519b767c | refs/heads/master | 2022-12-05T18:51:16.278365 | 2020-08-29T12:44:15 | 2020-08-29T12:44:15 | 291,265,288 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 437 | r | workshop_packages_to_install.R | ###### CODE WORKING FOR R VERSION <= 3.6.3
install.packages("pacman")
pacman::p_load("yaml","data.table","stringr","readr","config","ggthemes",
"ggplot2","prettydoc","rmarkdown","scales","tidyverse","dplyr",
"kableExtra","RCurl","EQL","kdensity")
###### INSTALL PrescRiptions from source... |
10e5584eaab8f7392d8e0205c0031097d1495dfe | cd181d1f57308093a0142a6f3630db006bda2c1d | /mean_entry.R | bb8684f9ce9e185a348c88b3ad95c552e471d5ac | [] | no_license | CoMoS-SA/agriLOVE | 717df7d531faacdc361360f53613af93595716a0 | 91153495a29dd2cba938df64cf745daacf398b0f | refs/heads/main | 2023-08-26T20:09:25.028184 | 2021-10-13T15:32:58 | 2021-10-13T15:32:58 | 416,800,601 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,259 | r | mean_entry.R | mean_entry_f <- function(j){
print(paste("Rebound at time", t, "cell", cells_on_sale[j,"row"],cells_on_sale[j,"col"]))
repeat{ # pick up a non-forest random cell with positive wealth
ii <<- sample(1:x,1)
kk <<- sample(1:y,1)
... |
d0fd4a1c1941d1e12b688aa2391257d1dc1c2452 | 6044948fedc5f0b304e578e10e4f764cb6d5400f | /cachematrix.R | 0e28445d90c172a1eb5aa3702c7ae0cec45c56fd | [] | no_license | CourseraRcourse/ProgrammingAssignment2 | 4a6ffdf8f6551ec863c9ca723287c9fbbc22b16d | 8c37d3576b111671a9e17036b1b9d195fa6350cd | refs/heads/master | 2021-01-22T07:32:26.495328 | 2015-02-22T23:48:05 | 2015-02-22T23:48:05 | 31,186,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 764 | r | cachematrix.R | # ProgrammingAssignment2
## here you can find the code in R to calculate de mean for a vector, like matrix
makeCacheMatrix <- function(mtx = matrix()) {
inverse <- NULL
set <- function(x) {
mtx <<- x;
inverse <<- NULL;
}
get <- function() return(mtx);
setinv <- function(inv) invers... |
8d20301f9ac19448131a1157392776a44f1eccf7 | 9eaf9acc455fdcf74d44623033f76dbf3ac5f4d6 | /Scripts/BuildModels.R | b5df66663d06a328fe16cb1c2380a81469a57c64 | [] | no_license | eoinreilly93/Numerai-Model | 53a7e7a414424dcb793d78ac12d13dfa3343474d | e678445b8a5a352fc132133576d91b8ce7b8ed5a | refs/heads/master | 2021-01-19T08:40:24.611518 | 2017-04-12T20:36:06 | 2017-04-12T20:36:06 | 87,657,797 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 649 | r | BuildModels.R | ################################
# IMPORT LIBRARIES AND SCRIPTS
################################
source("Scripts/DataPreprocessing.R")
library("bnlearn", lib.loc="~/R/win-library/3.3")
library("boot", lib.loc="~/R/win-library/3.3")
######################
# BUILD MODELS
######################
#NAIVE
naivemodel <- na... |
7738f39100deb3ebfefc70457fe11ab5cf121ee8 | a6081dd26a6bde5c642a360cdb5e691a92e8cd05 | /strataG/R/privateAlleles.R | 02901487b71cb54248240a46e17af01b30e63fa7 | [] | no_license | hjanime/strataG | 615829d0db7fb9b783718cca0dbac9f9d5e5d10e | 46a573fe7d99094fcd2d885602a6ad4b77d43b89 | refs/heads/master | 2021-01-21T07:20:09.762903 | 2015-09-15T21:40:16 | 2015-09-15T21:40:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 820 | r | privateAlleles.R | #' @title Private Alleles
#' @description The number of private alleles in each strata and locus.
#'
#' @param g a \linkS4class{gtypes} object.
#'
#' @return matrix with the number of private alleles in each strata at each locus.
#'
#' @author Eric Archer \email{eric.archer@@noaa.gov}
#'
#' @examples
#' data(dolph.... |
2dab66d959b502e09bf7ecbcec0452921a2fb354 | d73855543142c069377e5e37607f427ef2c9b764 | /man/fun_hairpin_trimming.Rd | 25b90e33a68a07596e34eca6df6e7b9d7c44333b | [] | no_license | cran/MicroSEC | 66ed5292c0571493728153ec49a8514a440baeb3 | dca6895d234d82b4e9e90f86527791a9bdeb86ab | refs/heads/master | 2023-01-30T08:58:45.352825 | 2020-12-02T09:30:07 | 2020-12-02T09:30:07 | 318,757,856 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 665 | rd | fun_hairpin_trimming.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fun_hairpin_trimming.R
\name{fun_hairpin_trimming}
\alias{fun_hairpin_trimming}
\title{Adapter sequence trimming function}
\usage{
fun_hairpin_trimming(hairpin_seq, mut_read_strand, adapter_1, adapter_2)
}
\arguments{
\item{hairpin_seq}{The s... |
36efcff2e15c60696d1abe593f553358394e540c | d6cd91cadceb6fe91ee56d3bf66066bae06e1d7b | /man/natlparkFlickr.Rd | fae4237faa76a585c5b6064d6270e36909edc2e1 | [
"MIT"
] | permissive | RussJGoebel/natlparkFlickr | 8a5fe69188d8012fd86ac2be35d56ebeee0d4741 | 2289c27e8ef49fdac190b1af4fecd7f0418ff530 | refs/heads/master | 2023-02-17T12:25:48.029021 | 2020-09-20T17:27:25 | 2020-09-20T17:27:25 | 297,125,078 | 0 | 0 | NOASSERTION | 2021-01-22T17:32:19 | 2020-09-20T17:12:35 | HTML | UTF-8 | R | false | true | 986 | rd | natlparkFlickr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{package}
\name{natlparkFlickr}
\alias{natlparkFlickr}
\title{natlparkFlickr: Datasets for national and park-level Flickr usage}
\description{
This package contains two datasets: flickr_userdays stores a time series of national... |
e372278fc30e60d781157cd30eb6c5df90968f8e | 907798f8081c9c2ded54e1541acb6fa5882dd60f | /Gcomp_random.R | f430f7daae04f319e253a96b0ae939aa403a7e6b | [] | no_license | JasonLaurich/Turnera_multiple_mutualisms | 3ab37626ceba11776eed09fbd1bb0f4cb91b9f70 | df7d55ffb6792a064ef3247eaa045b079117f454 | refs/heads/main | 2023-04-11T20:27:43.866122 | 2022-08-04T15:36:08 | 2022-08-04T15:36:08 | 471,031,478 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,960 | r | Gcomp_random.R | library(MCMCglmm)
library(foreach)
library(doParallel)
library(gdata)
library(matrixcalc)
setwd("C:/Users/Jason/Desktop/Data/TurnChap1/Dryad Files")
# Load randomized G matrices
BT<-read.table('BT_ranG_final.txt', header= T)
Ca<-read.table('Ca_ranG_final.txt', header= T)
MC<-read.table('MC_ranG_final.txt',... |
b6d730987dacdfd4ec62f93001c4bf8c5e7e8250 | c13ed34bf0a8dcb963561f9b443a29df8aee8ca5 | /man/BAMBI.Rd | 99429b260d80d7cc124ef45e349f6d599675d2a5 | [] | no_license | cran/BAMBI | 61ad600a2f23fc1435b36a7319d9a8a45486b444 | 16a4513e1bdff0a48f9f3f5f380c6618d51df218 | refs/heads/master | 2023-03-17T06:22:34.994816 | 2023-03-08T22:10:05 | 2023-03-08T22:10:05 | 77,772,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 685 | rd | BAMBI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BAMBI-package.R
\name{BAMBI}
\alias{BAMBI}
\title{\code{BAMBI}: An R package for Bivariate Angular Mixture Models}
\description{
\code{BAMBI} is an R package that provides functions for fitting
(using Bayesian methods) and simulating m... |
50af7798d291004eb64e675142ceca8bf79cc8f3 | 5c018949cad4d1a158a85f73a01ec295c8a38132 | /assignment1.R | 7ba3a505d426ea8a714dd03d962b026b4c9c3cc4 | [] | no_license | yannickKuhar/IS | 40fb82cc3f92ec9ba429c278cf0df5991d5fb370 | d8e9d6c8e875e1af4ccd3539a1e568c8f301dbee | refs/heads/master | 2020-04-09T14:46:27.277954 | 2019-01-14T22:11:29 | 2019-01-14T22:11:29 | 160,406,671 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,196 | r | assignment1.R | ####################### PRINT ############################
printMaze <- function(maze, rows, cols) {
for (x in seq(1, rows)) {
print(maze[((x-1)*cols +1) : (x*cols)])
}
}
##########################################################
###################### MOVE ##############################
moveUp <- function(pos... |
7ed159812650c96625f5d6f91919a163868f98b4 | 0844c816ade1b06645fd9b3ae661c0691978117b | /man/district_geofacet.Rd | 7f8e5b7d15a2606a52f23bb0fb801587cdd8b472 | [
"MIT"
] | permissive | petrbouchal/pragr | d92966395ac79982c72ba3a14fae6203176b256e | 858fbb96f69eda9ac0922e8dfbc966948e545073 | refs/heads/master | 2022-12-21T20:44:41.420783 | 2022-12-17T21:18:35 | 2022-12-17T21:18:35 | 186,895,587 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 950 | rd | district_geofacet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-doc.R
\docType{data}
\name{district_geofacet}
\alias{district_geofacet}
\title{Dataset to be used in the {geofacet} package}
\format{
A data frame with 57 rows and 11 variables:
\describe{
\item{\code{code}}{character. RUIAN code. Normal... |
cab10c38383b6024600e8a69de21beec1316f364 | cfb642c4568a403e7cd39b66e16dcaed0d08bd49 | /man/mapMulti.Rd | 5631bc7c10ec12a9292ee3749cd3ac9080ad31da | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | JVAdams/EchoNet2Fish | 5223bcdb98a43bb61cd629cb33f590cba9fd1fed | 6e397345e55a13a0b3fca70df3701f79290d30b6 | refs/heads/master | 2023-06-22T17:56:41.457893 | 2021-02-08T16:08:09 | 2021-02-08T16:08:09 | 32,336,396 | 4 | 1 | null | 2023-06-09T17:36:08 | 2015-03-16T15:59:18 | R | UTF-8 | R | false | true | 3,545 | rd | mapMulti.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mapMulti.R
\name{mapMulti}
\alias{mapMulti}
\title{Multipanel Map of Locations}
\usage{
mapMulti(
bygroup,
sug = sort(unique(bygroup)),
plottext = FALSE,
ID = 1,
emphasis = NULL,
short = TRUE,
lon,
lat,
samescale = TRUE,
r... |
3e42d0f77ba293eff21638bb61d975255ea42700 | 27674239c0da0b7afc6ad9dc2622e084c3f5c004 | /inst/9_3_worker.R | e5757fa8d0d5b7191c3553e7f13c4ec8c0499b96 | [] | no_license | RobinHankin/knotR | 112248605c8a89a21641be35f2363c19db1c3783 | 0a5a6015a51340faa1ee43066d76be8f39adb499 | refs/heads/master | 2023-05-15T03:19:57.311824 | 2023-05-14T09:03:35 | 2023-05-14T09:03:35 | 99,854,849 | 5 | 0 | null | 2017-10-15T04:48:05 | 2017-08-09T21:37:28 | R | UTF-8 | R | false | false | 954 | r | 9_3_worker.R | library(knotR)
filename <- "9_3.svg"
a <- reader(filename)
Mver <- matrix(c(
10,25,
24,11,
12,23,
9,1,
22,13,
21,14,
8,2,
20,15,
19,16,
7,3,
6,4,
18,17
),ncol=2,byrow=TRUE)
sym93 <-
symmetry_object(
x = a,
Mver = Mver,
xver = 5
)
... |
6667617ed56e35b60604244978b271a0b7e44520 | ef121d82b4f5f0ab4f4872d17db50dea22252c81 | /Complaint_Analysis_Project/Results/ac_analytics_insights/Binary Tests 01.R | 91edc10584732a0feda73081dda6c70de3a132b2 | [] | no_license | indra-ch/ac-datadive-2018 | d9725f3127549ba4fe371dd36b86776b467307a4 | f2406899368cb17ec9fdc8c9579e8b63a5fb1e0d | refs/heads/master | 2020-03-21T11:15:27.106968 | 2018-06-24T15:28:58 | 2018-06-24T15:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,147 | r | Binary Tests 01.R | #load("C:/Users/rawle/Desktop/Hackathon/accountability_console_data_cleaned.RData")
#write.csv(complaints,"C:/Users/rawle/Desktop/Hackathon/complaints.csv")
cnames <- names(complaints)
spc <- " "
for (i in 1:54) {
var <- cnames[[i]]
test <- unique(complaints[,var])
nt ... |
44c54a0fd6d16547447e785dc237334695fd59da | 5c618b59cc2ac45e48c05bb24d2e56be4e27077c | /data/bathymetry/format_bathymetry_data.R | f4adb6f7e8b6770250496742dfb904b4eccf7ce6 | [] | no_license | cfree14/dungeness | fefcd5e256e0f8fe4721fbd1b627942e74704b5b | 76054741b1209078e92ce2cc543620023900ab6d | refs/heads/master | 2023-08-29T04:43:00.107409 | 2023-08-08T18:21:41 | 2023-08-08T18:21:41 | 189,051,316 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,036 | r | format_bathymetry_data.R |
# Clear workspace
rm(list = ls())
# Setup
################################################################################
# Packages
library(raster)
library(tidyverse)
library(ggplot2)
library(cowplot)
# Directories
inputdir <- "data/bathymetry/raw"
outputdir <- "data/bathymetry/processed"
# Read data
# Grid reg... |
f13c92c9ec43362fecccee59e3cc25a69238ef17 | 291ed5e2041252780f7dbe4eaee28fd3e8e6fcc6 | /man/perceptrain.Rd | 657c7a788d0bbea685a05ae6cb1826405160c23b | [] | no_license | xiaoyaoyang/freestats | a99844b040faa0ebc4157f5ea4d7d935276a7bbd | 31ea1ecf7bb146214f1e9f800bd715938a6e2386 | refs/heads/master | 2021-01-01T18:42:13.937357 | 2014-10-06T04:56:35 | 2014-10-06T04:56:35 | 18,196,782 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 965 | rd | perceptrain.Rd | \name{perceptrain}
\alias{perceptrain}
\title{An original perceptron algorithm}
\usage{
perceptrain(S, y, alpha_k = 1, endcost = 0)
}
\arguments{
\item{S}{Each row represents a data points with last
column equal to 1; S=[X,1]}
\item{y}{Class label for data points in S}
\item{alpha_k}{The speed of converge}
... |
61a51aa072499555848cff85e68871b9301f903d | 5196906b911127b60b8ac28ea744d9ea0c9404bd | /gitHub.R | 479c4ba294bc74fc4bdb31b8afa69c24536fa97d | [] | no_license | ashwingrao/ProgrammingAssignment4 | 1879a40a78e5d08bdb240700c48a1743f87ca2d2 | af79ca6eed206e67f7ae3cd154084d02c370b6e7 | refs/heads/master | 2016-09-05T21:40:22.023990 | 2015-04-15T02:05:55 | 2015-04-15T02:05:55 | 30,477,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,599 | r | gitHub.R | install.packages("httpuv")
library(httpuv)
library(httr)
Sys.setenv(GITHUB_CONSUMER_SECRET="597e524550b6cc9dff5fb3a50fd39901b9ac67c2")
# 1. Find OAuth settings for github:
# http://developer.github.com/v3/oauth/
oauth_endpoints("github")
## Found this on the web
##github <- oauth_endpoint(NULL, "authorize", "acces... |
116cbcdfcf88799d83f842e627c8fed2e58af117 | 37226cfcc32ca706e6ccb269e83f3cbe559b8f27 | /man/rerun.Rd | 56e11fb3c86b193dd77d6a3197610dfa0e194573 | [] | no_license | jpritikin/metasem | 27428007caba2b72a09c50163b255c54f3412346 | 61176d1700698f7a5abccde51220ae9bac349ae4 | refs/heads/master | 2020-05-29T11:34:56.630948 | 2019-06-03T11:48:58 | 2019-06-03T11:48:58 | 35,242,232 | 0 | 0 | null | 2015-05-07T20:35:46 | 2015-05-07T20:35:46 | null | UTF-8 | R | false | false | 687 | rd | rerun.Rd | \name{rerun}
\alias{rerun}
\title{Rerun models via mxTryHard()
}
\description{It reruns models via mxTryHard().
}
\usage{
rerun(object, ...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{object}{An object of either class \code{tssem1FEM},
class \code{tssem1REM}, class \code{wls}, clas... |
ce9c5864ecdc7cad662254273fcf1f6f693f1e1d | 2b5728585d67ad9f0210a21189459a1515faa72f | /man/RsqDist.Rd | 413af776b49192a761f517575bcc3968c0519999 | [] | no_license | Matherion/userfriendlyscience | 9fb8dd5992dcc86b84ab81ca98d97b9b65cc5133 | 46acf718d692a42aeebdbe9a6e559a7a5cb50c77 | refs/heads/master | 2020-12-24T16:35:32.356423 | 2018-09-25T06:41:14 | 2018-09-25T06:41:14 | 49,939,242 | 15 | 9 | null | 2018-11-17T10:34:37 | 2016-01-19T08:50:54 | R | UTF-8 | R | false | false | 2,629 | rd | RsqDist.Rd | \name{RsqDist}
\alias{dRsq}
\alias{pRsq}
\alias{qRsq}
\alias{rRsq}
\title{
The distribution of R squared (as obtained in a regression analysis)
}
\description{
These functions use the beta distribution to provide the R Squared distribution.
}
\usage{
dRsq(x, nPredictors, sampleSize, populationRsq = 0)
pRsq(q, nPredicto... |
c36e4032007cb2e19c7e00345554cf6e6a483d94 | 0aff2c2fcb333842d0c3f3bab6a47c9dba93b8f5 | /inst/tests/test-StaticMeasure.R | a3ae8dcab73c56e781f66a927d4cdaee2f0c098d | [] | no_license | PirateGrunt/MRMR | 9c6172b705062d3b42cffa79fea749b65cc888b3 | dc8fb8bf2497425e0cb969c0743e04d0cd099bfc | refs/heads/master | 2021-01-15T10:05:47.970229 | 2016-07-12T02:40:50 | 2016-07-12T02:40:50 | 7,688,809 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,675 | r | test-StaticMeasure.R | #' StaticMeasure
#' +---Level
#' +----Measure
#' +----OriginPeriod
#'
#' StochasticMeasure
#' +---Level
#' +----Measure
#' +----OriginPeriod
#' +----EvaluationDate
#'
context("StaticMeasure")
# Sample data
op = OriginPeriod(StartDate = as.Date("2001-01-... |
693c78b0a6937ccd77130723761fc0cd68ea8142 | 6c72ac0e1310234a4fbb9375669e4d9695485a6d | /Plot2.R | df760a18a95cd9a139d69233c5364b2f52e3db82 | [] | no_license | rweingarten/ExData_Plotting1 | d9e8c7f146974ec023b352ba17ec249bfa172439 | 69c55f880f7ef37d7fca94786217bf2ff1fa9f82 | refs/heads/master | 2020-12-11T03:56:21.971104 | 2016-01-08T21:14:25 | 2016-01-08T21:14:25 | 49,232,559 | 0 | 0 | null | 2016-01-07T21:44:11 | 2016-01-07T21:44:11 | null | UTF-8 | R | false | false | 1,697 | r | Plot2.R | #The purpose of this R code is to read a specific subset of data from the UC
#Irvine Machine Learning Repository and we are specifically using the dataset
# Electrical power comsumption to look at the Global Active power (kilowatts) over a
#particular period of time.
#First I begin with a clean slate:
rm(list=ls())
... |
35371ac253206b598416ad3f8af7a335a950610b | 8d57d6e90520201c55755a9926d127199f9b5dad | /src/brasil/normSistem2.R | b14e29a69211e67f2b780dab1bda71a705cd5a79 | [
"MIT"
] | permissive | samuelwuw/Scientific_Initiation | cc5b730b6de18a639ca6c30b3e71fad642f5bec8 | c9352030d140017b52498bbc1e53cb7a4972cadd | refs/heads/master | 2021-12-16T06:52:40.384460 | 2021-12-09T19:02:56 | 2021-12-09T19:02:56 | 252,793,247 | 0 | 1 | null | null | null | null | ISO-8859-1 | R | false | false | 11,386 | r | normSistem2.R | getwd()
setwd("C:/Users/samue/Documents/www/IC/Scientific_Initiation/src/brasil")
library(kohonen)
require(kohonen)
library(RSNNS)
somFunc <- kohonen::som
df <- read.csv('database/brCitiesCsv.csv', header = TRUE, sep = ",")
#Base de dados com cidades proeminentes do nordeste, e sudeste
usedCities <- c(4:9, 30:60, 61... |
bdeca105dfe45bce95ee607d62e79c95d1581a23 | 3b8bb5d7051d064373dd8e894d28ac64a2e9e7d8 | /PISA_2012_FL_part5.R | 79a7324d0b7d3ea10445d79fc905f21907b95e99 | [] | no_license | educ0608/PISA_2012 | 981d27d7f42076882e1525270f388585a0920975 | b44998580be96bd0d3c68707a4f92c4f3d016911 | refs/heads/master | 2021-01-01T06:45:44.687835 | 2015-08-26T20:43:05 | 2015-08-26T20:43:05 | 38,121,318 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,907 | r | PISA_2012_FL_part5.R | # PISA2012_FL_part5
# Unraveling a secret: Vietnam's outstanding performance on the PISA test 2012 following the Fryer & Levitt (2004) approach
# Prepared by Elisabeth Sedmik on Wednesday, June 24 2015
# Based on code by Suhas D. Parandekar
# Revised on 07/28/2015
# The following code tries to unravel the secret of ... |
4e513aef66e747bd419be0f49802aa9f8690abb0 | 3ae52a1ff7e4e6fda6f2abb8d25c197f0e445891 | /figures/sources/haplotype/internal_functions.R | 40986b972a54377351264dfcf31606560bb6f2a9 | [] | no_license | omaviv/TCR_genotype | cf4165468caa0c48a56927f9a18b8ece613f3fe9 | 0860eb15d8620c000170e20b7a7d0aea8173a96e | refs/heads/master | 2023-04-12T04:48:15.991477 | 2021-11-07T20:33:31 | 2021-11-07T20:33:31 | 425,570,283 | 0 | 1 | null | 2021-12-07T18:04:31 | 2021-11-07T17:28:56 | R | UTF-8 | R | false | false | 41,512 | r | internal_functions.R | # Internal functions -----------------------------------------------------
#' @include rabhit.R
NULL
########################################################################################################
# Calculate models likelihood
#
# \code{createHaplotypeTable} calculate likelihoods
#
# @param X a vecto... |
61e1f8c04e881dbd8f7fef9eb0b764d927caa396 | 5757fcdbcf06bec35c9c72fb07a5523f99f137f2 | /data/ebird.r | 781489319ea5311fe80387f6d8373accbb4be781 | [] | no_license | nrminor/ebird-target-map | 080eff43ca5d309e43f18faa357b9e7d52d70938 | a4d121d8afc4fd6f2633d263f79afcc9a17b7a94 | refs/heads/master | 2023-07-06T08:25:41.105670 | 2019-03-12T15:59:05 | 2019-03-12T15:59:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,224 | r | ebird.r | library(tidyverse)
library(sf)
library(rnaturalearth)
library(janitor)
library(auk)
library(httr)
library(here)
walk(list.files("R", full.names = TRUE), source)
# list of valid ebird country and state codes
ebird_countries <- get_regions("country")
ebird_states <- map_df(c("US", "CA"), ~ get_regions("subnational1", p... |
d1e529f1986f34c7302f9dacdeae368c3c2dd2c1 | 4eee83253767b218d0348898633f2e3680d25ffb | /code/get_rescinded_demos.R | 217ecb4c25eabc3385f5ab1fb8d1e6b76794e5f2 | [
"MIT"
] | permissive | Faculty-Job-Market-Collab/COVID_Job_Market_19-20 | 9a2a4c4fc904d7284d869a6990db526625428ccd | 3f74f607245b9ae348d95f6221c0e36b117230b8 | refs/heads/master | 2023-07-08T07:18:20.031093 | 2021-08-11T05:35:33 | 2021-08-11T05:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,737 | r | get_rescinded_demos.R | #explore demographics of offers rescinded due to covid
#requires data from "get_offers_data.R"
offers_made <- offers_data %>% pull(faculty_offers) %>% sum(., na.rm = TRUE)
offers_rescinded <- offers_data %>% pull(covid_offers_rescinded) %>% sum(., na.rm = TRUE)
percent_rescinded <- (offers_rescinded/offers_ma... |
466ab8043df3f3dcadbab13f6322e1cb5ccd3c20 | 2764167b5743be62adadc491ec7dfde210e0703d | /R/Ellipsoidal.Distance.R | 7d411d0cef496114b8f7bdc74a70932c6ce68f75 | [] | no_license | cran/GEOmap | 528a4cbe293211d324405037eb280b415e65f62e | 0149894022496cee8237868b0bb693d00ef01e41 | refs/heads/master | 2023-08-18T14:47:52.021469 | 2023-08-13T12:40:21 | 2023-08-13T13:30:31 | 17,713,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,160 | r | Ellipsoidal.Distance.R |
Ellipsoidal.Distance<-function(olat, olon, tlat, tlon, a=6378137.0 , b=6356752.314, tol=10^(-12))
{
###### Vincenty's formulae are two related iterative methods used in
####### geodesy to calculate the distance
###### between two points on the surface of an spheroid, developed by
###### Thaddeus... |
922dfbc04c58837b8dfb19ed9fb6b32910fda390 | 5e5dee48911e881b41fc11d9199b1b8e9f242c5c | /RUN_ALL.R | bf971c433b55be296fdef5a798eb57be7d070f5f | [
"Apache-2.0"
] | permissive | bcgov/popApp | 1726eb916adfea8659f39ad56e28a7973f37cd49 | 47c3396c3444714e5cbe2c42ff310a6798d5fb29 | refs/heads/main | 2023-07-29T18:30:49.085816 | 2023-07-28T20:08:37 | 2023-07-28T20:08:37 | 170,174,694 | 6 | 1 | Apache-2.0 | 2023-07-28T20:08:39 | 2019-02-11T17:53:16 | R | UTF-8 | R | false | false | 3,208 | r | RUN_ALL.R | # Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... |
28cddc2adab8627ca48fa827fc536af9ddb8d197 | d28508911e5a2f5c3d8d849d7d2a97c687dbffd9 | /Chapter06/B09948_06_Code/recommender.R | 31978c713df90ff53db456b2be99c6345841b81b | [
"MIT"
] | permissive | PacktPublishing/Hands-on-Deep-Learning-with-R | 10032fb0aceed0b315cf7bb399f53e07885df8f7 | 6e3766377395d4e2a853f787d1f595e4d8d28fa5 | refs/heads/master | 2023-02-11T11:05:47.140350 | 2023-01-30T09:37:44 | 2023-01-30T09:37:44 | 124,351,189 | 21 | 15 | MIT | 2020-04-09T06:29:03 | 2018-03-08T07:03:57 | R | UTF-8 | R | false | false | 1,214 | r | recommender.R | # create custom model with user and item embeddings
dot <- function(
embedding_dim,
n_users,
n_items,
name = "dot"
) {
keras_model_custom(name = name, function(self) {
self$user_embedding <- layer_embedding(
input_dim = n_users+1,
output_dim = embedding_dim,
name = "user_embedding")
... |
90139deb7717654dee1d4f0db45d55fa66f42b79 | 0d2190a6efddb7167dee3569820724bfeed0e89c | /.svn/pristine/7c/7c0ef4c5ca31ef4b4bb934737dc94f2e41b51af4.svn-base | 70d047e3cb661dc8560b9797751755c961c72be9 | [] | no_license | djnpisano/RScriptLibrary | 6e186f33458396aba9f4151bfee0a4517d233ae6 | 09ae2ac1824dfeeca8cdea62130f3c6d30cb492a | refs/heads/master | 2020-12-27T10:02:05.719000 | 2015-05-19T08:34:19 | 2015-05-19T08:34:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,778 | 7c0ef4c5ca31ef4b4bb934737dc94f2e41b51af4.svn-base | # -------------------------------------------------------------------------------
# R-CropStat Beta Version: Functions for ANALYZE - ANALYSIS OF VARIANCE SUBMENU
# -------------------------------------------------------------------------------
# combAOVTest: Functions for performing ANOVA
# Created by: Alaine A. Gulles... | |
24acf16e97a35fab417fe4fe3b461c7d8d5b66f2 | a9dcd5374dc59034f667a666cabaf0e4f5e1f359 | /functions/read_basic_nongdx_info.R | d48b21d4279a33956cb7bf1558d882433bb4a834 | [] | no_license | MasonBowen/ReEDS-Data-Visualizer | 83053e9cbe1d65061cde8daea75d81b787656eea | 091025f6053c06d0a9f7af4dd8b486e7f47e8262 | refs/heads/master | 2020-04-10T01:54:12.185680 | 2018-12-21T19:50:18 | 2018-12-21T19:50:18 | 160,728,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,384 | r | read_basic_nongdx_info.R | # This is to read in all data that the user might feasibly want to manually change
# saving these data in csv's allows non r users to also be able to change them relatively easily
library(data.table)
# Year Data: csv with years in model, single column
years <- fread(file.path(basicdata.directory, "year_set.csv"), se... |
9548418d9862a7407eef98e29ce11fe787c6317a | 5f160e0117368a4864f0784ba163067ae705d5dc | /myR/man/tct.Rd | ced82be542a54860fd84e3d5e2303373052fd9ca | [] | no_license | brunnothadeu/myR_package | e1a006a78c30f52970531decf824ff3d53ac3b3c | f56fb21c11a541bf6402bccd52760e9464e7c835 | refs/heads/master | 2020-04-04T06:38:54.029864 | 2018-11-20T19:19:43 | 2018-11-20T19:19:43 | 155,751,907 | 0 | 0 | null | 2018-11-01T18:02:06 | 2018-11-01T17:32:46 | null | UTF-8 | R | false | true | 2,219 | rd | tct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tct.R
\name{tct}
\alias{tct}
\title{Calcula medidas provindas da Teoria Classica dos Testes (TCT)}
\usage{
tct(dados, dadosCorr, mapa, Alts = c("A", "B", "C", "D", "E", "*", "."),
arred = 10, sdpop = FALSE, summary = FALSE)
}
\argu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.